08:42:32 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137813 08:42:32 Running as SYSTEM 08:42:32 [EnvInject] - Loading node environment variables. 08:42:32 Building remotely on prd-ubuntu1804-docker-8c-8g-36379 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp 08:42:32 [ssh-agent] Looking for ssh-agent implementation... 08:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:42:32 $ ssh-agent 08:42:32 SSH_AUTH_SOCK=/tmp/ssh-2zaAIMoVTf2f/agent.2124 08:42:32 SSH_AGENT_PID=2125 08:42:32 [ssh-agent] Started. 08:42:32 Running ssh-add (command line suppressed) 08:42:32 Identity added: /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/private_key_9680454980803998639.key (/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/private_key_9680454980803998639.key) 08:42:32 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 08:42:32 The recommended git tool is: NONE 08:42:34 using credential onap-jenkins-ssh 08:42:34 Wiping out workspace first. 08:42:34 Cloning the remote Git repository 08:42:34 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 08:42:34 > git init /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp # timeout=10 08:42:34 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 08:42:34 > git --version # timeout=10 08:42:34 > git --version # 'git version 2.17.1' 08:42:34 using GIT_SSH to set credentials Gerrit user 08:42:34 Verifying host key using manually-configured host key entries 08:42:34 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 08:42:34 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 08:42:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:42:35 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 08:42:35 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 08:42:35 using GIT_SSH to set credentials Gerrit user 08:42:35 Verifying host key using manually-configured host key entries 08:42:35 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git refs/changes/13/137813/1 # timeout=30 08:42:35 > git rev-parse 8fadfb9667186910af1b9b6c31b9bb673057f729^{commit} # timeout=10 08:42:35 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 08:42:35 Checking out Revision 8fadfb9667186910af1b9b6c31b9bb673057f729 (refs/changes/13/137813/1) 08:42:35 > git config core.sparsecheckout # timeout=10 08:42:35 > git checkout -f 8fadfb9667186910af1b9b6c31b9bb673057f729 # timeout=30 08:42:38 Commit message: "Add migration in integration tests" 08:42:38 > git rev-parse FETCH_HEAD^{commit} # timeout=10 08:42:38 > git rev-list --no-walk 0d7c8284756c9a15d526c2d282cfc1dfd1595ffb # timeout=10 08:42:38 provisioning config files... 08:42:38 copy managed file [npmrc] to file:/home/jenkins/.npmrc 08:42:39 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 08:42:39 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins3096622510668892415.sh 08:42:39 ---> python-tools-install.sh 08:42:39 Setup pyenv: 08:42:39 * system (set by /opt/pyenv/version) 08:42:39 * 3.8.13 (set by /opt/pyenv/version) 08:42:39 * 3.9.13 (set by /opt/pyenv/version) 08:42:39 * 3.10.6 (set by /opt/pyenv/version) 08:42:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Mpip 08:42:43 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 08:42:47 lf-activate-venv(): INFO: Installing: lftools 08:43:23 lf-activate-venv(): INFO: Adding /tmp/venv-Mpip/bin to PATH 08:43:23 Generating Requirements File 08:43:53 Python 3.10.6 08:43:53 pip 24.0 from /tmp/venv-Mpip/lib/python3.10/site-packages/pip (python 3.10) 08:43:53 appdirs==1.4.4 08:43:53 argcomplete==3.3.0 08:43:53 aspy.yaml==1.3.0 08:43:53 attrs==23.2.0 08:43:53 autopage==0.5.2 08:43:53 beautifulsoup4==4.12.3 08:43:53 boto3==1.34.94 08:43:53 botocore==1.34.94 08:43:53 bs4==0.0.2 08:43:53 cachetools==5.3.3 08:43:53 certifi==2024.2.2 08:43:53 cffi==1.16.0 08:43:53 cfgv==3.4.0 08:43:53 chardet==5.2.0 08:43:53 charset-normalizer==3.3.2 08:43:53 click==8.1.7 08:43:53 cliff==4.6.0 08:43:53 cmd2==2.4.3 08:43:53 cryptography==3.3.2 08:43:53 debtcollector==3.0.0 08:43:53 decorator==5.1.1 08:43:53 defusedxml==0.7.1 08:43:53 Deprecated==1.2.14 08:43:53 distlib==0.3.8 08:43:53 dnspython==2.6.1 08:43:53 docker==4.2.2 08:43:53 dogpile.cache==1.3.2 08:43:53 email_validator==2.1.1 08:43:53 filelock==3.14.0 08:43:53 future==1.0.0 08:43:53 gitdb==4.0.11 08:43:53 GitPython==3.1.43 08:43:53 google-auth==2.29.0 08:43:53 httplib2==0.22.0 08:43:53 identify==2.5.36 08:43:53 idna==3.7 08:43:53 importlib-resources==1.5.0 08:43:53 iso8601==2.1.0 08:43:53 Jinja2==3.1.3 08:43:53 jmespath==1.0.1 08:43:53 jsonpatch==1.33 08:43:53 jsonpointer==2.4 08:43:53 jsonschema==4.21.1 08:43:53 jsonschema-specifications==2023.12.1 08:43:53 keystoneauth1==5.6.0 08:43:53 kubernetes==29.0.0 08:43:53 lftools==0.37.10 08:43:53 lxml==5.2.1 08:43:53 MarkupSafe==2.1.5 08:43:53 msgpack==1.0.8 08:43:53 multi_key_dict==2.0.3 08:43:53 munch==4.0.0 08:43:53 netaddr==1.2.1 08:43:53 netifaces==0.11.0 08:43:53 niet==1.4.2 08:43:53 nodeenv==1.8.0 08:43:53 oauth2client==4.1.3 08:43:53 oauthlib==3.2.2 08:43:53 openstacksdk==3.1.0 08:43:53 os-client-config==2.1.0 08:43:53 os-service-types==1.7.0 08:43:53 osc-lib==3.0.1 08:43:53 oslo.config==9.4.0 08:43:53 oslo.context==5.5.0 08:43:53 oslo.i18n==6.3.0 08:43:53 oslo.log==5.5.1 08:43:53 oslo.serialization==5.4.0 08:43:53 oslo.utils==7.1.0 08:43:53 packaging==24.0 08:43:53 pbr==6.0.0 08:43:53 platformdirs==4.2.1 08:43:53 prettytable==3.10.0 08:43:53 pyasn1==0.6.0 08:43:53 pyasn1_modules==0.4.0 08:43:53 pycparser==2.22 08:43:53 pygerrit2==2.0.15 08:43:53 PyGithub==2.3.0 08:43:53 pyinotify==0.9.6 08:43:53 PyJWT==2.8.0 08:43:53 PyNaCl==1.5.0 08:43:53 pyparsing==2.4.7 08:43:53 pyperclip==1.8.2 08:43:53 pyrsistent==0.20.0 08:43:53 python-cinderclient==9.5.0 08:43:53 python-dateutil==2.9.0.post0 08:43:53 python-heatclient==3.5.0 08:43:53 python-jenkins==1.8.2 08:43:53 python-keystoneclient==5.4.0 08:43:53 python-magnumclient==4.4.0 08:43:53 python-novaclient==18.6.0 08:43:53 python-openstackclient==6.6.0 08:43:53 python-swiftclient==4.5.0 08:43:53 PyYAML==6.0.1 08:43:53 referencing==0.35.0 08:43:53 requests==2.31.0 08:43:53 requests-oauthlib==2.0.0 08:43:53 requestsexceptions==1.4.0 08:43:53 rfc3986==2.0.0 08:43:53 rpds-py==0.18.0 08:43:53 rsa==4.9 08:43:53 ruamel.yaml==0.18.6 08:43:53 ruamel.yaml.clib==0.2.8 08:43:53 s3transfer==0.10.1 08:43:53 simplejson==3.19.2 08:43:53 six==1.16.0 08:43:53 smmap==5.0.1 08:43:53 soupsieve==2.5 08:43:53 stevedore==5.2.0 08:43:53 tabulate==0.9.0 08:43:53 toml==0.10.2 08:43:53 tomlkit==0.12.4 08:43:53 tqdm==4.66.2 08:43:53 typing_extensions==4.11.0 08:43:53 tzdata==2024.1 08:43:53 urllib3==1.26.18 08:43:53 virtualenv==20.26.1 08:43:53 wcwidth==0.2.13 08:43:53 websocket-client==1.8.0 08:43:53 wrapt==1.16.0 08:43:53 xdg==6.0.0 08:43:53 xmltodict==0.13.0 08:43:53 yq==3.4.3 08:43:53 [EnvInject] - Injecting environment variables from a build step. 08:43:53 [EnvInject] - Injecting as environment variables the properties content 08:43:53 SET_JDK_VERSION=openjdk17 08:43:53 GIT_URL="git://cloud.onap.org/mirror" 08:43:53 08:43:53 [EnvInject] - Variables injected successfully. 08:43:53 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/sh /tmp/jenkins11437022612703304972.sh 08:43:53 ---> update-java-alternatives.sh 08:43:53 ---> Updating Java version 08:43:54 ---> Ubuntu/Debian system detected 08:43:54 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 08:43:54 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 08:43:54 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 08:43:54 openjdk version "17.0.4" 2022-07-19 08:43:54 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 08:43:54 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 08:43:54 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 08:43:54 [EnvInject] - Injecting environment variables from a build step. 08:43:54 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 08:43:54 [EnvInject] - Variables injected successfully. 08:43:54 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/sh -xe /tmp/jenkins7876983412423104999.sh 08:43:54 + /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/run-project-csit.sh apex-pdp 08:43:54 + set +u 08:43:54 + save_set 08:43:54 + RUN_CSIT_SAVE_SET=ehxB 08:43:54 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 08:43:54 + '[' 1 -eq 0 ']' 08:43:54 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:43:54 + 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 08:43:54 + 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 08:43:54 + export SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts 08:43:54 + SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts 08:43:54 + export ROBOT_VARIABLES= 08:43:54 + ROBOT_VARIABLES= 08:43:54 + export PROJECT=apex-pdp 08:43:54 + PROJECT=apex-pdp 08:43:54 + cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp 08:43:54 + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp 08:43:54 + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp 08:43:54 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh 08:43:54 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh ']' 08:43:54 + relax_set 08:43:54 + set +e 08:43:54 + set +o pipefail 08:43:54 + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/prepare-robot-env.sh 08:43:54 ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:43:54 +++ mktemp -d 08:43:54 ++ ROBOT_VENV=/tmp/tmp.W6OO0qTsQm 08:43:54 ++ echo ROBOT_VENV=/tmp/tmp.W6OO0qTsQm 08:43:54 +++ python3 --version 08:43:54 ++ echo 'Python version is: Python 3.6.9' 08:43:54 Python version is: Python 3.6.9 08:43:54 ++ python3 -m venv --clear /tmp/tmp.W6OO0qTsQm 08:43:55 ++ source /tmp/tmp.W6OO0qTsQm/bin/activate 08:43:55 +++ deactivate nondestructive 08:43:55 +++ '[' -n '' ']' 08:43:55 +++ '[' -n '' ']' 08:43:55 +++ '[' -n /bin/bash -o -n '' ']' 08:43:55 +++ hash -r 08:43:55 +++ '[' -n '' ']' 08:43:55 +++ unset VIRTUAL_ENV 08:43:55 +++ '[' '!' nondestructive = nondestructive ']' 08:43:55 +++ VIRTUAL_ENV=/tmp/tmp.W6OO0qTsQm 08:43:55 +++ export VIRTUAL_ENV 08:43:55 +++ _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 08:43:55 +++ PATH=/tmp/tmp.W6OO0qTsQm/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 08:43:55 +++ export PATH 08:43:55 +++ '[' -n '' ']' 08:43:55 +++ '[' -z '' ']' 08:43:55 +++ _OLD_VIRTUAL_PS1= 08:43:55 +++ '[' 'x(tmp.W6OO0qTsQm) ' '!=' x ']' 08:43:55 +++ PS1='(tmp.W6OO0qTsQm) ' 08:43:55 +++ export PS1 08:43:55 +++ '[' -n /bin/bash -o -n '' ']' 08:43:55 +++ hash -r 08:43:55 ++ set -exu 08:43:55 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 08:43:59 ++ echo 'Installing Python Requirements' 08:43:59 Installing Python Requirements 08:43:59 ++ python3 -m pip install -qq -r /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/pylibs.txt 08:44:18 ++ python3 -m pip -qq freeze 08:44:19 bcrypt==4.0.1 08:44:19 beautifulsoup4==4.12.3 08:44:19 bitarray==2.9.2 08:44:19 certifi==2024.2.2 08:44:19 cffi==1.15.1 08:44:19 charset-normalizer==2.0.12 08:44:19 cryptography==40.0.2 08:44:19 decorator==5.1.1 08:44:19 elasticsearch==7.17.9 08:44:19 elasticsearch-dsl==7.4.1 08:44:19 enum34==1.1.10 08:44:19 idna==3.7 08:44:19 importlib-resources==5.4.0 08:44:19 ipaddr==2.2.0 08:44:19 isodate==0.6.1 08:44:19 jmespath==0.10.0 08:44:19 jsonpatch==1.32 08:44:19 jsonpath-rw==1.4.0 08:44:19 jsonpointer==2.3 08:44:19 lxml==5.2.1 08:44:19 netaddr==0.8.0 08:44:19 netifaces==0.11.0 08:44:19 odltools==0.1.28 08:44:19 paramiko==3.4.0 08:44:19 pkg_resources==0.0.0 08:44:19 ply==3.11 08:44:19 pyang==2.6.0 08:44:19 pyangbind==0.8.1 08:44:19 pycparser==2.21 08:44:19 pyhocon==0.3.60 08:44:19 PyNaCl==1.5.0 08:44:19 pyparsing==3.1.2 08:44:19 python-dateutil==2.9.0.post0 08:44:19 regex==2023.8.8 08:44:19 requests==2.27.1 08:44:19 robotframework==6.1.1 08:44:19 robotframework-httplibrary==0.4.2 08:44:19 robotframework-pythonlibcore==3.0.0 08:44:19 robotframework-requests==0.9.4 08:44:19 robotframework-selenium2library==3.0.0 08:44:19 robotframework-seleniumlibrary==5.1.3 08:44:19 robotframework-sshlibrary==3.8.0 08:44:19 scapy==2.5.0 08:44:19 scp==0.14.5 08:44:19 selenium==3.141.0 08:44:19 six==1.16.0 08:44:19 soupsieve==2.3.2.post1 08:44:19 urllib3==1.26.18 08:44:19 waitress==2.0.0 08:44:19 WebOb==1.8.7 08:44:19 WebTest==3.0.0 08:44:19 zipp==3.6.0 08:44:19 ++ mkdir -p /tmp/tmp.W6OO0qTsQm/src/onap 08:44:19 ++ rm -rf /tmp/tmp.W6OO0qTsQm/src/onap/testsuite 08:44:19 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 08:44:27 ++ echo 'Installing python confluent-kafka library' 08:44:27 Installing python confluent-kafka library 08:44:27 ++ python3 -m pip install -qq confluent-kafka 08:44:29 ++ echo 'Uninstall docker-py and reinstall docker.' 08:44:29 Uninstall docker-py and reinstall docker. 08:44:29 ++ python3 -m pip uninstall -y -qq docker 08:44:29 ++ python3 -m pip install -U -qq docker 08:44:30 ++ python3 -m pip -qq freeze 08:44:31 bcrypt==4.0.1 08:44:31 beautifulsoup4==4.12.3 08:44:31 bitarray==2.9.2 08:44:31 certifi==2024.2.2 08:44:31 cffi==1.15.1 08:44:31 charset-normalizer==2.0.12 08:44:31 confluent-kafka==2.3.0 08:44:31 cryptography==40.0.2 08:44:31 decorator==5.1.1 08:44:31 deepdiff==5.7.0 08:44:31 dnspython==2.2.1 08:44:31 docker==5.0.3 08:44:31 elasticsearch==7.17.9 08:44:31 elasticsearch-dsl==7.4.1 08:44:31 enum34==1.1.10 08:44:31 future==1.0.0 08:44:31 idna==3.7 08:44:31 importlib-resources==5.4.0 08:44:31 ipaddr==2.2.0 08:44:31 isodate==0.6.1 08:44:31 Jinja2==3.0.3 08:44:31 jmespath==0.10.0 08:44:31 jsonpatch==1.32 08:44:31 jsonpath-rw==1.4.0 08:44:31 jsonpointer==2.3 08:44:31 kafka-python==2.0.2 08:44:31 lxml==5.2.1 08:44:31 MarkupSafe==2.0.1 08:44:31 more-itertools==5.0.0 08:44:31 netaddr==0.8.0 08:44:31 netifaces==0.11.0 08:44:31 odltools==0.1.28 08:44:31 ordered-set==4.0.2 08:44:31 paramiko==3.4.0 08:44:31 pbr==6.0.0 08:44:31 pkg_resources==0.0.0 08:44:31 ply==3.11 08:44:31 protobuf==3.19.6 08:44:31 pyang==2.6.0 08:44:31 pyangbind==0.8.1 08:44:31 pycparser==2.21 08:44:31 pyhocon==0.3.60 08:44:31 PyNaCl==1.5.0 08:44:31 pyparsing==3.1.2 08:44:31 python-dateutil==2.9.0.post0 08:44:31 PyYAML==6.0.1 08:44:31 regex==2023.8.8 08:44:31 requests==2.27.1 08:44:31 robotframework==6.1.1 08:44:31 robotframework-httplibrary==0.4.2 08:44:31 robotframework-onap==0.6.0.dev105 08:44:31 robotframework-pythonlibcore==3.0.0 08:44:31 robotframework-requests==0.9.4 08:44:31 robotframework-selenium2library==3.0.0 08:44:31 robotframework-seleniumlibrary==5.1.3 08:44:31 robotframework-sshlibrary==3.8.0 08:44:31 robotlibcore-temp==1.0.2 08:44:31 scapy==2.5.0 08:44:31 scp==0.14.5 08:44:31 selenium==3.141.0 08:44:31 six==1.16.0 08:44:31 soupsieve==2.3.2.post1 08:44:31 urllib3==1.26.18 08:44:31 waitress==2.0.0 08:44:31 WebOb==1.8.7 08:44:31 websocket-client==1.3.1 08:44:31 WebTest==3.0.0 08:44:31 zipp==3.6.0 08:44:31 ++ uname 08:44:31 ++ grep -q Linux 08:44:31 ++ sudo apt-get -y -qq install libxml2-utils 08:44:31 + load_set 08:44:31 + _setopts=ehuxB 08:44:31 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 08:44:31 ++ tr : ' ' 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o braceexpand 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o hashall 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o interactive-comments 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o nounset 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o xtrace 08:44:31 ++ echo ehuxB 08:44:31 ++ sed 's/./& /g' 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +e 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +h 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +u 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +x 08:44:31 + source_safely /tmp/tmp.W6OO0qTsQm/bin/activate 08:44:31 + '[' -z /tmp/tmp.W6OO0qTsQm/bin/activate ']' 08:44:31 + relax_set 08:44:31 + set +e 08:44:31 + set +o pipefail 08:44:31 + . /tmp/tmp.W6OO0qTsQm/bin/activate 08:44:31 ++ deactivate nondestructive 08:44:31 ++ '[' -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 ']' 08:44:31 ++ 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 08:44:31 ++ export PATH 08:44:31 ++ unset _OLD_VIRTUAL_PATH 08:44:31 ++ '[' -n '' ']' 08:44:31 ++ '[' -n /bin/bash -o -n '' ']' 08:44:31 ++ hash -r 08:44:31 ++ '[' -n '' ']' 08:44:31 ++ unset VIRTUAL_ENV 08:44:31 ++ '[' '!' nondestructive = nondestructive ']' 08:44:31 ++ VIRTUAL_ENV=/tmp/tmp.W6OO0qTsQm 08:44:31 ++ export VIRTUAL_ENV 08:44:31 ++ _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 08:44:31 ++ PATH=/tmp/tmp.W6OO0qTsQm/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 08:44:31 ++ export PATH 08:44:31 ++ '[' -n '' ']' 08:44:31 ++ '[' -z '' ']' 08:44:31 ++ _OLD_VIRTUAL_PS1='(tmp.W6OO0qTsQm) ' 08:44:31 ++ '[' 'x(tmp.W6OO0qTsQm) ' '!=' x ']' 08:44:31 ++ PS1='(tmp.W6OO0qTsQm) (tmp.W6OO0qTsQm) ' 08:44:31 ++ export PS1 08:44:31 ++ '[' -n /bin/bash -o -n '' ']' 08:44:31 ++ hash -r 08:44:31 + load_set 08:44:31 + _setopts=hxB 08:44:31 ++ echo braceexpand:hashall:interactive-comments:xtrace 08:44:31 ++ tr : ' ' 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o braceexpand 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o hashall 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o interactive-comments 08:44:31 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:44:31 + set +o xtrace 08:44:31 ++ echo hxB 08:44:31 ++ sed 's/./& /g' 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +h 08:44:31 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:44:31 + set +x 08:44:31 + export TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests 08:44:31 + TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests 08:44:31 + export TEST_OPTIONS= 08:44:31 + TEST_OPTIONS= 08:44:31 ++ mktemp -d 08:44:31 + WORKDIR=/tmp/tmp.xsYjf822ns 08:44:31 + cd /tmp/tmp.xsYjf822ns 08:44:31 + docker login -u docker -p docker nexus3.onap.org:10001 08:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:32 Configure a credential helper to remove this warning. See 08:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:32 08:44:32 Login Succeeded 08:44:32 + SETUP=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh 08:44:32 + '[' -f /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh ']' 08:44:32 + echo 'Running setup script /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh' 08:44:32 Running setup script /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh 08:44:32 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh 08:44:32 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh ']' 08:44:32 + relax_set 08:44:32 + set +e 08:44:32 + set +o pipefail 08:44:32 + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-apex-pdp.sh 08:44:32 ++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/setup-pap.sh 08:44:32 +++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/node-templates.sh 08:44:32 ++++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:44:32 +++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.gitreview 08:44:32 ++++ GERRIT_BRANCH=master 08:44:32 ++++ echo GERRIT_BRANCH=master 08:44:32 GERRIT_BRANCH=master 08:44:32 ++++ rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models 08:44:32 ++++ mkdir /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models 08:44:32 ++++ 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 08:44:32 Cloning into '/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models'... 08:44:33 ++++ export DATA=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies 08:44:33 ++++ DATA=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/policies 08:44:33 ++++ export NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates 08:44:33 ++++ NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models/models-examples/src/main/resources/nodetemplates 08:44:33 ++++ 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 08:44:33 ++++ 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 08:44:33 +++ source /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/start-compose.sh apex-pdp --grafana 08:44:33 ++++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:44:33 ++++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose 08:44:33 ++++ grafana=false 08:44:33 ++++ gui=false 08:44:33 ++++ [[ 2 -gt 0 ]] 08:44:33 ++++ key=apex-pdp 08:44:33 ++++ case $key in 08:44:33 ++++ echo apex-pdp 08:44:33 apex-pdp 08:44:33 ++++ component=apex-pdp 08:44:33 ++++ shift 08:44:33 ++++ [[ 1 -gt 0 ]] 08:44:33 ++++ key=--grafana 08:44:33 ++++ case $key in 08:44:33 ++++ grafana=true 08:44:33 ++++ shift 08:44:33 ++++ [[ 0 -gt 0 ]] 08:44:33 ++++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose 08:44:33 ++++ echo 'Configuring docker compose...' 08:44:33 Configuring docker compose... 08:44:33 ++++ source export-ports.sh 08:44:33 ++++ source get-versions.sh 08:44:35 ++++ '[' -z apex-pdp ']' 08:44:35 ++++ '[' -n apex-pdp ']' 08:44:35 ++++ '[' apex-pdp == logs ']' 08:44:35 ++++ '[' true = true ']' 08:44:35 ++++ echo 'Starting apex-pdp application with Grafana' 08:44:35 Starting apex-pdp application with Grafana 08:44:35 ++++ docker-compose up -d apex-pdp grafana 08:44:35 Creating network "compose_default" with the default driver 08:44:35 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 08:44:36 latest: Pulling from prom/prometheus 08:44:39 Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 08:44:39 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 08:44:39 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 08:44:39 latest: Pulling from grafana/grafana 08:44:44 Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e 08:44:44 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 08:44:44 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 08:44:45 10.10.2: Pulling from mariadb 08:44:50 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 08:44:50 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 08:44:50 Pulling simulator (nexus3.onap.org:10001/onap/policy-models-simulator:3.1.3-SNAPSHOT)... 08:44:50 3.1.3-SNAPSHOT: Pulling from onap/policy-models-simulator 08:44:54 Digest: sha256:f41ae0e698a7eee4268ba3d29c141e50ab86dbca0876f787d3d80e16d6bffd9e 08:44:55 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-models-simulator:3.1.3-SNAPSHOT 08:44:55 Pulling zookeeper (confluentinc/cp-zookeeper:latest)... 08:44:55 latest: Pulling from confluentinc/cp-zookeeper 08:45:10 Digest: sha256:4dc780642bfc5ec3a2d4901e2ff1f9ddef7f7c5c0b793e1e2911cbfb4e3a3214 08:45:10 Status: Downloaded newer image for confluentinc/cp-zookeeper:latest 08:45:10 Pulling kafka (confluentinc/cp-kafka:latest)... 08:45:11 latest: Pulling from confluentinc/cp-kafka 08:45:44 Digest: sha256:620734d9fc0bb1f9886932e5baf33806074469f40e3fe246a3fdbb59309535fa 08:45:47 Status: Downloaded newer image for confluentinc/cp-kafka:latest 08:45:47 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.3-SNAPSHOT)... 08:45:47 3.1.3-SNAPSHOT: Pulling from onap/policy-db-migrator 08:45:50 Digest: sha256:4f56cebbee7604f04c833f29e04489e7d96d27f105a76e14f99d491eae674a75 08:45:50 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.3-SNAPSHOT 08:45:50 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.3-SNAPSHOT)... 08:45:50 3.1.3-SNAPSHOT: Pulling from onap/policy-api 08:45:51 Digest: sha256:7fad0e07e4ad14d7b1ec6aec34f8583031a00f072037db0e6764795a9c95f7fd 08:45:51 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.3-SNAPSHOT 08:45:51 Pulling pap (nexus3.onap.org:10001/onap/policy-pap:3.1.3-SNAPSHOT)... 08:45:51 3.1.3-SNAPSHOT: Pulling from onap/policy-pap 08:45:53 Digest: sha256:7f3b58c4f9b75937b65a0c67c12bb88aa2c134f077126cfa8a21b501b6bc004c 08:45:53 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-pap:3.1.3-SNAPSHOT 08:45:53 Pulling apex-pdp (nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.3-SNAPSHOT)... 08:45:53 3.1.3-SNAPSHOT: Pulling from onap/policy-apex-pdp 08:46:00 Digest: sha256:8770653266299381ba06ecf1ac20de5cc32cd747d987933c80da099704d6db0f 08:46:00 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.3-SNAPSHOT 08:46:00 Creating zookeeper ... 08:46:00 Creating mariadb ... 08:46:00 Creating prometheus ... 08:46:00 Creating simulator ... 08:46:17 Creating prometheus ... done 08:46:17 Creating grafana ... 08:46:17 Creating grafana ... done 08:46:19 Creating simulator ... done 08:46:20 Creating mariadb ... done 08:46:20 Creating policy-db-migrator ... 08:46:21 Creating policy-db-migrator ... done 08:46:21 Creating policy-api ... 08:46:22 Creating zookeeper ... done 08:46:22 Creating kafka ... 08:46:23 Creating kafka ... done 08:46:24 Creating policy-api ... done 08:46:24 Creating policy-pap ... 08:46:25 Creating policy-pap ... done 08:46:25 Creating policy-apex-pdp ... 08:46:26 Creating policy-apex-pdp ... done 08:46:26 ++++ echo 'Prometheus server: http://localhost:30259' 08:46:26 Prometheus server: http://localhost:30259 08:46:26 ++++ echo 'Grafana server: http://localhost:30269' 08:46:26 Grafana server: http://localhost:30269 08:46:26 ++++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp 08:46:26 +++ sleep 10 08:46:36 +++ unset http_proxy https_proxy 08:46:36 +++ bash /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/wait_for_rest.sh localhost 30003 08:46:36 Waiting for REST to come up on localhost port 30003... 08:46:36 NAMES STATUS 08:46:36 policy-apex-pdp Up 10 seconds 08:46:36 policy-pap Up 11 seconds 08:46:36 kafka Up 13 seconds 08:46:36 policy-api Up 12 seconds 08:46:36 grafana Up 18 seconds 08:46:36 simulator Up 17 seconds 08:46:36 prometheus Up 19 seconds 08:46:36 zookeeper Up 14 seconds 08:46:36 mariadb Up 16 seconds 08:46:41 NAMES STATUS 08:46:41 policy-apex-pdp Up 15 seconds 08:46:41 policy-pap Up 16 seconds 08:46:41 kafka Up 18 seconds 08:46:41 policy-api Up 17 seconds 08:46:41 grafana Up 23 seconds 08:46:41 simulator Up 22 seconds 08:46:41 prometheus Up 24 seconds 08:46:41 zookeeper Up 19 seconds 08:46:41 mariadb Up 21 seconds 08:46:46 NAMES STATUS 08:46:46 policy-apex-pdp Up 20 seconds 08:46:46 policy-pap Up 21 seconds 08:46:46 kafka Up 23 seconds 08:46:46 policy-api Up 22 seconds 08:46:46 grafana Up 28 seconds 08:46:46 simulator Up 27 seconds 08:46:46 prometheus Up 29 seconds 08:46:46 zookeeper Up 24 seconds 08:46:46 mariadb Up 26 seconds 08:46:51 NAMES STATUS 08:46:51 policy-apex-pdp Up 25 seconds 08:46:51 policy-pap Up 26 seconds 08:46:51 kafka Up 28 seconds 08:46:51 policy-api Up 27 seconds 08:46:51 grafana Up 33 seconds 08:46:51 simulator Up 32 seconds 08:46:51 prometheus Up 34 seconds 08:46:51 zookeeper Up 29 seconds 08:46:51 mariadb Up 31 seconds 08:46:56 NAMES STATUS 08:46:56 policy-apex-pdp Up 30 seconds 08:46:56 policy-pap Up 31 seconds 08:46:56 kafka Up 33 seconds 08:46:56 policy-api Up 32 seconds 08:46:56 grafana Up 38 seconds 08:46:56 simulator Up 37 seconds 08:46:56 prometheus Up 39 seconds 08:46:56 zookeeper Up 34 seconds 08:46:56 mariadb Up 36 seconds 08:47:02 NAMES STATUS 08:47:02 policy-apex-pdp Up 35 seconds 08:47:02 policy-pap Up 36 seconds 08:47:02 kafka Up 38 seconds 08:47:02 policy-api Up 37 seconds 08:47:02 grafana Up 44 seconds 08:47:02 simulator Up 42 seconds 08:47:02 prometheus Up 44 seconds 08:47:02 zookeeper Up 39 seconds 08:47:02 mariadb Up 41 seconds 08:47:02 +++ export 'SUITES=pap-test.robot 08:47:02 pap-slas.robot' 08:47:02 +++ SUITES='pap-test.robot 08:47:02 pap-slas.robot' 08:47:02 +++ ROBOT_VARIABLES='-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 08:47:02 -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' 08:47:02 ++ bash /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/scripts/wait_for_rest.sh localhost 30001 08:47:02 Waiting for REST to come up on localhost port 30001... 08:47:02 NAMES STATUS 08:47:02 policy-apex-pdp Up 35 seconds 08:47:02 policy-pap Up 36 seconds 08:47:02 kafka Up 38 seconds 08:47:02 policy-api Up 37 seconds 08:47:02 grafana Up 44 seconds 08:47:02 simulator Up 42 seconds 08:47:02 prometheus Up 44 seconds 08:47:02 zookeeper Up 39 seconds 08:47:02 mariadb Up 41 seconds 08:47:02 ++ export KAFKA_IP=localhost:29092 08:47:02 ++ KAFKA_IP=localhost:29092 08:47:02 ++ export 'SUITES=apex-pdp-test.robot 08:47:02 apex-slas.robot' 08:47:02 ++ SUITES='apex-pdp-test.robot 08:47:02 apex-slas.robot' 08:47:02 ++ ROBOT_VARIABLES='-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 08:47:02 -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 08:47:02 -v APEX_EVENTS_IP:localhost:23324' 08:47:02 + load_set 08:47:02 + _setopts=hxB 08:47:02 ++ echo braceexpand:hashall:interactive-comments:xtrace 08:47:02 ++ tr : ' ' 08:47:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:47:02 + set +o braceexpand 08:47:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:47:02 + set +o hashall 08:47:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:47:02 + set +o interactive-comments 08:47:02 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:47:02 + set +o xtrace 08:47:02 ++ echo hxB 08:47:02 ++ sed 's/./& /g' 08:47:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:47:02 + set +h 08:47:02 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:47:02 + set +x 08:47:02 + docker_stats 08:47:02 + tee /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp/_sysinfo-1-after-setup.txt 08:47:02 ++ uname -s 08:47:02 + '[' Linux == Darwin ']' 08:47:02 + sh -c 'top -bn1 | head -3' 08:47:02 top - 08:47:02 up 5 min, 0 users, load average: 2.91, 1.59, 0.66 08:47:02 Tasks: 211 total, 1 running, 131 sleeping, 0 stopped, 0 zombie 08:47:02 %Cpu(s): 11.2 us, 2.3 sy, 0.0 ni, 79.9 id, 6.5 wa, 0.0 hi, 0.0 si, 0.0 st 08:47:02 + echo 08:47:02 + sh -c 'free -h' 08:47:02 08:47:02 total used free shared buff/cache available 08:47:02 Mem: 31G 2.7G 22G 1.3M 6.0G 28G 08:47:02 Swap: 1.0G 0B 1.0G 08:47:02 + echo 08:47:02 08:47:02 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 08:47:02 NAMES STATUS 08:47:02 policy-apex-pdp Up 35 seconds 08:47:02 policy-pap Up 36 seconds 08:47:02 kafka Up 39 seconds 08:47:02 policy-api Up 38 seconds 08:47:02 grafana Up 44 seconds 08:47:02 simulator Up 43 seconds 08:47:02 prometheus Up 45 seconds 08:47:02 zookeeper Up 40 seconds 08:47:02 mariadb Up 42 seconds 08:47:02 + echo 08:47:02 08:47:02 + docker stats --no-stream 08:47:04 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 08:47:04 532f77b3a57e policy-apex-pdp 6.46% 189.5MiB / 31.41GiB 0.59% 9.55kB / 9.53kB 0B / 0B 49 08:47:04 31fb38e39d13 policy-pap 33.37% 501.9MiB / 31.41GiB 1.56% 34.8kB / 36.5kB 0B / 149MB 63 08:47:04 1f9b57aa4a07 kafka 0.61% 371.1MiB / 31.41GiB 1.15% 74.2kB / 76.3kB 0B / 508kB 83 08:47:04 9487d1bfbf50 policy-api 0.10% 444.8MiB / 31.41GiB 1.38% 988kB / 647kB 0B / 0B 53 08:47:04 800d03f41c99 grafana 0.05% 59.48MiB / 31.41GiB 0.18% 19.2kB / 3.49kB 0B / 24.9MB 18 08:47:04 40a4875110d8 simulator 0.08% 119.5MiB / 31.41GiB 0.37% 1.4kB / 0B 0B / 0B 76 08:47:04 0d9dd2759184 prometheus 0.00% 18.75MiB / 31.41GiB 0.06% 2.05kB / 474B 90.1kB / 0B 14 08:47:04 5d0eda486e98 zookeeper 0.11% 102.9MiB / 31.41GiB 0.32% 58.4kB / 52.7kB 0B / 369kB 61 08:47:04 6e7e00f37d98 mariadb 0.02% 102.5MiB / 31.41GiB 0.32% 935kB / 1.18MB 11MB / 54.9MB 38 08:47:04 + echo 08:47:04 08:47:04 + cd /tmp/tmp.xsYjf822ns 08:47:04 + echo 'Reading the testplan:' 08:47:04 Reading the testplan: 08:47:04 + echo 'apex-pdp-test.robot 08:47:04 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 08:47:04 apex-slas.robot' 08:47:04 + sed 's|^|/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/|' 08:47:05 + cat testplan.txt 08:47:05 /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-pdp-test.robot 08:47:05 /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/resources/tests/apex-slas.robot 08:47:05 ++ xargs 08:47:05 + 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' 08:47:05 + echo 'ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 08:47:05 -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 08:47:05 -v APEX_EVENTS_IP:localhost:23324' 08:47:05 ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 08:47:05 -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 08:47:05 -v APEX_EVENTS_IP:localhost:23324 08:47:05 + 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 ...' 08:47:05 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 ... 08:47:05 + relax_set 08:47:05 + set +e 08:47:05 + set +o pipefail 08:47:05 + 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 08:47:05 ============================================================================== 08:47:05 apex-pdp 08:47:05 ============================================================================== 08:47:05 apex-pdp.Apex-Pdp-Test 08:47:05 ============================================================================== 08:47:05 Healthcheck :: Runs Apex PDP Health check | PASS | 08:47:05 ------------------------------------------------------------------------------ 08:47:23 ExecuteApexSampleDomainPolicy | PASS | 08:47:23 ------------------------------------------------------------------------------ 08:47:43 ExecuteApexTestPnfPolicy | PASS | 08:47:43 ------------------------------------------------------------------------------ 08:48:04 ExecuteApexTestPnfPolicyWithMetadataSet | PASS | 08:48:04 ------------------------------------------------------------------------------ 08:48:04 Metrics :: Verify policy-apex-pdp is exporting prometheus metrics | PASS | 08:48:04 ------------------------------------------------------------------------------ 08:48:04 apex-pdp.Apex-Pdp-Test | PASS | 08:48:04 5 tests, 5 passed, 0 failed 08:48:04 ============================================================================== 08:48:04 apex-pdp.Apex-Slas 08:48:04 ============================================================================== 08:48:04 Healthcheck :: Runs Apex PDP Health check | PASS | 08:48:04 ------------------------------------------------------------------------------ 08:48:05 ValidatePolicyExecutionAndEventRateLowComplexity :: Validate that ... | PASS | 08:48:05 ------------------------------------------------------------------------------ 08:48:05 ValidatePolicyExecutionAndEventRateModerateComplexity :: Validate ... | PASS | 08:48:05 ------------------------------------------------------------------------------ 08:48:07 ValidatePolicyExecutionAndEventRateHighComplexity :: Validate that... | PASS | 08:48:07 ------------------------------------------------------------------------------ 08:49:07 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 08:49:07 ------------------------------------------------------------------------------ 08:49:07 ValidatePolicyExecutionTimes :: Validate policy execution times us... | PASS | 08:49:07 ------------------------------------------------------------------------------ 08:49:07 apex-pdp.Apex-Slas | PASS | 08:49:07 6 tests, 6 passed, 0 failed 08:49:07 ============================================================================== 08:49:07 apex-pdp | PASS | 08:49:07 11 tests, 11 passed, 0 failed 08:49:07 ============================================================================== 08:49:07 Output: /tmp/tmp.xsYjf822ns/output.xml 08:49:07 Log: /tmp/tmp.xsYjf822ns/log.html 08:49:07 Report: /tmp/tmp.xsYjf822ns/report.html 08:49:07 + RESULT=0 08:49:07 + load_set 08:49:07 + _setopts=hxB 08:49:07 ++ tr : ' ' 08:49:07 ++ echo braceexpand:hashall:interactive-comments:xtrace 08:49:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:07 + set +o braceexpand 08:49:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:07 + set +o hashall 08:49:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:07 + set +o interactive-comments 08:49:07 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:07 + set +o xtrace 08:49:07 ++ echo hxB 08:49:07 ++ sed 's/./& /g' 08:49:07 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:49:07 + set +h 08:49:07 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:49:07 + set +x 08:49:07 + echo 'RESULT: 0' 08:49:07 RESULT: 0 08:49:07 + exit 0 08:49:07 + on_exit 08:49:07 + rc=0 08:49:07 + [[ -n /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ]] 08:49:07 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 08:49:08 NAMES STATUS 08:49:08 policy-apex-pdp Up 2 minutes 08:49:08 policy-pap Up 2 minutes 08:49:08 kafka Up 2 minutes 08:49:08 policy-api Up 2 minutes 08:49:08 grafana Up 2 minutes 08:49:08 simulator Up 2 minutes 08:49:08 prometheus Up 2 minutes 08:49:08 zookeeper Up 2 minutes 08:49:08 mariadb Up 2 minutes 08:49:08 + docker_stats 08:49:08 ++ uname -s 08:49:08 + '[' Linux == Darwin ']' 08:49:08 + sh -c 'top -bn1 | head -3' 08:49:08 top - 08:49:08 up 7 min, 0 users, load average: 0.85, 1.40, 0.72 08:49:08 Tasks: 200 total, 1 running, 129 sleeping, 0 stopped, 0 zombie 08:49:08 %Cpu(s): 9.7 us, 1.8 sy, 0.0 ni, 83.3 id, 5.1 wa, 0.0 hi, 0.0 si, 0.1 st 08:49:08 + echo 08:49:08 08:49:08 + sh -c 'free -h' 08:49:08 total used free shared buff/cache available 08:49:08 Mem: 31G 2.9G 22G 1.3M 6.0G 28G 08:49:08 Swap: 1.0G 0B 1.0G 08:49:08 + echo 08:49:08 08:49:08 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 08:49:08 NAMES STATUS 08:49:08 policy-apex-pdp Up 2 minutes 08:49:08 policy-pap Up 2 minutes 08:49:08 kafka Up 2 minutes 08:49:08 policy-api Up 2 minutes 08:49:08 grafana Up 2 minutes 08:49:08 simulator Up 2 minutes 08:49:08 prometheus Up 2 minutes 08:49:08 zookeeper Up 2 minutes 08:49:08 mariadb Up 2 minutes 08:49:08 + echo 08:49:08 08:49:08 + docker stats --no-stream 08:49:10 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 08:49:10 532f77b3a57e policy-apex-pdp 2.25% 303.6MiB / 31.41GiB 0.94% 483kB / 319kB 0B / 401kB 108 08:49:10 31fb38e39d13 policy-pap 0.61% 457.8MiB / 31.41GiB 1.42% 9.02MB / 2.23MB 0B / 149MB 65 08:49:10 1f9b57aa4a07 kafka 6.55% 407.3MiB / 31.41GiB 1.27% 765kB / 1.3MB 0B / 668kB 85 08:49:10 9487d1bfbf50 policy-api 0.10% 518.4MiB / 31.41GiB 1.61% 7.83MB / 2.45MB 0B / 0B 56 08:49:10 800d03f41c99 grafana 0.12% 64.04MiB / 31.41GiB 0.20% 20.2kB / 4.48kB 0B / 24.9MB 18 08:49:10 40a4875110d8 simulator 0.08% 162.2MiB / 31.41GiB 0.50% 11.4kB / 14.3kB 0B / 0B 80 08:49:10 0d9dd2759184 prometheus 0.00% 23.7MiB / 31.41GiB 0.07% 203kB / 8.71kB 90.1kB / 0B 14 08:49:10 5d0eda486e98 zookeeper 0.08% 104.5MiB / 31.41GiB 0.32% 71.9kB / 63.9kB 0B / 496kB 61 08:49:10 6e7e00f37d98 mariadb 0.02% 104.5MiB / 31.41GiB 0.33% 3.7MB / 14.8MB 11MB / 55.4MB 27 08:49:10 + echo 08:49:10 08:49:10 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh 08:49:10 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh ']' 08:49:10 + relax_set 08:49:10 + set +e 08:49:10 + set +o pipefail 08:49:10 + . /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/stop-compose.sh 08:49:10 ++ echo 'Shut down started!' 08:49:10 Shut down started! 08:49:10 ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:49:10 ++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose 08:49:10 ++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose 08:49:10 ++ source export-ports.sh 08:49:10 ++ source get-versions.sh 08:49:13 ++ echo 'Collecting logs from docker compose containers...' 08:49:13 Collecting logs from docker compose containers... 08:49:13 ++ docker-compose logs 08:49:15 ++ cat docker_compose.log 08:49:15 Attaching to policy-apex-pdp, policy-pap, kafka, policy-api, policy-db-migrator, grafana, simulator, prometheus, zookeeper, mariadb 08:49:15 kafka | ===> User 08:49:15 kafka | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) 08:49:15 kafka | ===> Configuring ... 08:49:15 kafka | Running in Zookeeper mode... 08:49:15 kafka | ===> Running preflight checks ... 08:49:15 kafka | ===> Check if /var/lib/kafka/data is writable ... 08:49:15 kafka | ===> Check if Zookeeper is healthy ... 08:49:15 kafka | [2024-04-30 08:46:27,326] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,326] INFO Client environment:host.name=1f9b57aa4a07 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,326] INFO Client environment:java.version=11.0.22 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,326] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,326] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:java.class.path=/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/kafka-storage-api-7.6.1-ccs.jar:/usr/share/java/cp-base-new/commons-validator-1.7.jar:/usr/share/java/cp-base-new/logredactor-1.0.12.jar:/usr/share/java/cp-base-new/jolokia-core-1.7.1.jar:/usr/share/java/cp-base-new/re2j-1.6.jar:/usr/share/java/cp-base-new/scala-library-2.13.10.jar:/usr/share/java/cp-base-new/commons-io-2.11.0.jar:/usr/share/java/cp-base-new/kafka-clients-7.6.1-ccs.jar:/usr/share/java/cp-base-new/utility-belt-7.6.1.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/kafka-server-common-7.6.1-ccs.jar:/usr/share/java/cp-base-new/kafka-group-coordinator-7.6.1-ccs.jar:/usr/share/java/cp-base-new/common-utils-7.6.1.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/kafka-storage-7.6.1-ccs.jar:/usr/share/java/cp-base-new/zstd-jni-1.5.5-1.jar:/usr/share/java/cp-base-new/jackson-dataformat-yaml-2.14.2.jar:/usr/share/java/cp-base-new/slf4j-api-1.7.36.jar:/usr/share/java/cp-base-new/paranamer-2.8.jar:/usr/share/java/cp-base-new/commons-beanutils-1.9.4.jar:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar:/usr/share/java/cp-base-new/reload4j-1.2.25.jar:/usr/share/java/cp-base-new/jackson-core-2.14.2.jar:/usr/share/java/cp-base-new/disk-usage-agent-7.6.1.jar:/usr/share/java/cp-base-new/commons-digester-2.1.jar:/usr/share/java/cp-base-new/argparse4j-0.7.0.jar:/usr/share/java/cp-base-new/audience-annotations-0.12.0.jar:/usr/share/java/cp-base-new/kafka-raft-7.6.1-ccs.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/jopt-simple-5.0.4.jar:/usr/share/java/cp-base-new/error_prone_annotations-2.10.0.jar:/usr/share/java/cp-base-new/lz4-java-1.8.0.jar:/usr/share/java/cp-base-new/logredactor-metrics-1.0.12.jar:/usr/share/java/cp-base-new/checker-qual-3.19.0.jar:/usr/share/java/cp-base-new/kafka-metadata-7.6.1-ccs.jar:/usr/share/java/cp-base-new/pcollections-4.0.1.jar:/usr/share/java/cp-base-new/commons-logging-1.2.jar:/usr/share/java/cp-base-new/scala-reflect-2.13.10.jar:/usr/share/java/cp-base-new/scala-collection-compat_2.13-2.10.0.jar:/usr/share/java/cp-base-new/metrics-core-2.2.0.jar:/usr/share/java/cp-base-new/zookeeper-jute-3.8.3.jar:/usr/share/java/cp-base-new/jackson-dataformat-csv-2.14.2.jar:/usr/share/java/cp-base-new/commons-collections-3.2.2.jar:/usr/share/java/cp-base-new/caffeine-2.9.3.jar:/usr/share/java/cp-base-new/jolokia-jvm-1.7.1.jar:/usr/share/java/cp-base-new/kafka-tools-api-7.6.1-ccs.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/kafka_2.13-7.6.1-ccs.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:/usr/share/java/cp-base-new/jose4j-0.9.5.jar (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,327] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,328] INFO Client environment:os.memory.free=493MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,328] INFO Client environment:os.memory.max=8042MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,328] INFO Client environment:os.memory.total=504MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,331] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@b7f23d9 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,334] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) 08:49:15 kafka | [2024-04-30 08:46:27,338] INFO jute.maxbuffer value is 1048575 Bytes (org.apache.zookeeper.ClientCnxnSocket) 08:49:15 kafka | [2024-04-30 08:46:27,345] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:27,358] INFO Opening socket connection to server zookeeper/172.17.0.4:2181. (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:27,359] INFO SASL config status: Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:27,365] INFO Socket connection established, initiating session, client: /172.17.0.9:51340, server: zookeeper/172.17.0.4:2181 (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:27,399] INFO Session establishment complete on server zookeeper/172.17.0.4:2181, session id = 0x10000046a2d0000, negotiated timeout = 40000 (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:27,515] INFO Session: 0x10000046a2d0000 closed (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:27,515] INFO EventThread shut down for session: 0x10000046a2d0000 (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | Using log4j config /etc/kafka/log4j.properties 08:49:15 kafka | ===> Launching ... 08:49:15 kafka | ===> Launching kafka ... 08:49:15 kafka | [2024-04-30 08:46:28,198] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) 08:49:15 kafka | [2024-04-30 08:46:28,507] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.135646287Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-30T08:46:18Z 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136149306Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136172026Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136178706Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136184026Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136189556Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136194706Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136200756Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136236727Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136258517Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136266858Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136274518Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136282128Z level=info msg=Target target=[all] 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136341839Z level=info msg="Path Home" path=/usr/share/grafana 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.136349409Z level=info msg="Path Data" path=/var/lib/grafana 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.1363899Z level=info msg="Path Logs" path=/var/log/grafana 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.1364068Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.13641458Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 08:49:15 grafana | logger=settings t=2024-04-30T08:46:18.13642211Z level=info msg="App mode production" 08:49:15 grafana | logger=sqlstore t=2024-04-30T08:46:18.13694004Z level=info msg="Connecting to DB" dbtype=sqlite3 08:49:15 grafana | logger=sqlstore t=2024-04-30T08:46:18.13697181Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.137936966Z level=info msg="Starting DB migrations" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.139275538Z level=info msg="Executing migration" id="create migration_log table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.140527639Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.251321ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.145528203Z level=info msg="Executing migration" id="create user table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.146489338Z level=info msg="Migration successfully executed" id="create user table" duration=960.565µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.152508268Z level=info msg="Executing migration" id="add unique index user.login" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.153993134Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.483716ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.159015138Z level=info msg="Executing migration" id="add unique index user.email" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.160197757Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.182749ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.165313392Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.165862131Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=548.419µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.170959697Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.172019114Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.057757ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.177394473Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.180422594Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.028801ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.184102495Z level=info msg="Executing migration" id="create user table v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.185126453Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.023507ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.188650931Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.189449324Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=798.013µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.194126003Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.194920415Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=794.293µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.19935848Z level=info msg="Executing migration" id="copy data_source v1 to v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.199819897Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=460.877µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.203350426Z level=info msg="Executing migration" id="Drop old table user_v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.203940567Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=590.261µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.208461221Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.210240721Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.77839ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.21441566Z level=info msg="Executing migration" id="Update user table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.214454801Z level=info msg="Migration successfully executed" id="Update user table charset" duration=40.001µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.218619401Z level=info msg="Executing migration" id="Add last_seen_at column to user" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.22096474Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.343849ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.225024348Z level=info msg="Executing migration" id="Add missing user data" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.225326913Z level=info msg="Migration successfully executed" id="Add missing user data" duration=302.305µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.230201954Z level=info msg="Executing migration" id="Add is_disabled column to user" 08:49:15 kafka | [2024-04-30 08:46:28,572] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler) 08:49:15 kafka | [2024-04-30 08:46:28,573] INFO starting (kafka.server.KafkaServer) 08:49:15 kafka | [2024-04-30 08:46:28,574] INFO Connecting to zookeeper on zookeeper:2181 (kafka.server.KafkaServer) 08:49:15 kafka | [2024-04-30 08:46:28,585] INFO [ZooKeeperClient Kafka server] Initializing a new session to zookeeper:2181. (kafka.zookeeper.ZooKeeperClient) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:zookeeper.version=3.8.4-9316c2a7a97e1666d8f4593f34dd6fc36ecc436c, built on 2024-02-12 22:16 UTC (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:host.name=1f9b57aa4a07 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:java.version=11.0.22 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,589] INFO Client environment:java.class.path=/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/connect-json-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/commons-validator-1.7.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.6.1-ccs.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/kafka-clients-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.11.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/connect-runtime-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/trogdor-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/connect-api-7.6.1-ccs.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/kafka-streams-7.6.1-ccs.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/zookeeper-jute-3.8.4.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/kafka-storage-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.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/scala-library-2.13.11.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/connect-transforms-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.4.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/reflections-0.10.2.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/commons-beanutils-1.9.4.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/commons-digester-2.1.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/connect-mirror-7.6.1-ccs.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/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-raft-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.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/zookeeper-3.8.4.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/error_prone_annotations-2.10.0.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka-tools-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/checker-qual-3.19.0.jar:/usr/bin/../share/java/kafka/kafka-metadata-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/pcollections-4.0.1.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/commons-logging-1.2.jar:/usr/bin/../share/java/kafka/jsr305-3.0.2.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.54.v20240208.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/kafka-streams-test-utils-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/commons-collections-3.2.2.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/caffeine-2.9.3.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jline-3.25.1.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/kafka-shell-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.231724999Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.518864ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.235876298Z level=info msg="Executing migration" id="Add index user.login/user.email" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.237058618Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.18211ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.241069555Z level=info msg="Executing migration" id="Add is_service_account column to user" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.242249684Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.179409ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.246507146Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.259742966Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=13.23755ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.265058495Z level=info msg="Executing migration" id="Add uid column to user" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.26593164Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=872.546µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.269425568Z level=info msg="Executing migration" id="Update uid column values for users" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.269684872Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=258.994µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.273678078Z level=info msg="Executing migration" id="Add unique index user_uid" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.274778057Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.100619ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.281174614Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.281765993Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=590.429µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.286844978Z level=info msg="Executing migration" id="create temp user table v1-7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.288262672Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.416504ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.293683433Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.294901752Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.21968ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.299677802Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.300452075Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=774.103µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.305423998Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.306684809Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.260061ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.311197624Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.312638938Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.440944ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.318211891Z level=info msg="Executing migration" id="Update temp_user table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.318238581Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.81µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.323390607Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.324357354Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=966.417µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.328683026Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.329704072Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.023616ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.333560707Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.334205627Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=645.11µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.338292416Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.340444041Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=2.150645ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.344626091Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.349544743Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.917602ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.353695292Z level=info msg="Executing migration" id="create temp_user v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.354329613Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=632.87µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.361134207Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.362376467Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.24191ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.366320903Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.367566404Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.244081ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.372488446Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.373178067Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=689.061µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.562609895Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.564310443Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.698188ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.570543937Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.570944615Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=400.418µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.574439583Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.575079863Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=638.96µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.579585039Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.580141968Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=556.329µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.585113321Z level=info msg="Executing migration" id="create star table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.586065587Z level=info msg="Migration successfully executed" id="create star table" duration=951.725µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.58986603Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.591459357Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.592257ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.595185198Z level=info msg="Executing migration" id="create org table v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.595950831Z level=info msg="Migration successfully executed" id="create org table v1" duration=765.053µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.600794672Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.601511353Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=716.041µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.604989422Z level=info msg="Executing migration" id="create org_user table v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.605695984Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=706.582µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.609730011Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.610532785Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=804.135µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.614904317Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.616425973Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.520176ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.621696951Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.622492214Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=794.903µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.626557151Z level=info msg="Executing migration" id="Update org table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.626581581Z level=info msg="Migration successfully executed" id="Update org table charset" duration=25.06µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.63006798Z level=info msg="Executing migration" id="Update org_user table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.630108131Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=42.571µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.633605559Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.633768962Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=164.033µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.638506491Z level=info msg="Executing migration" id="create dashboard table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.639704271Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.197859ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.643534194Z level=info msg="Executing migration" id="add index dashboard.account_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.645248673Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.713429ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.649107647Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.649883501Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=777.524µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.653981128Z level=info msg="Executing migration" id="create dashboard_tag table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.654656799Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=675.081µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.659597512Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.660549128Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=951.286µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.664365582Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.665046653Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=680.301µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.668646193Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.673544615Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.897812ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.678133371Z level=info msg="Executing migration" id="create dashboard v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.678873993Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=740.502µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.683679704Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.684364265Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=684.071µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.688355701Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.689402529Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.045268ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.694613326Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.695103414Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=489.598µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.699012979Z level=info msg="Executing migration" id="drop table dashboard_v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.699758552Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=747.603µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.704980698Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.7050971Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=117.182µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.709295241Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.712218249Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.922098ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.716041683Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.717272914Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.230951ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.720938085Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.722238507Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.298872ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.726902804Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.727621826Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=718.492µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.731511571Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.735523608Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=4.010376ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.739770099Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.740849556Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.079937ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.744920155Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.745612066Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=691.441µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.749278127Z level=info msg="Executing migration" id="Update dashboard table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.749302728Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.501µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.753203253Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.753243964Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=39.961µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.758694385Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.762888234Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=4.194649ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.767018473Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.769983803Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.96441ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.773795126Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.775668158Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.872752ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.780207413Z level=info msg="Executing migration" id="Add column uid in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.782070784Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.863241ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.785648314Z level=info msg="Executing migration" id="Update uid column values in dashboard" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.785926918Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=278.614µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.789400367Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.79023285Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=831.923µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.793802119Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.79447827Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=674.331µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.800553993Z level=info msg="Executing migration" id="Update dashboard title length" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.800590673Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=36.97µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.804217773Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.805370672Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.154819ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.809306919Z level=info msg="Executing migration" id="create dashboard_provisioning" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.809967539Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=660.31µs 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.875851527Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.885229984Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.378947ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.891695302Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.893298869Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.605137ms 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.916673818Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.918678402Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=2.007584ms 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.memory.free=1008MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,590] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,591] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@66746f57 (org.apache.zookeeper.ZooKeeper) 08:49:15 kafka | [2024-04-30 08:46:28,594] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket) 08:49:15 kafka | [2024-04-30 08:46:28,600] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:28,601] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient) 08:49:15 kafka | [2024-04-30 08:46:28,605] INFO Opening socket connection to server zookeeper/172.17.0.4:2181. (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:28,612] INFO Socket connection established, initiating session, client: /172.17.0.9:55104, server: zookeeper/172.17.0.4:2181 (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:28,624] INFO Session establishment complete on server zookeeper/172.17.0.4:2181, session id = 0x10000046a2d0001, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn) 08:49:15 kafka | [2024-04-30 08:46:28,630] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient) 08:49:15 kafka | [2024-04-30 08:46:28,900] INFO Cluster ID = P0TWb4-XQzav3P0JIXq5_g (kafka.server.KafkaServer) 08:49:15 kafka | [2024-04-30 08:46:28,904] WARN No meta.properties file under dir /var/lib/kafka/data/meta.properties (kafka.server.BrokerMetadataCheckpoint) 08:49:15 kafka | [2024-04-30 08:46:28,949] INFO KafkaConfig values: 08:49:15 kafka | advertised.listeners = PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092 08:49:15 kafka | alter.config.policy.class.name = null 08:49:15 kafka | alter.log.dirs.replication.quota.window.num = 11 08:49:15 kafka | alter.log.dirs.replication.quota.window.size.seconds = 1 08:49:15 kafka | authorizer.class.name = 08:49:15 kafka | auto.create.topics.enable = true 08:49:15 kafka | auto.include.jmx.reporter = true 08:49:15 kafka | auto.leader.rebalance.enable = true 08:49:15 kafka | background.threads = 10 08:49:15 kafka | broker.heartbeat.interval.ms = 2000 08:49:15 kafka | broker.id = 1 08:49:15 kafka | broker.id.generation.enable = true 08:49:15 kafka | broker.rack = null 08:49:15 kafka | broker.session.timeout.ms = 9000 08:49:15 kafka | client.quota.callback.class = null 08:49:15 kafka | compression.type = producer 08:49:15 kafka | connection.failed.authentication.delay.ms = 100 08:49:15 kafka | connections.max.idle.ms = 600000 08:49:15 kafka | connections.max.reauth.ms = 0 08:49:15 kafka | control.plane.listener.name = null 08:49:15 kafka | controlled.shutdown.enable = true 08:49:15 kafka | controlled.shutdown.max.retries = 3 08:49:15 kafka | controlled.shutdown.retry.backoff.ms = 5000 08:49:15 kafka | controller.listener.names = null 08:49:15 kafka | controller.quorum.append.linger.ms = 25 08:49:15 kafka | controller.quorum.election.backoff.max.ms = 1000 08:49:15 kafka | controller.quorum.election.timeout.ms = 1000 08:49:15 kafka | controller.quorum.fetch.timeout.ms = 2000 08:49:15 kafka | controller.quorum.request.timeout.ms = 2000 08:49:15 kafka | controller.quorum.retry.backoff.ms = 20 08:49:15 kafka | controller.quorum.voters = [] 08:49:15 kafka | controller.quota.window.num = 11 08:49:15 kafka | controller.quota.window.size.seconds = 1 08:49:15 kafka | controller.socket.timeout.ms = 30000 08:49:15 kafka | create.topic.policy.class.name = null 08:49:15 kafka | default.replication.factor = 1 08:49:15 kafka | delegation.token.expiry.check.interval.ms = 3600000 08:49:15 kafka | delegation.token.expiry.time.ms = 86400000 08:49:15 kafka | delegation.token.master.key = null 08:49:15 kafka | delegation.token.max.lifetime.ms = 604800000 08:49:15 kafka | delegation.token.secret.key = null 08:49:15 kafka | delete.records.purgatory.purge.interval.requests = 1 08:49:15 kafka | delete.topic.enable = true 08:49:15 kafka | early.start.listeners = null 08:49:15 kafka | fetch.max.bytes = 57671680 08:49:15 kafka | fetch.purgatory.purge.interval.requests = 1000 08:49:15 kafka | group.consumer.assignors = [org.apache.kafka.coordinator.group.assignor.RangeAssignor] 08:49:15 kafka | group.consumer.heartbeat.interval.ms = 5000 08:49:15 kafka | group.consumer.max.heartbeat.interval.ms = 15000 08:49:15 kafka | group.consumer.max.session.timeout.ms = 60000 08:49:15 kafka | group.consumer.max.size = 2147483647 08:49:15 kafka | group.consumer.min.heartbeat.interval.ms = 5000 08:49:15 kafka | group.consumer.min.session.timeout.ms = 45000 08:49:15 kafka | group.consumer.session.timeout.ms = 45000 08:49:15 kafka | group.coordinator.new.enable = false 08:49:15 kafka | group.coordinator.threads = 1 08:49:15 kafka | group.initial.rebalance.delay.ms = 3000 08:49:15 kafka | group.max.session.timeout.ms = 1800000 08:49:15 kafka | group.max.size = 2147483647 08:49:15 kafka | group.min.session.timeout.ms = 6000 08:49:15 kafka | initial.broker.registration.timeout.ms = 60000 08:49:15 kafka | inter.broker.listener.name = PLAINTEXT 08:49:15 kafka | inter.broker.protocol.version = 3.6-IV2 08:49:15 kafka | kafka.metrics.polling.interval.secs = 10 08:49:15 kafka | kafka.metrics.reporters = [] 08:49:15 kafka | leader.imbalance.check.interval.seconds = 300 08:49:15 kafka | leader.imbalance.per.broker.percentage = 10 08:49:15 kafka | listener.security.protocol.map = PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT 08:49:15 kafka | listeners = PLAINTEXT://0.0.0.0:9092,PLAINTEXT_HOST://0.0.0.0:29092 08:49:15 kafka | log.cleaner.backoff.ms = 15000 08:49:15 kafka | log.cleaner.dedupe.buffer.size = 134217728 08:49:15 kafka | log.cleaner.delete.retention.ms = 86400000 08:49:15 kafka | log.cleaner.enable = true 08:49:15 kafka | log.cleaner.io.buffer.load.factor = 0.9 08:49:15 kafka | log.cleaner.io.buffer.size = 524288 08:49:15 kafka | log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308 08:49:15 kafka | log.cleaner.max.compaction.lag.ms = 9223372036854775807 08:49:15 kafka | log.cleaner.min.cleanable.ratio = 0.5 08:49:15 kafka | log.cleaner.min.compaction.lag.ms = 0 08:49:15 kafka | log.cleaner.threads = 1 08:49:15 kafka | log.cleanup.policy = [delete] 08:49:15 kafka | log.dir = /tmp/kafka-logs 08:49:15 kafka | log.dirs = /var/lib/kafka/data 08:49:15 kafka | log.flush.interval.messages = 9223372036854775807 08:49:15 kafka | log.flush.interval.ms = null 08:49:15 kafka | log.flush.offset.checkpoint.interval.ms = 60000 08:49:15 kafka | log.flush.scheduler.interval.ms = 9223372036854775807 08:49:15 kafka | log.flush.start.offset.checkpoint.interval.ms = 60000 08:49:15 kafka | log.index.interval.bytes = 4096 08:49:15 kafka | log.index.size.max.bytes = 10485760 08:49:15 kafka | log.local.retention.bytes = -2 08:49:15 kafka | log.local.retention.ms = -2 08:49:15 kafka | log.message.downconversion.enable = true 08:49:15 kafka | log.message.format.version = 3.0-IV1 08:49:15 kafka | log.message.timestamp.after.max.ms = 9223372036854775807 08:49:15 kafka | log.message.timestamp.before.max.ms = 9223372036854775807 08:49:15 kafka | log.message.timestamp.difference.max.ms = 9223372036854775807 08:49:15 kafka | log.message.timestamp.type = CreateTime 08:49:15 kafka | log.preallocate = false 08:49:15 kafka | log.retention.bytes = -1 08:49:15 kafka | log.retention.check.interval.ms = 300000 08:49:15 kafka | log.retention.hours = 168 08:49:15 kafka | log.retention.minutes = null 08:49:15 kafka | log.retention.ms = null 08:49:15 kafka | log.roll.hours = 168 08:49:15 kafka | log.roll.jitter.hours = 0 08:49:15 kafka | log.roll.jitter.ms = null 08:49:15 kafka | log.roll.ms = null 08:49:15 kafka | log.segment.bytes = 1073741824 08:49:15 kafka | log.segment.delete.delay.ms = 60000 08:49:15 kafka | max.connection.creation.rate = 2147483647 08:49:15 kafka | max.connections = 2147483647 08:49:15 kafka | max.connections.per.ip = 2147483647 08:49:15 kafka | max.connections.per.ip.overrides = 08:49:15 kafka | max.incremental.fetch.session.cache.slots = 1000 08:49:15 kafka | message.max.bytes = 1048588 08:49:15 kafka | metadata.log.dir = null 08:49:15 kafka | metadata.log.max.record.bytes.between.snapshots = 20971520 08:49:15 kafka | metadata.log.max.snapshot.interval.ms = 3600000 08:49:15 kafka | metadata.log.segment.bytes = 1073741824 08:49:15 kafka | metadata.log.segment.min.bytes = 8388608 08:49:15 kafka | metadata.log.segment.ms = 604800000 08:49:15 kafka | metadata.max.idle.interval.ms = 500 08:49:15 kafka | metadata.max.retention.bytes = 104857600 08:49:15 kafka | metadata.max.retention.ms = 604800000 08:49:15 kafka | metric.reporters = [] 08:49:15 kafka | metrics.num.samples = 2 08:49:15 kafka | metrics.recording.level = INFO 08:49:15 kafka | metrics.sample.window.ms = 30000 08:49:15 kafka | min.insync.replicas = 1 08:49:15 kafka | node.id = 1 08:49:15 kafka | num.io.threads = 8 08:49:15 kafka | num.network.threads = 3 08:49:15 kafka | num.partitions = 1 08:49:15 kafka | num.recovery.threads.per.data.dir = 1 08:49:15 kafka | num.replica.alter.log.dirs.threads = null 08:49:15 kafka | num.replica.fetchers = 1 08:49:15 kafka | offset.metadata.max.bytes = 4096 08:49:15 kafka | offsets.commit.required.acks = -1 08:49:15 kafka | offsets.commit.timeout.ms = 5000 08:49:15 kafka | offsets.load.buffer.size = 5242880 08:49:15 kafka | offsets.retention.check.interval.ms = 600000 08:49:15 kafka | offsets.retention.minutes = 10080 08:49:15 kafka | offsets.topic.compression.codec = 0 08:49:15 kafka | offsets.topic.num.partitions = 50 08:49:15 kafka | offsets.topic.replication.factor = 1 08:49:15 kafka | offsets.topic.segment.bytes = 104857600 08:49:15 kafka | password.encoder.cipher.algorithm = AES/CBC/PKCS5Padding 08:49:15 kafka | password.encoder.iterations = 4096 08:49:15 kafka | password.encoder.key.length = 128 08:49:15 kafka | password.encoder.keyfactory.algorithm = null 08:49:15 kafka | password.encoder.old.secret = null 08:49:15 kafka | password.encoder.secret = null 08:49:15 kafka | principal.builder.class = class org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder 08:49:15 kafka | process.roles = [] 08:49:15 kafka | producer.id.expiration.check.interval.ms = 600000 08:49:15 kafka | producer.id.expiration.ms = 86400000 08:49:15 kafka | producer.purgatory.purge.interval.requests = 1000 08:49:15 kafka | queued.max.request.bytes = -1 08:49:15 kafka | queued.max.requests = 500 08:49:15 kafka | quota.window.num = 11 08:49:15 kafka | quota.window.size.seconds = 1 08:49:15 kafka | remote.log.index.file.cache.total.size.bytes = 1073741824 08:49:15 kafka | remote.log.manager.task.interval.ms = 30000 08:49:15 kafka | remote.log.manager.task.retry.backoff.max.ms = 30000 08:49:15 kafka | remote.log.manager.task.retry.backoff.ms = 500 08:49:15 kafka | remote.log.manager.task.retry.jitter = 0.2 08:49:15 kafka | remote.log.manager.thread.pool.size = 10 08:49:15 kafka | remote.log.metadata.custom.metadata.max.bytes = 128 08:49:15 kafka | remote.log.metadata.manager.class.name = org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager 08:49:15 kafka | remote.log.metadata.manager.class.path = null 08:49:15 kafka | remote.log.metadata.manager.impl.prefix = rlmm.config. 08:49:15 kafka | remote.log.metadata.manager.listener.name = null 08:49:15 kafka | remote.log.reader.max.pending.tasks = 100 08:49:15 kafka | remote.log.reader.threads = 10 08:49:15 kafka | remote.log.storage.manager.class.name = null 08:49:15 kafka | remote.log.storage.manager.class.path = null 08:49:15 kafka | remote.log.storage.manager.impl.prefix = rsm.config. 08:49:15 kafka | remote.log.storage.system.enable = false 08:49:15 kafka | replica.fetch.backoff.ms = 1000 08:49:15 kafka | replica.fetch.max.bytes = 1048576 08:49:15 kafka | replica.fetch.min.bytes = 1 08:49:15 kafka | replica.fetch.response.max.bytes = 10485760 08:49:15 kafka | replica.fetch.wait.max.ms = 500 08:49:15 kafka | replica.high.watermark.checkpoint.interval.ms = 5000 08:49:15 kafka | replica.lag.time.max.ms = 30000 08:49:15 kafka | replica.selector.class = null 08:49:15 kafka | replica.socket.receive.buffer.bytes = 65536 08:49:15 kafka | replica.socket.timeout.ms = 30000 08:49:15 kafka | replication.quota.window.num = 11 08:49:15 kafka | replication.quota.window.size.seconds = 1 08:49:15 kafka | request.timeout.ms = 30000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.923859198Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.924749053Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=890.525µs 08:49:15 policy-api | Waiting for mariadb port 3306... 08:49:15 kafka | reserved.broker.max.id = 1000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.928481144Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 08:49:15 policy-api | mariadb (172.17.0.5:3306) open 08:49:15 kafka | sasl.client.callback.handler.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.92883062Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=350.846µs 08:49:15 mariadb | 2024-04-30 08:46:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 08:49:15 policy-api | Waiting for policy-db-migrator port 6824... 08:49:15 policy-db-migrator | Waiting for mariadb port 3306... 08:49:15 kafka | sasl.enabled.mechanisms = [GSSAPI] 08:49:15 policy-apex-pdp | Waiting for mariadb port 3306... 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.932625484Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 08:49:15 mariadb | 2024-04-30 08:46:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 08:49:15 policy-api | policy-db-migrator (172.17.0.7:6824) open 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 kafka | sasl.jaas.config = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.164Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d 08:49:15 policy-pap | Waiting for mariadb port 3306... 08:49:15 policy-apex-pdp | mariadb (172.17.0.5:3306) open 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.933185223Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=560.829µs 08:49:15 mariadb | 2024-04-30 08:46:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 08:49:15 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | Policy simulator config file: /opt/app/policy/simulators/etc/mounted/simParameters.json 08:49:15 zookeeper | ===> User 08:49:15 prometheus | ts=2024-04-30T08:46:17.164Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 08:49:15 policy-pap | mariadb (172.17.0.5:3306) open 08:49:15 policy-apex-pdp | Waiting for kafka port 9092... 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.9377883Z level=info msg="Executing migration" id="Add check_sum column" 08:49:15 mariadb | 2024-04-30 08:46:20+00:00 [Note] [Entrypoint]: Initializing database files 08:49:15 policy-api | 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | overriding logback.xml 08:49:15 zookeeper | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) 08:49:15 zookeeper | ===> Configuring ... 08:49:15 prometheus | ts=2024-04-30T08:46:17.164Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" 08:49:15 policy-pap | Waiting for kafka port 9092... 08:49:15 policy-apex-pdp | kafka (172.17.0.9:9092) open 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.939966666Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.178366ms 08:49:15 mariadb | 2024-04-30 8:46:20 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 08:49:15 policy-api | . ____ _ __ _ _ 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | 2024-04-30 08:46:19,551 INFO replacing 'HOST_NAME' with simulator in /opt/app/policy/simulators/etc/mounted/simParameters.json 08:49:15 zookeeper | ===> Running preflight checks ... 08:49:15 kafka | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 prometheus | ts=2024-04-30T08:46:17.164Z caller=main.go:623 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))" 08:49:15 policy-pap | kafka (172.17.0.9:9092) open 08:49:15 policy-apex-pdp | Waiting for pap port 6969... 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.943970823Z level=info msg="Executing migration" id="Add index for dashboard_title" 08:49:15 mariadb | 2024-04-30 8:46:20 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 08:49:15 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | 2024-04-30 08:46:19,669 INFO org.onap.policy.models.simulators starting 08:49:15 zookeeper | ===> Check if /var/lib/zookeeper/data is writable ... 08:49:15 kafka | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 prometheus | ts=2024-04-30T08:46:17.165Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" 08:49:15 policy-pap | Waiting for api port 6969... 08:49:15 policy-apex-pdp | pap (172.17.0.10:6969) open 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.94498413Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.014637ms 08:49:15 mariadb | 2024-04-30 8:46:20 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 08:49:15 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | 2024-04-30 08:46:19,669 INFO org.onap.policy.models.simulators starting CDS gRPC Server Properties 08:49:15 zookeeper | ===> Check if /var/lib/zookeeper/log is writable ... 08:49:15 kafka | sasl.kerberos.principal.to.local.rules = [DEFAULT] 08:49:15 prometheus | ts=2024-04-30T08:46:17.165Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" 08:49:15 prometheus | ts=2024-04-30T08:46:17.168Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 08:49:15 policy-pap | api (172.17.0.8:6969) open 08:49:15 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' 08:49:15 mariadb | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.948379446Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 08:49:15 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 08:49:15 policy-db-migrator | nc: connect to mariadb (172.17.0.5) port 3306 (tcp) failed: Connection refused 08:49:15 simulator | 2024-04-30 08:46:19,842 INFO org.onap.policy.models.simulators starting org.onap.policy.simulators.AaiSimulatorJaxRs_RESOURCE_LOCATION 08:49:15 zookeeper | ===> Launching ... 08:49:15 kafka | sasl.kerberos.service.name = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.169Z caller=main.go:1129 level=info msg="Starting TSDB ..." 08:49:15 policy-pap | Policy pap config file: /opt/app/policy/pap/etc/papParameters.yaml 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.476+00:00|INFO|ApexStarterMain|main] In ApexStarter with parameters [-c, /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json] 08:49:15 mariadb | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.94857884Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=200.644µs 08:49:15 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 08:49:15 policy-db-migrator | Connection to mariadb (172.17.0.5) 3306 port [tcp/mysql] succeeded! 08:49:15 simulator | 2024-04-30 08:46:19,843 INFO org.onap.policy.models.simulators starting A&AI simulator 08:49:15 zookeeper | ===> Launching zookeeper ... 08:49:15 kafka | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 prometheus | ts=2024-04-30T08:46:17.173Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 08:49:15 policy-pap | PDP group configuration file: /opt/app/policy/pap/etc/mounted/groups.json 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.652+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.952884312Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 08:49:15 policy-api | =========|_|==============|___/=/_/_/_/ 08:49:15 policy-db-migrator | 321 blocks 08:49:15 simulator | 2024-04-30 08:46:19,959 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{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@64a8c844{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@3f6db3fb{/,null,STOPPED}, connector=A&AI simulator@6f152006{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 08:49:15 zookeeper | [2024-04-30 08:46:25,765] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 prometheus | ts=2024-04-30T08:46:17.173Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 08:49:15 policy-pap | 08:49:15 policy-apex-pdp | allow.auto.create.topics = true 08:49:15 mariadb | To do so, start the server, then issue the following command: 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.953113165Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=220.333µs 08:49:15 policy-api | :: Spring Boot :: (v3.1.10) 08:49:15 policy-db-migrator | Preparing upgrade release version: 0800 08:49:15 simulator | 2024-04-30 08:46:19,974 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{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@64a8c844{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@3f6db3fb{/,null,STOPPED}, connector=A&AI simulator@6f152006{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 zookeeper | [2024-04-30 08:46:25,771] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.login.callback.handler.class = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.175Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 08:49:15 policy-pap | . ____ _ __ _ _ 08:49:15 policy-apex-pdp | auto.commit.interval.ms = 5000 08:49:15 mariadb | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.956523142Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 08:49:15 policy-api | 08:49:15 policy-db-migrator | Preparing upgrade release version: 0900 08:49:15 simulator | 2024-04-30 08:46:19,976 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{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@64a8c844{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@3f6db3fb{/,null,STOPPED}, connector=A&AI simulator@6f152006{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-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 zookeeper | [2024-04-30 08:46:25,771] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.login.class = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.175Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.91µs 08:49:15 policy-pap | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 mariadb | '/usr/bin/mysql_secure_installation' 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:36.748+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final 08:49:15 policy-db-migrator | Preparing upgrade release version: 1000 08:49:15 simulator | 2024-04-30 08:46:19,981 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9-alpine-r0 08:49:15 zookeeper | [2024-04-30 08:46:25,771] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.login.connect.timeout.ms = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.175Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" 08:49:15 policy-pap | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 08:49:15 policy-apex-pdp | auto.offset.reset = latest 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.957327935Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=805.713µs 08:49:15 mariadb | which will also give you the option of removing the test 08:49:15 policy-api | [2024-04-30T08:46:36.803+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.11 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) 08:49:15 policy-db-migrator | Preparing upgrade release version: 1100 08:49:15 simulator | 2024-04-30 08:46:20,035 INFO Session workerName=node0 08:49:15 zookeeper | [2024-04-30 08:46:25,771] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.login.read.timeout.ms = null 08:49:15 prometheus | ts=2024-04-30T08:46:17.176Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 08:49:15 policy-pap | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.961076398Z level=info msg="Executing migration" id="Add isPublic for dashboard" 08:49:15 mariadb | databases and anonymous user created by default. This is 08:49:15 policy-api | [2024-04-30T08:46:36.804+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 08:49:15 policy-db-migrator | Preparing upgrade release version: 1200 08:49:15 simulator | 2024-04-30 08:46:20,627 INFO Using GSON for REST calls 08:49:15 zookeeper | [2024-04-30 08:46:25,773] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager) 08:49:15 kafka | sasl.login.refresh.buffer.seconds = 300 08:49:15 prometheus | ts=2024-04-30T08:46:17.176Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=320.835µs wal_replay_duration=649.231µs wbl_replay_duration=320ns total_replay_duration=1.085088ms 08:49:15 policy-pap | ' |____| .__|_| |_|_| |_\__, | / / / / 08:49:15 policy-apex-pdp | check.crcs = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.963235825Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.159556ms 08:49:15 mariadb | strongly recommended for production servers. 08:49:15 policy-api | [2024-04-30T08:46:38.662+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 08:49:15 policy-db-migrator | Preparing upgrade release version: 1300 08:49:15 simulator | 2024-04-30 08:46:20,711 INFO Started o.e.j.s.ServletContextHandler@3f6db3fb{/,null,AVAILABLE} 08:49:15 zookeeper | [2024-04-30 08:46:25,773] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager) 08:49:15 kafka | sasl.login.refresh.min.period.seconds = 60 08:49:15 prometheus | ts=2024-04-30T08:46:17.180Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC 08:49:15 policy-pap | =========|_|==============|___/=/_/_/_/ 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.966947546Z level=info msg="Executing migration" id="create data_source table" 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:38.738+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 67 ms. Found 6 JPA repository interfaces. 08:49:15 policy-db-migrator | Done 08:49:15 simulator | 2024-04-30 08:46:20,718 INFO Started A&AI simulator@6f152006{HTTP/1.1, (http/1.1)}{0.0.0.0:6666} 08:49:15 zookeeper | [2024-04-30 08:46:25,773] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager) 08:49:15 kafka | sasl.login.refresh.window.factor = 0.8 08:49:15 prometheus | ts=2024-04-30T08:46:17.180Z caller=main.go:1153 level=info msg="TSDB started" 08:49:15 policy-pap | :: Spring Boot :: (v3.1.10) 08:49:15 policy-apex-pdp | client.id = consumer-88b9e57d-bf83-4c63-8768-514319390b69-1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.967906052Z level=info msg="Migration successfully executed" id="create data_source table" duration=958.966µs 08:49:15 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 08:49:15 policy-api | [2024-04-30T08:46:39.133+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 08:49:15 policy-db-migrator | name version 08:49:15 simulator | 2024-04-30 08:46:20,728 INFO Started Server@64a8c844{STARTING}[11.0.20,sto=0] @1620ms 08:49:15 zookeeper | [2024-04-30 08:46:25,773] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) 08:49:15 kafka | sasl.login.refresh.window.jitter = 0.05 08:49:15 prometheus | ts=2024-04-30T08:46:17.180Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 08:49:15 policy-pap | 08:49:15 policy-apex-pdp | client.rack = 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.974160457Z level=info msg="Executing migration" id="add index data_source.account_id" 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:39.134+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 08:49:15 policy-db-migrator | policyadmin 0 08:49:15 simulator | 2024-04-30 08:46:20,728 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{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@64a8c844{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@3f6db3fb{/,null,AVAILABLE}, connector=A&AI simulator@6f152006{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-2e61d218==org.glassfish.jersey.servlet.ServletContainer@60d118f1{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4248 ms. 08:49:15 zookeeper | [2024-04-30 08:46:25,774] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil) 08:49:15 kafka | sasl.login.retry.backoff.max.ms = 10000 08:49:15 prometheus | ts=2024-04-30T08:46:17.181Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.031417ms db_storage=1.19µs remote_storage=2.78µs web_handler=500ns query_engine=790ns scrape=302.496µs scrape_sd=115.311µs notify=25.711µs notify_sd=9.37µs rules=1.6µs tracing=4.82µs 08:49:15 policy-pap | [2024-04-30T08:46:50.165+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.975357176Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.20601ms 08:49:15 mariadb | Please report any problems at https://mariadb.org/jira 08:49:15 policy-api | [2024-04-30T08:46:39.723+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 08:49:15 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 08:49:15 simulator | 2024-04-30 08:46:20,736 INFO org.onap.policy.models.simulators starting SDNC simulator 08:49:15 zookeeper | [2024-04-30 08:46:25,774] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.login.retry.backoff.ms = 100 08:49:15 prometheus | ts=2024-04-30T08:46:17.181Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 08:49:15 policy-pap | [2024-04-30T08:46:50.222+00:00|INFO|PolicyPapApplication|main] Starting PolicyPapApplication using Java 17.0.11 with PID 34 (/app/pap.jar started by policy in /opt/app/policy/pap/bin) 08:49:15 policy-apex-pdp | default.api.timeout.ms = 60000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.979268861Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:39.734+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 08:49:15 policy-db-migrator | upgrade: 0 -> 1300 08:49:15 simulator | 2024-04-30 08:46:20,740 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{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@70efb718{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@b70da4c{/,null,STOPPED}, connector=SDNC simulator@c5ee75e{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 08:49:15 zookeeper | [2024-04-30 08:46:25,775] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.mechanism.controller.protocol = GSSAPI 08:49:15 prometheus | ts=2024-04-30T08:46:17.181Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." 08:49:15 policy-pap | [2024-04-30T08:46:50.224+00:00|INFO|PolicyPapApplication|main] No active profile set, falling back to 1 default profile: "default" 08:49:15 policy-apex-pdp | enable.auto.commit = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.980202487Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=934.376µs 08:49:15 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 08:49:15 policy-api | [2024-04-30T08:46:39.736+00:00|INFO|StandardService|main] Starting service [Tomcat] 08:49:15 policy-db-migrator | 08:49:15 simulator | 2024-04-30 08:46:20,740 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{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@70efb718{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@b70da4c{/,null,STOPPED}, connector=SDNC simulator@c5ee75e{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 zookeeper | [2024-04-30 08:46:25,775] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.mechanism.inter.broker.protocol = GSSAPI 08:49:15 policy-pap | [2024-04-30T08:46:52.136+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 08:49:15 policy-apex-pdp | exclude.internal.topics = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.984343226Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:39.737+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] 08:49:15 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 08:49:15 simulator | 2024-04-30 08:46:20,743 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{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@70efb718{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@b70da4c{/,null,STOPPED}, connector=SDNC simulator@c5ee75e{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 zookeeper | [2024-04-30 08:46:25,775] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 kafka | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 policy-pap | [2024-04-30T08:46:52.224+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 7 JPA repository interfaces. 08:49:15 policy-apex-pdp | fetch.max.bytes = 52428800 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.985103888Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=763.602µs 08:49:15 mariadb | Consider joining MariaDB's strong and vibrant community: 08:49:15 policy-api | [2024-04-30T08:46:39.828+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,775] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 08:49:15 simulator | 2024-04-30 08:46:20,744 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9-alpine-r0 08:49:15 kafka | sasl.oauthbearer.expected.audience = null 08:49:15 policy-pap | [2024-04-30T08:46:52.652+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 08:49:15 policy-apex-pdp | fetch.max.wait.ms = 500 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.991030618Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 08:49:15 mariadb | https://mariadb.org/get-involved/ 08:49:15 policy-api | [2024-04-30T08:46:39.828+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2961 ms 08:49:15 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) 08:49:15 zookeeper | [2024-04-30 08:46:25,775] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain) 08:49:15 simulator | 2024-04-30 08:46:20,754 INFO Session workerName=node0 08:49:15 kafka | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-pap | [2024-04-30T08:46:52.652+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 08:49:15 policy-apex-pdp | fetch.min.bytes = 1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.992141106Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.103068ms 08:49:15 mariadb | 08:49:15 policy-api | [2024-04-30T08:46:40.251+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,785] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@77eca502 (org.apache.zookeeper.server.ServerMetrics) 08:49:15 simulator | 2024-04-30 08:46:20,825 INFO Using GSON for REST calls 08:49:15 kafka | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-pap | [2024-04-30T08:46:53.290+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 08:49:15 policy-apex-pdp | group.id = 88b9e57d-bf83-4c63-8768-514319390b69 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:18.995782777Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 08:49:15 mariadb | 2024-04-30 08:46:22+00:00 [Note] [Entrypoint]: Database files initialized 08:49:15 policy-api | [2024-04-30T08:46:40.330+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.2.Final 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,788] INFO ACL digest algorithm is: SHA1 (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) 08:49:15 simulator | 2024-04-30 08:46:20,844 INFO Started o.e.j.s.ServletContextHandler@b70da4c{/,null,AVAILABLE} 08:49:15 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-pap | [2024-04-30T08:46:53.299+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 08:49:15 policy-apex-pdp | group.instance.id = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.001517912Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.731785ms 08:49:15 mariadb | 2024-04-30 08:46:22+00:00 [Note] [Entrypoint]: Starting temporary server 08:49:15 policy-api | [2024-04-30T08:46:40.375+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,788] INFO zookeeper.DigestAuthenticationProvider.enabled = true (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) 08:49:15 simulator | 2024-04-30 08:46:20,846 INFO Started SDNC simulator@c5ee75e{HTTP/1.1, (http/1.1)}{0.0.0.0:6668} 08:49:15 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-pap | [2024-04-30T08:46:53.301+00:00|INFO|StandardService|main] Starting service [Tomcat] 08:49:15 policy-apex-pdp | heartbeat.interval.ms = 3000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.006685408Z level=info msg="Executing migration" id="create data_source table v2" 08:49:15 mariadb | 2024-04-30 08:46:22+00:00 [Note] [Entrypoint]: Waiting for server startup 08:49:15 policy-api | [2024-04-30T08:46:40.685+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 08:49:15 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 08:49:15 zookeeper | [2024-04-30 08:46:25,790] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 08:49:15 simulator | 2024-04-30 08:46:20,847 INFO Started Server@70efb718{STARTING}[11.0.20,sto=0] @1739ms 08:49:15 kafka | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-pap | [2024-04-30T08:46:53.302+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.007461801Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=777.033µs 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,847 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{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@70efb718{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@b70da4c{/,null,AVAILABLE}, connector=SDNC simulator@c5ee75e{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-bf1ec20==org.glassfish.jersey.servlet.ServletContainer@636d8afb{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4896 ms. 08:49:15 kafka | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-pap | [2024-04-30T08:46:53.392+00:00|INFO|[/policy/pap/v1]|main] Initializing Spring embedded WebApplicationContext 08:49:15 policy-apex-pdp | internal.leave.group.on.close = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.011165415Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 08:49:15 policy-api | [2024-04-30T08:46:40.716+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 08:49:15 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) 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO ______ _ (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,848 INFO org.onap.policy.models.simulators starting SO simulator 08:49:15 kafka | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-pap | [2024-04-30T08:46:53.392+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3098 ms 08:49:15 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.011779146Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=614.631µs 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: Number of transaction pools: 1 08:49:15 policy-api | [2024-04-30T08:46:40.810+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@288ca5f0 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO |___ / | | (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,852 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{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@b7838a9{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@696f0212{/,null,STOPPED}, connector=SO simulator@4e858e0a{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 08:49:15 kafka | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-pap | [2024-04-30T08:46:53.765+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 08:49:15 policy-apex-pdp | isolation.level = read_uncommitted 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.01617498Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 08:49:15 policy-api | [2024-04-30T08:46:40.812+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO / / ___ ___ | | __ ___ ___ _ __ ___ _ __ (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,852 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{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@b7838a9{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@696f0212{/,null,STOPPED}, connector=SO simulator@4e858e0a{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 kafka | sasl.server.callback.handler.class = null 08:49:15 policy-pap | [2024-04-30T08:46:53.838+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final 08:49:15 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.017463952Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.288132ms 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 08:49:15 policy-api | [2024-04-30T08:46:42.715+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,853 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{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@b7838a9{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@696f0212{/,null,STOPPED}, connector=SO simulator@4e858e0a{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 kafka | sasl.server.max.receive.size = 524288 08:49:15 policy-pap | [2024-04-30T08:46:54.195+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 08:49:15 policy-apex-pdp | max.partition.fetch.bytes = 1048576 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.022907715Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 08:49:15 policy-api | [2024-04-30T08:46:42.718+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 08:49:15 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,854 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9-alpine-r0 08:49:15 kafka | security.inter.broker.protocol = PLAINTEXT 08:49:15 policy-pap | [2024-04-30T08:46:54.290+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@72f8ae0c 08:49:15 policy-apex-pdp | max.poll.interval.ms = 300000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.023835681Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=930.705µs 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 08:49:15 policy-api | [2024-04-30T08:46:43.697+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,858 INFO Session workerName=node0 08:49:15 kafka | security.providers = null 08:49:15 policy-pap | [2024-04-30T08:46:54.292+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 08:49:15 policy-apex-pdp | max.poll.records = 500 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.027607145Z level=info msg="Executing migration" id="Add column with_credentials" 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 08:49:15 policy-api | [2024-04-30T08:46:44.548+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 08:49:15 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) 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO | | (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,913 INFO Using GSON for REST calls 08:49:15 kafka | server.max.startup.time.ms = 9223372036854775807 08:49:15 policy-pap | [2024-04-30T08:46:54.328+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB106Dialect 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.03025694Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.648545ms 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: Completed initialization of buffer pool 08:49:15 policy-api | [2024-04-30T08:46:45.705+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 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO |_| (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,926 INFO Started o.e.j.s.ServletContextHandler@696f0212{/,null,AVAILABLE} 08:49:15 kafka | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-pap | [2024-04-30T08:46:55.774+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.03439558Z level=info msg="Executing migration" id="Add secure json data column" 08:49:15 mariadb | 2024-04-30 8:46:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 08:49:15 policy-api | [2024-04-30T08:46:45.985+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@dffa7ce, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2fcc32ae, org.springframework.security.web.context.SecurityContextHolderFilter@46c8a8e0, org.springframework.security.web.header.HeaderWriterFilter@54d8c998, org.springframework.security.web.authentication.logout.LogoutFilter@1bff5ad0, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@508b9c16, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6707ab9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1844e563, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5ef53e42, org.springframework.security.web.access.ExceptionTranslationFilter@13a34a70, org.springframework.security.web.access.intercept.AuthorizationFilter@42c661d4] 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,799] INFO (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,927 INFO Started SO simulator@4e858e0a{HTTP/1.1, (http/1.1)}{0.0.0.0:6669} 08:49:15 kafka | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-pap | [2024-04-30T08:46:55.786+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.037115107Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.720437ms 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] InnoDB: 128 rollback segments are active. 08:49:15 policy-api | [2024-04-30T08:46:46.858+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,800] INFO Server environment:zookeeper.version=3.8.4-9316c2a7a97e1666d8f4593f34dd6fc36ecc436c, built on 2024-02-12 22:16 UTC (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,927 INFO Started Server@b7838a9{STARTING}[11.0.20,sto=0] @1819ms 08:49:15 kafka | socket.listen.backlog.size = 50 08:49:15 policy-pap | [2024-04-30T08:46:56.318+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 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.042539359Z level=info msg="Executing migration" id="Update data_source table charset" 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 08:49:15 policy-api | [2024-04-30T08:46:46.970+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 08:49:15 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:host.name=5d0eda486e98 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,927 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{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@b7838a9{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@696f0212{/,null,AVAILABLE}, connector=SO simulator@4e858e0a{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-4e70a728==org.glassfish.jersey.servlet.ServletContainer@3238e994{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4926 ms. 08:49:15 kafka | socket.receive.buffer.bytes = 102400 08:49:15 policy-pap | [2024-04-30T08:46:56.707+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 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.04261502Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=79.741µs 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 08:49:15 policy-api | [2024-04-30T08:46:47.000+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.version=11.0.22 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,929 INFO org.onap.policy.models.simulators starting VFC simulator 08:49:15 kafka | socket.request.max.bytes = 104857600 08:49:15 policy-pap | [2024-04-30T08:46:56.806+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 08:49:15 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.059225203Z level=info msg="Executing migration" id="Update initial version to 1" 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] InnoDB: log sequence number 46590; transaction id 14 08:49:15 policy-api | [2024-04-30T08:46:47.018+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.009 seconds (process running for 11.655) 08:49:15 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) 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,933 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{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@f478a81{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@19553973{/,null,STOPPED}, connector=VFC simulator@1c3146bc{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 08:49:15 kafka | socket.send.buffer.bytes = 102400 08:49:15 policy-pap | [2024-04-30T08:46:57.062+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 policy-apex-pdp | receive.buffer.bytes = 65536 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.059996966Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=776.583µs 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] Plugin 'FEEDBACK' is disabled. 08:49:15 policy-api | [2024-04-30T08:47:05.394+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,934 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{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@f478a81{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@19553973{/,null,STOPPED}, connector=VFC simulator@1c3146bc{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 kafka | ssl.cipher.suites = [] 08:49:15 policy-pap | allow.auto.create.topics = true 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.065002372Z level=info msg="Executing migration" id="Add read_only data column" 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 08:49:15 policy-api | [2024-04-30T08:47:05.396+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 08:49:15 policy-db-migrator | 08:49:15 simulator | 2024-04-30 08:46:20,935 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{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@f478a81{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@19553973{/,null,STOPPED}, connector=VFC simulator@1c3146bc{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.class.path=/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/connect-json-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/commons-validator-1.7.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.6.1-ccs.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/kafka-clients-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.11.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/connect-runtime-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/trogdor-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/connect-api-7.6.1-ccs.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/kafka-streams-7.6.1-ccs.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/zookeeper-jute-3.8.4.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/kafka-storage-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.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/scala-library-2.13.11.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/connect-transforms-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.4.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/reflections-0.10.2.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/commons-beanutils-1.9.4.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/commons-digester-2.1.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/connect-mirror-7.6.1-ccs.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/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/kafka-raft-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.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/zookeeper-3.8.4.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/error_prone_annotations-2.10.0.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka-tools-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/checker-qual-3.19.0.jar:/usr/bin/../share/java/kafka/kafka-metadata-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/pcollections-4.0.1.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/commons-logging-1.2.jar:/usr/bin/../share/java/kafka/jsr305-3.0.2.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.54.v20240208.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/kafka-streams-test-utils-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/commons-collections-3.2.2.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/caffeine-2.9.3.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jline-3.25.1.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.54.v20240208.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/kafka-shell-7.6.1-ccs.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.client.auth = none 08:49:15 policy-pap | auto.commit.interval.ms = 5000 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.07015737Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=5.153398ms 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 08:49:15 policy-api | [2024-04-30T08:47:05.397+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 08:49:15 policy-db-migrator | 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,936 INFO jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9-alpine-r0 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 kafka | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.074837468Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 08:49:15 policy-api | [2024-04-30T08:47:05.736+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-2] ***** OrderedServiceImpl implementers: 08:49:15 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:20,939 INFO Session workerName=node0 08:49:15 policy-pap | auto.offset.reset = latest 08:49:15 kafka | ssl.endpoint.identification.algorithm = https 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.075066083Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=233.185µs 08:49:15 mariadb | 2024-04-30 8:46:23 0 [Note] mariadbd: ready for connections. 08:49:15 policy-api | [] 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:java.compiler= (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:21,003 INFO Using GSON for REST calls 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 kafka | ssl.engine.factory.class = null 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.079947686Z level=info msg="Executing migration" id="Update json_data with nulls" 08:49:15 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 08:49:15 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) 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 simulator | 2024-04-30 08:46:21,015 INFO Started o.e.j.s.ServletContextHandler@19553973{/,null,AVAILABLE} 08:49:15 policy-pap | check.crcs = true 08:49:15 kafka | ssl.key.password = null 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.080130389Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=184.434µs 08:49:15 mariadb | 2024-04-30 08:46:23+00:00 [Note] [Entrypoint]: Temporary server started. 08:49:15 policy-db-migrator | -------------- 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.version=4.15.0-192-generic (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:user.name=appuser (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keymanager.algorithm = SunX509 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.082990217Z level=info msg="Executing migration" id="Add uid column" 08:49:15 mariadb | 2024-04-30 08:46:25+00:00 [Note] [Entrypoint]: Creating user policy_user 08:49:15 policy-db-migrator | 08:49:15 simulator | 2024-04-30 08:46:21,016 INFO Started VFC simulator@1c3146bc{HTTP/1.1, (http/1.1)}{0.0.0.0:6670} 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:user.home=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keystore.certificate.chain = null 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.087006346Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.014469ms 08:49:15 mariadb | 2024-04-30 08:46:25+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 08:49:15 policy-db-migrator | 08:49:15 simulator | 2024-04-30 08:46:21,016 INFO Started Server@f478a81{STARTING}[11.0.20,sto=0] @1908ms 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:user.dir=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keystore.key = null 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 policy-pap | client.id = consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.095349258Z level=info msg="Executing migration" id="Update uid value" 08:49:15 mariadb | 2024-04-30 08:46:25+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 08:49:15 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 08:49:15 simulator | 2024-04-30 08:46:21,017 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{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@f478a81{STARTED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@19553973{/,null,AVAILABLE}, connector=VFC simulator@1c3146bc{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-47a86fbb==org.glassfish.jersey.servlet.ServletContainer@f8e3b478{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4919 ms. 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.memory.free=491MB (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keystore.location = null 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-pap | client.rack = 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.095757775Z level=info msg="Migration successfully executed" id="Update uid value" duration=412.177µs 08:49:15 mariadb | 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | 2024-04-30 08:46:21,019 INFO org.onap.policy.models.simulators started 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keystore.password = null 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.099777553Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 08:49:15 mariadb | 08:49:15 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) 08:49:15 simulator | 2024-04-30 08:47:29,396 INFO 172.17.0.11 - - [30/Apr/2024:08:47:29 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.keystore.type = JKS 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 policy-pap | default.api.timeout.ms = 60000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.100683169Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=905.556µs 08:49:15 mariadb | 2024-04-30 08:46:25+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | 2024-04-30 08:47:29,919 INFO Received request input to CDS: commonHeader { 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.principal.mapping.rules = DEFAULT 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 policy-pap | enable.auto.commit = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.105857247Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 08:49:15 mariadb | #!/bin/bash -xv 08:49:15 policy-db-migrator | 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.protocol = TLSv1.3 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 policy-pap | exclude.internal.topics = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.106730442Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=873.825µs 08:49:15 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 08:49:15 policy-db-migrator | 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.provider = null 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 policy-pap | fetch.max.bytes = 52428800 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.11369729Z level=info msg="Executing migration" id="create api_key table" 08:49:15 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 08:49:15 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 08:49:15 simulator | originatorId: "POLICY" 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.flushDelay = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.secure.random.implementation = null 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 policy-pap | fetch.max.wait.ms = 500 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.114613317Z level=info msg="Migration successfully executed" id="create api_key table" duration=917.427µs 08:49:15 mariadb | # 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | } 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.maxWriteQueuePollTime = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.trustmanager.algorithm = PKIX 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-pap | fetch.min.bytes = 1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.121479733Z level=info msg="Executing migration" id="add index api_key.account_id" 08:49:15 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 08:49:15 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) 08:49:15 simulator | actionIdentifiers { 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.truststore.certificates = null 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-pap | group.id = 19e5e96a-45c2-4734-9745-b1c3892cb9e3 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.122609442Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.130249ms 08:49:15 mariadb | # you may not use this file except in compliance with the License. 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 zookeeper | [2024-04-30 08:46:25,801] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.truststore.location = null 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 policy-pap | group.instance.id = null 08:49:15 mariadb | # You may obtain a copy of the License at 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.126957306Z level=info msg="Executing migration" id="add index api_key.key" 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 zookeeper | [2024-04-30 08:46:25,802] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle) 08:49:15 kafka | ssl.truststore.password = null 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 policy-pap | heartbeat.interval.ms = 3000 08:49:15 mariadb | # 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.127745379Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=788.243µs 08:49:15 simulator | actionName: "update-config" 08:49:15 zookeeper | [2024-04-30 08:46:25,803] INFO minSessionTimeout set to 4000 ms (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | ssl.truststore.type = JKS 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 08:49:15 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.131138878Z level=info msg="Executing migration" id="add index api_key.account_id_name" 08:49:15 simulator | mode: "sync" 08:49:15 zookeeper | [2024-04-30 08:46:25,803] INFO maxSessionTimeout set to 40000 ms (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 kafka | transaction.abort.timed.out.transaction.cleanup.interval.ms = 10000 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 policy-pap | internal.leave.group.on.close = true 08:49:15 mariadb | # 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.132034023Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=894.635µs 08:49:15 simulator | } 08:49:15 zookeeper | [2024-04-30 08:46:25,804] INFO getData response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) 08:49:15 kafka | transaction.max.timeout.ms = 900000 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 mariadb | # Unless required by applicable law or agreed to in writing, software 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.136655402Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 08:49:15 simulator | payload { 08:49:15 zookeeper | [2024-04-30 08:46:25,804] INFO getChildren response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) 08:49:15 kafka | transaction.partition.verification.enable = true 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 policy-pap | isolation.level = read_uncommitted 08:49:15 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.137411085Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=754.043µs 08:49:15 simulator | fields { 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 kafka | transaction.remove.expired.transaction.cleanup.interval.ms = 3600000 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.140951034Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 08:49:15 simulator | key: "update-config-request" 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 kafka | transaction.state.log.load.buffer.size = 5242880 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 mariadb | # See the License for the specific language governing permissions and 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.141730137Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=779.273µs 08:49:15 simulator | value { 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 kafka | transaction.state.log.min.isr = 2 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-pap | max.partition.fetch.bytes = 1048576 08:49:15 mariadb | # limitations under the License. 08:49:15 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.14534446Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 08:49:15 simulator | struct_value { 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 kafka | transaction.state.log.num.partitions = 50 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-pap | max.poll.interval.ms = 300000 08:49:15 mariadb | 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.146189004Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=844.975µs 08:49:15 simulator | fields { 08:49:15 kafka | transaction.state.log.replication.factor = 3 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 policy-pap | max.poll.records = 500 08:49:15 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.151074097Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 08:49:15 simulator | key: "hostname" 08:49:15 kafka | transaction.state.log.segment.bytes = 104857600 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 zookeeper | [2024-04-30 08:46:25,805] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 mariadb | do 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.157998555Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.923248ms 08:49:15 simulator | value { 08:49:15 kafka | transactional.id.expiration.ms = 604800000 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 zookeeper | [2024-04-30 08:46:25,807] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 policy-pap | metric.reporters = [] 08:49:15 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.162316039Z level=info msg="Executing migration" id="create api_key table v2" 08:49:15 kafka | unclean.leader.election.enable = false 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 zookeeper | [2024-04-30 08:46:25,807] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.163224224Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=908.435µs 08:49:15 simulator | string_value: "host5v8q7i" 08:49:15 kafka | unstable.api.versions.enable = false 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 zookeeper | [2024-04-30 08:46:25,808] INFO zookeeper.enforce.auth.enabled = false (org.apache.zookeeper.server.AuthenticationHelper) 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 mariadb | done 08:49:15 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.167034698Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 08:49:15 simulator | } 08:49:15 kafka | zookeeper.clientCnxnSocket = null 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 zookeeper | [2024-04-30 08:46:25,808] INFO zookeeper.enforce.auth.schemes = [] (org.apache.zookeeper.server.AuthenticationHelper) 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.168033816Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=998.648µs 08:49:15 simulator | } 08:49:15 kafka | zookeeper.connect = zookeeper:2181 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 zookeeper | [2024-04-30 08:46:25,808] 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) 08:49:15 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.172530352Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 08:49:15 simulator | fields { 08:49:15 kafka | zookeeper.connection.timeout.ms = null 08:49:15 policy-apex-pdp | session.timeout.ms = 45000 08:49:15 zookeeper | [2024-04-30 08:46:25,826] INFO Logging initialized @523ms to org.eclipse.jetty.util.log.Slf4jLog (org.eclipse.jetty.util.log) 08:49:15 policy-pap | receive.buffer.bytes = 65536 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.173631001Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.100959ms 08:49:15 simulator | key: "IP" 08:49:15 kafka | zookeeper.max.in.flight.requests = 10 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 zookeeper | [2024-04-30 08:46:25,912] WARN o.e.j.s.ServletContextHandler@6d5620ce{/,null,STOPPED} contextPath ends with /* (org.eclipse.jetty.server.handler.ContextHandler) 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.17708871Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 08:49:15 simulator | value { 08:49:15 kafka | zookeeper.metadata.migration.enable = false 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 zookeeper | [2024-04-30 08:46:25,912] WARN Empty contextPath (org.eclipse.jetty.server.handler.ContextHandler) 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.177934754Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=843.864µs 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 kafka | zookeeper.metadata.migration.min.batch.size = 200 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 zookeeper | [2024-04-30 08:46:25,937] INFO jetty-9.4.54.v20240208; built: 2024-02-08T19:42:39.027Z; git: cef3fbd6d736a21e7d541a5db490381d95a2047d; jvm 11.0.22+7-LTS (org.eclipse.jetty.server.Server) 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.182553963Z level=info msg="Executing migration" id="copy api_key v1 to v2" 08:49:15 simulator | } 08:49:15 kafka | zookeeper.session.timeout.ms = 18000 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 zookeeper | [2024-04-30 08:46:25,964] INFO DefaultSessionIdManager workerName=node0 (org.eclipse.jetty.server.session) 08:49:15 zookeeper | [2024-04-30 08:46:25,964] INFO No SessionScavenger set, using defaults (org.eclipse.jetty.server.session) 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.182933349Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=377.356µs 08:49:15 simulator | } 08:49:15 kafka | zookeeper.set.acl = false 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 zookeeper | [2024-04-30 08:46:25,965] INFO node0 Scavenging every 600000ms (org.eclipse.jetty.server.session) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.187640599Z level=info msg="Executing migration" id="Drop old table api_key_v1" 08:49:15 simulator | fields { 08:49:15 kafka | zookeeper.ssl.cipher.suites = null 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 zookeeper | [2024-04-30 08:46:25,968] WARN ServletContext@o.e.j.s.ServletContextHandler@6d5620ce{/,null,STARTING} has uncovered http methods for path: /* (org.eclipse.jetty.security.SecurityHandler) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.188495654Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=852.535µs 08:49:15 simulator | key: "pnfName" 08:49:15 kafka | zookeeper.ssl.client.enable = false 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 zookeeper | [2024-04-30 08:46:25,975] INFO Started o.e.j.s.ServletContextHandler@6d5620ce{/,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler) 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.19241999Z level=info msg="Executing migration" id="Update api_key table charset" 08:49:15 simulator | value { 08:49:15 kafka | zookeeper.ssl.crl.enable = false 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 zookeeper | [2024-04-30 08:46:25,995] INFO Started ServerConnector@4d1bf319{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} (org.eclipse.jetty.server.AbstractConnector) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.192458311Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.361µs 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 kafka | zookeeper.ssl.enabled.protocols = null 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 zookeeper | [2024-04-30 08:46:25,995] INFO Started @691ms (org.eclipse.jetty.server.Server) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.195820339Z level=info msg="Executing migration" id="Add expires to api_key table" 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.endpoint.identification.algorithm = HTTPS 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 zookeeper | [2024-04-30 08:46:25,995] INFO Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands (org.apache.zookeeper.server.admin.JettyAdminServer) 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.198656637Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.833908ms 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.keystore.location = null 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 zookeeper | [2024-04-30 08:46:25,999] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.221837012Z level=info msg="Executing migration" id="Add service account foreign key" 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.keystore.password = null 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 zookeeper | [2024-04-30 08:46:26,000] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.227330385Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=5.492303ms 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.keystore.type = null 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 zookeeper | [2024-04-30 08:46:26,003] 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) 08:49:15 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.257208904Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.ocsp.enable = false 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 policy-pap | sasl.login.class = null 08:49:15 zookeeper | [2024-04-30 08:46:26,006] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.257510799Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=305.345µs 08:49:15 simulator | } 08:49:15 kafka | zookeeper.ssl.protocol = TLSv1.2 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 zookeeper | [2024-04-30 08:46:26,025] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) 08:49:15 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 08:49:15 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.26229086Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 08:49:15 simulator | 08:49:15 kafka | zookeeper.ssl.truststore.location = null 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 zookeeper | [2024-04-30 08:46:26,026] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) 08:49:15 mariadb | 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.266491672Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.201492ms 08:49:15 simulator | 2024-04-30 08:47:29,939 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 kafka | zookeeper.ssl.truststore.password = null 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 zookeeper | [2024-04-30 08:46:26,027] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.271443737Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 08:49:15 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 08:49:15 simulator | 2024-04-30 08:47:34,247 INFO 172.17.0.11 - - [30/Apr/2024:08:47:34 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 kafka | zookeeper.ssl.truststore.type = null 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 zookeeper | [2024-04-30 08:46:26,027] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.274258935Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.814848ms 08:49:15 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 08:49:15 simulator | 2024-04-30 08:47:34,268 INFO Received request input to CDS: commonHeader { 08:49:15 kafka | (kafka.server.KafkaConfig) 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 zookeeper | [2024-04-30 08:46:26,031] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.277964217Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 08:49:15 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 kafka | [2024-04-30 08:46:28,977] INFO [ThrottledChannelReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 zookeeper | [2024-04-30 08:46:26,031] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.278830961Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=867.374µs 08:49:15 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 kafka | [2024-04-30 08:46:28,979] INFO [ThrottledChannelReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 zookeeper | [2024-04-30 08:46:26,033] INFO Snapshot loaded in 7 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase) 08:49:15 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.282761439Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 08:49:15 mariadb | 08:49:15 simulator | originatorId: "POLICY" 08:49:15 kafka | [2024-04-30 08:46:28,982] INFO [ThrottledChannelReaper-ControllerMutation]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 08:49:15 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 zookeeper | [2024-04-30 08:46:26,034] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.283375719Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=614.82µs 08:49:15 mariadb | 2024-04-30 08:46:26+00:00 [Note] [Entrypoint]: Stopping temporary server 08:49:15 simulator | } 08:49:15 kafka | [2024-04-30 08:46:28,979] INFO [ThrottledChannelReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 08:49:15 policy-apex-pdp | 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 zookeeper | [2024-04-30 08:46:26,034] INFO Snapshot taken in 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.289176138Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 08:49:15 mariadb | 2024-04-30 8:46:26 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 08:49:15 simulator | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:46:29,010] INFO Loading logs from log dirs ArraySeq(/var/lib/kafka/data) (kafka.log.LogManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.829+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 zookeeper | [2024-04-30 08:46:26,046] INFO zookeeper.request_throttler.shutdownTimeout = 10000 ms (org.apache.zookeeper.server.RequestThrottler) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.290111784Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=935.146µs 08:49:15 mariadb | 2024-04-30 8:46:26 0 [Note] InnoDB: FTS optimize thread exiting. 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:46:29,015] INFO No logs found to be loaded in /var/lib/kafka/data (kafka.log.LogManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.830+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 zookeeper | [2024-04-30 08:46:26,046] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.294254235Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 08:49:15 mariadb | 2024-04-30 8:46:26 0 [Note] InnoDB: Starting shutdown... 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:46:29,024] INFO Loaded 0 logs in 13ms (kafka.log.LogManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.830+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466820828 08:49:15 zookeeper | [2024-04-30 08:46:26,066] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.295491965Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.23811ms 08:49:15 mariadb | 2024-04-30 8:46:26 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 08:49:15 simulator | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:46:29,026] INFO Starting log cleanup with a period of 300000 ms. (kafka.log.LogManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.832+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-1, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Subscribed to topic(s): policy-pdp-pap 08:49:15 zookeeper | [2024-04-30 08:46:26,067] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider) 08:49:15 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.30046104Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 08:49:15 mariadb | 2024-04-30 8:46:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 240430 8:46:26 08:49:15 simulator | mode: "sync" 08:49:15 kafka | [2024-04-30 08:46:29,027] INFO Starting log flusher with a default period of 9223372036854775807 ms. (kafka.log.LogManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.843+00:00|INFO|ServiceManager|main] service manager starting 08:49:15 zookeeper | [2024-04-30 08:46:27,380] INFO Creating new log file: log.1 (org.apache.zookeeper.server.persistence.FileTxnLog) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.301604349Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.140819ms 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 08:49:15 simulator | } 08:49:15 kafka | [2024-04-30 08:46:29,036] INFO Starting the log cleaner (kafka.log.LogCleaner) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.844+00:00|INFO|ServiceManager|main] service manager starting topics 08:49:15 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) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.306831018Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Shutdown completed; log sequence number 328807; transaction id 298 08:49:15 simulator | payload { 08:49:15 kafka | [2024-04-30 08:46:29,081] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner$CleanerThread) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.845+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=88b9e57d-bf83-4c63-8768-514319390b69, 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 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.307708074Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=878.406µs 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] mariadbd: Shutdown complete 08:49:15 simulator | fields { 08:49:15 kafka | [2024-04-30 08:46:29,097] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.863+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.311307835Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 08:49:15 mariadb | 08:49:15 simulator | key: "update-config-request" 08:49:15 kafka | [2024-04-30 08:46:29,110] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener) 08:49:15 policy-apex-pdp | allow.auto.create.topics = true 08:49:15 policy-apex-pdp | auto.commit.interval.ms = 5000 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.311408327Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=100.912µs 08:49:15 mariadb | 2024-04-30 08:46:27+00:00 [Note] [Entrypoint]: Temporary server stopped 08:49:15 simulator | value { 08:49:15 kafka | [2024-04-30 08:46:29,154] INFO [zk-broker-1-to-controller-forwarding-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 policy-apex-pdp | auto.offset.reset = latest 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.315031318Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 08:49:15 mariadb | 08:49:15 simulator | struct_value { 08:49:15 kafka | [2024-04-30 08:46:29,469] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 policy-apex-pdp | check.crcs = true 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.315074479Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=44.901µs 08:49:15 mariadb | 2024-04-30 08:46:27+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 08:49:15 simulator | fields { 08:49:15 kafka | [2024-04-30 08:46:29,489] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT) (kafka.network.SocketServer) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 policy-pap | security.providers = null 08:49:15 mariadb | 08:49:15 simulator | key: "hostname" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.319152689Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 08:49:15 kafka | [2024-04-30 08:46:29,490] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) 08:49:15 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 08:49:15 policy-apex-pdp | client.id = consumer-88b9e57d-bf83-4c63-8768-514319390b69-2 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.321791704Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.639704ms 08:49:15 kafka | [2024-04-30 08:46:29,496] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT_HOST) (kafka.network.SocketServer) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | client.rack = 08:49:15 policy-pap | session.timeout.ms = 45000 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.326357501Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 08:49:15 kafka | [2024-04-30 08:46:29,501] INFO [zk-broker-1-to-controller-alter-partition-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) 08:49:15 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Number of transaction pools: 1 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.329613076Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.251265ms 08:49:15 kafka | [2024-04-30 08:46:29,524] INFO [ExpirationReaper-1-Produce]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | default.api.timeout.ms = 60000 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 08:49:15 simulator | string_value: "host0vtz7" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.333763677Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 08:49:15 kafka | [2024-04-30 08:46:29,526] INFO [ExpirationReaper-1-Fetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | enable.auto.commit = true 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.333881239Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=120.292µs 08:49:15 kafka | [2024-04-30 08:46:29,527] INFO [ExpirationReaper-1-DeleteRecords]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-apex-pdp | exclude.internal.topics = true 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.337608262Z level=info msg="Executing migration" id="create quota table v1" 08:49:15 kafka | [2024-04-30 08:46:29,528] INFO [ExpirationReaper-1-ElectLeader]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 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) 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 policy-apex-pdp | fetch.max.bytes = 52428800 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.338801413Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.193481ms 08:49:15 kafka | [2024-04-30 08:46:29,529] INFO [ExpirationReaper-1-RemoteFetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-apex-pdp | fetch.max.wait.ms = 500 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 08:49:15 simulator | key: "IP" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.344209625Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 08:49:15 kafka | [2024-04-30 08:46:29,541] INFO [LogDirFailureHandler]: Starting (kafka.server.ReplicaManager$LogDirFailureHandler) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 policy-apex-pdp | fetch.min.bytes = 1 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Completed initialization of buffer pool 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.344984878Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=775.463µs 08:49:15 kafka | [2024-04-30 08:46:29,542] INFO [AddPartitionsToTxnSenderThread-1]: Starting (kafka.server.AddPartitionsToTxnManager) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 policy-apex-pdp | group.id = 88b9e57d-bf83-4c63-8768-514319390b69 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.349392213Z level=info msg="Executing migration" id="Update quota table charset" 08:49:15 kafka | [2024-04-30 08:46:29,563] INFO Creating /brokers/ids/1 (is it secure? false) (kafka.zk.KafkaZkClient) 08:49:15 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 08:49:15 policy-pap | ssl.key.password = null 08:49:15 policy-apex-pdp | group.instance.id = null 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: 128 rollback segments are active. 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.349431653Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=41.06µs 08:49:15 kafka | [2024-04-30 08:46:29,588] INFO Stat of the created znode at /brokers/ids/1 is: 27,27,1714466789575,1714466789575,1,0,0,72057612999131137,258,0,27 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 policy-apex-pdp | heartbeat.interval.ms = 3000 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.354077583Z level=info msg="Executing migration" id="create plugin_setting table" 08:49:15 kafka | (kafka.zk.KafkaZkClient) 08:49:15 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) 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.355074019Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=996.716µs 08:49:15 kafka | [2024-04-30 08:46:29,590] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 policy-apex-pdp | internal.leave.group.on.close = true 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: log sequence number 328807; transaction id 299 08:49:15 simulator | key: "pnfName" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.359918792Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 08:49:15 kafka | [2024-04-30 08:46:29,643] INFO [ControllerEventThread controllerId=1] Starting (kafka.controller.ControllerEventManager$ControllerEventThread) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.361000791Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.081279ms 08:49:15 kafka | [2024-04-30 08:46:29,650] INFO [ExpirationReaper-1-topic]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 policy-apex-pdp | isolation.level = read_uncommitted 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] Plugin 'FEEDBACK' is disabled. 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.365219532Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 08:49:15 kafka | [2024-04-30 08:46:29,656] INFO [ExpirationReaper-1-Heartbeat]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.368116582Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.89464ms 08:49:15 kafka | [2024-04-30 08:46:29,657] INFO [ExpirationReaper-1-Rebalance]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.371750303Z level=info msg="Executing migration" id="Update plugin_setting table charset" 08:49:15 kafka | [2024-04-30 08:46:29,663] INFO Successfully created /controller_epoch with initial epoch 0 (kafka.zk.KafkaZkClient) 08:49:15 policy-pap | ssl.provider = null 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] Server socket created on IP: '0.0.0.0'. 08:49:15 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) 08:49:15 policy-apex-pdp | max.partition.fetch.bytes = 1048576 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.371779314Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=30.111µs 08:49:15 kafka | [2024-04-30 08:46:29,671] INFO [Controller id=1] 1 successfully elected as the controller. Epoch incremented to 1 and epoch zk version is now 1 (kafka.controller.KafkaController) 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] Server socket created on IP: '::'. 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | max.poll.interval.ms = 300000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.374281677Z level=info msg="Executing migration" id="create session table" 08:49:15 kafka | [2024-04-30 08:46:29,673] INFO [GroupCoordinator 1]: Starting up. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] mariadbd: ready for connections. 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | max.poll.records = 500 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.375151212Z level=info msg="Migration successfully executed" id="create session table" duration=869.426µs 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 08:49:15 mariadb | 2024-04-30 8:46:27 0 [Note] InnoDB: Buffer pool(s) load completed at 240430 8:46:27 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.380317859Z level=info msg="Executing migration" id="Drop old table playlist table" 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:46:29,674] INFO [Controller id=1] Creating FeatureZNode at path: /feature with contents: FeatureZNode(2,Enabled,Map()) (kafka.controller.KafkaController) 08:49:15 mariadb | 2024-04-30 8:46:27 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.10' (This connection closed normally without authentication) 08:49:15 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.380416822Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=100.033µs 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:46:29,679] INFO [GroupCoordinator 1]: Startup complete. (kafka.coordinator.group.GroupCoordinator) 08:49:15 mariadb | 2024-04-30 8:46:27 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.11' (This connection closed normally without authentication) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 simulator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.384237497Z level=info msg="Executing migration" id="Drop old table playlist_item table" 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:46:29,694] INFO Feature ZK node created at path: /feature (kafka.server.FinalizedFeatureChangeListener) 08:49:15 mariadb | 2024-04-30 8:46:28 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.7' (This connection closed normally without authentication) 08:49:15 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) 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 simulator | 2024-04-30 08:47:34,269 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.384336828Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=100.031µs 08:49:15 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:46:29,712] INFO [TransactionCoordinator id=1] Starting up. (kafka.coordinator.transaction.TransactionCoordinator) 08:49:15 mariadb | 2024-04-30 8:46:28 9 [Warning] Aborted connection 9 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.8' (This connection closed normally without authentication) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 simulator | 2024-04-30 08:47:49,977 INFO 172.17.0.11 - - [30/Apr/2024:08:47:49 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.38799287Z level=info msg="Executing migration" id="create playlist table v2" 08:49:15 policy-pap | 08:49:15 kafka | [2024-04-30 08:46:29,715] INFO [TxnMarkerSenderThread-1]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 simulator | 2024-04-30 08:47:49,995 INFO Received request input to CDS: commonHeader { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.389022968Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.033628ms 08:49:15 policy-pap | [2024-04-30T08:46:57.227+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:46:29,716] INFO [TransactionCoordinator id=1] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator) 08:49:15 kafka | [2024-04-30 08:46:29,723] INFO [MetadataCache brokerId=1] Updated cache from existing None to latest Features(version=3.6-IV2, finalizedFeatures={}, finalizedFeaturesEpoch=0). (kafka.server.metadata.ZkMetadataCache) 08:49:15 policy-apex-pdp | receive.buffer.bytes = 65536 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.39385335Z level=info msg="Executing migration" id="create playlist item table v2" 08:49:15 policy-pap | [2024-04-30T08:46:57.227+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,723] INFO [Controller id=1] Registering handlers (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.394891788Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.038958ms 08:49:15 policy-pap | [2024-04-30T08:46:57.227+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466817225 08:49:15 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 08:49:15 kafka | [2024-04-30 08:46:29,730] INFO [Controller id=1] Deleting log dir event notifications (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 simulator | originatorId: "POLICY" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.40088252Z level=info msg="Executing migration" id="Update playlist table charset" 08:49:15 policy-pap | [2024-04-30T08:46:57.244+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-1, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Subscribed to topic(s): policy-pdp-pap 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,735] INFO [Controller id=1] Deleting isr change notifications (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.40091348Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=32.49µs 08:49:15 policy-pap | [2024-04-30T08:46:57.244+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 08:49:15 kafka | [2024-04-30 08:46:29,737] INFO [Controller id=1] Initializing controller context (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 simulator | actionIdentifiers { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.404565642Z level=info msg="Executing migration" id="Update playlist_item table charset" 08:49:15 policy-pap | allow.auto.create.topics = true 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,749] INFO [ExpirationReaper-1-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.404606393Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=42.571µs 08:49:15 policy-pap | auto.commit.interval.ms = 5000 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,752] INFO [Controller id=1] Initialized broker epochs cache: HashMap(1 -> 27) (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.409499407Z level=info msg="Executing migration" id="Add playlist column created_at" 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,758] DEBUG [Controller id=1] Register BrokerModifications handler for Set(1) (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 simulator | actionName: "update-config" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.41387068Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.370643ms 08:49:15 policy-pap | auto.offset.reset = latest 08:49:15 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 08:49:15 kafka | [2024-04-30 08:46:29,762] DEBUG [Channel manager on controller 1]: Controller 1 trying to connect to broker 1 (kafka.controller.ControllerChannelManager) 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 simulator | mode: "sync" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.418240435Z level=info msg="Executing migration" id="Add playlist column updated_at" 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,770] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread) 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.422664171Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.402636ms 08:49:15 policy-pap | check.crcs = true 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:29,778] INFO [RequestSendThread controllerId=1] Starting (kafka.controller.RequestSendThread) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 simulator | payload { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.426435935Z level=info msg="Executing migration" id="drop preferences table v2" 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,778] INFO [Controller id=1] Currently active brokers in the cluster: Set(1) (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.426546027Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=110.222µs 08:49:15 policy-pap | client.id = consumer-policy-pap-2 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,779] INFO [Controller id=1] Currently shutting brokers in the cluster: HashSet() (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 simulator | key: "update-config-request" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.429757541Z level=info msg="Executing migration" id="drop preferences table v3" 08:49:15 policy-pap | client.rack = 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,779] INFO [Controller id=1] Current list of topics in the cluster: HashSet() (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.429843103Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=81.422µs 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 08:49:15 kafka | [2024-04-30 08:46:29,779] INFO [Controller id=1] Fetching topic deletions in progress (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 simulator | struct_value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.433875342Z level=info msg="Executing migration" id="create preferences table v3" 08:49:15 policy-pap | default.api.timeout.ms = 60000 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,781] INFO [Controller id=1] List of topics to be deleted: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.434799397Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=923.655µs 08:49:15 policy-pap | enable.auto.commit = true 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:29,782] INFO [Controller id=1] List of topics ineligible for deletion: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 simulator | key: "hostname" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.438947237Z level=info msg="Executing migration" id="Update preferences table charset" 08:49:15 policy-pap | exclude.internal.topics = true 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,782] INFO [Controller id=1] Initializing topic deletion manager (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.438974238Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.891µs 08:49:15 policy-pap | fetch.max.bytes = 52428800 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,782] INFO [Topic Deletion Manager 1] Initializing manager with initial deletions: Set(), initial ineligible deletions: HashSet() (kafka.controller.TopicDeletionManager) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 simulator | string_value: "host7om8s" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.443101949Z level=info msg="Executing migration" id="Add column team_id in preferences" 08:49:15 policy-pap | fetch.max.wait.ms = 500 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,783] INFO [Controller id=1] Sending update metadata request (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.446214952Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.112173ms 08:49:15 policy-pap | fetch.min.bytes = 1 08:49:15 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 08:49:15 kafka | [2024-04-30 08:46:29,786] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 simulator | } 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,786] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Enabling request processing. (kafka.network.SocketServer) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.452992157Z level=info msg="Executing migration" id="Update team_id column values in preferences" 08:49:15 policy-pap | group.id = policy-pap 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 08:49:15 kafka | [2024-04-30 08:46:29,790] INFO Awaiting socket connections on 0.0.0.0:29092. (kafka.network.DataPlaneAcceptor) 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.453154749Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=162.852µs 08:49:15 policy-pap | group.instance.id = null 08:49:15 simulator | key: "IP" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,793] INFO [ReplicaStateMachine controllerId=1] Initializing replica state (kafka.controller.ZkReplicaStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.456829112Z level=info msg="Executing migration" id="Add column week_start in preferences" 08:49:15 policy-pap | heartbeat.interval.ms = 3000 08:49:15 simulator | value { 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,793] INFO [ReplicaStateMachine controllerId=1] Triggering online replica state changes (kafka.controller.ZkReplicaStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.460027947Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.198245ms 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,794] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.46376008Z level=info msg="Executing migration" id="Add column preferences.json_data" 08:49:15 policy-pap | internal.leave.group.on.close = true 08:49:15 simulator | } 08:49:15 simulator | } 08:49:15 kafka | [2024-04-30 08:46:29,800] INFO [ReplicaStateMachine controllerId=1] Triggering offline replica state changes (kafka.controller.ZkReplicaStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.468167675Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.406225ms 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 08:49:15 kafka | [2024-04-30 08:46:29,800] DEBUG [ReplicaStateMachine controllerId=1] Started replica state machine with initial state -> HashMap() (kafka.controller.ZkReplicaStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-pap | isolation.level = read_uncommitted 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.472489359Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.47259567Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=156.552µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,800] INFO [PartitionStateMachine controllerId=1] Initializing partition state (kafka.controller.ZkPartitionStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.47841257Z level=info msg="Executing migration" id="Add preferences index org_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.479411707Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.000637ms 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 08:49:15 kafka | [2024-04-30 08:46:29,801] INFO [PartitionStateMachine controllerId=1] Triggering online partition state changes (kafka.controller.ZkPartitionStateMachine) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-pap | max.partition.fetch.bytes = 1048576 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.484621006Z level=info msg="Executing migration" id="Add preferences index user_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.485417929Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=797.553µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,804] INFO Kafka version: 7.6.1-ccs (org.apache.kafka.common.utils.AppInfoParser) 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-pap | max.poll.interval.ms = 300000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.490010928Z level=info msg="Executing migration" id="create alert table v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.490997654Z level=info msg="Migration successfully executed" id="create alert table v1" duration=986.807µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,805] INFO Kafka commitId: 11e81ad2a49db00b1d2b8c731409cd09e563de67 (org.apache.kafka.common.utils.AppInfoParser) 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-pap | max.poll.records = 500 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.496830143Z level=info msg="Executing migration" id="add index alert org_id & id " 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.497990503Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.15938ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,805] INFO Kafka startTimeMs: 1714466789799 (org.apache.kafka.common.utils.AppInfoParser) 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.50313262Z level=info msg="Executing migration" id="add index alert state" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.504069117Z level=info msg="Migration successfully executed" id="add index alert state" duration=939.357µs 08:49:15 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 08:49:15 kafka | [2024-04-30 08:46:29,806] INFO [KafkaServer id=1] started (kafka.server.KafkaServer) 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 policy-pap | metric.reporters = [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.509914286Z level=info msg="Executing migration" id="add index alert dashboard_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.510894793Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=979.837µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,812] DEBUG [PartitionStateMachine controllerId=1] Started partition state machine with initial state -> HashMap() (kafka.controller.ZkPartitionStateMachine) 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.516265554Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.517464674Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.19808ms 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:29,813] INFO [Controller id=1] Ready to serve as the new controller with epoch 1 (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.522116604Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.523332985Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.211311ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,816] INFO [RequestSendThread controllerId=1] Controller 1 connected to kafka:9092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread) 08:49:15 policy-apex-pdp | session.timeout.ms = 45000 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 simulator | key: "pnfName" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.529650552Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,823] INFO [Controller id=1] Partitions undergoing preferred replica election: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.53070379Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.050948ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,823] INFO [Controller id=1] Partitions that completed preferred replica election: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-pap | receive.buffer.bytes = 65536 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.534686228Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 08:49:15 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 08:49:15 kafka | [2024-04-30 08:46:29,824] INFO [Controller id=1] Skipping preferred replica election for partitions due to topic deletion: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.549300727Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.610649ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,824] INFO [Controller id=1] Resuming preferred replica election for partitions: (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.553521818Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:29,825] INFO [Controller id=1] Starting replica leader election (PREFERRED) for partitions triggered by ZkTriggered (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.554275582Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=755.714µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:29,840] INFO [Controller id=1] Starting the controller scheduler (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.702718849Z 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" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,867] 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) 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.704154073Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.437294ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:29,875] 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) 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.70866285Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 08:49:15 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 08:49:15 kafka | [2024-04-30 08:46:29,904] 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) 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 simulator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.708951075Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=288.535µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:34,842] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController) 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 simulator | 2024-04-30 08:47:49,996 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.713182996Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:34,842] TRACE [Controller id=1] Checking need to trigger auto leader balancing (kafka.controller.KafkaController) 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 simulator | 2024-04-30 08:47:50,012 INFO 172.17.0.11 - - [30/Apr/2024:08:47:50 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.713725076Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=542.15µs 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,411] INFO Creating topic policy-pdp-pap with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 simulator | 2024-04-30 08:47:50,060 INFO Received request input to CDS: commonHeader { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.719677568Z level=info msg="Executing migration" id="create alert_notification table v1" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,417] DEBUG [Controller id=1] There is no producerId block yet (Zk path version 0), creating the first block (kafka.controller.KafkaController) 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.720947699Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.270201ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,418] 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) 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.72631118Z level=info msg="Executing migration" id="Add column is_default" 08:49:15 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 08:49:15 kafka | [2024-04-30 08:46:59,423] 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) 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 simulator | originatorId: "POLICY" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.730476901Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.16098ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,457] 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(NM4_K2pUQYWyBBq4FrvLuQ),Map(policy-pdp-pap-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))), TopicIdReplicaAssignment(__consumer_offsets,Some(5cg81dzWREKdiaGxKQ_B0g),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) 08:49:15 policy-pap | sasl.login.class = null 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.734170054Z level=info msg="Executing migration" id="Add column frequency" 08:49:15 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) 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:46:59,459] 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) 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 simulator | actionIdentifiers { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.738136251Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.965607ms 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:46:59,461] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-22 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.742514736Z level=info msg="Executing migration" id="Add column send_reminder" 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 kafka | [2024-04-30 08:46:59,461] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-30 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.746242209Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.727043ms 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 kafka | [2024-04-30 08:46:59,461] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-25 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 simulator | actionName: "update-config" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.74980632Z level=info msg="Executing migration" id="Add column disable_resolve_message" 08:49:15 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,461] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-35 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 simulator | mode: "sync" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.753522444Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.715354ms 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 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) 08:49:15 kafka | [2024-04-30 08:46:59,461] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-38 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.757098264Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-13 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | 08:49:15 simulator | payload { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.75801077Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=910.186µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-8 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.871+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 simulator | fields { 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.763848409Z level=info msg="Executing migration" id="Update alert table charset" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-21 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.871+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 simulator | key: "update-config-request" 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.7638794Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=32.33µs 08:49:15 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-4 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.871+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466820871 08:49:15 simulator | value { 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.767433391Z level=info msg="Executing migration" id="Update alert_notification table charset" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-27 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.871+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Subscribed to topic(s): policy-pdp-pap 08:49:15 simulator | struct_value { 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.767472861Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=41.01µs 08:49:15 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-7 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.872+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=7c347487-1f04-48fe-bca1-7dc1fdba7a20, alive=false, publisher=null]]: starting 08:49:15 simulator | fields { 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.77097068Z level=info msg="Executing migration" id="create notification_journal table v1" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-9 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.883+00:00|INFO|ProducerConfig|main] ProducerConfig values: 08:49:15 simulator | key: "hostname" 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.7721251Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.15438ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-46 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | acks = -1 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.776043067Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,462] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-41 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.776955062Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=911.995µs 08:49:15 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-33 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | string_value: "hoste7w74k" 08:49:15 policy-apex-pdp | batch.size = 16384 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.784688824Z level=info msg="Executing migration" id="drop alert_notification_journal" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-23 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.785760032Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.072158ms 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-49 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | buffer.memory = 33554432 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.792618589Z level=info msg="Executing migration" id="create alert_notification_state table v1" 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-47 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | fields { 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.794135385Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.755569ms 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-16 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | key: "IP" 08:49:15 policy-apex-pdp | client.id = producer-1 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.798677232Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-28 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | compression.type = none 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.800107446Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.430464ms 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-31 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 policy-pap | security.providers = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.804580583Z level=info msg="Executing migration" id="Add for to alert table" 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-36 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | delivery.timeout.ms = 120000 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.80855632Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.970807ms 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-42 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | enable.idempotence = true 08:49:15 policy-pap | session.timeout.ms = 45000 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.812444067Z level=info msg="Executing migration" id="Add column uid in alert_notification" 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-3 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | fields { 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.816366473Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.921936ms 08:49:15 kafka | [2024-04-30 08:46:59,463] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-18 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | key: "pnfName" 08:49:15 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.820175269Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-37 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | linger.ms = 0 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.820369272Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=194.523µs 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition policy-pdp-pap-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | max.block.ms = 60000 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.825091992Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-15 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | max.in.flight.requests.per.connection = 5 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.826020518Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=922.986µs 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-24 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | max.request.size = 1048576 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.830399862Z level=info msg="Executing migration" id="Remove unique index org_id_name" 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-17 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 policy-pap | ssl.key.password = null 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.831636514Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.234152ms 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-48 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | metadata.max.idle.ms = 300000 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.835669722Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-19 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.839323254Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.653572ms 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-11 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.844644705Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 08:49:15 kafka | [2024-04-30 08:46:59,464] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-2 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.844711286Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.932µs 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-43 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 simulator | 2024-04-30 08:47:50,061 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.848590722Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-6 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 simulator | 2024-04-30 08:47:55,074 INFO 172.17.0.11 - - [30/Apr/2024:08:47:55 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.849394236Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=803.204µs 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-14 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | partitioner.availability.timeout.ms = 0 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 simulator | 2024-04-30 08:47:55,091 INFO 172.17.0.11 - - [30/Apr/2024:08:47:55 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.852893415Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-20 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | partitioner.class = null 08:49:15 policy-pap | ssl.provider = null 08:49:15 simulator | 2024-04-30 08:47:55,105 INFO Received request input to CDS: commonHeader { 08:49:15 policy-db-migrator | > upgrade 0450-pdpgroup.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.854450712Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.557297ms 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | partitioner.ignore.keys = false 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.862190704Z level=info msg="Executing migration" id="Drop old annotation table v4" 08:49:15 policy-apex-pdp | receive.buffer.bytes = 32768 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-44 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-39 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.862273705Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=83.512µs 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-12 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | originatorId: "POLICY" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.86551772Z level=info msg="Executing migration" id="create annotation table v5" 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-45 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.866468576Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=950.976µs 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-1 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | actionIdentifiers { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.870487584Z level=info msg="Executing migration" id="add index annotation 0 v3" 08:49:15 policy-apex-pdp | retries = 2147483647 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:46:59,465] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-5 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.871288789Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=802.895µs 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-26 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.876400246Z level=info msg="Executing migration" id="add index annotation 1 v3" 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-29 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | actionName: "update-config" 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.877691048Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.290121ms 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 policy-pap | 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-34 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | mode: "sync" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.881772487Z level=info msg="Executing migration" id="add index annotation 2 v3" 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 policy-pap | [2024-04-30T08:46:57.250+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-10 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.883016068Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.244841ms 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-pap | [2024-04-30T08:46:57.250+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-32 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | payload { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.886509367Z level=info msg="Executing migration" id="add index annotation 3 v3" 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 policy-pap | [2024-04-30T08:46:57.250+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466817250 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-40 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | > upgrade 0470-pdp.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.887404333Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=894.746µs 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-pap | [2024-04-30T08:46:57.250+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-2, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap 08:49:15 kafka | [2024-04-30 08:46:59,466] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 simulator | key: "update-config-request" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.89370859Z level=info msg="Executing migration" id="add index annotation 4 v3" 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 kafka | [2024-04-30 08:46:59,470] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | value { 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.895772195Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.066275ms 08:49:15 policy-pap | [2024-04-30T08:46:57.616+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 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | struct_value { 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.900832071Z level=info msg="Executing migration" id="Update annotation table charset" 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 policy-pap | [2024-04-30T08:46:57.782+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 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.900879612Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=49.001µs 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 policy-pap | [2024-04-30T08:46:58.012+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1870b9b8, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6d9ee75a, org.springframework.security.web.context.SecurityContextHolderFilter@470b5213, org.springframework.security.web.header.HeaderWriterFilter@14bf9fd0, org.springframework.security.web.authentication.logout.LogoutFilter@3605ab16, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@d02c00, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@64887fbc, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1f6d7e7c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@9825465, org.springframework.security.web.access.ExceptionTranslationFilter@733bd6f3, org.springframework.security.web.access.intercept.AuthorizationFilter@344a065a] 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | key: "hostname" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.905224106Z level=info msg="Executing migration" id="Add column region_id to annotation table" 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 policy-pap | [2024-04-30T08:46:58.748+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.911072726Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.84762ms 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 policy-pap | [2024-04-30T08:46:58.841+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | string_value: "host8mvddh" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.930828292Z level=info msg="Executing migration" id="Drop category_id index" 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-pap | [2024-04-30T08:46:58.869+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/pap/v1' 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.93189793Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.074008ms 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-pap | [2024-04-30T08:46:58.891+00:00|INFO|ServiceManager|main] Policy PAP starting 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.935771766Z level=info msg="Executing migration" id="Add column tags to annotation table" 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 policy-pap | [2024-04-30T08:46:58.891+00:00|INFO|ServiceManager|main] Policy PAP starting Meter Registry 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.939933267Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.165841ms 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 policy-pap | [2024-04-30T08:46:58.892+00:00|INFO|ServiceManager|main] Policy PAP starting PAP parameters 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | key: "IP" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.943728392Z level=info msg="Executing migration" id="Create annotation_tag table v2" 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 policy-pap | [2024-04-30T08:46:58.892+00:00|INFO|ServiceManager|main] Policy PAP starting Pdp Heartbeat Listener 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.944492155Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=763.923µs 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 policy-pap | [2024-04-30T08:46:58.892+00:00|INFO|ServiceManager|main] Policy PAP starting Response Request ID Dispatcher 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.949371128Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 policy-pap | [2024-04-30T08:46:58.893+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Request ID Dispatcher 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.950389055Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.014697ms 08:49:15 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)) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 policy-pap | [2024-04-30T08:46:58.893+00:00|INFO|ServiceManager|main] Policy PAP starting Response Message Dispatcher 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.954584956Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-pap | [2024-04-30T08:46:58.894+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=19e5e96a-45c2-4734-9745-b1c3892cb9e3, 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@5392aa2b 08:49:15 kafka | [2024-04-30 08:46:59,471] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.955463362Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=882.626µs 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-pap | [2024-04-30T08:46:58.906+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=19e5e96a-45c2-4734-9745-b1c3892cb9e3, 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 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | key: "pnfName" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.95889336Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 08:49:15 policy-pap | [2024-04-30T08:46:58.907+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | value { 08:49:15 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.970698241Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.801831ms 08:49:15 policy-pap | allow.auto.create.topics = true 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.975605375Z level=info msg="Executing migration" id="Create annotation_tag table v3" 08:49:15 policy-pap | auto.commit.interval.ms = 5000 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 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)) 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.9765473Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=943.715µs 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.981155679Z 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" 08:49:15 policy-pap | auto.offset.reset = latest 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.982483911Z 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=1.328082ms 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.986905497Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 policy-pap | check.crcs = true 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.987199562Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=293.965µs 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | } 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.991933703Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 policy-pap | client.id = consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.99295335Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.018297ms 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-pap | client.rack = 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | 2024-04-30 08:47:55,106 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.996785705Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | 2024-04-30 08:47:55,117 INFO Received request input to CDS: commonHeader { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:19.997123751Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=337.986µs 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 policy-pap | default.api.timeout.ms = 60000 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.001282261Z level=info msg="Executing migration" id="Add created time to annotation table" 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-pap | enable.auto.commit = true 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.00585154Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.569358ms 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 policy-pap | exclude.internal.topics = true 08:49:15 simulator | originatorId: "POLICY" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.046287633Z level=info msg="Executing migration" id="Add updated time to annotation table" 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 policy-pap | fetch.max.bytes = 52428800 08:49:15 simulator | } 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.052621587Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.336683ms 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 policy-pap | fetch.max.wait.ms = 500 08:49:15 policy-pap | fetch.min.bytes = 1 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.058820248Z level=info msg="Executing migration" id="Add index for created in annotation table" 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 policy-pap | group.id = 19e5e96a-45c2-4734-9745-b1c3892cb9e3 08:49:15 policy-pap | group.instance.id = null 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.059799662Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=981.804µs 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 policy-pap | heartbeat.interval.ms = 3000 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.063105341Z level=info msg="Executing migration" id="Add index for updated in annotation table" 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 policy-pap | internal.leave.group.on.close = true 08:49:15 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.063923493Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=819.582µs 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 policy-pap | isolation.level = read_uncommitted 08:49:15 simulator | actionIdentifiers { 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.068401058Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.068627482Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=227.754µs 08:49:15 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.071813358Z level=info msg="Executing migration" id="Add epoch_end column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.075687696Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.873608ms 08:49:15 policy-pap | max.partition.fetch.bytes = 1048576 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.079078835Z level=info msg="Executing migration" id="Add index for epoch_end" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.079718624Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=638.139µs 08:49:15 policy-pap | max.poll.interval.ms = 300000 08:49:15 simulator | actionName: "update-config" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.084278892Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 08:49:15 policy-pap | max.poll.records = 500 08:49:15 simulator | mode: "sync" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.084626287Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=351.455µs 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 simulator | } 08:49:15 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.08896511Z level=info msg="Executing migration" id="Move region to single row" 08:49:15 policy-pap | metric.reporters = [] 08:49:15 simulator | payload { 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.089359887Z level=info msg="Migration successfully executed" id="Move region to single row" duration=394.927µs 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 simulator | fields { 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,473] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.092136388Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 simulator | key: "update-config-request" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.09295593Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=819.841µs 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 simulator | value { 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.098333239Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 08:49:15 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 simulator | struct_value { 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.0991182Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=785.211µs 08:49:15 policy-pap | receive.buffer.bytes = 65536 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.104543479Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 simulator | key: "hostname" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.10593466Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.390921ms 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 simulator | value { 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | transaction.timeout.ms = 60000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.110234703Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 simulator | string_value: "hosty7bt04" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | transactional.id = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.111598843Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.36415ms 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,474] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.115940616Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,474] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.116702557Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=761.751µs 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 simulator | fields { 08:49:15 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 08:49:15 kafka | [2024-04-30 08:46:59,686] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.891+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.120771708Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 simulator | key: "IP" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,686] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.907+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.121590109Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=818.221µs 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 simulator | value { 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.907+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.125240293Z level=info msg="Executing migration" id="Increase tags column to length 4096" 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.907+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466820907 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.125339684Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=99.542µs 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 simulator | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.907+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=7c347487-1f04-48fe-bca1-7dc1fdba7a20, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.130821084Z level=info msg="Executing migration" id="create test_data table" 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 policy-pap | sasl.login.class = null 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.907+00:00|INFO|ServiceManager|main] service manager starting set alive 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.132074183Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.252359ms 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 policy-db-migrator | > upgrade 0570-toscadatatype.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.908+00:00|INFO|ServiceManager|main] service manager starting register pdp status context object 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.137070937Z level=info msg="Executing migration" id="create dashboard_version table v1" 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.909+00:00|INFO|ServiceManager|main] service manager starting topic sinks 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.138301844Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.230417ms 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 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)) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.909+00:00|INFO|ServiceManager|main] service manager starting Pdp Status publisher 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.142687979Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 08:49:15 kafka | [2024-04-30 08:46:59,687] 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) 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.911+00:00|INFO|ServiceManager|main] service manager starting Register pdp update listener 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.144032418Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.343849ms 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.911+00:00|INFO|ServiceManager|main] service manager starting Register pdp state change request dispatcher 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.150173298Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.911+00:00|INFO|ServiceManager|main] service manager starting Message Dispatcher 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.151085022Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=914.104µs 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.912+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=88b9e57d-bf83-4c63-8768-514319390b69, 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@60a2630a 08:49:15 simulator | key: "pnfName" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.155250243Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.912+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=88b9e57d-bf83-4c63-8768-514319390b69, 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 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.155522377Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=267.974µs 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 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)) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.912+00:00|INFO|ServiceManager|main] service manager starting Create REST server 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.160077644Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.925+00:00|INFO|OrderedServiceImpl|Timer-0] ***** OrderedServiceImpl implementers: 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.160598491Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=520.837µs 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [] 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.1639554Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:00.927+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.164051332Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=96.232µs 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 kafka | [2024-04-30 08:46:59,688] 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) 08:49:15 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 08:49:15 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"d779739d-014e-4efc-9ef9-aa020183a524","timestampMs":1714466820911,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.169006045Z level=info msg="Executing migration" id="create team table" 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.077+00:00|INFO|ServiceManager|main] service manager starting Rest Server 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.170204212Z level=info msg="Migration successfully executed" id="create team table" duration=1.198257ms 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 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)) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.077+00:00|INFO|ServiceManager|main] service manager starting 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.17415733Z level=info msg="Executing migration" id="add index team.org_id" 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.077+00:00|INFO|ServiceManager|main] service manager starting REST RestServerParameters 08:49:15 simulator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.175669332Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.511652ms 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.077+00:00|INFO|JettyServletServer|main] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-72b16078==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@aa16c20f{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-d78795==org.glassfish.jersey.servlet.ServletContainer@b1764d3c{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@72c927f1{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@1ac85b0c{/,null,STOPPED}, connector=RestServerParameters@63c5efee{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=null, servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-72b16078==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@aa16c20f{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-d78795==org.glassfish.jersey.servlet.ServletContainer@b1764d3c{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 simulator | 2024-04-30 08:47:55,118 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.180173518Z level=info msg="Executing migration" id="add unique index team_org_id_name" 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.088+00:00|INFO|ServiceManager|main] service manager started 08:49:15 simulator | 2024-04-30 08:48:05,101 INFO 172.17.0.11 - - [30/Apr/2024:08:48:05 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.18101127Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=835.982µs 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.088+00:00|INFO|ServiceManager|main] service manager started 08:49:15 simulator | 2024-04-30 08:48:05,116 INFO 172.17.0.11 - - [30/Apr/2024:08:48:05 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.5 (HttpUrlConnection 17.0.11)" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.186574692Z level=info msg="Executing migration" id="Add column uid in team" 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.088+00:00|INFO|ApexStarterMain|main] Started policy-apex-pdp service successfully. 08:49:15 simulator | 2024-04-30 08:48:05,124 INFO Received request input to CDS: commonHeader { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.192716782Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.14062ms 08:49:15 policy-pap | security.providers = null 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 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)) 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.088+00:00|INFO|JettyServletServer|RestServerParameters-6969] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-72b16078==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@aa16c20f{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-d78795==org.glassfish.jersey.servlet.ServletContainer@b1764d3c{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@72c927f1{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@1ac85b0c{/,null,STOPPED}, connector=RestServerParameters@63c5efee{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-72b16078==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@aa16c20f{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-d78795==org.glassfish.jersey.servlet.ServletContainer@b1764d3c{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.245645178Z level=info msg="Executing migration" id="Update uid column values in team" 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 kafka | [2024-04-30 08:46:59,689] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.204+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.245915362Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=268.424µs 08:49:15 policy-pap | session.timeout.ms = 45000 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 policy-db-migrator | 08:49:15 simulator | originatorId: "POLICY" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.204+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.251706948Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 policy-db-migrator | 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.206+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 2 with epoch 0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.252812454Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.108586ms 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 08:49:15 simulator | actionIdentifiers { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.206+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.257854778Z level=info msg="Executing migration" id="create team member table" 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.211+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] (Re-)joining group 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.258768861Z level=info msg="Migration successfully executed" id="create team member table" duration=914.233µs 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 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)) 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.223+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Request joining group due to: need to re-join with the given member-id: consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.262305913Z level=info msg="Executing migration" id="add index team_member.org_id" 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 kafka | [2024-04-30 08:46:59,690] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 simulator | actionName: "update-config" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.223+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.263368669Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.063346ms 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 policy-db-migrator | 08:49:15 simulator | mode: "sync" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.223+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] (Re-)joining group 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.268707328Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 08:49:15 policy-pap | ssl.key.password = null 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.669+00:00|INFO|GsonMessageBodyHandler|RestServerParameters-6969] Using GSON for REST calls 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.269470869Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=764.001µs 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | payload { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:01.670+00:00|INFO|YamlMessageBodyHandler|RestServerParameters-6969] Accepting YAML for REST calls 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.277463696Z level=info msg="Executing migration" id="add index team_member.team_id" 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | fields { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:02.178+00:00|INFO|RequestLog|qtp739264372-33] 172.17.0.1 - - [30/Apr/2024:08:47:02 +0000] "GET / HTTP/1.1" 401 495 "-" "curl/7.58.0" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.278333248Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=873.232µs 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | key: "update-config-request" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.229+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Successfully joined group with generation Generation{generationId=1, memberId='consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0', protocol='range'} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.282651552Z level=info msg="Executing migration" id="Add column email to team table" 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.238+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Finished assignment for group at generation 1: {consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0=Assignment(partitions=[policy-pdp-pap-0])} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.285958131Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.307208ms 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | struct_value { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.257+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Successfully synced group in generation Generation{generationId=1, memberId='consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0', protocol='range'} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.288803982Z level=info msg="Executing migration" id="Add column external to team_member table" 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | fields { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.258+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.292135071Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.330809ms 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 policy-db-migrator | > upgrade 0630-toscanodetype.sql 08:49:15 kafka | [2024-04-30 08:46:59,691] 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) 08:49:15 simulator | key: "hostname" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.261+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Adding newly assigned partitions: policy-pdp-pap-0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.297345797Z level=info msg="Executing migration" id="Add column permission to team_member table" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,692] 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) 08:49:15 policy-pap | ssl.provider = null 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.269+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] Found no committed offset for partition policy-pdp-pap-0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.301024441Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=3.678444ms 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,692] 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) 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 simulator | string_value: "hostq8tvnq" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:04.277+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-88b9e57d-bf83-4c63-8768-514319390b69-2, groupId=88b9e57d-bf83-4c63-8768-514319390b69] 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}}. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.311646397Z level=info msg="Executing migration" id="create dashboard acl table" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,692] 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) 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:05.351+00:00|INFO|RequestLog|qtp739264372-28] 172.17.0.1 - policyadmin [30/Apr/2024:08:47:05 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.312877835Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.231658ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,692] 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) 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:20.912+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.318443437Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,692] 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) 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 simulator | fields { 08:49:15 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"10868234-f3cd-4ee8-a24f-cf261dd8ac62","timestampMs":1714466840912,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.319591634Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.151307ms 08:49:15 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 08:49:15 kafka | [2024-04-30 08:46:59,693] 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) 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 simulator | key: "IP" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:20.934+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.323281948Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,693] 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) 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 simulator | value { 08:49:15 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"10868234-f3cd-4ee8-a24f-cf261dd8ac62","timestampMs":1714466840912,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.324281232Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=998.784µs 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,693] 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) 08:49:15 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:20.937+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.329830474Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,695] 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) 08:49:15 policy-pap | 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.324+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.330860529Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.030755ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,695] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.913+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.33777109Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,695] 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) 08:49:15 policy-apex-pdp | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"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":"374b6666-fb70-4262-aa19-de0fe53e1792","timestampMs":1714466841229,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.378+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:pdp/status/publisher 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.338832916Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.062586ms 08:49:15 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.379+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 08:49:15 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":"374b6666-fb70-4262-aa19-de0fe53e1792","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"0ce5b2f5-baf8-4561-bd9e-2e4eaccb1484","timestampMs":1714466841379,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 simulator | key: "pnfName" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.345836849Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.378+00:00|INFO|network|Timer-1] [OUT|KAFKA|policy-pdp-pap] 08:49:15 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3d8de885-0cd8-4faa-b070-cdc1344fd12f","timestampMs":1714466841378,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.346874664Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.038605ms 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.405+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 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":"374b6666-fb70-4262-aa19-de0fe53e1792","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"0ce5b2f5-baf8-4561-bd9e-2e4eaccb1484","timestampMs":1714466841379,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.352308163Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.406+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 policy-pap | [2024-04-30T08:46:58.913+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.353337849Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.029806ms 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.410+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.913+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466818913 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.38407523Z level=info msg="Executing migration" id="add index dashboard_permission" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3d8de885-0cd8-4faa-b070-cdc1344fd12f","timestampMs":1714466841378,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.913+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Subscribed to topic(s): policy-pdp-pap 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.385573251Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.501041ms 08:49:15 policy-db-migrator | > upgrade 0660-toscaparameter.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.410+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.913+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Message Dispatcher 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.392525064Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.638+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:46:59,696] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.914+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=d06df8df-ec95-4da0-a14b-cfacee073e03, 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@282aea3c 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.393250414Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=725.15µs 08:49:15 policy-apex-pdp | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","timestampMs":1714466841230,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 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)) 08:49:15 policy-pap | [2024-04-30T08:46:58.914+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=d06df8df-ec95-4da0-a14b-cfacee073e03, 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 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.704+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.native.apex.Sampledomain 1.0.0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.402011273Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:46:58.914+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 08:49:15 simulator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.804+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-0:0.0.1 . 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.402295997Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=286.434µs 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | allow.auto.create.topics = true 08:49:15 simulator | 2024-04-30 08:48:05,125 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.806+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-1:0.0.1 . 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.4080131Z level=info msg="Executing migration" id="create tag table" 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | auto.commit.interval.ms = 5000 08:49:15 simulator | 2024-04-30 08:48:05,138 INFO Received request input to CDS: commonHeader { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.806+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-2:0.0.1 . 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.408808663Z level=info msg="Migration successfully executed" id="create tag table" duration=796.823µs 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | > upgrade 0670-toscapolicies.sql 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.807+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-3:0.0.1 . 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.414934662Z level=info msg="Executing migration" id="add index tag.key_value" 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | auto.offset.reset = latest 08:49:15 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.807+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.416049358Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.115216ms 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 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)) 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 simulator | originatorId: "POLICY" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.969+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-0:0.0.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.422891089Z level=info msg="Executing migration" id="create login attempt table" 08:49:15 kafka | [2024-04-30 08:46:59,697] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | check.crcs = true 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.989+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-1:0.0.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.423422637Z level=info msg="Migration successfully executed" id="create login attempt table" duration=534.088µs 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 simulator | actionIdentifiers { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.990+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-2:0.0.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.429004079Z level=info msg="Executing migration" id="add index login_attempt.username" 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | client.id = consumer-policy-pap-4 08:49:15 simulator | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:21.992+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-3:0.0.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.430418699Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.41564ms 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 08:49:15 policy-pap | client.rack = 08:49:15 simulator | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.303+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.437181509Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 simulator | actionName: "update-config" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.305+00:00|INFO|ApexRestServerConsumer|KAFKA-source-policy-pdp-pap] Creating the Apex Rest Server 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.438504228Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.326569ms 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 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)) 08:49:15 policy-pap | default.api.timeout.ms = 60000 08:49:15 simulator | mode: "sync" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.307+00:00|INFO|JettyServletServer|KAFKA-source-policy-pdp-pap] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-13b55e9e==org.glassfish.jersey.servlet.ServletContainer@ef3155df{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@39ddaece{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@a556c5{/,null,STOPPED}, connector=RESTSERVER@5b839475{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-13b55e9e==org.glassfish.jersey.servlet.ServletContainer@ef3155df{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.446359063Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | enable.auto.commit = true 08:49:15 simulator | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.308+00:00|INFO|JettyServletServer|RESTSERVER-23324] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-13b55e9e==org.glassfish.jersey.servlet.ServletContainer@ef3155df{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@39ddaece{STOPPED}[11.0.20,sto=0], context=o.e.j.s.ServletContextHandler@a556c5{/,null,STOPPED}, connector=RESTSERVER@5b839475{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=Thread[RESTSERVER-23324,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-13b55e9e==org.glassfish.jersey.servlet.ServletContainer@ef3155df{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.463779929Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.421366ms 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | exclude.internal.topics = true 08:49:15 simulator | payload { 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.316+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.468688351Z level=info msg="Executing migration" id="create login_attempt v2" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-pap | fetch.max.bytes = 52428800 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.46929799Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=609.759µs 08:49:15 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":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"ba0964f9-6f8d-4a4f-b8b6-953effad13ff","timestampMs":1714466842315,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | > upgrade 0690-toscapolicy.sql 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-pap | fetch.max.wait.ms = 500 08:49:15 simulator | key: "update-config-request" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.47276167Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.329+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,698] 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) 08:49:15 policy-pap | fetch.min.bytes = 1 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.473477881Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=716.201µs 08:49:15 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":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"ba0964f9-6f8d-4a4f-b8b6-953effad13ff","timestampMs":1714466842315,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,699] 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) 08:49:15 policy-pap | group.id = policy-pap 08:49:15 simulator | struct_value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.479804544Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.330+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,699] 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) 08:49:15 policy-pap | group.instance.id = null 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.480277401Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=473.477µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.342+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,699] 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) 08:49:15 policy-pap | heartbeat.interval.ms = 3000 08:49:15 simulator | key: "hostname" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.487015741Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 08:49:15 policy-apex-pdp | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","timestampMs":1714466841881,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,699] 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) 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.487987674Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=972.654µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.344+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | internal.leave.group.on.close = true 08:49:15 simulator | string_value: "hostm5yql5" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.492074364Z level=info msg="Executing migration" id="create user auth table" 08:49:15 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":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"f124d039-2a19-41cd-9d1a-7f938d6f6b19","timestampMs":1714466842344,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.492848006Z level=info msg="Migration successfully executed" id="create user auth table" duration=773.672µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.355+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | isolation.level = read_uncommitted 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.498147734Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 08:49:15 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":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"f124d039-2a19-41cd-9d1a-7f938d6f6b19","timestampMs":1714466842344,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.499393112Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.243968ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.355+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | max.partition.fetch.bytes = 1048576 08:49:15 simulator | key: "IP" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.504204742Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:22.406+00:00|INFO|GsonMessageBodyHandler|RESTSERVER-23324] Using GSON for REST calls 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | max.poll.interval.ms = 300000 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.504355675Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=155.183µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.044+00:00|INFO|RequestLog|qtp1321105650-61] 172.17.0.1 - - [30/Apr/2024:08:47:22 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" 08:49:15 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 08:49:15 kafka | [2024-04-30 08:46:59,700] 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) 08:49:15 policy-pap | max.poll.records = 500 08:49:15 simulator | string_value: "10.10.10.10" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.508600266Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.805+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.514231319Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.626403ms 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | metric.reporters = [] 08:49:15 policy-apex-pdp | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}}]}}}}},"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}},"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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","timestampMs":1714466843755,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.518467511Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.808+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list 08:49:15 simulator | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.522244216Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.778665ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.822+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.Test 1.0.0 08:49:15 simulator | key: "pnfName" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.528912855Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.850+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . 08:49:15 simulator | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.535238927Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.323483ms 08:49:15 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.851+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . 08:49:15 simulator | string_value: "demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.540191111Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | receive.buffer.bytes = 65536 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.851+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.544307061Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.11637ms 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.851+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.548506382Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.851+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.549374055Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=855.643µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.876+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" 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.55861308Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,701] 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) 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.876+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.562720311Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=4.106351ms 08:49:15 policy-db-migrator | > upgrade 0730-toscaproperty.sql 08:49:15 kafka | [2024-04-30 08:46:59,702] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 51 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:23.876+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" 08:49:15 simulator | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.566169971Z level=info msg="Executing migration" id="create server_lock table" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,705] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 51 partitions (state.change.logger) 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.074+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 08:49:15 simulator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.567075654Z level=info msg="Migration successfully executed" id="create server_lock table" duration=905.393µs 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,706] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.074+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 08:49:15 simulator | 2024-04-30 08:48:05,139 INFO Fetching response from controlloop-hostname-update-update-config.json 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.574629705Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,706] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.075+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.57568427Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.056065ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,708] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.158+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.581250662Z level=info msg="Executing migration" id="create user auth token table" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,708] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.321+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.582237547Z level=info msg="Migration successfully executed" id="create user auth token table" duration=987.835µs 08:49:15 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 08:49:15 kafka | [2024-04-30 08:46:59,708] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.321+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.587005946Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,708] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.322+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.587701816Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=696.24µs 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.class = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.345+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] ConsumerConfig values: 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.594820422Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 policy-apex-pdp | allow.auto.create.topics = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.595873267Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.053375ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 policy-apex-pdp | auto.commit.interval.ms = 1000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.601105374Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.601829345Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=724.221µs 08:49:15 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-apex-pdp | auto.offset.reset = latest 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.605154363Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.609144032Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=3.987288ms 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 policy-apex-pdp | check.crcs = true 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.617025547Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 08:49:15 kafka | [2024-04-30 08:46:59,709] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.618580901Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.558753ms 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 policy-apex-pdp | client.id = consumer-apex-grp-3 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.624542178Z level=info msg="Executing migration" id="create cache_data table" 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 policy-apex-pdp | client.rack = 08:49:15 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.62540734Z level=info msg="Migration successfully executed" id="create cache_data table" duration=865.022µs 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.629785485Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 policy-apex-pdp | default.api.timeout.ms = 60000 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.630811149Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.023794ms 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-apex-pdp | enable.auto.commit = true 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.643281452Z level=info msg="Executing migration" id="create short_url table v1" 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-apex-pdp | exclude.internal.topics = true 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.644569132Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.29161ms 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-apex-pdp | fetch.max.bytes = 52428800 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.649854539Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-apex-pdp | fetch.max.wait.ms = 500 08:49:15 policy-db-migrator | > upgrade 0770-toscarequirement.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.650873194Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.020905ms 08:49:15 kafka | [2024-04-30 08:46:59,710] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-apex-pdp | fetch.min.bytes = 1 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.654226483Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-apex-pdp | group.id = apex-grp 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.654389405Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=164.292µs 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-apex-pdp | group.instance.id = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.661873675Z level=info msg="Executing migration" id="delete alert_definition table" 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-apex-pdp | heartbeat.interval.ms = 3000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.662027467Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=156.362µs 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.705231901Z level=info msg="Executing migration" id="recreate alert_definition table" 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | security.providers = null 08:49:15 policy-apex-pdp | internal.leave.group.on.close = true 08:49:15 policy-db-migrator | > upgrade 0780-toscarequirements.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.707053658Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.823517ms 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.716649139Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 08:49:15 policy-pap | session.timeout.ms = 45000 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | isolation.level = read_uncommitted 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.717641094Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=992.254µs 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.724014817Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,711] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | max.partition.fetch.bytes = 1048576 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.725501049Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.485622ms 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | max.poll.interval.ms = 300000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.733814071Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | max.poll.records = 500 08:49:15 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.733884232Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=69.051µs 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.768879155Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.769909231Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.048086ms 08:49:15 policy-pap | ssl.key.password = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.778691509Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.77945718Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=766.631µs 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.784067728Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.78487895Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=816.022µs 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 kafka | [2024-04-30 08:46:59,712] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | receive.buffer.bytes = 65536 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.793146051Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.795311413Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.165342ms 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.799336562Z level=info msg="Executing migration" id="Add column paused in alert_definition" 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.803464143Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=4.127351ms 08:49:15 policy-pap | ssl.provider = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.807809556Z level=info msg="Executing migration" id="drop alert_definition table" 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.808921912Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.111946ms 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.816733657Z level=info msg="Executing migration" id="delete alert_definition_version table" 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.817156433Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=425.206µs 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.822487381Z level=info msg="Executing migration" id="recreate alert_definition_version table" 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.823783551Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.29653ms 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:46:59,713] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.832953765Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 08:49:15 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:46:59,713] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-db-migrator | > upgrade 0820-toscatrigger.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.83396693Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.015044ms 08:49:15 policy-pap | 08:49:15 kafka | [2024-04-30 08:46:59,721] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 for 51 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.840167921Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 08:49:15 policy-pap | [2024-04-30T08:46:58.918+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.841056694Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=889.123µs 08:49:15 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)) 08:49:15 policy-pap | [2024-04-30T08:46:58.918+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 policy-pap | [2024-04-30T08:46:58.918+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466818918 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.845388857Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.919+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.845678722Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=289.785µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.919+00:00|INFO|ServiceManager|main] Policy PAP starting topics 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.852456321Z level=info msg="Executing migration" id="drop alert_definition_version table" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.853708689Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.252608ms 08:49:15 policy-pap | [2024-04-30T08:46:58.919+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=d06df8df-ec95-4da0-a14b-cfacee073e03, 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 08:49:15 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 kafka | [2024-04-30 08:46:59,723] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.860378247Z level=info msg="Executing migration" id="create alert_instance table" 08:49:15 policy-pap | [2024-04-30T08:46:58.919+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=19e5e96a-45c2-4734-9745-b1c3892cb9e3, 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 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.919+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=618ba1f0-6e88-4e3a-a058-94f009903c48, alive=false, publisher=null]]: starting 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.86327855Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.900693ms 08:49:15 policy-pap | [2024-04-30T08:46:58.933+00:00|INFO|ProducerConfig|main] ProducerConfig values: 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.867764095Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 08:49:15 policy-pap | acks = -1 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.86871912Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=955.175µs 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.875514279Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 08:49:15 policy-pap | batch.size = 16384 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.876832889Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.31769ms 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 kafka | [2024-04-30 08:46:59,724] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.883399985Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 08:49:15 policy-pap | buffer.memory = 33554432 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.890892095Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.49265ms 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.89599566Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 08:49:15 policy-pap | client.id = producer-1 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.897124406Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.131596ms 08:49:15 policy-pap | compression.type = none 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.903998737Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.905439688Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.442031ms 08:49:15 policy-pap | delivery.timeout.ms = 120000 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | enable.idempotence = true 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.909190143Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.932473206Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=23.275702ms 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.937982956Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.964792399Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=26.807123ms 08:49:15 policy-pap | linger.ms = 0 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,725] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.973972993Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 08:49:15 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-pap | max.block.ms = 60000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.975023919Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.050306ms 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | max.in.flight.requests.per.connection = 5 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.980743553Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | max.request.size = 1048576 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.982933406Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=2.190283ms 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:20.990919772Z level=info msg="Executing migration" id="add current_reason column related to current_state" 08:49:15 policy-pap | metadata.max.idle.ms = 300000 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | metric.reporters = [] 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.000127308Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.206926ms 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.007375187Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | session.timeout.ms = 30000 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.013683988Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.310261ms 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.021718804Z level=info msg="Executing migration" id="create alert_rule table" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | partitioner.adaptive.partitioning.enable = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.02263831Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=920.156µs 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | partitioner.availability.timeout.ms = 0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.125219818Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 kafka | [2024-04-30 08:46:59,726] 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) 08:49:15 policy-pap | partitioner.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.128042546Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.822988ms 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-pap | partitioner.ignore.keys = false 08:49:15 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.134219842Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-pap | receive.buffer.bytes = 32768 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.135989201Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.769999ms 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.141462034Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.142988511Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.525996ms 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.150606329Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 policy-pap | retries = 2147483647 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.150879335Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=268.966µs 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.15945297Z level=info msg="Executing migration" id="add column for to alert_rule" 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.167017728Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.571038ms 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.173075511Z level=info msg="Executing migration" id="add column annotations to alert_rule" 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.179323358Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.247587ms 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,727] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.183921565Z level=info msg="Executing migration" id="add column labels to alert_rule" 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,728] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.190114811Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.190436ms 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,728] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.198818299Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.200391855Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.570896ms 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.class = null 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.205548073Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.20772274Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.175657ms 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.212445511Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 08:49:15 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.218524264Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.078403ms 08:49:15 policy-apex-pdp | 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.225638594Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.349+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.236042831Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=10.407577ms 08:49:15 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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"cdce3f6a-f9eb-42c1-b9e6-dbe3fe2bdf98","timestampMs":1714466844349,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.358+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka version: 3.6.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.242029243Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.358+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka commitId: 5e3c2b738d253ff5 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.243445887Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.416194ms 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.358+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka startTimeMs: 1714466844358 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.248170857Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.359+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 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.254475805Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.304418ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.360+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.259182564Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 08:49:15 kafka | [2024-04-30 08:46:59,757] 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) 08:49:15 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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"cdce3f6a-f9eb-42c1-b9e6-dbe3fe2bdf98","timestampMs":1714466844349,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.267904742Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.722298ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.360+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.275271958Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.375+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} 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.275324689Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=53.351µs 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.375+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: P0TWb4-XQzav3P0JIXq5_g 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.27953222Z level=info msg="Executing migration" id="create alert_rule_version table" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.376+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) 08:49:15 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.280738581Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.205871ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.378+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 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.365967559Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.382+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-ae4836af-394c-4723-92a8-4863a1c3222a 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.368621444Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.654256ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.382+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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.374963452Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:24.382+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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.376318125Z 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.356493ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.389+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-ae4836af-394c-4723-92a8-4863a1c3222a', protocol='range'} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.382284196Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | security.providers = null 08:49:15 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.389+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-ae4836af-394c-4723-92a8-4863a1c3222a=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.382424988Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=146.512µs 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.395+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-ae4836af-394c-4723-92a8-4863a1c3222a', protocol='range'} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.387329342Z level=info msg="Executing migration" id="add column for to alert_rule_version" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.396+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]) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.400848162Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=13.51263ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.396+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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.410815731Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.398+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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.419175503Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=8.356832ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:27.400+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}}. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.426686851Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.179+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"}} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.437787469Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=11.097549ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.180+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": 1714466849179, "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} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.5190483Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.key.password = null 08:49:15 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 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.184+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466849181, "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"}}}] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.527747818Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.702758ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.194+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. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.532012821Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.194+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] ProducerConfig values: 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.539304164Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.288913ms 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | acks = -1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.545496059Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.5455935Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=98.161µs 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | batch.size = 16384 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.554878149Z level=info msg="Executing migration" id=create_alert_configuration_table 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.556316773Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.443794ms 08:49:15 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 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.564687615Z level=info msg="Executing migration" id="Add column default in alert_configuration" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.57202436Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.331515ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | buffer.memory = 33554432 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.575758713Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.575846355Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=89.112µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.581669284Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.589815112Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.138138ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | client.id = producer-2 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.596984714Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.598136273Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.154949ms 08:49:15 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | compression.type = none 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.601645863Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.611757035Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.110972ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.617689496Z level=info msg="Executing migration" id=create_ngalert_configuration_table 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.61855803Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=868.954µs 08:49:15 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 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | delivery.timeout.ms = 120000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.625210234Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.626461465Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.251701ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | enable.idempotence = false 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.631185895Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.638269806Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.082361ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,758] 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) 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.643114088Z level=info msg="Executing migration" id="create provenance_type table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.643925522Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=811.434µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.652272084Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | linger.ms = 1 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.6538232Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.550976ms 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | max.block.ms = 60000 08:49:15 policy-pap | ssl.provider = null 08:49:15 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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.660103246Z level=info msg="Executing migration" id="create alert_image table" 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | max.in.flight.requests.per.connection = 5 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.661402809Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.298673ms 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | max.request.size = 1048576 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,759] 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) 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.669248492Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.670854149Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.606987ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,760] 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) 08:49:15 policy-apex-pdp | metadata.max.idle.ms = 300000 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.675470088Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.67558152Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=114.972µs 08:49:15 kafka | [2024-04-30 08:46:59,760] 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) 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.680250639Z level=info msg="Executing migration" id=create_alert_configuration_history_table 08:49:15 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 kafka | [2024-04-30 08:46:59,816] 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$) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.681058553Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=808.295µs 08:49:15 kafka | [2024-04-30 08:46:59,826] 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) 08:49:15 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 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.68740823Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 08:49:15 kafka | [2024-04-30 08:46:59,829] INFO [Partition __consumer_offsets-3 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-3 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 policy-pap | transaction.timeout.ms = 60000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.68860389Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.1973ms 08:49:15 kafka | [2024-04-30 08:46:59,830] INFO [Partition __consumer_offsets-3 broker=1] Log loaded for partition __consumer_offsets-3 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 08:49:15 policy-pap | transactional.id = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.693543474Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 08:49:15 kafka | [2024-04-30 08:46:59,831] INFO [Broker id=1] Leader __consumer_offsets-3 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | partitioner.availability.timeout.ms = 0 08:49:15 policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 kafka | [2024-04-30 08:46:59,842] 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$) 08:49:15 policy-pap | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.693954861Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 08:49:15 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 08:49:15 policy-apex-pdp | partitioner.class = null 08:49:15 kafka | [2024-04-30 08:46:59,843] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | partitioner.ignore.keys = false 08:49:15 policy-pap | [2024-04-30T08:46:58.942+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.697250318Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 08:49:15 kafka | [2024-04-30 08:46:59,843] INFO [Partition __consumer_offsets-18 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-18 (kafka.cluster.Partition) 08:49:15 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 08:49:15 policy-apex-pdp | receive.buffer.bytes = 32768 08:49:15 policy-pap | [2024-04-30T08:46:58.955+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.697651725Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=403.447µs 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:46:58.955+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.703083338Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 08:49:15 kafka | [2024-04-30 08:46:59,843] INFO [Partition __consumer_offsets-18 broker=1] Log loaded for partition __consumer_offsets-18 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:46:58.955+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466818955 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.704698204Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.615127ms 08:49:15 kafka | [2024-04-30 08:46:59,843] INFO [Broker id=1] Leader __consumer_offsets-18 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:46:58.955+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=618ba1f0-6e88-4e3a-a058-94f009903c48, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.714659944Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 08:49:15 kafka | [2024-04-30 08:46:59,851] 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$) 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 08:49:15 policy-pap | [2024-04-30T08:46:58.955+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=c5422737-d52d-4097-b85e-7c7c55af8e9c, alive=false, publisher=null]]: starting 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.723471613Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.812739ms 08:49:15 kafka | [2024-04-30 08:46:59,852] 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) 08:49:15 policy-apex-pdp | retries = 0 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.728089062Z level=info msg="Executing migration" id="create library_element table v1" 08:49:15 kafka | [2024-04-30 08:46:59,852] INFO [Partition __consumer_offsets-41 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-41 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 policy-pap | [2024-04-30T08:46:58.956+00:00|INFO|ProducerConfig|main] ProducerConfig values: 08:49:15 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 08:49:15 kafka | [2024-04-30 08:46:59,852] INFO [Partition __consumer_offsets-41 broker=1] Log loaded for partition __consumer_offsets-41 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | acks = -1 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.728855275Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=767.613µs 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 policy-pap | auto.include.jmx.reporter = true 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.73386062Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 kafka | [2024-04-30 08:46:59,852] INFO [Broker id=1] Leader __consumer_offsets-41 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | batch.size = 16384 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 kafka | [2024-04-30 08:46:59,862] 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$) 08:49:15 policy-pap | bootstrap.servers = [kafka:9092] 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 kafka | [2024-04-30 08:46:59,863] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.73504776Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.18687ms 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.742265513Z level=info msg="Executing migration" id="create library_element_connection table v1" 08:49:15 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 08:49:15 policy-pap | buffer.memory = 33554432 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | client.dns.lookup = use_all_dns_ips 08:49:15 kafka | [2024-04-30 08:46:59,863] INFO [Partition __consumer_offsets-10 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-10 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.743556835Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.292222ms 08:49:15 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 08:49:15 policy-pap | client.id = producer-2 08:49:15 kafka | [2024-04-30 08:46:59,863] INFO [Partition __consumer_offsets-10 broker=1] Log loaded for partition __consumer_offsets-10 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.749356283Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 08:49:15 policy-pap | compression.type = none 08:49:15 kafka | [2024-04-30 08:46:59,863] INFO [Broker id=1] Leader __consumer_offsets-10 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.751032782Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.677569ms 08:49:15 policy-pap | connections.max.idle.ms = 540000 08:49:15 kafka | [2024-04-30 08:46:59,875] 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$) 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.754738865Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 policy-db-migrator | 08:49:15 policy-pap | delivery.timeout.ms = 120000 08:49:15 kafka | [2024-04-30 08:46:59,875] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.755823583Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.084468ms 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 policy-db-migrator | 08:49:15 policy-pap | enable.idempotence = true 08:49:15 kafka | [2024-04-30 08:46:59,875] INFO [Partition __consumer_offsets-33 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-33 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.763451463Z level=info msg="Executing migration" id="increase max description length to 2048" 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 08:49:15 policy-pap | interceptor.classes = [] 08:49:15 kafka | [2024-04-30 08:46:59,876] INFO [Partition __consumer_offsets-33 broker=1] Log loaded for partition __consumer_offsets-33 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.763480933Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=31.34µs 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:46:59,876] INFO [Broker id=1] Leader __consumer_offsets-33 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | linger.ms = 0 08:49:15 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 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.768682032Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 08:49:15 kafka | [2024-04-30 08:46:59,888] 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$) 08:49:15 policy-pap | max.block.ms = 60000 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:46:59,888] 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) 08:49:15 policy-pap | max.in.flight.requests.per.connection = 5 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.768782993Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=102.041µs 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 kafka | [2024-04-30 08:46:59,888] INFO [Partition __consumer_offsets-48 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-48 (kafka.cluster.Partition) 08:49:15 policy-pap | max.request.size = 1048576 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.775130871Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 08:49:15 kafka | [2024-04-30 08:46:59,889] INFO [Partition __consumer_offsets-48 broker=1] Log loaded for partition __consumer_offsets-48 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | metadata.max.age.ms = 300000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.775946015Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=816.204µs 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 kafka | [2024-04-30 08:46:59,889] INFO [Broker id=1] Leader __consumer_offsets-48 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | metadata.max.idle.ms = 300000 08:49:15 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.780738146Z level=info msg="Executing migration" id="create data_keys table" 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 kafka | [2024-04-30 08:46:59,895] 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$) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.782430725Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.692259ms 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-pap | metric.reporters = [] 08:49:15 kafka | [2024-04-30 08:46:59,896] 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) 08:49:15 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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.790519993Z level=info msg="Executing migration" id="create secrets table" 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 kafka | [2024-04-30 08:46:59,896] INFO [Partition __consumer_offsets-19 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-19 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-pap | metrics.num.samples = 2 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,896] INFO [Partition __consumer_offsets-19 broker=1] Log loaded for partition __consumer_offsets-19 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-pap | metrics.recording.level = INFO 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.791719083Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.20012ms 08:49:15 kafka | [2024-04-30 08:46:59,896] INFO [Broker id=1] Leader __consumer_offsets-19 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-pap | metrics.sample.window.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,907] 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$) 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-pap | partitioner.adaptive.partitioning.enable = true 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.796434533Z level=info msg="Executing migration" id="rename data_keys name column to id" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,908] 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) 08:49:15 policy-pap | partitioner.availability.timeout.ms = 0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.830905169Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=34.463875ms 08:49:15 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 kafka | [2024-04-30 08:46:59,908] INFO [Partition __consumer_offsets-34 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-34 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.910329559Z level=info msg="Executing migration" id="add name column into data_keys" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:46:59,908] INFO [Partition __consumer_offsets-34 broker=1] Log loaded for partition __consumer_offsets-34 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 policy-pap | partitioner.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.919309831Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.982042ms 08:49:15 kafka | [2024-04-30 08:46:59,909] INFO [Broker id=1] Leader __consumer_offsets-34 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 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 08:49:15 policy-pap | partitioner.ignore.keys = false 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.931182023Z level=info msg="Executing migration" id="copy data_keys id column values into name" 08:49:15 kafka | [2024-04-30 08:46:59,917] 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$) 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | receive.buffer.bytes = 32768 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.931438427Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=255.994µs 08:49:15 kafka | [2024-04-30 08:46:59,918] 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) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-db-migrator | 08:49:15 policy-pap | reconnect.backoff.max.ms = 1000 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.937561401Z level=info msg="Executing migration" id="rename data_keys name column to label" 08:49:15 kafka | [2024-04-30 08:46:59,918] INFO [Partition __consumer_offsets-4 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-4 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.979028766Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=41.462214ms 08:49:15 kafka | [2024-04-30 08:46:59,918] INFO [Partition __consumer_offsets-4 broker=1] Log loaded for partition __consumer_offsets-4 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 policy-pap | reconnect.backoff.ms = 50 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:21.984310246Z level=info msg="Executing migration" id="rename data_keys id column back to name" 08:49:15 kafka | [2024-04-30 08:46:59,918] INFO [Broker id=1] Leader __consumer_offsets-4 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-db-migrator | > upgrade 0100-pdp.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.016952333Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.642898ms 08:49:15 kafka | [2024-04-30 08:46:59,927] 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$) 08:49:15 policy-pap | request.timeout.ms = 30000 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,928] 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) 08:49:15 policy-pap | retries = 2147483647 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.022264612Z level=info msg="Executing migration" id="create kv_store table v1" 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 08:49:15 kafka | [2024-04-30 08:46:59,928] INFO [Partition __consumer_offsets-11 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-11 (kafka.cluster.Partition) 08:49:15 policy-pap | retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.022948532Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=683.3µs 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,928] INFO [Partition __consumer_offsets-11 broker=1] Log loaded for partition __consumer_offsets-11 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | sasl.client.callback.handler.class = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.028317112Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.jaas.config = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.029412648Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.095046ms 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,928] INFO [Broker id=1] Leader __consumer_offsets-11 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 08:49:15 kafka | [2024-04-30 08:46:59,941] 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$) 08:49:15 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.061188141Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,942] 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) 08:49:15 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.06172281Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=519.358µs 08:49:15 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 08:49:15 kafka | [2024-04-30 08:46:59,942] INFO [Partition __consumer_offsets-26 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-26 (kafka.cluster.Partition) 08:49:15 policy-pap | sasl.kerberos.service.name = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.06916508Z level=info msg="Executing migration" id="create permission table" 08:49:15 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:46:59,942] INFO [Partition __consumer_offsets-26 broker=1] Log loaded for partition __consumer_offsets-26 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.070107314Z level=info msg="Migration successfully executed" id="create permission table" duration=939.384µs 08:49:15 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,942] INFO [Broker id=1] Leader __consumer_offsets-26 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.074826973Z level=info msg="Executing migration" id="add unique index permission.role_id" 08:49:15 policy-pap | sasl.login.callback.handler.class = null 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:46:59,951] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.07592181Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.096997ms 08:49:15 policy-pap | sasl.login.class = null 08:49:15 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 08:49:15 kafka | [2024-04-30 08:46:59,952] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.081821857Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 08:49:15 policy-pap | sasl.login.connect.timeout.ms = null 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.083771996Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.949949ms 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 kafka | [2024-04-30 08:46:59,952] INFO [Partition __consumer_offsets-49 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-49 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.091709653Z level=info msg="Executing migration" id="create role table" 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 kafka | [2024-04-30 08:46:59,952] INFO [Partition __consumer_offsets-49 broker=1] Log loaded for partition __consumer_offsets-49 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | sasl.login.read.timeout.ms = null 08:49:15 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 kafka | [2024-04-30 08:46:59,953] INFO [Broker id=1] Leader __consumer_offsets-49 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | sasl.login.refresh.buffer.seconds = 300 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.092652918Z level=info msg="Migration successfully executed" id="create role table" duration=942.675µs 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 kafka | [2024-04-30 08:46:59,960] 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$) 08:49:15 policy-pap | sasl.login.refresh.min.period.seconds = 60 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.099757272Z level=info msg="Executing migration" id="add column display_name" 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:46:59,961] 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) 08:49:15 policy-pap | sasl.login.refresh.window.factor = 0.8 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.108289458Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.531896ms 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:46:59,961] INFO [Partition __consumer_offsets-39 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-39 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.112801516Z level=info msg="Executing migration" id="add column group_name" 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 policy-pap | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:46:59,961] INFO [Partition __consumer_offsets-39 broker=1] Log loaded for partition __consumer_offsets-39 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.120533341Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.731054ms 08:49:15 policy-apex-pdp | transaction.timeout.ms = 60000 08:49:15 policy-pap | sasl.login.retry.backoff.max.ms = 10000 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.127653635Z level=info msg="Executing migration" id="add index role.org_id" 08:49:15 policy-apex-pdp | transactional.id = null 08:49:15 policy-pap | sasl.login.retry.backoff.ms = 100 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.128923725Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.27031ms 08:49:15 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 kafka | [2024-04-30 08:46:59,961] INFO [Broker id=1] Leader __consumer_offsets-39 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | sasl.mechanism = GSSAPI 08:49:15 policy-apex-pdp | 08:49:15 kafka | [2024-04-30 08:46:59,969] 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$) 08:49:15 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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.134795981Z level=info msg="Executing migration" id="add unique index role_org_id_name" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.206+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:46:59,970] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.136630628Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.834457ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.206+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka commitId: 5e3c2b738d253ff5 08:49:15 kafka | [2024-04-30 08:46:59,970] INFO [Partition __consumer_offsets-9 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-9 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | sasl.oauthbearer.expected.audience = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.206+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka startTimeMs: 1714466849206 08:49:15 kafka | [2024-04-30 08:46:59,970] INFO [Partition __consumer_offsets-9 broker=1] Log loaded for partition __consumer_offsets-9 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.142614157Z level=info msg="Executing migration" id="add index role_org_id_uid" 08:49:15 policy-pap | sasl.oauthbearer.expected.issuer = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.224+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} 08:49:15 kafka | [2024-04-30 08:46:59,970] INFO [Broker id=1] Leader __consumer_offsets-9 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.143789354Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.175557ms 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 kafka | [2024-04-30 08:46:59,986] 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$) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.151753602Z level=info msg="Executing migration" id="create team role table" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.224+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 kafka | [2024-04-30 08:46:59,987] 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) 08:49:15 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 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.153188423Z level=info msg="Migration successfully executed" id="create team role table" duration=1.435481ms 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.291+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 kafka | [2024-04-30 08:46:59,987] INFO [Partition __consumer_offsets-24 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-24 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.159252402Z level=info msg="Executing migration" id="add index team_role.org_id" 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 kafka | [2024-04-30 08:46:59,987] INFO [Partition __consumer_offsets-24 broker=1] Log loaded for partition __consumer_offsets-24 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.16041488Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.162898ms 08:49:15 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 kafka | [2024-04-30 08:46:59,987] INFO [Broker id=1] Leader __consumer_offsets-24 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.165704349Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 08:49:15 policy-pap | sasl.oauthbearer.scope.claim.name = scope 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 kafka | [2024-04-30 08:46:59,997] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.167564896Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.859167ms 08:49:15 policy-pap | sasl.oauthbearer.sub.claim.name = sub 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 08:49:15 kafka | [2024-04-30 08:46:59,998] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.174970386Z level=info msg="Executing migration" id="add index team_role.team_id" 08:49:15 policy-pap | sasl.oauthbearer.token.endpoint.url = null 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.176029151Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.058795ms 08:49:15 policy-pap | security.protocol = PLAINTEXT 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-db-migrator | 08:49:15 policy-pap | security.providers = null 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 kafka | [2024-04-30 08:46:59,998] INFO [Partition __consumer_offsets-31 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-31 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.212854687Z level=info msg="Executing migration" id="create user role table" 08:49:15 policy-pap | send.buffer.bytes = 131072 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:46:59,998] INFO [Partition __consumer_offsets-31 broker=1] Log loaded for partition __consumer_offsets-31 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.213695839Z level=info msg="Migration successfully executed" id="create user role table" duration=843.862µs 08:49:15 policy-pap | socket.connection.setup.timeout.max.ms = 30000 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.393+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 kafka | [2024-04-30 08:46:59,998] INFO [Broker id=1] Leader __consumer_offsets-31 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.220860005Z level=info msg="Executing migration" id="add index user_role.org_id" 08:49:15 kafka | [2024-04-30 08:47:00,007] 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$) 08:49:15 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 08:49:15 policy-pap | socket.connection.setup.timeout.ms = 10000 08:49:15 policy-apex-pdp | { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.221612956Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=753.481µs 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.cipher.suites = null 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 kafka | [2024-04-30 08:47:00,008] 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) 08:49:15 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 08:49:15 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.226855054Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.endpoint.identification.algorithm = https 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 kafka | [2024-04-30 08:47:00,008] INFO [Partition __consumer_offsets-46 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-46 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.227591835Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=736.681µs 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.engine.factory.class = null 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.232388416Z level=info msg="Executing migration" id="add index user_role.user_id" 08:49:15 kafka | [2024-04-30 08:47:00,009] INFO [Partition __consumer_offsets-46 broker=1] Log loaded for partition __consumer_offsets-46 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.key.password = null 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.233143607Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=755.231µs 08:49:15 kafka | [2024-04-30 08:47:00,009] INFO [Broker id=1] Leader __consumer_offsets-46 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 08:49:15 policy-pap | ssl.keymanager.algorithm = SunX509 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.239764424Z level=info msg="Executing migration" id="create builtin role table" 08:49:15 kafka | [2024-04-30 08:47:00,019] 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$) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.keystore.certificate.chain = null 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.241098684Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.33417ms 08:49:15 kafka | [2024-04-30 08:47:00,020] 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) 08:49:15 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 08:49:15 policy-pap | ssl.keystore.key = null 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.248044097Z level=info msg="Executing migration" id="add index builtin_role.role_id" 08:49:15 kafka | [2024-04-30 08:47:00,020] INFO [Partition __consumer_offsets-1 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-1 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | ssl.keystore.location = null 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.249079093Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.038116ms 08:49:15 kafka | [2024-04-30 08:47:00,020] INFO [Partition __consumer_offsets-1 broker=1] Log loaded for partition __consumer_offsets-1 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.keystore.password = null 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.252741157Z level=info msg="Executing migration" id="add index builtin_role.name" 08:49:15 kafka | [2024-04-30 08:47:00,020] INFO [Broker id=1] Leader __consumer_offsets-1 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | ssl.keystore.type = JKS 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.253757932Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.014494ms 08:49:15 kafka | [2024-04-30 08:47:00,032] 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$) 08:49:15 policy-pap | ssl.protocol = TLSv1.3 08:49:15 policy-apex-pdp | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.26378049Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 08:49:15 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 08:49:15 kafka | [2024-04-30 08:47:00,033] 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) 08:49:15 policy-pap | ssl.provider = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.403+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": 1714466849179, "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} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.274647891Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.866431ms 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,033] INFO [Partition __consumer_offsets-16 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-16 (kafka.cluster.Partition) 08:49:15 policy-pap | ssl.secure.random.implementation = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.413+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": "host5v8q7i", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466849411, "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"}}}] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.288335354Z level=info msg="Executing migration" id="add index builtin_role.org_id" 08:49:15 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 08:49:15 kafka | [2024-04-30 08:47:00,034] INFO [Partition __consumer_offsets-16 broker=1] Log loaded for partition __consumer_offsets-16 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | ssl.trustmanager.algorithm = PKIX 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.526+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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.289813865Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.478041ms 08:49:15 policy-db-migrator | JOIN pdpstatistics b 08:49:15 kafka | [2024-04-30 08:47:00,034] INFO [Broker id=1] Leader __consumer_offsets-16 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | ssl.truststore.certificates = null 08:49:15 policy-apex-pdp | [2024-04-30T08:47:29.554+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.300483463Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 08:49:15 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 08:49:15 kafka | [2024-04-30 08:47:00,041] 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$) 08:49:15 policy-pap | ssl.truststore.location = null 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.302685186Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=2.201143ms 08:49:15 policy-db-migrator | SET a.id = b.id 08:49:15 kafka | [2024-04-30 08:47:00,042] 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) 08:49:15 policy-pap | ssl.truststore.password = null 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.310293818Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,042] INFO [Partition __consumer_offsets-2 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-2 (kafka.cluster.Partition) 08:49:15 policy-pap | ssl.truststore.type = JKS 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.311332544Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.038966ms 08:49:15 kafka | [2024-04-30 08:47:00,042] INFO [Partition __consumer_offsets-2 broker=1] Log loaded for partition __consumer_offsets-2 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | transaction.timeout.ms = 60000 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.319095319Z level=info msg="Executing migration" id="add unique index role.uid" 08:49:15 kafka | [2024-04-30 08:47:00,042] INFO [Broker id=1] Leader __consumer_offsets-2 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | transactional.id = null 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.320836814Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.741695ms 08:49:15 kafka | [2024-04-30 08:47:00,048] 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$) 08:49:15 policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.328019981Z level=info msg="Executing migration" id="create seed assignment table" 08:49:15 kafka | [2024-04-30 08:47:00,049] 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) 08:49:15 policy-pap | 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.328909474Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=891.013µs 08:49:15 kafka | [2024-04-30 08:47:00,049] INFO [Partition __consumer_offsets-25 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-25 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.956+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-2] Instantiated an idempotent producer. 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.333902948Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 08:49:15 kafka | [2024-04-30 08:47:00,049] INFO [Partition __consumer_offsets-25 broker=1] Log loaded for partition __consumer_offsets-25 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.1 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.335599442Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.695944ms 08:49:15 kafka | [2024-04-30 08:47:00,050] INFO [Broker id=1] Leader __consumer_offsets-25 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|AppInfoParser|main] Kafka commitId: 5e3c2b738d253ff5 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.340416884Z level=info msg="Executing migration" id="add column hidden to role table" 08:49:15 kafka | [2024-04-30 08:47:00,057] 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$) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1714466818958 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.350042827Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.624953ms 08:49:15 kafka | [2024-04-30 08:47:00,057] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=c5422737-d52d-4097-b85e-7c7c55af8e9c, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.360891187Z level=info msg="Executing migration" id="permission kind migration" 08:49:15 kafka | [2024-04-30 08:47:00,058] INFO [Partition __consumer_offsets-40 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-40 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|ServiceManager|main] Policy PAP starting PAP Activator 08:49:15 policy-apex-pdp | fields { 08:49:15 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)) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.372165973Z level=info msg="Migration successfully executed" id="permission kind migration" duration=11.270936ms 08:49:15 kafka | [2024-04-30 08:47:00,058] INFO [Partition __consumer_offsets-40 broker=1] Log loaded for partition __consumer_offsets-40 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.959+00:00|INFO|ServiceManager|main] Policy PAP starting PDP publisher 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.37932266Z level=info msg="Executing migration" id="permission attribute migration" 08:49:15 kafka | [2024-04-30 08:47:00,058] INFO [Broker id=1] Leader __consumer_offsets-40 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:46:58.961+00:00|INFO|ServiceManager|main] Policy PAP starting Policy Notification publisher 08:49:15 policy-apex-pdp | value { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.391399938Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=12.077048ms 08:49:15 kafka | [2024-04-30 08:47:00,063] 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$) 08:49:15 policy-pap | [2024-04-30T08:46:58.961+00:00|INFO|ServiceManager|main] Policy PAP starting PDP update timers 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.394637687Z level=info msg="Executing migration" id="permission identifier migration" 08:49:15 kafka | [2024-04-30 08:47:00,064] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.962+00:00|INFO|ServiceManager|main] Policy PAP starting PDP state-change timers 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.40226558Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.623862ms 08:49:15 kafka | [2024-04-30 08:47:00,064] INFO [Partition __consumer_offsets-47 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-47 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.965+00:00|INFO|TimerManager|Thread-9] timer manager update started 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.484447036Z level=info msg="Executing migration" id="add permission identifier index" 08:49:15 kafka | [2024-04-30 08:47:00,064] INFO [Partition __consumer_offsets-47 broker=1] Log loaded for partition __consumer_offsets-47 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.965+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification lock 08:49:15 policy-apex-pdp | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.487477741Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=3.033895ms 08:49:15 kafka | [2024-04-30 08:47:00,064] INFO [Broker id=1] Leader __consumer_offsets-47 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:46:58.965+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification requests 08:49:15 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 08:49:15 policy-apex-pdp | string_value: "host5v8q7i" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.494358022Z level=info msg="Executing migration" id="add permission action scope role_id index" 08:49:15 kafka | [2024-04-30 08:47:00,072] 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$) 08:49:15 policy-pap | [2024-04-30T08:46:58.965+00:00|INFO|TimerManager|Thread-10] timer manager state-change started 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.49553533Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.175968ms 08:49:15 kafka | [2024-04-30 08:47:00,073] 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) 08:49:15 policy-pap | [2024-04-30T08:46:58.966+00:00|INFO|ServiceManager|main] Policy PAP starting PDP expiration timer 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.500600234Z level=info msg="Executing migration" id="remove permission role_id action scope index" 08:49:15 kafka | [2024-04-30 08:47:00,073] INFO [Partition __consumer_offsets-17 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-17 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:58.966+00:00|INFO|ServiceManager|main] Policy PAP started 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.50227742Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.676425ms 08:49:15 policy-pap | [2024-04-30T08:46:58.967+00:00|INFO|PolicyPapApplication|main] Started PolicyPapApplication in 9.546 seconds (process running for 10.124) 08:49:15 policy-db-migrator | > upgrade 0210-sequence.sql 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 kafka | [2024-04-30 08:47:00,073] INFO [Partition __consumer_offsets-17 broker=1] Log loaded for partition __consumer_offsets-17 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.50834993Z level=info msg="Executing migration" id="create query_history table v1" 08:49:15 policy-pap | [2024-04-30T08:46:59.399+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,073] INFO [Broker id=1] Leader __consumer_offsets-17 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.509861232Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.511532ms 08:49:15 policy-pap | [2024-04-30T08:46:59.400+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 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)) 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 kafka | [2024-04-30 08:47:00,081] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.513481426Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 08:49:15 policy-pap | [2024-04-30T08:46:59.399+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,082] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.515280973Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.799197ms 08:49:15 policy-pap | [2024-04-30T08:46:59.406+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,082] INFO [Partition __consumer_offsets-32 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-32 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.51849603Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 08:49:15 policy-pap | [2024-04-30T08:46:59.445+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} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,082] INFO [Partition __consumer_offsets-32 broker=1] Log loaded for partition __consumer_offsets-32 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.518566571Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=69.391µs 08:49:15 policy-pap | [2024-04-30T08:46:59.446+00:00|INFO|Metadata|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 policy-db-migrator | > upgrade 0220-sequence.sql 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 kafka | [2024-04-30 08:47:00,082] INFO [Broker id=1] Leader __consumer_offsets-32 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.526735322Z level=info msg="Executing migration" id="rbac disabled migrator" 08:49:15 policy-pap | [2024-04-30T08:46:59.511+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,089] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.526787643Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=54.611µs 08:49:15 policy-pap | [2024-04-30T08:46:59.521+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] ProducerId set to 0 with epoch 0 08:49:15 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 kafka | [2024-04-30 08:47:00,103] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.549160174Z level=info msg="Executing migration" id="teams permissions migration" 08:49:15 policy-pap | [2024-04-30T08:46:59.530+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 1 with epoch 0 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,104] INFO [Partition __consumer_offsets-37 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-37 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:46:59.589+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} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,104] INFO [Partition __consumer_offsets-37 broker=1] Log loaded for partition __consumer_offsets-37 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.549872124Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=713.6µs 08:49:15 policy-pap | [2024-04-30T08:46:59.673+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,105] INFO [Broker id=1] Leader __consumer_offsets-37 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.563132431Z level=info msg="Executing migration" id="dashboard permissions" 08:49:15 policy-pap | [2024-04-30T08:46:59.695+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} 08:49:15 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,344] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.564101875Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=971.854µs 08:49:15 policy-pap | [2024-04-30T08:46:59.780+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,344] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.569271891Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 08:49:15 policy-pap | [2024-04-30T08:46:59.802+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} 08:49:15 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) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,345] INFO [Partition __consumer_offsets-7 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-7 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.570440498Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.168377ms 08:49:15 policy-pap | [2024-04-30T08:46:59.888+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | 08:49:15 kafka | [2024-04-30 08:47:00,345] INFO [Partition __consumer_offsets-7 broker=1] Log loaded for partition __consumer_offsets-7 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.57938519Z level=info msg="Executing migration" id="drop managed folder create actions" 08:49:15 policy-pap | [2024-04-30T08:46:59.907+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} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:30.001+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 kafka | [2024-04-30 08:47:00,345] INFO [Broker id=1] Leader __consumer_offsets-7 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.579639735Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=255.345µs 08:49:15 policy-pap | [2024-04-30T08:46:59.992+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 kafka | [2024-04-30 08:47:00,353] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.582962234Z level=info msg="Executing migration" id="alerting notification permissions" 08:49:15 policy-pap | [2024-04-30T08:47:00.016+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} 08:49:15 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 kafka | [2024-04-30 08:47:00,354] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.583451861Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=489.497µs 08:49:15 policy-pap | [2024-04-30T08:47:00.097+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 kafka | [2024-04-30 08:47:00,354] INFO [Partition __consumer_offsets-22 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-22 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.586976853Z level=info msg="Executing migration" id="create query_history_star table v1" 08:49:15 policy-pap | [2024-04-30T08:47:00.121+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} 08:49:15 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) 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 kafka | [2024-04-30 08:47:00,354] INFO [Partition __consumer_offsets-22 broker=1] Log loaded for partition __consumer_offsets-22 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.588263933Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.28809ms 08:49:15 policy-pap | [2024-04-30T08:47:00.224+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=UNKNOWN_TOPIC_OR_PARTITION} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 kafka | [2024-04-30 08:47:00,354] INFO [Broker id=1] Leader __consumer_offsets-22 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.593164614Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 08:49:15 policy-pap | [2024-04-30T08:47:00.232+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,362] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.594578246Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.416652ms 08:49:15 policy-pap | [2024-04-30T08:47:00.332+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} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:47:00,363] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.598541134Z level=info msg="Executing migration" id="add column org_id in query_history_star" 08:49:15 policy-pap | [2024-04-30T08:47:00.339+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 18 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | > upgrade 0120-toscatrigger.sql 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:47:00,363] INFO [Partition __consumer_offsets-29 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-29 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.609155141Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.606487ms 08:49:15 policy-pap | [2024-04-30T08:47:00.436+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} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:47:00,363] INFO [Partition __consumer_offsets-29 broker=1] Log loaded for partition __consumer_offsets-29 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.615992693Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 08:49:15 policy-pap | [2024-04-30T08:47:00.442+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 20 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:47:00,363] INFO [Broker id=1] Leader __consumer_offsets-29 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.616079654Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=88.291µs 08:49:15 policy-pap | [2024-04-30T08:47:00.541+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 kafka | [2024-04-30 08:47:00,376] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.61988574Z level=info msg="Executing migration" id="create correlation table v1" 08:49:15 policy-pap | [2024-04-30T08:47:00.546+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Error while fetching metadata with correlation id 22 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,377] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.620807954Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=922.184µs 08:49:15 policy-pap | [2024-04-30T08:47:00.663+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | status { 08:49:15 kafka | [2024-04-30 08:47:00,377] INFO [Partition __consumer_offsets-44 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-44 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.627029495Z level=info msg="Executing migration" id="add index correlations.uid" 08:49:15 policy-pap | [2024-04-30T08:47:00.663+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) 08:49:15 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 08:49:15 policy-apex-pdp | code: 200 08:49:15 kafka | [2024-04-30 08:47:00,377] INFO [Partition __consumer_offsets-44 broker=1] Log loaded for partition __consumer_offsets-44 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,377] INFO [Broker id=1] Leader __consumer_offsets-44 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.629179667Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.147732ms 08:49:15 policy-pap | [2024-04-30T08:47:00.668+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] (Re-)joining group 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 08:49:15 kafka | [2024-04-30 08:47:00,384] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.635417199Z level=info msg="Executing migration" id="add index correlations.source_uid" 08:49:15 policy-pap | [2024-04-30T08:47:00.669+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,385] 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) 08:49:15 policy-pap | [2024-04-30T08:47:00.696+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Request joining group due to: need to re-join with the given member-id: consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.636640178Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.223669ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:00.696+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] 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) 08:49:15 kafka | [2024-04-30 08:47:00,385] INFO [Partition __consumer_offsets-14 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-14 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.643139754Z level=info msg="Executing migration" id="add correlation config column" 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:00.697+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-02be4fd1-0065-48d6-8bc7-1555f37d101d 08:49:15 kafka | [2024-04-30 08:47:00,385] INFO [Partition __consumer_offsets-14 broker=1] Log loaded for partition __consumer_offsets-14 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.65564546Z level=info msg="Migration successfully executed" id="add correlation config column" duration=12.503305ms 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:00.697+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) 08:49:15 kafka | [2024-04-30 08:47:00,386] INFO [Broker id=1] Leader __consumer_offsets-14 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.659178132Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-db-migrator | > upgrade 0140-toscaparameter.sql 08:49:15 policy-pap | [2024-04-30T08:47:00.697+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group 08:49:15 kafka | [2024-04-30 08:47:00,392] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.659948663Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=767.901µs 08:49:15 policy-apex-pdp | value { 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:00.696+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] (Re-)joining group 08:49:15 kafka | [2024-04-30 08:47:00,393] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.665778529Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 08:49:15 policy-pap | [2024-04-30T08:47:03.729+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-02be4fd1-0065-48d6-8bc7-1555f37d101d', protocol='range'} 08:49:15 kafka | [2024-04-30 08:47:00,393] INFO [Partition __consumer_offsets-23 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-23 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.666869096Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.090437ms 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:03.732+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Successfully joined group with generation Generation{generationId=1, memberId='consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400', protocol='range'} 08:49:15 kafka | [2024-04-30 08:47:00,393] INFO [Partition __consumer_offsets-23 broker=1] Log loaded for partition __consumer_offsets-23 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | fields { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.670008942Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:03.737+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Finished assignment for group at generation 1: {consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400=Assignment(partitions=[policy-pdp-pap-0])} 08:49:15 kafka | [2024-04-30 08:47:00,393] INFO [Broker id=1] Leader __consumer_offsets-23 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.693410698Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=23.399026ms 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:03.737+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-02be4fd1-0065-48d6-8bc7-1555f37d101d=Assignment(partitions=[policy-pdp-pap-0])} 08:49:15 kafka | [2024-04-30 08:47:00,402] 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$) 08:49:15 policy-apex-pdp | value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.696996941Z level=info msg="Executing migration" id="create correlation v2" 08:49:15 policy-db-migrator | > upgrade 0150-toscaproperty.sql 08:49:15 kafka | [2024-04-30 08:47:00,402] 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) 08:49:15 policy-pap | [2024-04-30T08:47:03.758+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-02be4fd1-0065-48d6-8bc7-1555f37d101d', protocol='range'} 08:49:15 policy-apex-pdp | list_value { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.697830974Z level=info msg="Migration successfully executed" id="create correlation v2" duration=833.953µs 08:49:15 kafka | [2024-04-30 08:47:00,402] INFO [Partition __consumer_offsets-38 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-38 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:03.758+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Successfully synced group in generation Generation{generationId=1, memberId='consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400', protocol='range'} 08:49:15 policy-apex-pdp | values { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.711530777Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,402] INFO [Partition __consumer_offsets-38 broker=1] Log loaded for partition __consumer_offsets-38 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:03.758+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]) 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.713270202Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.740615ms 08:49:15 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 08:49:15 kafka | [2024-04-30 08:47:00,402] INFO [Broker id=1] Leader __consumer_offsets-38 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:47:03.759+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.730674249Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,410] 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$) 08:49:15 policy-pap | [2024-04-30T08:47:03.762+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 08:49:15 policy-apex-pdp | values { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.73201092Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.33959ms 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,410] 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) 08:49:15 policy-pap | [2024-04-30T08:47:03.762+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Adding newly assigned partitions: policy-pdp-pap-0 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.74552348Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,410] INFO [Partition __consumer_offsets-8 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-8 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:03.785+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] Found no committed offset for partition policy-pdp-pap-0 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.747286325Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.761335ms 08:49:15 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 08:49:15 kafka | [2024-04-30 08:47:00,410] INFO [Partition __consumer_offsets-8 broker=1] Log loaded for partition __consumer_offsets-8 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:03.785+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 08:49:15 policy-apex-pdp | values { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.755322794Z level=info msg="Executing migration" id="copy correlation v1 to v2" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,410] INFO [Broker id=1] Leader __consumer_offsets-8 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:47:03.808+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3, groupId=19e5e96a-45c2-4734-9745-b1c3892cb9e3] 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}}. 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.75570021Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=377.796µs 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,416] 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$) 08:49:15 policy-pap | [2024-04-30T08:47:03.809+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}}. 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.769438193Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 08:49:15 kafka | [2024-04-30 08:47:00,417] INFO Created log for partition policy-pdp-pap-0 in /var/lib/kafka/data/policy-pdp-pap-0 with properties {} (kafka.log.LogManager) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:06.270+00:00|INFO|[/policy/pap/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' 08:49:15 policy-apex-pdp | values { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.771007247Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.569234ms 08:49:15 kafka | [2024-04-30 08:47:00,417] INFO [Partition policy-pdp-pap-0 broker=1] No checkpointed highwatermark is found for partition policy-pdp-pap-0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 08:49:15 policy-pap | [2024-04-30T08:47:06.270+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.781440231Z level=info msg="Executing migration" id="add provisioning column" 08:49:15 kafka | [2024-04-30 08:47:00,417] INFO [Partition policy-pdp-pap-0 broker=1] Log loaded for partition policy-pdp-pap-0 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:06.273+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.792546086Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.106605ms 08:49:15 kafka | [2024-04-30 08:47:00,417] INFO [Broker id=1] Leader policy-pdp-pap-0 with topic id Some(NM4_K2pUQYWyBBq4FrvLuQ) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:06.613+00:00|INFO|SessionData|http-nio-6969-exec-3] cache group defaultGroup 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 kafka | [2024-04-30 08:47:00,424] 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$) 08:49:15 policy-db-migrator | 08:49:15 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.802968939Z level=info msg="Executing migration" id="create entity_events table" 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,424] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:07.378+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-3] Registering a deploy for policy onap.policies.native.apex.Sampledomain 1.0.0 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.803919304Z level=info msg="Migration successfully executed" id="create entity_events table" duration=951.285µs 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,425] INFO [Partition __consumer_offsets-45 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-45 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 08:49:15 policy-pap | [2024-04-30T08:47:07.378+00:00|INFO|SessionData|http-nio-6969-exec-3] update cached group defaultGroup 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.815950762Z level=info msg="Executing migration" id="create dashboard public config v1" 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 kafka | [2024-04-30 08:47:00,425] INFO [Partition __consumer_offsets-45 broker=1] Log loaded for partition __consumer_offsets-45 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:07.378+00:00|INFO|SessionData|http-nio-6969-exec-3] updating DB group defaultGroup 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.817626217Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.675275ms 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,425] INFO [Broker id=1] Leader __consumer_offsets-45 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:07.396+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-3] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.native.apex.Sampledomain 1.0.0, action=DEPLOYMENT, timestamp=2024-04-30T08:47:07Z, user=policyadmin)] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.824194684Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,432] 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$) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:20.949+00:00|INFO|OrderedServiceImpl|KAFKA-source-policy-heartbeat] ***** OrderedServiceImpl implementers: 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.824870864Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,433] 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) 08:49:15 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 08:49:15 policy-pap | [] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.830072631Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,433] INFO [Partition __consumer_offsets-15 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-15 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:20.950+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.830543608Z 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" 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,434] INFO [Partition __consumer_offsets-15 broker=1] Log loaded for partition __consumer_offsets-15 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"10868234-f3cd-4ee8-a24f-cf261dd8ac62","timestampMs":1714466840912,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 kafka | [2024-04-30 08:47:00,434] INFO [Broker id=1] Leader __consumer_offsets-15 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-db-migrator | 08:49:15 policy-pap | [2024-04-30T08:47:20.950+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.834972494Z level=info msg="Executing migration" id="Drop old dashboard public config table" 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,444] 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$) 08:49:15 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 08:49:15 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"10868234-f3cd-4ee8-a24f-cf261dd8ac62","timestampMs":1714466840912,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.836169771Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.197027ms 08:49:15 policy-apex-pdp | list_value { 08:49:15 kafka | [2024-04-30 08:47:00,444] 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) 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-pap | [2024-04-30T08:47:20.956+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.841361578Z level=info msg="Executing migration" id="recreate dashboard public config v1" 08:49:15 policy-apex-pdp | values { 08:49:15 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 08:49:15 policy-pap | [2024-04-30T08:47:21.242+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.843227656Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.864608ms 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,444] INFO [Partition __consumer_offsets-30 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-30 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.242+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting listener 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.84756422Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,444] INFO [Partition __consumer_offsets-30 broker=1] Log loaded for partition __consumer_offsets-30 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.243+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting timer 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.848727317Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.160807ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,444] INFO [Broker id=1] Leader __consumer_offsets-30 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:47:21.243+00:00|INFO|TimerManager|KAFKA-source-policy-heartbeat] update timer registered Timer [name=374b6666-fb70-4262-aa19-de0fe53e1792, expireMs=1714466871243] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.890458855Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 08:49:15 kafka | [2024-04-30 08:47:00,451] 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$) 08:49:15 policy-pap | [2024-04-30T08:47:21.244+00:00|INFO|TimerManager|Thread-9] update timer waiting 29999ms Timer [name=374b6666-fb70-4262-aa19-de0fe53e1792, expireMs=1714466871243] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.892355122Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.898067ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,452] 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) 08:49:15 policy-pap | [2024-04-30T08:47:21.245+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting enqueue 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.896880239Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,452] INFO [Partition __consumer_offsets-0 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.245+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate started 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.898080237Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.198648ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,452] INFO [Partition __consumer_offsets-0 broker=1] Log loaded for partition __consumer_offsets-0 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.277+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.902886169Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 08:49:15 kafka | [2024-04-30 08:47:00,452] INFO [Broker id=1] Leader __consumer_offsets-0 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.903938954Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.052365ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"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":"374b6666-fb70-4262-aa19-de0fe53e1792","timestampMs":1714466841229,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,459] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.910947018Z level=info msg="Executing migration" id="Drop public config table" 08:49:15 policy-apex-pdp | 08:49:15 policy-pap | [2024-04-30T08:47:21.324+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 08:49:15 kafka | [2024-04-30 08:47:00,460] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.911835081Z level=info msg="Migration successfully executed" id="Drop public config table" duration=886.823µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:30.001+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,460] INFO [Partition __consumer_offsets-35 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-35 (kafka.cluster.Partition) 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"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":"374b6666-fb70-4262-aa19-de0fe53e1792","timestampMs":1714466841229,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.923875839Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:30.016+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466850014, "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"}}}] 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,460] INFO [Partition __consumer_offsets-35 broker=1] Log loaded for partition __consumer_offsets-35 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.331+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.925800638Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.927219ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.230+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"}} 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,460] INFO [Broker id=1] Leader __consumer_offsets-35 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.93139172Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.231+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": 1714466854231, "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} 08:49:15 policy-db-migrator | > upgrade 0100-upgrade.sql 08:49:15 kafka | [2024-04-30 08:47:00,467] 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$) 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"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":"374b6666-fb70-4262-aa19-de0fe53e1792","timestampMs":1714466841229,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.932638029Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.248179ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.234+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466854232, "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"}}}] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,468] 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) 08:49:15 policy-pap | [2024-04-30T08:47:21.332+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.943670721Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.237+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-db-migrator | select 'upgrade to 1100 completed' as msg 08:49:15 kafka | [2024-04-30 08:47:00,468] INFO [Partition __consumer_offsets-5 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-5 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.350+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.945423298Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.752537ms 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,468] INFO [Partition __consumer_offsets-5 broker=1] Log loaded for partition __consumer_offsets-5 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:21.391+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.950242009Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.951967144Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.725675ms 08:49:15 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":"374b6666-fb70-4262-aa19-de0fe53e1792","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"0ce5b2f5-baf8-4561-bd9e-2e4eaccb1484","timestampMs":1714466841379,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-db-migrator | msg 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.957506406Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:22.983325899Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.811913ms 08:49:15 policy-pap | [2024-04-30T08:47:21.392+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 374b6666-fb70-4262-aa19-de0fe53e1792 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-db-migrator | upgrade to 1100 completed 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.026175478Z level=info msg="Executing migration" id="add annotations_enabled column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.03800751Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=11.830942ms 08:49:15 policy-pap | [2024-04-30T08:47:21.392+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-db-migrator | 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.042541736Z level=info msg="Executing migration" id="add time_selection_enabled column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.048554564Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.014818ms 08:49:15 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3d8de885-0cd8-4faa-b070-cdc1344fd12f","timestampMs":1714466841378,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.055673137Z level=info msg="Executing migration" id="delete orphaned public dashboards" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.055906101Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=233.144µs 08:49:15 policy-pap | [2024-04-30T08:47:21.395+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-db-migrator | -------------- 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.061553983Z level=info msg="Executing migration" id="add share column" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.072100126Z level=info msg="Migration successfully executed" id="add share column" duration=10.546193ms 08:49:15 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":"374b6666-fb70-4262-aa19-de0fe53e1792","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"0ce5b2f5-baf8-4561-bd9e-2e4eaccb1484","timestampMs":1714466841379,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.100521979Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.100744093Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=221.414µs 08:49:15 policy-pap | [2024-04-30T08:47:21.614+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.247+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,468] INFO [Broker id=1] Leader __consumer_offsets-5 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.104081292Z level=info msg="Executing migration" id="create file table" 08:49:15 policy-pap | [2024-04-30T08:47:21.614+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping enqueue 08:49:15 policy-apex-pdp | { 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,475] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.104863463Z level=info msg="Migration successfully executed" id="create file table" duration=782.081µs 08:49:15 policy-pap | [2024-04-30T08:47:21.614+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping timer 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,476] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.110937681Z level=info msg="Executing migration" id="file table idx: path natural pk" 08:49:15 policy-pap | [2024-04-30T08:47:21.614+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=374b6666-fb70-4262-aa19-de0fe53e1792, expireMs=1714466871243] 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 08:49:15 kafka | [2024-04-30 08:47:00,476] INFO [Partition __consumer_offsets-20 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-20 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.112064408Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.130817ms 08:49:15 policy-pap | [2024-04-30T08:47:21.614+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping listener 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,476] INFO [Partition __consumer_offsets-20 broker=1] Log loaded for partition __consumer_offsets-20 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.116575463Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 08:49:15 policy-pap | [2024-04-30T08:47:21.615+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopped 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 08:49:15 kafka | [2024-04-30 08:47:00,476] INFO [Broker id=1] Leader __consumer_offsets-20 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.118537692Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.961949ms 08:49:15 policy-pap | [2024-04-30T08:47:21.620+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate successful 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,481] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.123051218Z level=info msg="Executing migration" id="create file_meta table" 08:49:15 policy-pap | [2024-04-30T08:47:21.620+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a start publishing next request 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,482] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.12394409Z level=info msg="Migration successfully executed" id="create file_meta table" duration=890.172µs 08:49:15 policy-pap | [2024-04-30T08:47:21.620+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange starting 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,482] INFO [Partition __consumer_offsets-27 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-27 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.129945758Z level=info msg="Executing migration" id="file table idx: path key" 08:49:15 policy-pap | [2024-04-30T08:47:21.620+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange starting listener 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 08:49:15 kafka | [2024-04-30 08:47:00,482] INFO [Partition __consumer_offsets-27 broker=1] Log loaded for partition __consumer_offsets-27 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.131118584Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.172726ms 08:49:15 policy-pap | [2024-04-30T08:47:21.620+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange starting timer 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,482] INFO [Broker id=1] Leader __consumer_offsets-27 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.136699265Z level=info msg="Executing migration" id="set path collation in file table" 08:49:15 policy-pap | [2024-04-30T08:47:21.621+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer registered Timer [name=ff77e971-b1d0-4697-bcb5-933d4b0375fe, expireMs=1714466871621] 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,489] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.136867018Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=167.283µs 08:49:15 policy-pap | [2024-04-30T08:47:21.621+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange starting enqueue 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,490] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.140289349Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 08:49:15 policy-pap | [2024-04-30T08:47:21.621+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange started 08:49:15 policy-apex-pdp | 08:49:15 policy-db-migrator | > upgrade 0120-audit_sequence.sql 08:49:15 kafka | [2024-04-30 08:47:00,490] INFO [Partition __consumer_offsets-42 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-42 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.140351429Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=62.92µs 08:49:15 policy-pap | [2024-04-30T08:47:21.621+00:00|INFO|TimerManager|Thread-10] state-change timer waiting 30000ms Timer [name=ff77e971-b1d0-4697-bcb5-933d4b0375fe, expireMs=1714466871621] 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.253+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": 1714466854231, "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} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.144033693Z level=info msg="Executing migration" id="managed permissions migration" 08:49:15 policy-pap | [2024-04-30T08:47:21.622+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 08:49:15 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)) 08:49:15 kafka | [2024-04-30 08:47:00,490] INFO [Partition __consumer_offsets-42 broker=1] Log loaded for partition __consumer_offsets-42 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.257+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": "host0vtz7", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466854256, "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"}}}] 08:49:15 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":[]} 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,490] INFO [Broker id=1] Leader __consumer_offsets-42 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.262+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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.144842324Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=809.171µs 08:49:15 policy-pap | [2024-04-30T08:47:21.622+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | 08:49:15 kafka | [2024-04-30 08:47:00,496] 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$) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.265+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.149838787Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","timestampMs":1714466841230,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 kafka | [2024-04-30 08:47:00,497] 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) 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.15002777Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=189.403µs 08:49:15 policy-pap | [2024-04-30T08:47:21.633+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 kafka | [2024-04-30 08:47:00,497] INFO [Partition __consumer_offsets-12 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-12 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.153575621Z level=info msg="Executing migration" id="RBAC action name migrator" 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","timestampMs":1714466841230,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 kafka | [2024-04-30 08:47:00,497] INFO [Partition __consumer_offsets-12 broker=1] Log loaded for partition __consumer_offsets-12 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.154871651Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.29562ms 08:49:15 policy-pap | [2024-04-30T08:47:21.633+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_STATE_CHANGE 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 kafka | [2024-04-30 08:47:00,497] INFO [Broker id=1] Leader __consumer_offsets-12 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.159473788Z level=info msg="Executing migration" id="Add UID column to playlist" 08:49:15 policy-pap | [2024-04-30T08:47:21.650+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 5 : {policy-notification=LEADER_NOT_AVAILABLE} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,503] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.171317Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.842372ms 08:49:15 policy-pap | [2024-04-30T08:47:21.895+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:47:00,503] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.175914246Z level=info msg="Executing migration" id="Update uid column values in playlist" 08:49:15 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"3d8de885-0cd8-4faa-b070-cdc1344fd12f","timestampMs":1714466841378,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup"} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:47:00,503] INFO [Partition __consumer_offsets-21 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-21 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.176080949Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=166.913µs 08:49:15 policy-pap | [2024-04-30T08:47:21.895+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus 08:49:15 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)) 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:47:00,503] INFO [Partition __consumer_offsets-21 broker=1] Log loaded for partition __consumer_offsets-21 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.179856974Z level=info msg="Executing migration" id="Add index for uid in playlist" 08:49:15 policy-pap | [2024-04-30T08:47:21.927+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:47:00,504] INFO [Broker id=1] Leader __consumer_offsets-21 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.181139322Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.284468ms 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","timestampMs":1714466841230,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 kafka | [2024-04-30 08:47:00,511] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.185260073Z level=info msg="Executing migration" id="update group index for alert rules" 08:49:15 policy-pap | [2024-04-30T08:47:21.927+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATE_CHANGE 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,511] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.185631348Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=374.085µs 08:49:15 policy-pap | [2024-04-30T08:47:22.327+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 08:49:15 policy-apex-pdp | payload { 08:49:15 kafka | [2024-04-30 08:47:00,511] INFO [Partition __consumer_offsets-36 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-36 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.189021357Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 08:49:15 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":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"ba0964f9-6f8d-4a4f-b8b6-953effad13ff","timestampMs":1714466842315,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,511] INFO [Partition __consumer_offsets-36 broker=1] Log loaded for partition __consumer_offsets-36 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.18920709Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=185.763µs 08:49:15 policy-pap | [2024-04-30T08:47:22.327+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id ff77e971-b1d0-4697-bcb5-933d4b0375fe 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 kafka | [2024-04-30 08:47:00,512] INFO [Broker id=1] Leader __consumer_offsets-36 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.193708546Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 08:49:15 policy-pap | [2024-04-30T08:47:22.328+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,519] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.194510027Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=801.701µs 08:49:15 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":"ff77e971-b1d0-4697-bcb5-933d4b0375fe","responseStatus":"SUCCESS","responseMessage":"Apex engine started. State changed to active."},"messageName":"PDP_STATUS","requestId":"ba0964f9-6f8d-4a4f-b8b6-953effad13ff","timestampMs":1714466842315,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | TRUNCATE TABLE sequence 08:49:15 policy-apex-pdp | struct_value { 08:49:15 kafka | [2024-04-30 08:47:00,520] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.198228031Z level=info msg="Executing migration" id="add action column to seed_assignment" 08:49:15 policy-pap | [2024-04-30T08:47:22.329+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange stopping 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,520] INFO [Partition __consumer_offsets-6 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-6 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.209127009Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.898828ms 08:49:15 policy-pap | [2024-04-30T08:47:22.330+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange stopping enqueue 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 kafka | [2024-04-30 08:47:00,520] INFO [Partition __consumer_offsets-6 broker=1] Log loaded for partition __consumer_offsets-6 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.230161216Z level=info msg="Executing migration" id="add scope column to seed_assignment" 08:49:15 policy-pap | [2024-04-30T08:47:22.331+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange stopping timer 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,520] INFO [Broker id=1] Leader __consumer_offsets-6 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.242418044Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=12.257748ms 08:49:15 policy-pap | [2024-04-30T08:47:22.331+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer cancelled Timer [name=ff77e971-b1d0-4697-bcb5-933d4b0375fe, expireMs=1714466871621] 08:49:15 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 08:49:15 policy-apex-pdp | string_value: "host0vtz7" 08:49:15 kafka | [2024-04-30 08:47:00,527] 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$) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.248439882Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 08:49:15 policy-pap | [2024-04-30T08:47:22.331+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange stopping listener 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,527] 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) 08:49:15 kafka | [2024-04-30 08:47:00,527] INFO [Partition __consumer_offsets-43 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-43 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.250118236Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.677085ms 08:49:15 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,527] INFO [Partition __consumer_offsets-43 broker=1] Log loaded for partition __consumer_offsets-43 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 kafka | [2024-04-30 08:47:00,527] INFO [Broker id=1] Leader __consumer_offsets-43 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.25383095Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,535] 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$) 08:49:15 kafka | [2024-04-30 08:47:00,535] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.327863118Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=74.030578ms 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 kafka | [2024-04-30 08:47:00,535] INFO [Partition __consumer_offsets-13 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-13 (kafka.cluster.Partition) 08:49:15 kafka | [2024-04-30 08:47:00,535] INFO [Partition __consumer_offsets-13 broker=1] Log loaded for partition __consumer_offsets-13 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.332100119Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,535] INFO [Broker id=1] Leader __consumer_offsets-13 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:47:22.331+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange stopped 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.33291026Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=810.211µs 08:49:15 policy-db-migrator | DROP TABLE pdpstatistics 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 kafka | [2024-04-30 08:47:00,543] 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$) 08:49:15 policy-pap | [2024-04-30T08:47:22.331+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpStateChange successful 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.337466927Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,544] 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) 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a start publishing next request 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.339332554Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.864747ms 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,544] INFO [Partition __consumer_offsets-28 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-28 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.343653787Z level=info msg="Executing migration" id="add primary key to seed_assigment" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,544] INFO [Partition __consumer_offsets-28 broker=1] Log loaded for partition __consumer_offsets-28 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting listener 08:49:15 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 kafka | [2024-04-30 08:47:00,544] INFO [Broker id=1] Leader __consumer_offsets-28 with topic id Some(5cg81dzWREKdiaGxKQ_B0g) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting timer 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.370283465Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.627188ms 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer registered Timer [name=ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf, expireMs=1714466872332] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.375375749Z level=info msg="Executing migration" id="add origin column to seed_assignment" 08:49:15 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-pap | [2024-04-30T08:47:22.332+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting enqueue 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.384741085Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.364156ms 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:22.333+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate started 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.388054003Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:22.333+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.388283216Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=232.113µs 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","timestampMs":1714466841881,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.392493748Z level=info msg="Executing migration" id="prevent seeding OnCall access" 08:49:15 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:22.341+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.39261801Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=124.602µs 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","timestampMs":1714466841881,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.396405324Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 08:49:15 policy-db-migrator | DROP TABLE statistics_sequence 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:22.341+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.396724209Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=319.375µs 08:49:15 policy-db-migrator | -------------- 08:49:15 policy-apex-pdp | 08:49:15 policy-pap | [2024-04-30T08:47:22.341+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.401497709Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 08:49:15 policy-db-migrator | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.279+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","timestampMs":1714466841881,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.401812843Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=319.024µs 08:49:15 policy-db-migrator | policyadmin: OK: upgrade (1300) 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.406724745Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 08:49:15 policy-db-migrator | name version 08:49:15 policy-pap | [2024-04-30T08:47:22.342+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.407035879Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=311.394µs 08:49:15 policy-db-migrator | policyadmin 1300 08:49:15 policy-pap | [2024-04-30T08:47:22.352+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.411377972Z level=info msg="Executing migration" id="create folder table" 08:49:15 policy-db-migrator | ID script operation from_version to_version tag success atTime 08:49:15 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":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"f124d039-2a19-41cd-9d1a-7f938d6f6b19","timestampMs":1714466842344,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.412837694Z level=info msg="Migration successfully executed" id="create folder table" duration=1.459242ms 08:49:15 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.352+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.416514187Z level=info msg="Executing migration" id="Add index for parent_uid" 08:49:15 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.418476796Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.960788ms 08:49:15 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 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":"ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"f124d039-2a19-41cd-9d1a-7f938d6f6b19","timestampMs":1714466842344,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.423456838Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 08:49:15 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.424691586Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.234898ms 08:49:15 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping enqueue 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:47:00,578] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.428530083Z level=info msg="Executing migration" id="Update folder title length" 08:49:15 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping timer 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.428554673Z level=info msg="Migration successfully executed" id="Update folder title length" duration=25.25µs 08:49:15 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=ca7b8bde-88ea-4b5b-b9a2-54c60f4facbf, expireMs=1714466872332] 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.432353768Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 08:49:15 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping listener 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.433573825Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.219797ms 08:49:15 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-apex-pdp | status { 08:49:15 policy-pap | [2024-04-30T08:47:22.353+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopped 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.438277664Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 08:49:15 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:28 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-pap | [2024-04-30T08:47:22.358+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate successful 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.439931348Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.653624ms 08:49:15 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-pap | [2024-04-30T08:47:22.358+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a has no more requests 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.443579461Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 08:49:15 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-pap | [2024-04-30T08:47:23.567+00:00|INFO|SessionData|http-nio-6969-exec-9] cache group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.445379658Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.803667ms 08:49:15 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-pap | [2024-04-30T08:47:23.754+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-9] Registering a deploy for policy onap.policies.apex.pnf.Test 1.0.0 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.452703274Z level=info msg="Executing migration" id="Sync dashboard and folder table" 08:49:15 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:23.755+00:00|INFO|SessionData|http-nio-6969-exec-9] add update apex-36565269-ef86-4134-a1cc-d2d3845a101a defaultGroup apex policies=1 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.453436044Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=734.891µs 08:49:15 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-pap | [2024-04-30T08:47:23.757+00:00|INFO|SessionData|http-nio-6969-exec-9] update cached group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.456943966Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" 08:49:15 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-pap | [2024-04-30T08:47:23.757+00:00|INFO|SessionData|http-nio-6969-exec-9] updating DB group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.457209949Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=266.343µs 08:49:15 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-pap | [2024-04-30T08:47:23.773+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-04-30T08:47:23Z, user=policyadmin)] 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.460386526Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" 08:49:15 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | value { 08:49:15 policy-pap | [2024-04-30T08:47:23.793+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.461552862Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.167336ms 08:49:15 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-pap | [2024-04-30T08:47:23.793+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting listener 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.465165135Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" 08:49:15 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-pap | [2024-04-30T08:47:23.793+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting timer 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.467022112Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.857537ms 08:49:15 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-pap | [2024-04-30T08:47:23.793+00:00|INFO|TimerManager|http-nio-6969-exec-9] update timer registered Timer [name=8687bb6a-fec7-4811-aed9-988bf56e4c6f, expireMs=1714466873793] 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.471643619Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 08:49:15 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-pap | [2024-04-30T08:47:23.794+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting enqueue 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.472862397Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.219427ms 08:49:15 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-apex-pdp | value { 08:49:15 policy-pap | [2024-04-30T08:47:23.794+00:00|INFO|ServiceManager|http-nio-6969-exec-9] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate started 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.476361748Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" 08:49:15 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-pap | [2024-04-30T08:47:23.796+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.477653336Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.291218ms 08:49:15 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-apex-pdp | values { 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.481708356Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" 08:49:15 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}}]}}}}},"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}},"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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","timestampMs":1714466843755,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.482890903Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.182757ms 08:49:15 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-pap | [2024-04-30T08:47:23.805+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.486316392Z level=info msg="Executing migration" id="create anon_device table" 08:49:15 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}}]}}}}},"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}},"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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","timestampMs":1714466843755,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.487561311Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.244219ms 08:49:15 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-pap | [2024-04-30T08:47:23.807+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.491588579Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 08:49:15 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 policy-pap | [2024-04-30T08:47:23.820+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.493081741Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.492802ms 08:49:15 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.4977952Z level=info msg="Executing migration" id="add index anon_device.updated_at" 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}}]}}}}},"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}},"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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","timestampMs":1714466843755,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.500069513Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.274283ms 08:49:15 policy-pap | [2024-04-30T08:47:23.822+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 08:49:15 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.503771847Z level=info msg="Executing migration" id="create signing_key table" 08:49:15 policy-pap | [2024-04-30T08:47:24.356+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.504797162Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.025455ms 08:49:15 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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"cdce3f6a-f9eb-42c1-b9e6-dbe3fe2bdf98","timestampMs":1714466844349,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.508429525Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 08:49:15 policy-pap | [2024-04-30T08:47:24.356+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 8687bb6a-fec7-4811-aed9-988bf56e4c6f 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.509582832Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.151127ms 08:49:15 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:29 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.513666431Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 08:49:15 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 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":"8687bb6a-fec7-4811-aed9-988bf56e4c6f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"cdce3f6a-f9eb-42c1-b9e6-dbe3fe2bdf98","timestampMs":1714466844349,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 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" 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.514903478Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.234807ms 08:49:15 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,579] 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) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.518006714Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 08:49:15 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping enqueue 08:49:15 policy-apex-pdp | values { 08:49:15 kafka | [2024-04-30 08:47:00,591] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 3 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.51840618Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=399.536µs 08:49:15 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping timer 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-3 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.52185409Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=8687bb6a-fec7-4811-aed9-988bf56e4c6f, expireMs=1714466873793] 08:49:15 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.531816044Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.961074ms 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping listener 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 18 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-18 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.596367584Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 08:49:15 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.357+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopped 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 41 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.59748681Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.120896ms 08:49:15 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.368+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate successful 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-41 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.602646046Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 08:49:15 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.368+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a has no more requests 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:00,593] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 10 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.603847213Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.205227ms 08:49:15 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:24.368+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-10 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.607970733Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" 08:49:15 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | value { 08:49:15 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":[]} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 33 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.609031248Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.060705ms 08:49:15 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-pap | [2024-04-30T08:47:44.439+00:00|INFO|SessionData|http-nio-6969-exec-2] cache group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-33 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.613349221Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" 08:49:15 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | values { 08:49:15 policy-pap | [2024-04-30T08:47:44.593+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-2] Registering a deploy for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 48 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.614459597Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.110226ms 08:49:15 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-pap | [2024-04-30T08:47:44.593+00:00|INFO|SessionData|http-nio-6969-exec-2] add update apex-36565269-ef86-4134-a1cc-d2d3845a101a defaultGroup apex policies=1 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-48 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.617710924Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" 08:49:15 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:44.593+00:00|INFO|SessionData|http-nio-6969-exec-2] update cached group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 19 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.618932033Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.220729ms 08:49:15 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:44.593+00:00|INFO|SessionData|http-nio-6969-exec-2] updating DB group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-19 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.622258201Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" 08:49:15 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:44.603+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-2] 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-04-30T08:47:44Z, user=policyadmin)] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 34 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.623392807Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.134256ms 08:49:15 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:44.615+00:00|INFO|ServiceManager|http-nio-6969-exec-2] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-34 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.628257168Z level=info msg="Executing migration" id="create sso_setting table" 08:49:15 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-apex-pdp | } 08:49:15 policy-pap | [2024-04-30T08:47:44.615+00:00|INFO|ServiceManager|http-nio-6969-exec-2] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting listener 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 4 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.629540496Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.283248ms 08:49:15 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:44.615+00:00|INFO|ServiceManager|http-nio-6969-exec-2] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting timer 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-4 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.635226059Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:44.615+00:00|INFO|TimerManager|http-nio-6969-exec-2] update timer registered Timer [name=90adc16d-dec6-47ed-bff2-c2a6872aba17, expireMs=1714466894615] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 11 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.636421847Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.197328ms 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:44.615+00:00|INFO|ServiceManager|http-nio-6969-exec-2] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate starting enqueue 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-11 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.641125664Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 08:49:15 policy-apex-pdp | } 08:49:15 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:30 08:49:15 policy-pap | [2024-04-30T08:47:44.617+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 26 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.641385009Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=262.385µs 08:49:15 policy-apex-pdp | 08:49:15 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-26 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}]}},"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}},"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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","timestampMs":1714466864593,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.645426437Z level=info msg="Executing migration" id="alter kv_store.value to longtext" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.280+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 49 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-pap | [2024-04-30T08:47:44.618+00:00|INFO|ServiceManager|http-nio-6969-exec-2] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate started 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.645487118Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=61.211µs 08:49:15 policy-apex-pdp | [2024-04-30T08:47:34.292+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466854290, "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"}}}] 08:49:15 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-49 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-pap | [2024-04-30T08:47:44.626+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.649150502Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.627+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 39 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}]}},"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}},"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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","timestampMs":1714466864593,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.658554049Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.403087ms 08:49:15 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-apex-pdp | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}]}},"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}},"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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","timestampMs":1714466864593,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-39 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-pap | [2024-04-30T08:47:44.629+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.662484646Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" 08:49:15 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.630+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 9 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-pap | [2024-04-30T08:47:44.630+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.671984074Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.498668ms 08:49:15 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.632+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 08:49:15 policy-pap | {"source":"pap-fa46d626-5dd4-488b-be74-4985168f0c95","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"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"}]}},"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}},"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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","timestampMs":1714466864593,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-9 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.67653063Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" 08:49:15 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.639+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 24 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.676853415Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=322.995µs 08:49:15 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.634+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.639+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . 08:49:15 grafana | logger=migrator t=2024-04-30T08:46:23.681670155Z level=info msg="migrations completed" performed=548 skipped=0 duration=5.542438748s 08:49:15 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.739+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-24 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.640+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . 08:49:15 grafana | logger=sqlstore t=2024-04-30T08:46:23.69094921Z level=info msg="Created default admin" user=admin 08:49:15 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"efa2e183-cc25-4c4b-beb6-d2a52beafd93","timestampMs":1714466864721,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 31 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.640+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . 08:49:15 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.740+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-31 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=sqlstore t=2024-04-30T08:46:23.691215054Z level=info msg="Created default organization" 08:49:15 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"efa2e183-cc25-4c4b-beb6-d2a52beafd93","timestampMs":1714466864721,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 46 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.640+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 08:49:15 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 90adc16d-dec6-47ed-bff2-c2a6872aba17 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-46 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=secrets t=2024-04-30T08:46:23.697921462Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.660+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" 08:49:15 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 1 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=plugin.store t=2024-04-30T08:46:23.725251229Z level=info msg="Loading plugins..." 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.660+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 08:49:15 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping enqueue 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-1 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=local.finder t=2024-04-30T08:46:23.764059883Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.660+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" 08:49:15 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping timer 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 16 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=plugin.store t=2024-04-30T08:46:23.764141174Z level=info msg="Plugins loaded" count=55 duration=38.890875ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.661+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 08:49:15 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=90adc16d-dec6-47ed-bff2-c2a6872aba17, expireMs=1714466894615] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-16 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=query_data t=2024-04-30T08:46:23.766367037Z level=info msg="Query Service initialization" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.661+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 08:49:15 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopping listener 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 2 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=live.push_http t=2024-04-30T08:46:23.769207168Z level=info msg="Live Push Gateway initialization" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.662+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 08:49:15 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.741+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate stopped 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-2 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=ngalert.migration t=2024-04-30T08:46:23.773968448Z level=info msg=Starting 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleBooleanType:0.0.1 is used by multiple policies. 08:49:15 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.802+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a PdpUpdate successful 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 25 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_AAIRequestErrorType:0.0.1 is used by multiple policies. 08:49:15 grafana | logger=ngalert.migration t=2024-04-30T08:46:23.774302583Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false 08:49:15 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 policy-pap | [2024-04-30T08:47:44.802+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-36565269-ef86-4134-a1cc-d2d3845a101a has no more requests 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-25 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSActionIdentifiersType:0.0.1 is used by multiple policies. 08:49:15 grafana | logger=ngalert.migration orgID=1 t=2024-04-30T08:46:23.774642337Z level=info msg="Migrating alerts for organisation" 08:49:15 policy-pap | [2024-04-30T08:47:44.802+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 40 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1 is used by multiple policies. 08:49:15 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:31 08:49:15 grafana | logger=ngalert.migration orgID=1 t=2024-04-30T08:46:23.775101464Z level=info msg="Alerts found to migrate" alerts=0 08:49:15 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":[]} 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-40 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.migration t=2024-04-30T08:46:23.776380553Z level=info msg="Completed alerting migration" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:47:51.244+00:00|INFO|TimerManager|Thread-9] update timer discarded (expired) Timer [name=374b6666-fb70-4262-aa19-de0fe53e1792, expireMs=1714466871243] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 47 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.state.manager t=2024-04-30T08:46:23.806100536Z level=info msg="Running in alternative execution of Error/NoData mode" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.703+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:47:51.621+00:00|INFO|TimerManager|Thread-10] state-change timer discarded (expired) Timer [name=ff77e971-b1d0-4697-bcb5-933d4b0375fe, expireMs=1714466871621] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-47 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=infra.usagestats.collector t=2024-04-30T08:46:23.80772108Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseStatusType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:48:04.849+00:00|INFO|SessionData|http-nio-6969-exec-6] cache group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 17 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=provisioning.datasources t=2024-04-30T08:46:23.809421155Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSRequestCommonHeaderType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:48:05.594+00:00|INFO|SessionData|http-nio-6969-exec-7] cache group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-17 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=provisioning.alerting t=2024-04-30T08:46:23.833986511Z level=info msg="starting to provision alerting" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:48:06.495+00:00|INFO|SessionData|http-nio-6969-exec-9] cache group defaultGroup 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 32 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=provisioning.alerting t=2024-04-30T08:46:23.834016212Z level=info msg="finished to provision alerting" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseStatusType:0.0.1 is used by multiple policies. 08:49:15 policy-pap | [2024-04-30T08:48:58.966+00:00|INFO|PdpModifyRequestMap|pool-3-thread-1] check for PDP records older than 360000ms 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-32 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.state.manager t=2024-04-30T08:46:23.8352594Z level=info msg="Warming state cache for startup" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_EventDetailsAlbumType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 37 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=http.server t=2024-04-30T08:46:23.839982728Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventComponentType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-37 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=grafanaStorageLogger t=2024-04-30T08:46:23.840812741Z level=info msg="Storage starting" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventOtherFieldsType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 7 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.multiorg.alertmanager t=2024-04-30T08:46:23.859884519Z level=info msg="Starting MultiOrg Alertmanager" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventTargetType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-7 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.state.manager t=2024-04-30T08:46:23.878757262Z level=info msg="State cache has been initialized" states=0 duration=43.493252ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_VesEventType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 22 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ngalert.scheduler t=2024-04-30T08:46:23.878849274Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleLongType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-22 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=ticker t=2024-04-30T08:46:23.878928785Z level=info msg=starting first_tick=2024-04-30T08:46:30Z 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleStringType:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 29 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=grafana.update.checker t=2024-04-30T08:46:23.943994332Z level=info msg="Update check succeeded" duration=107.86654ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIFailureResponseEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-29 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 3004240846280800u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=plugins.update.checker t=2024-04-30T08:46:23.944016683Z level=info msg="Update check succeeded" duration=109.229098ms 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIRequestEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 44 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=provisioning.dashboard t=2024-04-30T08:46:23.958730966Z level=info msg="starting to provision dashboards" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAISuccessResponseEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-44 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:32 08:49:15 grafana | logger=sqlstore.transactions t=2024-04-30T08:46:24.105148708Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 14 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 grafana | logger=sqlstore.transactions t=2024-04-30T08:46:24.149904338Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.704+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyRequestEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-14 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 grafana | logger=grafana-apiserver t=2024-04-30T08:46:24.250815453Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.705+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1 is used by multiple policies. 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 23 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 grafana | logger=grafana-apiserver t=2024-04-30T08:46:24.251513295Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" 08:49:15 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-23 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 grafana | logger=provisioning.dashboard t=2024-04-30T08:46:24.271668923Z level=info msg="finished to provision dashboards" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.705+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_LogEvent:0.0.1 is used by multiple policies. 08:49:15 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 38 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 grafana | logger=infra.usagestats t=2024-04-30T08:47:51.872055171Z level=info msg="Usage stats are ready to report" 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.705+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_VesEvent:0.0.1 is used by multiple policies. 08:49:15 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-38 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.705+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same album - SimpleCL_EventDetailsAlbum:0.0.1 is used by multiple policies. 08:49:15 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 8 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.705+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-8 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.707+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started 08:49:15 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 45 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.710+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-45 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.710+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 08:49:15 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 15 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.712+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] ConsumerConfig values: 08:49:15 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 3004240846280900u 1 2024-04-30 08:46:33 08:49:15 policy-apex-pdp | allow.auto.create.topics = true 08:49:15 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-15 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | auto.commit.interval.ms = 1000 08:49:15 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 30 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-30 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | auto.offset.reset = latest 08:49:15 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 0 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-0 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | check.crcs = true 08:49:15 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 35 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-35 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 policy-apex-pdp | client.id = consumer-apex-grp2-4 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 5 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:33 08:49:15 policy-apex-pdp | client.rack = 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-5 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 3004240846281000u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 20 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 3004240846281100u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | default.api.timeout.ms = 60000 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-20 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 3004240846281200u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | enable.auto.commit = true 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 27 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 3004240846281200u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | exclude.internal.topics = true 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-27 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 3004240846281200u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | fetch.max.bytes = 52428800 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 42 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 3004240846281200u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | fetch.max.wait.ms = 500 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-42 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 3004240846281300u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | fetch.min.bytes = 1 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 12 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 3004240846281300u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | group.id = apex-grp2 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-12 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 3004240846281300u 1 2024-04-30 08:46:34 08:49:15 policy-apex-pdp | group.instance.id = null 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 21 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-db-migrator | policyadmin: OK @ 1300 08:49:15 policy-apex-pdp | heartbeat.interval.ms = 3000 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-21 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 36 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | internal.leave.group.on.close = true 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-36 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 6 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | isolation.level = read_uncommitted 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-6 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 43 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | max.partition.fetch.bytes = 1048576 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-43 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | max.poll.interval.ms = 300000 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 13 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | max.poll.records = 500 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-13 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 28 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 kafka | [2024-04-30 08:47:00,594] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-28 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 kafka | [2024-04-30 08:47:00,596] INFO [Broker id=1] Finished LeaderAndIsr request in 877ms correlationId 1 from controller 1 for 51 partitions (state.change.logger) 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 08:49:15 kafka | [2024-04-30 08:47:00,599] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=5cg81dzWREKdiaGxKQ_B0g, 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=NM4_K2pUQYWyBBq4FrvLuQ, 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) 08:49:15 policy-apex-pdp | receive.buffer.bytes = 65536 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:47:00,608] 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) 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | session.timeout.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 kafka | [2024-04-30 08:47:00,609] 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) 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 kafka | [2024-04-30 08:47:00,610] 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) 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 kafka | [2024-04-30 08:47:00,611] 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) 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 kafka | [2024-04-30 08:47:00,614] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-3 in 12 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 kafka | [2024-04-30 08:47:00,618] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-18 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:47:00,618] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-41 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-10 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-33 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.721+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 08:49:15 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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"efa2e183-cc25-4c4b-beb6-d2a52beafd93","timestampMs":1714466864721,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-48 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-19 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.726+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-34 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.727+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka commitId: 5e3c2b738d253ff5 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-4 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.727+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka startTimeMs: 1714466864726 08:49:15 kafka | [2024-04-30 08:47:00,619] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-11 in 25 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.727+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 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-26 in 26 milliseconds for epoch 0, of which 25 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.734+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-49 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 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":"90adc16d-dec6-47ed-bff2-c2a6872aba17","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"efa2e183-cc25-4c4b-beb6-d2a52beafd93","timestampMs":1714466864721,"name":"apex-36565269-ef86-4134-a1cc-d2d3845a101a","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-39 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.734+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-9 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.734+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: P0TWb4-XQzav3P0JIXq5_g 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-24 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.735+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) 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-31 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.744+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 08:49:15 kafka | [2024-04-30 08:47:00,620] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-46 in 26 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.749+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-f911df0e-9cf9-41f0-94c2-0d90965dad87 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-1 in 27 milliseconds for epoch 0, of which 26 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.750+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) 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-16 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:44.750+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 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-2 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.754+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-f911df0e-9cf9-41f0-94c2-0d90965dad87', protocol='range'} 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-25 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.754+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-f911df0e-9cf9-41f0-94c2-0d90965dad87=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-40 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.758+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-f911df0e-9cf9-41f0-94c2-0d90965dad87', protocol='range'} 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-47 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-17 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.758+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]) 08:49:15 kafka | [2024-04-30 08:47:00,621] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-32 in 27 milliseconds for epoch 0, of which 27 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.758+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 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-37 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.760+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 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-7 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:47.764+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}}. 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-22 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-29 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-44 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.964+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"}} 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-14 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.965+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": 1714466869965, "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} 08:49:15 kafka | [2024-04-30 08:47:00,622] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-23 in 28 milliseconds for epoch 0, of which 28 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.966+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"}} 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-38 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.967+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": 1714466869966, "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} 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-8 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.967+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466869965, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.968+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466869967, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.970+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. 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-45 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.970+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] ProducerConfig values: 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-15 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | acks = -1 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-30 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | auto.include.jmx.reporter = true 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-0 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | batch.size = 16384 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-35 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | bootstrap.servers = [kafka:9092] 08:49:15 kafka | [2024-04-30 08:47:00,623] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-5 in 29 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | buffer.memory = 33554432 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-20 in 30 milliseconds for epoch 0, of which 29 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-27 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | client.id = producer-3 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-42 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | compression.type = none 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-12 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | connections.max.idle.ms = 540000 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-21 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | delivery.timeout.ms = 120000 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-36 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | enable.idempotence = false 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-6 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | interceptor.classes = [] 08:49:15 kafka | [2024-04-30 08:47:00,624] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-43 in 30 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 kafka | [2024-04-30 08:47:00,625] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-13 in 31 milliseconds for epoch 0, of which 30 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | linger.ms = 1 08:49:15 kafka | [2024-04-30 08:47:00,625] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-28 in 31 milliseconds for epoch 0, of which 31 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 08:49:15 policy-apex-pdp | max.block.ms = 60000 08:49:15 kafka | [2024-04-30 08:47:00,689] 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-02be4fd1-0065-48d6-8bc7-1555f37d101d and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | max.in.flight.requests.per.connection = 5 08:49:15 kafka | [2024-04-30 08:47:00,689] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group 19e5e96a-45c2-4734-9745-b1c3892cb9e3 in Empty state. Created a new member id consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | max.request.size = 1048576 08:49:15 kafka | [2024-04-30 08:47:00,712] 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-02be4fd1-0065-48d6-8bc7-1555f37d101d with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metadata.max.age.ms = 300000 08:49:15 kafka | [2024-04-30 08:47:00,714] INFO [GroupCoordinator 1]: Preparing to rebalance group 19e5e96a-45c2-4734-9745-b1c3892cb9e3 in state PreparingRebalance with old generation 0 (__consumer_offsets-10) (reason: Adding new member consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metadata.max.idle.ms = 300000 08:49:15 kafka | [2024-04-30 08:47:01,222] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group 88b9e57d-bf83-4c63-8768-514319390b69 in Empty state. Created a new member id consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metric.reporters = [] 08:49:15 kafka | [2024-04-30 08:47:01,226] INFO [GroupCoordinator 1]: Preparing to rebalance group 88b9e57d-bf83-4c63-8768-514319390b69 in state PreparingRebalance with old generation 0 (__consumer_offsets-30) (reason: Adding new member consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metrics.num.samples = 2 08:49:15 kafka | [2024-04-30 08:47:03,725] INFO [GroupCoordinator 1]: Stabilized group policy-pap generation 1 (__consumer_offsets-24) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metrics.recording.level = INFO 08:49:15 kafka | [2024-04-30 08:47:03,730] INFO [GroupCoordinator 1]: Stabilized group 19e5e96a-45c2-4734-9745-b1c3892cb9e3 generation 1 (__consumer_offsets-10) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | metrics.sample.window.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:03,746] INFO [GroupCoordinator 1]: Assignment received from leader consumer-policy-pap-4-02be4fd1-0065-48d6-8bc7-1555f37d101d for group policy-pap for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 08:49:15 kafka | [2024-04-30 08:47:03,746] INFO [GroupCoordinator 1]: Assignment received from leader consumer-19e5e96a-45c2-4734-9745-b1c3892cb9e3-3-22ba3f76-2252-42ce-bf34-dcf7a4239400 for group 19e5e96a-45c2-4734-9745-b1c3892cb9e3 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | partitioner.availability.timeout.ms = 0 08:49:15 kafka | [2024-04-30 08:47:04,227] INFO [GroupCoordinator 1]: Stabilized group 88b9e57d-bf83-4c63-8768-514319390b69 generation 1 (__consumer_offsets-30) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | partitioner.class = null 08:49:15 policy-apex-pdp | partitioner.ignore.keys = false 08:49:15 policy-apex-pdp | receive.buffer.bytes = 32768 08:49:15 kafka | [2024-04-30 08:47:04,254] INFO [GroupCoordinator 1]: Assignment received from leader consumer-88b9e57d-bf83-4c63-8768-514319390b69-2-80783bba-9b61-4661-bb49-6bd734234ab0 for group 88b9e57d-bf83-4c63-8768-514319390b69 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | reconnect.backoff.max.ms = 1000 08:49:15 kafka | [2024-04-30 08:47:21,629] INFO Creating topic policy-notification with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 policy-apex-pdp | reconnect.backoff.ms = 50 08:49:15 kafka | [2024-04-30 08:47:21,643] INFO [Controller id=1] New topics: [Set(policy-notification)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(policy-notification,Some(AX_-gb6rS82pVUx2Th8Umg),Map(policy-notification-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | request.timeout.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:21,643] INFO [Controller id=1] New partition creation callback for policy-notification-0 (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | retries = 0 08:49:15 kafka | [2024-04-30 08:47:21,643] INFO [Controller id=1 epoch=1] Changed partition policy-notification-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:21,643] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.client.callback.handler.class = null 08:49:15 kafka | [2024-04-30 08:47:21,643] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.jaas.config = null 08:49:15 kafka | [2024-04-30 08:47:21,643] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 08:49:15 kafka | [2024-04-30 08:47:21,649] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 08:49:15 kafka | [2024-04-30 08:47:21,649] 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) 08:49:15 policy-apex-pdp | sasl.kerberos.service.name = null 08:49:15 kafka | [2024-04-30 08:47:21,649] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:47:21,649] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 08:49:15 kafka | [2024-04-30 08:47:21,650] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.callback.handler.class = null 08:49:15 kafka | [2024-04-30 08:47:21,650] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.class = null 08:49:15 kafka | [2024-04-30 08:47:21,650] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 3 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.login.connect.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:47:21,650] 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) 08:49:15 policy-apex-pdp | sasl.login.read.timeout.ms = null 08:49:15 kafka | [2024-04-30 08:47:21,651] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 08:49:15 kafka | [2024-04-30 08:47:21,651] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(policy-notification-0) (kafka.server.ReplicaFetcherManager) 08:49:15 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 08:49:15 kafka | [2024-04-30 08:47:21,651] 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) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 08:49:15 kafka | [2024-04-30 08:47:21,653] 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$) 08:49:15 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 08:49:15 kafka | [2024-04-30 08:47:21,653] INFO Created log for partition policy-notification-0 in /var/lib/kafka/data/policy-notification-0 with properties {} (kafka.log.LogManager) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:21,654] INFO [Partition policy-notification-0 broker=1] No checkpointed highwatermark is found for partition policy-notification-0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:21,654] INFO [Partition policy-notification-0 broker=1] Log loaded for partition policy-notification-0 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | sasl.mechanism = GSSAPI 08:49:15 kafka | [2024-04-30 08:47:21,654] INFO [Broker id=1] Leader policy-notification-0 with topic id Some(AX_-gb6rS82pVUx2Th8Umg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 08:49:15 kafka | [2024-04-30 08:47:21,659] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 08:49:15 kafka | [2024-04-30 08:47:21,660] INFO [Broker id=1] Finished LeaderAndIsr request in 10ms correlationId 3 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 08:49:15 kafka | [2024-04-30 08:47:21,660] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=AX_-gb6rS82pVUx2Th8Umg, 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 08:49:15 kafka | [2024-04-30 08:47:21,662] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:21,663] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 08:49:15 kafka | [2024-04-30 08:47:21,665] 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) 08:49:15 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:47:24,367] INFO Creating topic unauthenticated.dcae_cl_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 08:49:15 kafka | [2024-04-30 08:47:24,376] 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(J4dPmBDKSZmSPWw9oiK7YQ),Map(unauthenticated.dcae_cl_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 08:49:15 kafka | [2024-04-30 08:47:24,376] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_cl_output-0 (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 08:49:15 kafka | [2024-04-30 08:47:24,376] 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) 08:49:15 policy-apex-pdp | security.protocol = PLAINTEXT 08:49:15 policy-apex-pdp | security.providers = null 08:49:15 policy-apex-pdp | send.buffer.bytes = 131072 08:49:15 kafka | [2024-04-30 08:47:24,376] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 08:49:15 kafka | [2024-04-30 08:47:24,377] 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) 08:49:15 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 08:49:15 kafka | [2024-04-30 08:47:24,377] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | ssl.cipher.suites = null 08:49:15 kafka | [2024-04-30 08:47:24,381] 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-ae4836af-394c-4723-92a8-4863a1c3222a and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 08:49:15 kafka | [2024-04-30 08:47:24,384] 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-ae4836af-394c-4723-92a8-4863a1c3222a with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 08:49:15 kafka | [2024-04-30 08:47:24,386] 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) 08:49:15 policy-apex-pdp | ssl.engine.factory.class = null 08:49:15 kafka | [2024-04-30 08:47:24,386] 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) 08:49:15 policy-apex-pdp | ssl.key.password = null 08:49:15 kafka | [2024-04-30 08:47:24,386] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 08:49:15 kafka | [2024-04-30 08:47:24,386] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:47:24,386] 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) 08:49:15 policy-apex-pdp | ssl.keystore.certificate.chain = null 08:49:15 kafka | [2024-04-30 08:47:24,386] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:47:24,393] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 5 from controller 1 for 1 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:47:24,393] 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) 08:49:15 kafka | [2024-04-30 08:47:24,395] 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) 08:49:15 kafka | [2024-04-30 08:47:24,396] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_cl_output-0) (kafka.server.ReplicaFetcherManager) 08:49:15 kafka | [2024-04-30 08:47:24,396] 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) 08:49:15 kafka | [2024-04-30 08:47:24,399] 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$) 08:49:15 kafka | [2024-04-30 08:47:24,401] 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) 08:49:15 policy-apex-pdp | ssl.keystore.key = null 08:49:15 kafka | [2024-04-30 08:47:24,402] INFO [Partition unauthenticated.dcae_cl_output-0 broker=1] No checkpointed highwatermark is found for partition unauthenticated.dcae_cl_output-0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | ssl.keystore.location = null 08:49:15 kafka | [2024-04-30 08:47:24,402] 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) 08:49:15 policy-apex-pdp | ssl.keystore.password = null 08:49:15 kafka | [2024-04-30 08:47:24,402] INFO [Broker id=1] Leader unauthenticated.dcae_cl_output-0 with topic id Some(J4dPmBDKSZmSPWw9oiK7YQ) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | ssl.keystore.type = JKS 08:49:15 kafka | [2024-04-30 08:47:24,409] 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) 08:49:15 policy-apex-pdp | ssl.protocol = TLSv1.3 08:49:15 kafka | [2024-04-30 08:47:24,410] INFO [Broker id=1] Finished LeaderAndIsr request in 17ms correlationId 5 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | ssl.provider = null 08:49:15 kafka | [2024-04-30 08:47:24,410] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=J4dPmBDKSZmSPWw9oiK7YQ, 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) 08:49:15 policy-apex-pdp | ssl.secure.random.implementation = null 08:49:15 kafka | [2024-04-30 08:47:24,412] 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) 08:49:15 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 08:49:15 kafka | [2024-04-30 08:47:24,412] 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) 08:49:15 policy-apex-pdp | ssl.truststore.certificates = null 08:49:15 kafka | [2024-04-30 08:47:24,412] 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) 08:49:15 policy-apex-pdp | ssl.truststore.location = null 08:49:15 kafka | [2024-04-30 08:47:27,385] INFO [GroupCoordinator 1]: Stabilized group apex-grp generation 1 (__consumer_offsets-14) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | ssl.truststore.password = null 08:49:15 kafka | [2024-04-30 08:47:27,392] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp-3-ae4836af-394c-4723-92a8-4863a1c3222a for group apex-grp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | ssl.truststore.type = JKS 08:49:15 kafka | [2024-04-30 08:47:29,215] INFO Creating topic apex-cl-mgt with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 policy-apex-pdp | transaction.timeout.ms = 60000 08:49:15 kafka | [2024-04-30 08:47:29,226] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt,Some(MCWoZO_zRQyiLATw6uY_gw),Map(apex-cl-mgt-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | transactional.id = null 08:49:15 kafka | [2024-04-30 08:47:29,226] INFO [Controller id=1] New partition creation callback for apex-cl-mgt-0 (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 08:49:15 kafka | [2024-04-30 08:47:29,226] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.971+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 kafka | [2024-04-30 08:47:29,226] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 kafka | [2024-04-30 08:47:29,226] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 kafka | [2024-04-30 08:47:29,227] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 kafka | [2024-04-30 08:47:29,234] 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) 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 kafka | [2024-04-30 08:47:29,234] 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) 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 kafka | [2024-04-30 08:47:29,234] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 kafka | [2024-04-30 08:47:29,235] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 kafka | [2024-04-30 08:47:29,235] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:29,235] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.978+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 kafka | [2024-04-30 08:47:29,236] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 7 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | { 08:49:15 kafka | [2024-04-30 08:47:29,236] 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) 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 kafka | [2024-04-30 08:47:29,237] 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) 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 kafka | [2024-04-30 08:47:29,237] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt-0) (kafka.server.ReplicaFetcherManager) 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 kafka | [2024-04-30 08:47:29,237] 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) 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 kafka | [2024-04-30 08:47:29,241] 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$) 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 kafka | [2024-04-30 08:47:29,242] INFO Created log for partition apex-cl-mgt-0 in /var/lib/kafka/data/apex-cl-mgt-0 with properties {} (kafka.log.LogManager) 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 kafka | [2024-04-30 08:47:29,243] INFO [Partition apex-cl-mgt-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt-0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 kafka | [2024-04-30 08:47:29,243] INFO [Partition apex-cl-mgt-0 broker=1] Log loaded for partition apex-cl-mgt-0 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 kafka | [2024-04-30 08:47:29,244] INFO [Broker id=1] Leader apex-cl-mgt-0 with topic id Some(MCWoZO_zRQyiLATw6uY_gw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 kafka | [2024-04-30 08:47:29,248] 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) 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 kafka | [2024-04-30 08:47:29,249] INFO [Broker id=1] Finished LeaderAndIsr request in 13ms correlationId 7 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:29,250] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=MCWoZO_zRQyiLATw6uY_gw, 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) 08:49:15 policy-apex-pdp | 08:49:15 kafka | [2024-04-30 08:47:29,251] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.983+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": 1714466869966, "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} 08:49:15 kafka | [2024-04-30 08:47:29,251] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.983+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka version: 3.6.1 08:49:15 kafka | [2024-04-30 08:47:29,252] 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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.983+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka commitId: 5e3c2b738d253ff5 08:49:15 kafka | [2024-04-30 08:47:34,279] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-50814b19-7cdc-4b28-94b2-1b2220c217ed and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.984+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka startTimeMs: 1714466869983 08:49:15 kafka | [2024-04-30 08:47:34,280] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 0 (__consumer_offsets-3) (reason: Adding new member rdkafka-50814b19-7cdc-4b28-94b2-1b2220c217ed with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.987+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": "host7om8s", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466869986, "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"}}}] 08:49:15 kafka | [2024-04-30 08:47:37,282] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 1 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.992+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) 08:49:15 kafka | [2024-04-30 08:47:37,285] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-50814b19-7cdc-4b28-94b2-1b2220c217ed for group testgrp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:49.993+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 kafka | [2024-04-30 08:47:37,410] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 1 (__consumer_offsets-3) (reason: Removing member rdkafka-50814b19-7cdc-4b28-94b2-1b2220c217ed on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 kafka | [2024-04-30 08:47:37,411] INFO [GroupCoordinator 1]: Group testgrp with generation 2 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 kafka | [2024-04-30 08:47:37,413] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-50814b19-7cdc-4b28-94b2-1b2220c217ed, 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) 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 kafka | [2024-04-30 08:47:37,462] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-b9ac9f16-157c-4cae-b9b6-0cc0812234cc and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:47:37,463] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 2 (__consumer_offsets-3) (reason: Adding new member rdkafka-b9ac9f16-157c-4cae-b9b6-0cc0812234cc with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:47:40,464] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 3 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:47:40,467] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-b9ac9f16-157c-4cae-b9b6-0cc0812234cc for group testgrp for generation 3. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:47:40,474] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 3 (__consumer_offsets-3) (reason: Removing member rdkafka-b9ac9f16-157c-4cae-b9b6-0cc0812234cc on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 kafka | [2024-04-30 08:47:40,474] INFO [GroupCoordinator 1]: Group testgrp with generation 4 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:40,475] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-b9ac9f16-157c-4cae-b9b6-0cc0812234cc, 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) 08:49:15 policy-apex-pdp | payload { 08:49:15 kafka | [2024-04-30 08:47:40,529] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-03c0466e-613c-499d-a941-4d108d847244 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:40,530] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 4 (__consumer_offsets-3) (reason: Adding new member rdkafka-03c0466e-613c-499d-a941-4d108d847244 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 kafka | [2024-04-30 08:47:43,531] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 5 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:43,535] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-03c0466e-613c-499d-a941-4d108d847244 for group testgrp for generation 5. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | struct_value { 08:49:15 kafka | [2024-04-30 08:47:43,543] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 5 (__consumer_offsets-3) (reason: Removing member rdkafka-03c0466e-613c-499d-a941-4d108d847244 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:43,543] INFO [GroupCoordinator 1]: Group testgrp with generation 6 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 kafka | [2024-04-30 08:47:43,544] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-03c0466e-613c-499d-a941-4d108d847244, 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) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:44,748] 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-f911df0e-9cf9-41f0-94c2-0d90965dad87 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | string_value: "host7om8s" 08:49:15 kafka | [2024-04-30 08:47:44,751] 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-f911df0e-9cf9-41f0-94c2-0d90965dad87 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:47,753] INFO [GroupCoordinator 1]: Stabilized group apex-grp2 generation 1 (__consumer_offsets-8) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:47,756] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp2-4-f911df0e-9cf9-41f0-94c2-0d90965dad87 for group apex-grp2 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:49,994] INFO Creating topic apex-cl-mgt2 with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 kafka | [2024-04-30 08:47:50,015] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt2)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt2,Some(Lc4K3hcPTVatiQytWyzapw),Map(apex-cl-mgt2-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:50,015] INFO [Controller id=1] New partition creation callback for apex-cl-mgt2-0 (kafka.controller.KafkaController) 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 kafka | [2024-04-30 08:47:50,015] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt2-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,015] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,015] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NonExistentReplica to NewReplica (state.change.logger) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:50,015] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 kafka | [2024-04-30 08:47:50,025] 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) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:47:50,025] 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) 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 kafka | [2024-04-30 08:47:50,025] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,025] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,026] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NewReplica to OnlineReplica (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,026] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,026] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 9 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,027] 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) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,027] 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) 08:49:15 policy-apex-pdp | 08:49:15 kafka | [2024-04-30 08:47:50,027] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt2-0) (kafka.server.ReplicaFetcherManager) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.006+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 kafka | [2024-04-30 08:47:50,027] 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) 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 kafka | [2024-04-30 08:47:50,029] 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$) 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 kafka | [2024-04-30 08:47:50,030] INFO Created log for partition apex-cl-mgt2-0 in /var/lib/kafka/data/apex-cl-mgt2-0 with properties {} (kafka.log.LogManager) 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 kafka | [2024-04-30 08:47:50,030] INFO [Partition apex-cl-mgt2-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt2-0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 kafka | [2024-04-30 08:47:50,030] INFO [Partition apex-cl-mgt2-0 broker=1] Log loaded for partition apex-cl-mgt2-0 with initial high watermark 0 (kafka.cluster.Partition) 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 kafka | [2024-04-30 08:47:50,030] INFO [Broker id=1] Leader apex-cl-mgt2-0 with topic id Some(Lc4K3hcPTVatiQytWyzapw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:50,036] 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) 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 kafka | [2024-04-30 08:47:50,037] INFO [Broker id=1] Finished LeaderAndIsr request in 10ms correlationId 9 from controller 1 for 1 partitions (state.change.logger) 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 kafka | [2024-04-30 08:47:50,037] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=Lc4K3hcPTVatiQytWyzapw, 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) 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 kafka | [2024-04-30 08:47:50,039] 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) 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 kafka | [2024-04-30 08:47:50,039] 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) 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 kafka | [2024-04-30 08:47:50,040] 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) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:55,103] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-e4f46a04-ad54-4f9c-b30b-ea0078ef3c07 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | status { 08:49:15 kafka | [2024-04-30 08:47:55,104] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 6 (__consumer_offsets-3) (reason: Adding new member rdkafka-e4f46a04-ad54-4f9c-b30b-ea0078ef3c07 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | code: 200 08:49:15 kafka | [2024-04-30 08:47:58,106] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 7 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | message: "success" 08:49:15 kafka | [2024-04-30 08:47:58,108] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-e4f46a04-ad54-4f9c-b30b-ea0078ef3c07 for group testgrp for generation 7. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 kafka | [2024-04-30 08:47:58,218] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 7 (__consumer_offsets-3) (reason: Removing member rdkafka-e4f46a04-ad54-4f9c-b30b-ea0078ef3c07 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 kafka | [2024-04-30 08:47:58,218] INFO [GroupCoordinator 1]: Group testgrp with generation 8 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:47:58,219] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-e4f46a04-ad54-4f9c-b30b-ea0078ef3c07, 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) 08:49:15 policy-apex-pdp | payload { 08:49:15 kafka | [2024-04-30 08:47:58,273] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-309296e2-e6a9-458e-b7b9-0889c3ade5fe and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:47:58,275] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 8 (__consumer_offsets-3) (reason: Adding new member rdkafka-309296e2-e6a9-458e-b7b9-0889c3ade5fe with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 kafka | [2024-04-30 08:48:01,276] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 9 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:48:01,278] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-309296e2-e6a9-458e-b7b9-0889c3ade5fe for group testgrp for generation 9. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | struct_value { 08:49:15 kafka | [2024-04-30 08:48:01,284] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 9 (__consumer_offsets-3) (reason: Removing member rdkafka-309296e2-e6a9-458e-b7b9-0889c3ade5fe on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | fields { 08:49:15 kafka | [2024-04-30 08:48:01,284] INFO [GroupCoordinator 1]: Group testgrp with generation 10 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 kafka | [2024-04-30 08:48:01,285] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-309296e2-e6a9-458e-b7b9-0889c3ade5fe, 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) 08:49:15 policy-apex-pdp | value { 08:49:15 kafka | [2024-04-30 08:48:01,332] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-cf2b3eea-98ec-4a9a-a4c5-bad8a5877e6d and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.006+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.007+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.014+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} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.014+00:00|INFO|Metadata|kafka-producer-network-thread | producer-3] [Producer clientId=producer-3] Cluster ID: P0TWb4-XQzav3P0JIXq5_g 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.014+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-apex-pdp | { 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.035+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": 1714466869966, "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": "host7om8s"} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.037+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466870016, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.046+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": "hoste7w74k", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466870045, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.050+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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.051+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "hoste7w74k" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 kafka | [2024-04-30 08:48:01,333] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 10 (__consumer_offsets-3) (reason: Adding new member rdkafka-cf2b3eea-98ec-4a9a-a4c5-bad8a5877e6d with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:48:04,334] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 11 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:48:04,337] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-cf2b3eea-98ec-4a9a-a4c5-bad8a5877e6d for group testgrp for generation 11. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:48:04,344] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 11 (__consumer_offsets-3) (reason: Removing member rdkafka-cf2b3eea-98ec-4a9a-a4c5-bad8a5877e6d on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:48:04,344] INFO [GroupCoordinator 1]: Group testgrp with generation 12 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 08:49:15 kafka | [2024-04-30 08:48:04,345] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-cf2b3eea-98ec-4a9a-a4c5-bad8a5877e6d, 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) 08:49:15 kafka | [2024-04-30 08:48:06,724] INFO Creating topic unauthenticated.dcae_policy_example_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 08:49:15 kafka | [2024-04-30 08:48:06,735] 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(5CkR2p9TSr2F8_e06LwSxg),Map(unauthenticated.dcae_policy_example_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 08:49:15 kafka | [2024-04-30 08:48:06,735] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_policy_example_output-0 (kafka.controller.KafkaController) 08:49:15 kafka | [2024-04-30 08:48:06,735] 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) 08:49:15 kafka | [2024-04-30 08:48:06,735] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,735] 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) 08:49:15 kafka | [2024-04-30 08:48:06,736] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,743] 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) 08:49:15 kafka | [2024-04-30 08:48:06,743] 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) 08:49:15 kafka | [2024-04-30 08:48:06,743] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,744] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,744] 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) 08:49:15 kafka | [2024-04-30 08:48:06,744] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,745] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 11 from controller 1 for 1 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,745] 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) 08:49:15 kafka | [2024-04-30 08:48:06,746] 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) 08:49:15 kafka | [2024-04-30 08:48:06,746] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_policy_example_output-0) (kafka.server.ReplicaFetcherManager) 08:49:15 kafka | [2024-04-30 08:48:06,746] 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) 08:49:15 kafka | [2024-04-30 08:48:06,750] 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$) 08:49:15 kafka | [2024-04-30 08:48:06,750] 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) 08:49:15 kafka | [2024-04-30 08:48:06,751] 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) 08:49:15 kafka | [2024-04-30 08:48:06,751] 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) 08:49:15 kafka | [2024-04-30 08:48:06,752] INFO [Broker id=1] Leader unauthenticated.dcae_policy_example_output-0 with topic id Some(5CkR2p9TSr2F8_e06LwSxg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader None and previous leader epoch was -1. (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,756] 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) 08:49:15 kafka | [2024-04-30 08:48:06,757] INFO [Broker id=1] Finished LeaderAndIsr request in 12ms correlationId 11 from controller 1 for 1 partitions (state.change.logger) 08:49:15 kafka | [2024-04-30 08:48:06,757] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=5CkR2p9TSr2F8_e06LwSxg, 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) 08:49:15 kafka | [2024-04-30 08:48:06,759] 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) 08:49:15 kafka | [2024-04-30 08:48:06,759] 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) 08:49:15 kafka | [2024-04-30 08:48:06,759] 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) 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.067+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | status { 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.067+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:50.084+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466870075, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.061+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"}} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.062+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": 1714466875062, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.063+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"}} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.063+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": 1714466875063, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.064+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875063, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.066+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875064, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.067+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.074+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.075+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-apex-pdp | { 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.092+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": 1714466875063, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.094+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-apex-pdp | { 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.095+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": "host8mvddh", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875094, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.099+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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.103+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "host8mvddh" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.103+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": 1714466875063, "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": "host8mvddh"} 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.107+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": "hosty7bt04", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875106, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.111+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | status { 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.111+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.113+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) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.114+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "hosty7bt04" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.124+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | status { 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.124+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.127+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875126, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:55.132+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466875130, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:47:56.091+00:00|INFO|RequestLog|qtp739264372-29] 172.17.0.3 - policyadmin [30/Apr/2024:08:47:56 +0000] "GET /metrics HTTP/1.1" 200 22934 "-" "Prometheus/2.51.2" 08:49:15 policy-apex-pdp | [2024-04-30T08:48:04.381+00:00|INFO|RequestLog|qtp739264372-26] 172.17.0.1 - policyadmin [30/Apr/2024:08:48:04 +0000] "GET /metrics?null HTTP/1.1" 200 23836 "-" "python-requests/2.27.1" 08:49:15 policy-apex-pdp | [2024-04-30T08:48:04.424+00:00|INFO|RequestLog|qtp739264372-27] 172.17.0.1 - policyadmin [30/Apr/2024:08:48:04 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.089+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"}} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.089+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": 1714466885089, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.090+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885089, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.092+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.101+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-apex-pdp | { 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.103+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"}} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.106+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": 1714466885105, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.107+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": 1714466885105, "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} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.108+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885107, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.112+00:00|INFO|ApexRestRequestorConsumer|RestRequestRunner_0] event from request: { 08:49:15 policy-apex-pdp | "name": "SimpleCL_AAIRequestEvent", 08:49:15 policy-apex-pdp | "version": "0.0.1", 08:49:15 policy-apex-pdp | "nameSpace": "org.onap.policy.apex.simplecontrolloop", 08:49:15 policy-apex-pdp | "source": "APEX", 08:49:15 policy-apex-pdp | "target": "AAI", 08:49:15 policy-apex-pdp | "toscaPolicyState": "", 08:49:15 policy-apex-pdp | "aaifield": null 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.113+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": "hostq8tvnq", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885112, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.117+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 08:49:15 policy-apex-pdp | { 08:49:15 policy-apex-pdp | "equip-vendor":"Vendor-A", 08:49:15 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 08:49:15 policy-apex-pdp | "in-maint":false, 08:49:15 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 08:49:15 policy-apex-pdp | "resource-version":"1570746989505", 08:49:15 policy-apex-pdp | "nf-role":"ToR DC101", 08:49:15 policy-apex-pdp | "equip-type":"Router", 08:49:15 policy-apex-pdp | "equip-model":"model-123456", 08:49:15 policy-apex-pdp | "frame-id":"3", 08:49:15 policy-apex-pdp | "pnf-name":"demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.120+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) 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.121+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "hostq8tvnq" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.122+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": 1714466885105, "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": "hostq8tvnq"} 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.130+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": "hostm5yql5", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885130, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.134+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | status { 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.135+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.135+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) 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.135+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 08:49:15 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 08:49:15 policy-apex-pdp | originatorId: "POLICY" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-request" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "hostname" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "hostm5yql5" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "IP" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "10.10.10.10" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "pnfName" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | string_value: "demo-pnf" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.143+00:00|INFO|network|grpc-default-executor-0] [IN|REST|gRPC://grpc-sim:6680/] 08:49:15 policy-apex-pdp | commonHeader { 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 08:49:15 policy-apex-pdp | requestId: "123456" 08:49:15 policy-apex-pdp | subRequestId: "123-123" 08:49:15 policy-apex-pdp | originatorId: "CDS" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | actionIdentifiers { 08:49:15 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 08:49:15 policy-apex-pdp | blueprintVersion: "1.0.4" 08:49:15 policy-apex-pdp | actionName: "update-config" 08:49:15 policy-apex-pdp | mode: "sync" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | status { 08:49:15 policy-apex-pdp | code: 200 08:49:15 policy-apex-pdp | message: "success" 08:49:15 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 08:49:15 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | payload { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "update-config-response" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | struct_value { 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "execute-command-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 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" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | fields { 08:49:15 policy-apex-pdp | key: "prepare-environment-logs" 08:49:15 policy-apex-pdp | value { 08:49:15 policy-apex-pdp | list_value { 08:49:15 policy-apex-pdp | values { 08:49:15 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | } 08:49:15 policy-apex-pdp | 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.143+00:00|INFO|CdsProcessorHandler|grpc-default-executor-0] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.144+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885143, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.150+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1714466885149, "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"}}}] 08:49:15 policy-apex-pdp | [2024-04-30T08:48:05.721+00:00|INFO|RequestLog|qtp1321105650-57] 172.17.0.1 - - [30/Apr/2024:08:48:05 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" 08:49:15 policy-apex-pdp | [2024-04-30T08:48:56.083+00:00|INFO|RequestLog|qtp739264372-32] 172.17.0.3 - policyadmin [30/Apr/2024:08:48:56 +0000] "GET /metrics HTTP/1.1" 200 24786 "-" "Prometheus/2.51.2" 08:49:15 ++ echo 'Tearing down containers...' 08:49:15 Tearing down containers... 08:49:15 ++ docker-compose down -v --remove-orphans 08:49:16 Stopping policy-apex-pdp ... 08:49:16 Stopping policy-pap ... 08:49:16 Stopping kafka ... 08:49:16 Stopping policy-api ... 08:49:16 Stopping grafana ... 08:49:16 Stopping simulator ... 08:49:16 Stopping prometheus ... 08:49:16 Stopping zookeeper ... 08:49:16 Stopping mariadb ... 08:49:17 Stopping grafana ... done 08:49:17 Stopping prometheus ... done 08:49:26 Stopping policy-apex-pdp ... done 08:49:37 Stopping policy-pap ... done 08:49:37 Stopping simulator ... done 08:49:37 Stopping mariadb ... done 08:49:38 Stopping kafka ... done 08:49:38 Stopping zookeeper ... done 08:49:47 Stopping policy-api ... done 08:49:47 Removing policy-apex-pdp ... 08:49:47 Removing policy-pap ... 08:49:47 Removing kafka ... 08:49:47 Removing policy-api ... 08:49:47 Removing policy-db-migrator ... 08:49:47 Removing grafana ... 08:49:47 Removing simulator ... 08:49:47 Removing prometheus ... 08:49:47 Removing zookeeper ... 08:49:47 Removing mariadb ... 08:49:47 Removing simulator ... done 08:49:47 Removing kafka ... done 08:49:47 Removing policy-db-migrator ... done 08:49:47 Removing policy-apex-pdp ... done 08:49:47 Removing grafana ... done 08:49:47 Removing prometheus ... done 08:49:47 Removing policy-api ... done 08:49:47 Removing mariadb ... done 08:49:47 Removing policy-pap ... done 08:49:47 Removing zookeeper ... done 08:49:47 Removing network compose_default 08:49:47 ++ cd /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp 08:49:47 + load_set 08:49:47 + _setopts=hxB 08:49:47 ++ echo braceexpand:hashall:interactive-comments:xtrace 08:49:47 ++ tr : ' ' 08:49:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:47 + set +o braceexpand 08:49:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:47 + set +o hashall 08:49:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:47 + set +o interactive-comments 08:49:47 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 08:49:47 + set +o xtrace 08:49:47 ++ echo hxB 08:49:47 ++ sed 's/./& /g' 08:49:47 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:49:47 + set +h 08:49:47 + for i in $(echo "$_setopts" | sed 's/./& /g') 08:49:47 + set +x 08:49:47 + rsync /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/compose/docker_compose.log /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp 08:49:47 + [[ -n /tmp/tmp.xsYjf822ns ]] 08:49:47 + rsync -av /tmp/tmp.xsYjf822ns/ /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/csit/archives/apex-pdp 08:49:47 sending incremental file list 08:49:47 ./ 08:49:47 log.html 08:49:47 output.xml 08:49:47 report.html 08:49:47 testplan.txt 08:49:47 08:49:47 sent 1,739,203 bytes received 95 bytes 3,478,596.00 bytes/sec 08:49:47 total size is 1,738,457 speedup is 1.00 08:49:47 + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/models 08:49:47 + exit 0 08:49:50 $ ssh-agent -k 08:49:50 unset SSH_AUTH_SOCK; 08:49:50 unset SSH_AGENT_PID; 08:49:50 echo Agent pid 2125 killed; 08:49:50 [ssh-agent] Stopped. 08:49:50 Robot results publisher started... 08:49:50 INFO: Checking test criticality is deprecated and will be dropped in a future release! 08:49:50 -Parsing output xml: 08:49:50 Done! 08:49:50 WARNING! Could not find file: **/log.html 08:49:50 WARNING! Could not find file: **/report.html 08:49:50 -Copying log files to build dir: 08:49:50 Done! 08:49:50 -Assigning results to build: 08:49:50 Done! 08:49:50 -Checking thresholds: 08:49:50 Done! 08:49:50 Done publishing Robot results. 08:49:50 [PostBuildScript] - [INFO] Executing post build scripts. 08:49:50 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins7273054145921287108.sh 08:49:50 ---> sysstat.sh 08:49:51 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins9409101978945345696.sh 08:49:51 ---> package-listing.sh 08:49:51 ++ facter osfamily 08:49:51 ++ tr '[:upper:]' '[:lower:]' 08:49:51 + OS_FAMILY=debian 08:49:51 + workspace=/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp 08:49:51 + START_PACKAGES=/tmp/packages_start.txt 08:49:51 + END_PACKAGES=/tmp/packages_end.txt 08:49:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:49:51 + PACKAGES=/tmp/packages_start.txt 08:49:51 + '[' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:49:51 + PACKAGES=/tmp/packages_end.txt 08:49:51 + case "${OS_FAMILY}" in 08:49:51 + dpkg -l 08:49:51 + grep '^ii' 08:49:51 + '[' -f /tmp/packages_start.txt ']' 08:49:51 + '[' -f /tmp/packages_end.txt ']' 08:49:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:51 + '[' /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp ']' 08:49:51 + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/archives/ 08:49:51 + 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/ 08:49:51 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins14992924235010402810.sh 08:49:51 ---> capture-instance-metadata.sh 08:49:51 Setup pyenv: 08:49:51 system 08:49:51 3.8.13 08:49:51 3.9.13 08:49:51 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) 08:49:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Mpip from file:/tmp/.os_lf_venv 08:49:53 lf-activate-venv(): INFO: Installing: lftools 08:50:03 lf-activate-venv(): INFO: Adding /tmp/venv-Mpip/bin to PATH 08:50:03 INFO: Running in OpenStack, capturing instance metadata 08:50:04 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins12147897583585804985.sh 08:50:04 provisioning config files... 08:50:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp@tmp/config1187047694351533090tmp 08:50:04 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 08:50:04 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 08:50:04 [EnvInject] - Injecting environment variables from a build step. 08:50:04 [EnvInject] - Injecting as environment variables the properties content 08:50:04 SERVER_ID=logs 08:50:04 08:50:04 [EnvInject] - Variables injected successfully. 08:50:04 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins6550848464758152737.sh 08:50:04 ---> create-netrc.sh 08:50:04 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins13540044859737016548.sh 08:50:04 ---> python-tools-install.sh 08:50:04 Setup pyenv: 08:50:04 system 08:50:04 3.8.13 08:50:04 3.9.13 08:50:04 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) 08:50:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Mpip from file:/tmp/.os_lf_venv 08:50:05 lf-activate-venv(): INFO: Installing: lftools 08:50:14 lf-activate-venv(): INFO: Adding /tmp/venv-Mpip/bin to PATH 08:50:14 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins1982290373090687697.sh 08:50:14 ---> sudo-logs.sh 08:50:14 Archiving 'sudo' log.. 08:50:14 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash /tmp/jenkins7168093913582978160.sh 08:50:14 ---> job-cost.sh 08:50:14 Setup pyenv: 08:50:14 system 08:50:14 3.8.13 08:50:14 3.9.13 08:50:14 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) 08:50:14 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Mpip from file:/tmp/.os_lf_venv 08:50:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 08:50:20 lf-activate-venv(): INFO: Adding /tmp/venv-Mpip/bin to PATH 08:50:20 INFO: No Stack... 08:50:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:50:21 INFO: Archiving Costs 08:50:21 [policy-apex-pdp-master-project-csit-verify-apex-pdp] $ /bin/bash -l /tmp/jenkins16071054742764416715.sh 08:50:21 ---> logs-deploy.sh 08:50:21 Setup pyenv: 08:50:21 system 08:50:21 3.8.13 08:50:21 3.9.13 08:50:21 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-verify-apex-pdp/.python-version) 08:50:21 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Mpip from file:/tmp/.os_lf_venv 08:50:22 lf-activate-venv(): INFO: Installing: lftools 08:50:31 lf-activate-venv(): INFO: Adding /tmp/venv-Mpip/bin to PATH 08:50:31 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-apex-pdp-master-project-csit-verify-apex-pdp/521 08:50:31 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 08:50:32 Archives upload complete. 08:50:32 INFO: archiving logs to Nexus 08:50:33 ---> uname -a: 08:50:33 Linux prd-ubuntu1804-docker-8c-8g-36379 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 08:50:33 08:50:33 08:50:33 ---> lscpu: 08:50:33 Architecture: x86_64 08:50:33 CPU op-mode(s): 32-bit, 64-bit 08:50:33 Byte Order: Little Endian 08:50:33 CPU(s): 8 08:50:33 On-line CPU(s) list: 0-7 08:50:33 Thread(s) per core: 1 08:50:33 Core(s) per socket: 1 08:50:33 Socket(s): 8 08:50:33 NUMA node(s): 1 08:50:33 Vendor ID: AuthenticAMD 08:50:33 CPU family: 23 08:50:33 Model: 49 08:50:33 Model name: AMD EPYC-Rome Processor 08:50:33 Stepping: 0 08:50:33 CPU MHz: 2799.998 08:50:33 BogoMIPS: 5599.99 08:50:33 Virtualization: AMD-V 08:50:33 Hypervisor vendor: KVM 08:50:33 Virtualization type: full 08:50:33 L1d cache: 32K 08:50:33 L1i cache: 32K 08:50:33 L2 cache: 512K 08:50:33 L3 cache: 16384K 08:50:33 NUMA node0 CPU(s): 0-7 08:50:33 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 08:50:33 08:50:33 08:50:33 ---> nproc: 08:50:33 8 08:50:33 08:50:33 08:50:33 ---> df -h: 08:50:33 Filesystem Size Used Avail Use% Mounted on 08:50:33 udev 16G 0 16G 0% /dev 08:50:33 tmpfs 3.2G 708K 3.2G 1% /run 08:50:33 /dev/vda1 155G 14G 142G 9% / 08:50:33 tmpfs 16G 0 16G 0% /dev/shm 08:50:33 tmpfs 5.0M 0 5.0M 0% /run/lock 08:50:33 tmpfs 16G 0 16G 0% /sys/fs/cgroup 08:50:33 /dev/vda15 105M 4.4M 100M 5% /boot/efi 08:50:33 tmpfs 3.2G 0 3.2G 0% /run/user/1001 08:50:33 08:50:33 08:50:33 ---> free -m: 08:50:33 total used free shared buff/cache available 08:50:33 Mem: 32167 866 25351 0 5949 30845 08:50:33 Swap: 1023 0 1023 08:50:33 08:50:33 08:50:33 ---> ip addr: 08:50:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 08:50:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:50:33 inet 127.0.0.1/8 scope host lo 08:50:33 valid_lft forever preferred_lft forever 08:50:33 inet6 ::1/128 scope host 08:50:33 valid_lft forever preferred_lft forever 08:50:33 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 08:50:33 link/ether fa:16:3e:b5:97:29 brd ff:ff:ff:ff:ff:ff 08:50:33 inet 10.30.107.161/23 brd 10.30.107.255 scope global dynamic ens3 08:50:33 valid_lft 85871sec preferred_lft 85871sec 08:50:33 inet6 fe80::f816:3eff:feb5:9729/64 scope link 08:50:33 valid_lft forever preferred_lft forever 08:50:33 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 08:50:33 link/ether 02:42:11:53:c0:9e brd ff:ff:ff:ff:ff:ff 08:50:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:50:33 valid_lft forever preferred_lft forever 08:50:33 08:50:33 08:50:33 ---> sar -b -r -n DEV: 08:50:33 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-36379) 04/30/24 _x86_64_ (8 CPU) 08:50:33 08:50:33 08:41:47 LINUX RESTART (8 CPU) 08:50:33 08:50:33 08:42:01 tps rtps wtps bread/s bwrtn/s 08:50:33 08:43:02 308.45 74.54 233.91 5319.51 53595.60 08:50:33 08:44:01 120.06 27.37 92.70 2116.66 24904.52 08:50:33 08:45:01 109.90 9.78 100.12 1718.78 26314.01 08:50:33 08:46:01 156.87 0.12 156.76 11.60 95832.29 08:50:33 08:47:01 353.91 12.76 341.16 791.12 56241.80 08:50:33 08:48:01 21.85 0.52 21.33 22.80 14912.15 08:50:33 08:49:01 12.68 0.00 12.68 0.00 14096.57 08:50:33 08:50:01 66.64 0.93 65.71 51.06 16699.42 08:50:33 Average: 143.41 15.73 127.68 1253.09 37813.43 08:50:33 08:50:33 08:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:50:33 08:43:02 30313456 31677272 2625764 7.97 52016 1632888 1450076 4.27 864620 1488636 62492 08:50:33 08:44:01 29962656 31688576 2976564 9.04 78480 1949784 1430628 4.21 885452 1779248 127156 08:50:33 08:45:01 27102868 31618716 5836352 17.72 120940 4593180 1570936 4.62 1046256 4330824 2448152 08:50:33 08:46:01 26028860 31640296 6910360 20.98 139524 5607836 1488372 4.38 1045484 5344140 942200 08:50:33 08:47:01 23948156 29721220 8991064 27.30 155400 5734836 9061740 26.66 3136220 5256100 1380 08:50:33 08:48:01 23616328 29397820 9322892 28.30 155896 5741088 8960384 26.36 3478100 5240760 248 08:50:33 08:49:01 23637324 29421076 9301896 28.24 156040 5743048 8864368 26.08 3454592 5241804 264 08:50:33 08:50:01 25927312 31545080 7011908 21.29 157564 5593232 1588772 4.67 1383496 5090664 6092 08:50:33 Average: 26317120 30838757 6622100 20.10 126982 4574486 4301910 12.66 1911778 4221522 448498 08:50:33 08:50:33 08:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:50:33 08:43:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:43:02 ens3 362.01 260.36 965.06 74.23 0.00 0.00 0.00 0.00 08:50:33 08:43:02 lo 1.93 1.93 0.20 0.20 0.00 0.00 0.00 0.00 08:50:33 08:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:44:01 ens3 54.01 37.91 922.07 7.73 0.00 0.00 0.00 0.00 08:50:33 08:44:01 lo 1.36 1.36 0.15 0.15 0.00 0.00 0.00 0.00 08:50:33 08:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:45:01 ens3 672.59 357.92 17551.66 28.27 0.00 0.00 0.00 0.00 08:50:33 08:45:01 lo 8.93 8.93 0.89 0.89 0.00 0.00 0.00 0.00 08:50:33 08:45:01 br-2cef8de078ac 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:46:01 ens3 368.32 186.20 12398.51 13.99 0.00 0.00 0.00 0.00 08:50:33 08:46:01 lo 4.13 4.13 0.38 0.38 0.00 0.00 0.00 0.00 08:50:33 08:46:01 br-2cef8de078ac 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:47:01 vethf4c12e3 0.00 0.41 0.00 0.02 0.00 0.00 0.00 0.00 08:50:33 08:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:47:01 veth9ac36dc 0.54 0.91 0.06 0.32 0.00 0.00 0.00 0.00 08:50:33 08:47:01 veth9afafca 0.88 1.07 0.06 0.06 0.00 0.00 0.00 0.00 08:50:33 08:48:01 vethf4c12e3 0.73 0.93 0.18 0.12 0.00 0.00 0.00 0.00 08:50:33 08:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:48:01 veth9ac36dc 0.25 0.27 0.02 0.01 0.00 0.00 0.00 0.00 08:50:33 08:48:01 veth9afafca 11.25 12.85 2.19 6.21 0.00 0.00 0.00 0.00 08:50:33 08:49:01 vethf4c12e3 0.17 0.28 0.05 0.04 0.00 0.00 0.00 0.00 08:50:33 08:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:49:01 veth9ac36dc 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:49:01 veth9afafca 13.31 16.05 2.67 1.39 0.00 0.00 0.00 0.00 08:50:33 08:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 08:50:01 ens3 1531.59 904.15 31898.41 183.59 0.00 0.00 0.00 0.00 08:50:33 08:50:01 lo 50.19 50.19 39.70 39.70 0.00 0.00 0.00 0.00 08:50:33 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:50:33 Average: ens3 191.37 112.76 4003.20 22.96 0.00 0.00 0.00 0.00 08:50:33 Average: lo 5.92 5.92 4.95 4.95 0.00 0.00 0.00 0.00 08:50:33 08:50:33 08:50:33 ---> sar -P ALL: 08:50:33 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-36379) 04/30/24 _x86_64_ (8 CPU) 08:50:33 08:50:33 08:41:47 LINUX RESTART (8 CPU) 08:50:33 08:50:33 08:42:01 CPU %user %nice %system %iowait %steal %idle 08:50:33 08:43:02 all 8.18 0.00 1.18 6.63 0.04 83.97 08:50:33 08:43:02 0 9.01 0.00 1.22 2.43 0.03 87.31 08:50:33 08:43:02 1 4.41 0.00 1.71 14.62 0.05 79.21 08:50:33 08:43:02 2 12.34 0.00 2.43 11.45 0.03 73.75 08:50:33 08:43:02 3 5.78 0.00 0.80 0.75 0.03 92.63 08:50:33 08:43:02 4 6.81 0.00 0.64 13.41 0.03 79.11 08:50:33 08:43:02 5 10.33 0.00 1.04 4.46 0.05 84.12 08:50:33 08:43:02 6 6.75 0.00 0.62 4.89 0.07 87.67 08:50:33 08:43:02 7 10.08 0.00 0.95 0.99 0.03 87.95 08:50:33 08:44:01 all 9.51 0.00 0.78 3.37 0.03 86.31 08:50:33 08:44:01 0 7.60 0.00 0.54 0.49 0.03 91.33 08:50:33 08:44:01 1 6.06 0.00 1.07 10.85 0.03 81.98 08:50:33 08:44:01 2 7.81 0.00 0.78 0.54 0.02 90.85 08:50:33 08:44:01 3 5.30 0.00 0.56 0.82 0.03 93.28 08:50:33 08:44:01 4 5.20 0.00 0.58 0.61 0.02 93.59 08:50:33 08:44:01 5 19.29 0.00 1.04 1.46 0.07 78.15 08:50:33 08:44:01 6 0.22 0.00 0.10 9.50 0.00 90.18 08:50:33 08:44:01 7 24.57 0.00 1.54 2.75 0.05 71.09 08:50:33 08:45:01 all 12.01 0.00 3.30 4.30 0.05 80.34 08:50:33 08:45:01 0 6.99 0.00 3.19 0.62 0.05 89.15 08:50:33 08:45:01 1 6.55 0.00 2.54 7.24 0.05 83.62 08:50:33 08:45:01 2 23.98 0.00 2.95 3.79 0.08 69.19 08:50:33 08:45:01 3 10.12 0.00 2.63 0.32 0.05 86.88 08:50:33 08:45:01 4 8.46 0.00 3.78 0.95 0.03 86.78 08:50:33 08:45:01 5 18.36 0.00 2.95 13.35 0.07 65.27 08:50:33 08:45:01 6 8.38 0.00 4.05 7.65 0.07 79.86 08:50:33 08:45:01 7 13.26 0.00 4.30 0.42 0.05 81.97 08:50:33 08:46:01 all 5.39 0.00 2.36 13.76 0.05 78.43 08:50:33 08:46:01 0 3.05 0.00 1.38 13.44 0.03 82.10 08:50:33 08:46:01 1 7.30 0.00 2.10 8.48 0.07 82.05 08:50:33 08:46:01 2 6.18 0.00 2.00 6.51 0.03 85.28 08:50:33 08:46:01 3 6.17 0.00 3.24 52.08 0.07 38.44 08:50:33 08:46:01 4 4.68 0.00 2.85 0.07 0.03 92.37 08:50:33 08:46:01 5 5.17 0.00 1.56 12.27 0.07 80.93 08:50:33 08:46:01 6 5.18 0.00 2.91 7.80 0.03 84.08 08:50:33 08:46:01 7 5.36 0.00 2.85 9.65 0.05 82.10 08:50:33 08:47:01 all 24.44 0.00 3.41 6.10 0.07 65.97 08:50:33 08:47:01 0 22.82 0.00 3.25 0.39 0.07 73.47 08:50:33 08:47:01 1 32.53 0.00 4.49 21.16 0.09 41.74 08:50:33 08:47:01 2 28.96 0.00 3.81 3.21 0.07 63.95 08:50:33 08:47:01 3 26.65 0.00 3.95 0.85 0.07 68.48 08:50:33 08:47:01 4 26.32 0.00 3.63 1.04 0.07 68.94 08:50:33 08:47:01 5 25.06 0.00 3.23 3.45 0.07 68.20 08:50:33 08:47:01 6 15.82 0.00 2.38 17.56 0.05 64.19 08:50:33 08:47:01 7 17.42 0.00 2.56 1.26 0.09 78.67 08:50:33 08:48:01 all 10.63 0.00 1.05 0.98 0.09 87.26 08:50:33 08:48:01 0 8.70 0.00 0.95 0.02 0.10 90.22 08:50:33 08:48:01 1 11.09 0.00 1.22 0.23 0.10 87.35 08:50:33 08:48:01 2 11.75 0.00 1.14 0.08 0.10 86.93 08:50:33 08:48:01 3 10.36 0.00 1.00 0.12 0.08 88.43 08:50:33 08:48:01 4 11.73 0.00 1.19 0.02 0.08 86.98 08:50:33 08:48:01 5 10.60 0.00 1.11 0.02 0.08 88.19 08:50:33 08:48:01 6 10.61 0.00 0.99 7.28 0.08 81.04 08:50:33 08:48:01 7 10.14 0.00 0.80 0.08 0.08 88.89 08:50:33 08:49:01 all 2.14 0.00 0.31 1.54 0.10 95.91 08:50:33 08:49:01 0 2.30 0.00 0.30 0.00 0.08 97.31 08:50:33 08:49:01 1 2.65 0.00 0.25 0.20 0.10 96.79 08:50:33 08:49:01 2 1.74 0.00 0.30 0.00 0.08 97.88 08:50:33 08:49:01 3 1.67 0.00 0.28 9.65 0.12 88.28 08:50:33 08:49:01 4 1.60 0.00 0.30 0.08 0.12 97.90 08:50:33 08:49:01 5 2.26 0.00 0.30 0.00 0.05 97.39 08:50:33 08:49:01 6 2.46 0.00 0.42 2.39 0.08 94.65 08:50:33 08:49:01 7 2.40 0.00 0.34 0.00 0.15 97.12 08:50:33 08:50:01 all 4.02 0.00 0.72 1.63 0.06 93.58 08:50:33 08:50:01 0 2.80 0.00 0.88 0.18 0.07 96.06 08:50:33 08:50:01 1 2.34 0.00 0.75 0.60 0.07 96.24 08:50:33 08:50:01 2 2.20 0.00 0.58 0.65 0.05 96.51 08:50:33 08:50:01 3 1.31 0.00 0.62 10.45 0.07 87.56 08:50:33 08:50:01 4 3.19 0.00 0.58 0.20 0.05 95.98 08:50:33 08:50:01 5 5.27 0.00 0.74 0.05 0.05 93.89 08:50:33 08:50:01 6 2.05 0.00 0.78 0.07 0.05 97.05 08:50:33 08:50:01 7 13.00 0.00 0.79 0.84 0.07 85.31 08:50:33 Average: all 9.50 0.00 1.63 4.78 0.06 84.02 08:50:33 Average: 0 7.88 0.00 1.46 2.20 0.06 88.40 08:50:33 Average: 1 9.06 0.00 1.76 7.88 0.07 81.23 08:50:33 Average: 2 11.82 0.00 1.74 3.28 0.06 83.10 08:50:33 Average: 3 8.39 0.00 1.63 9.38 0.07 80.53 08:50:33 Average: 4 8.45 0.00 1.69 2.05 0.05 87.75 08:50:33 Average: 5 11.99 0.00 1.49 4.38 0.06 82.08 08:50:33 Average: 6 6.42 0.00 1.53 7.11 0.05 84.89 08:50:33 Average: 7 12.00 0.00 1.76 1.99 0.07 84.17 08:50:33 08:50:33 08:50:33