14:29:00 Started by timer 14:29:00 Running as SYSTEM 14:29:00 [EnvInject] - Loading node environment variables. 14:29:00 Building remotely on prd-ubuntu1804-docker-8c-8g-13725 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres 14:29:00 [ssh-agent] Looking for ssh-agent implementation... 14:29:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:29:00 $ ssh-agent 14:29:00 SSH_AUTH_SOCK=/tmp/ssh-couavSOEpimD/agent.2093 14:29:00 SSH_AGENT_PID=2095 14:29:00 [ssh-agent] Started. 14:29:00 Running ssh-add (command line suppressed) 14:29:00 Identity added: /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres@tmp/private_key_12550563720725629821.key (/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres@tmp/private_key_12550563720725629821.key) 14:29:00 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 14:29:00 The recommended git tool is: NONE 14:29:02 using credential onap-jenkins-ssh 14:29:02 Wiping out workspace first. 14:29:02 Cloning the remote Git repository 14:29:02 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 14:29:02 > git init /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres # timeout=10 14:29:02 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 14:29:02 > git --version # timeout=10 14:29:02 > git --version # 'git version 2.17.1' 14:29:02 using GIT_SSH to set credentials Gerrit user 14:29:02 Verifying host key using manually-configured host key entries 14:29:02 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 14:29:02 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 14:29:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:29:03 Avoid second fetch 14:29:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 14:29:03 Checking out Revision caa7adc30ed054d2a5cfea4a1b9a265d5cfb6785 (refs/remotes/origin/master) 14:29:03 > git config core.sparsecheckout # timeout=10 14:29:03 > git checkout -f caa7adc30ed054d2a5cfea4a1b9a265d5cfb6785 # timeout=30 14:29:03 Commit message: "Remove Dmaap configurations from CSITs" 14:29:03 > git rev-list --no-walk caa7adc30ed054d2a5cfea4a1b9a265d5cfb6785 # timeout=10 14:29:03 provisioning config files... 14:29:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 14:29:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 14:29:03 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins7861481596298222375.sh 14:29:03 ---> python-tools-install.sh 14:29:03 Setup pyenv: 14:29:03 * system (set by /opt/pyenv/version) 14:29:03 * 3.8.13 (set by /opt/pyenv/version) 14:29:03 * 3.9.13 (set by /opt/pyenv/version) 14:29:03 * 3.10.6 (set by /opt/pyenv/version) 14:29:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FFPI 14:29:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 14:29:11 lf-activate-venv(): INFO: Installing: lftools 14:29:41 lf-activate-venv(): INFO: Adding /tmp/venv-FFPI/bin to PATH 14:29:41 Generating Requirements File 14:30:11 Python 3.10.6 14:30:11 pip 23.3.2 from /tmp/venv-FFPI/lib/python3.10/site-packages/pip (python 3.10) 14:30:12 appdirs==1.4.4 14:30:12 argcomplete==3.2.1 14:30:12 aspy.yaml==1.3.0 14:30:12 attrs==23.2.0 14:30:12 autopage==0.5.2 14:30:12 beautifulsoup4==4.12.3 14:30:12 boto3==1.34.23 14:30:12 botocore==1.34.23 14:30:12 bs4==0.0.2 14:30:12 cachetools==5.3.2 14:30:12 certifi==2023.11.17 14:30:12 cffi==1.16.0 14:30:12 cfgv==3.4.0 14:30:12 chardet==5.2.0 14:30:12 charset-normalizer==3.3.2 14:30:12 click==8.1.7 14:30:12 cliff==4.5.0 14:30:12 cmd2==2.4.3 14:30:12 cryptography==3.3.2 14:30:12 debtcollector==2.5.0 14:30:12 decorator==5.1.1 14:30:12 defusedxml==0.7.1 14:30:12 Deprecated==1.2.14 14:30:12 distlib==0.3.8 14:30:12 dnspython==2.5.0 14:30:12 docker==4.2.2 14:30:12 dogpile.cache==1.3.0 14:30:12 email-validator==2.1.0.post1 14:30:12 filelock==3.13.1 14:30:12 future==0.18.3 14:30:12 gitdb==4.0.11 14:30:12 GitPython==3.1.41 14:30:12 google-auth==2.26.2 14:30:12 httplib2==0.22.0 14:30:12 identify==2.5.33 14:30:12 idna==3.6 14:30:12 importlib-resources==1.5.0 14:30:12 iso8601==2.1.0 14:30:12 Jinja2==3.1.3 14:30:12 jmespath==1.0.1 14:30:12 jsonpatch==1.33 14:30:12 jsonpointer==2.4 14:30:12 jsonschema==4.21.1 14:30:12 jsonschema-specifications==2023.12.1 14:30:12 keystoneauth1==5.5.0 14:30:12 kubernetes==29.0.0 14:30:12 lftools==0.37.8 14:30:12 lxml==5.1.0 14:30:12 MarkupSafe==2.1.4 14:30:12 msgpack==1.0.7 14:30:12 multi_key_dict==2.0.3 14:30:12 munch==4.0.0 14:30:12 netaddr==0.10.1 14:30:12 netifaces==0.11.0 14:30:12 niet==1.4.2 14:30:12 nodeenv==1.8.0 14:30:12 oauth2client==4.1.3 14:30:12 oauthlib==3.2.2 14:30:12 openstacksdk==0.62.0 14:30:12 os-client-config==2.1.0 14:30:12 os-service-types==1.7.0 14:30:12 osc-lib==3.0.0 14:30:12 oslo.config==9.3.0 14:30:12 oslo.context==5.3.0 14:30:12 oslo.i18n==6.2.0 14:30:12 oslo.log==5.4.0 14:30:12 oslo.serialization==5.3.0 14:30:12 oslo.utils==7.0.0 14:30:12 packaging==23.2 14:30:12 pbr==6.0.0 14:30:12 platformdirs==4.1.0 14:30:12 prettytable==3.9.0 14:30:12 pyasn1==0.5.1 14:30:12 pyasn1-modules==0.3.0 14:30:12 pycparser==2.21 14:30:12 pygerrit2==2.0.15 14:30:12 PyGithub==2.1.1 14:30:12 pyinotify==0.9.6 14:30:12 PyJWT==2.8.0 14:30:12 PyNaCl==1.5.0 14:30:12 pyparsing==2.4.7 14:30:12 pyperclip==1.8.2 14:30:12 pyrsistent==0.20.0 14:30:12 python-cinderclient==9.4.0 14:30:12 python-dateutil==2.8.2 14:30:12 python-heatclient==3.4.0 14:30:12 python-jenkins==1.8.2 14:30:12 python-keystoneclient==5.3.0 14:30:12 python-magnumclient==4.3.0 14:30:12 python-novaclient==18.4.0 14:30:12 python-openstackclient==6.0.0 14:30:12 python-swiftclient==4.4.0 14:30:12 pytz==2023.3.post1 14:30:12 PyYAML==6.0.1 14:30:12 referencing==0.32.1 14:30:12 requests==2.31.0 14:30:12 requests-oauthlib==1.3.1 14:30:12 requestsexceptions==1.4.0 14:30:12 rfc3986==2.0.0 14:30:12 rpds-py==0.17.1 14:30:12 rsa==4.9 14:30:12 ruamel.yaml==0.18.5 14:30:12 ruamel.yaml.clib==0.2.8 14:30:12 s3transfer==0.10.0 14:30:12 simplejson==3.19.2 14:30:12 six==1.16.0 14:30:12 smmap==5.0.1 14:30:12 soupsieve==2.5 14:30:12 stevedore==5.1.0 14:30:12 tabulate==0.9.0 14:30:12 toml==0.10.2 14:30:12 tomlkit==0.12.3 14:30:12 tqdm==4.66.1 14:30:12 typing_extensions==4.9.0 14:30:12 tzdata==2023.4 14:30:12 urllib3==1.26.18 14:30:12 virtualenv==20.25.0 14:30:12 wcwidth==0.2.13 14:30:12 websocket-client==1.7.0 14:30:12 wrapt==1.16.0 14:30:12 xdg==6.0.0 14:30:12 xmltodict==0.13.0 14:30:12 yq==3.2.3 14:30:12 [EnvInject] - Injecting environment variables from a build step. 14:30:12 [EnvInject] - Injecting as environment variables the properties content 14:30:12 SET_JDK_VERSION=openjdk17 14:30:12 GIT_URL="git://cloud.onap.org/mirror" 14:30:12 14:30:12 [EnvInject] - Variables injected successfully. 14:30:12 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/sh /tmp/jenkins6696609955673471089.sh 14:30:12 ---> update-java-alternatives.sh 14:30:12 ---> Updating Java version 14:30:12 ---> Ubuntu/Debian system detected 14:30:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 14:30:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 14:30:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 14:30:12 openjdk version "17.0.4" 2022-07-19 14:30:12 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 14:30:12 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 14:30:12 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 14:30:12 [EnvInject] - Injecting environment variables from a build step. 14:30:12 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 14:30:12 [EnvInject] - Variables injected successfully. 14:30:12 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/sh -xe /tmp/jenkins14987050436749519931.sh 14:30:12 + /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/run-project-csit.sh apex-pdp-postgres 14:30:12 + set +u 14:30:12 + save_set 14:30:12 + RUN_CSIT_SAVE_SET=ehxB 14:30:12 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 14:30:12 + '[' 1 -eq 0 ']' 14:30:12 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:30:12 + 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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:12 + 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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:12 + export SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts 14:30:12 + SCRIPTS=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts 14:30:12 + export ROBOT_VARIABLES= 14:30:12 + ROBOT_VARIABLES= 14:30:12 + export PROJECT=apex-pdp-postgres 14:30:12 + PROJECT=apex-pdp-postgres 14:30:12 + cd /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres 14:30:12 + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/archives/apex-pdp-postgres 14:30:12 + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/archives/apex-pdp-postgres 14:30:12 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/prepare-robot-env.sh 14:30:12 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/prepare-robot-env.sh ']' 14:30:12 + relax_set 14:30:12 + set +e 14:30:12 + set +o pipefail 14:30:12 + . /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/prepare-robot-env.sh 14:30:12 ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:30:12 +++ mktemp -d 14:30:12 ++ ROBOT_VENV=/tmp/tmp.jm1DpjlXXe 14:30:12 ++ echo ROBOT_VENV=/tmp/tmp.jm1DpjlXXe 14:30:12 +++ python3 --version 14:30:12 ++ echo 'Python version is: Python 3.6.9' 14:30:12 Python version is: Python 3.6.9 14:30:12 ++ python3 -m venv --clear /tmp/tmp.jm1DpjlXXe 14:30:14 ++ source /tmp/tmp.jm1DpjlXXe/bin/activate 14:30:14 +++ deactivate nondestructive 14:30:14 +++ '[' -n '' ']' 14:30:14 +++ '[' -n '' ']' 14:30:14 +++ '[' -n /bin/bash -o -n '' ']' 14:30:14 +++ hash -r 14:30:14 +++ '[' -n '' ']' 14:30:14 +++ unset VIRTUAL_ENV 14:30:14 +++ '[' '!' nondestructive = nondestructive ']' 14:30:14 +++ VIRTUAL_ENV=/tmp/tmp.jm1DpjlXXe 14:30:14 +++ export VIRTUAL_ENV 14:30:14 +++ _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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:14 +++ PATH=/tmp/tmp.jm1DpjlXXe/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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:14 +++ export PATH 14:30:14 +++ '[' -n '' ']' 14:30:14 +++ '[' -z '' ']' 14:30:14 +++ _OLD_VIRTUAL_PS1= 14:30:14 +++ '[' 'x(tmp.jm1DpjlXXe) ' '!=' x ']' 14:30:14 +++ PS1='(tmp.jm1DpjlXXe) ' 14:30:14 +++ export PS1 14:30:14 +++ '[' -n /bin/bash -o -n '' ']' 14:30:14 +++ hash -r 14:30:14 ++ set -exu 14:30:14 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 14:30:17 ++ echo 'Installing Python Requirements' 14:30:17 Installing Python Requirements 14:30:17 ++ python3 -m pip install -qq -r /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/pylibs.txt 14:30:35 ++ python3 -m pip -qq freeze 14:30:35 bcrypt==4.0.1 14:30:35 beautifulsoup4==4.12.3 14:30:35 bitarray==2.9.2 14:30:35 certifi==2023.11.17 14:30:35 cffi==1.15.1 14:30:35 charset-normalizer==2.0.12 14:30:35 cryptography==40.0.2 14:30:35 decorator==5.1.1 14:30:35 elasticsearch==7.17.9 14:30:35 elasticsearch-dsl==7.4.1 14:30:35 enum34==1.1.10 14:30:35 idna==3.6 14:30:35 importlib-resources==5.4.0 14:30:35 ipaddr==2.2.0 14:30:35 isodate==0.6.1 14:30:35 jmespath==0.10.0 14:30:35 jsonpatch==1.32 14:30:35 jsonpath-rw==1.4.0 14:30:35 jsonpointer==2.3 14:30:35 lxml==5.1.0 14:30:35 netaddr==0.8.0 14:30:35 netifaces==0.11.0 14:30:35 odltools==0.1.28 14:30:35 paramiko==3.4.0 14:30:35 pkg_resources==0.0.0 14:30:35 ply==3.11 14:30:35 pyang==2.6.0 14:30:35 pyangbind==0.8.1 14:30:35 pycparser==2.21 14:30:35 pyhocon==0.3.60 14:30:35 PyNaCl==1.5.0 14:30:35 pyparsing==3.1.1 14:30:35 python-dateutil==2.8.2 14:30:35 regex==2023.8.8 14:30:35 requests==2.27.1 14:30:35 robotframework==6.1.1 14:30:35 robotframework-httplibrary==0.4.2 14:30:35 robotframework-pythonlibcore==3.0.0 14:30:35 robotframework-requests==0.9.4 14:30:35 robotframework-selenium2library==3.0.0 14:30:35 robotframework-seleniumlibrary==5.1.3 14:30:35 robotframework-sshlibrary==3.8.0 14:30:35 scapy==2.5.0 14:30:35 scp==0.14.5 14:30:35 selenium==3.141.0 14:30:35 six==1.16.0 14:30:35 soupsieve==2.3.2.post1 14:30:35 urllib3==1.26.18 14:30:35 waitress==2.0.0 14:30:35 WebOb==1.8.7 14:30:35 WebTest==3.0.0 14:30:35 zipp==3.6.0 14:30:35 ++ mkdir -p /tmp/tmp.jm1DpjlXXe/src/onap 14:30:35 ++ rm -rf /tmp/tmp.jm1DpjlXXe/src/onap/testsuite 14:30:35 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 14:30:41 ++ echo 'Installing python confluent-kafka library' 14:30:41 Installing python confluent-kafka library 14:30:41 ++ python3 -m pip install -qq confluent-kafka 14:30:42 ++ echo 'Uninstall docker-py and reinstall docker.' 14:30:42 Uninstall docker-py and reinstall docker. 14:30:42 ++ python3 -m pip uninstall -y -qq docker 14:30:43 ++ python3 -m pip install -U -qq docker 14:30:44 ++ python3 -m pip -qq freeze 14:30:44 bcrypt==4.0.1 14:30:44 beautifulsoup4==4.12.3 14:30:44 bitarray==2.9.2 14:30:44 certifi==2023.11.17 14:30:44 cffi==1.15.1 14:30:44 charset-normalizer==2.0.12 14:30:44 confluent-kafka==2.3.0 14:30:44 cryptography==40.0.2 14:30:44 decorator==5.1.1 14:30:44 deepdiff==5.7.0 14:30:44 dnspython==2.2.1 14:30:44 docker==5.0.3 14:30:44 elasticsearch==7.17.9 14:30:44 elasticsearch-dsl==7.4.1 14:30:44 enum34==1.1.10 14:30:44 future==0.18.3 14:30:44 idna==3.6 14:30:44 importlib-resources==5.4.0 14:30:44 ipaddr==2.2.0 14:30:44 isodate==0.6.1 14:30:44 Jinja2==3.0.3 14:30:44 jmespath==0.10.0 14:30:44 jsonpatch==1.32 14:30:44 jsonpath-rw==1.4.0 14:30:44 jsonpointer==2.3 14:30:44 kafka-python==2.0.2 14:30:44 lxml==5.1.0 14:30:44 MarkupSafe==2.0.1 14:30:44 more-itertools==5.0.0 14:30:44 netaddr==0.8.0 14:30:44 netifaces==0.11.0 14:30:44 odltools==0.1.28 14:30:44 ordered-set==4.0.2 14:30:44 paramiko==3.4.0 14:30:44 pbr==6.0.0 14:30:44 pkg_resources==0.0.0 14:30:44 ply==3.11 14:30:44 protobuf==3.19.6 14:30:44 pyang==2.6.0 14:30:44 pyangbind==0.8.1 14:30:44 pycparser==2.21 14:30:44 pyhocon==0.3.60 14:30:44 PyNaCl==1.5.0 14:30:44 pyparsing==3.1.1 14:30:44 python-dateutil==2.8.2 14:30:44 PyYAML==6.0.1 14:30:44 regex==2023.8.8 14:30:44 requests==2.27.1 14:30:44 robotframework==6.1.1 14:30:44 robotframework-httplibrary==0.4.2 14:30:44 robotframework-onap==0.6.0.dev105 14:30:44 robotframework-pythonlibcore==3.0.0 14:30:44 robotframework-requests==0.9.4 14:30:44 robotframework-selenium2library==3.0.0 14:30:44 robotframework-seleniumlibrary==5.1.3 14:30:44 robotframework-sshlibrary==3.8.0 14:30:44 robotlibcore-temp==1.0.2 14:30:44 scapy==2.5.0 14:30:44 scp==0.14.5 14:30:44 selenium==3.141.0 14:30:44 six==1.16.0 14:30:44 soupsieve==2.3.2.post1 14:30:44 urllib3==1.26.18 14:30:44 waitress==2.0.0 14:30:44 WebOb==1.8.7 14:30:44 websocket-client==1.3.1 14:30:44 WebTest==3.0.0 14:30:44 zipp==3.6.0 14:30:44 ++ uname 14:30:44 ++ grep -q Linux 14:30:45 ++ sudo apt-get -y -qq install libxml2-utils 14:30:45 + load_set 14:30:45 + _setopts=ehuxB 14:30:45 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 14:30:45 ++ tr : ' ' 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o braceexpand 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o hashall 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o interactive-comments 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o nounset 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o xtrace 14:30:45 ++ echo ehuxB 14:30:45 ++ sed 's/./& /g' 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +e 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +h 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +u 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +x 14:30:45 + source_safely /tmp/tmp.jm1DpjlXXe/bin/activate 14:30:45 + '[' -z /tmp/tmp.jm1DpjlXXe/bin/activate ']' 14:30:45 + relax_set 14:30:45 + set +e 14:30:45 + set +o pipefail 14:30:45 + . /tmp/tmp.jm1DpjlXXe/bin/activate 14:30:45 ++ deactivate nondestructive 14:30:45 ++ '[' -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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin ']' 14:30:45 ++ 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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:45 ++ export PATH 14:30:45 ++ unset _OLD_VIRTUAL_PATH 14:30:45 ++ '[' -n '' ']' 14:30:45 ++ '[' -n /bin/bash -o -n '' ']' 14:30:45 ++ hash -r 14:30:45 ++ '[' -n '' ']' 14:30:45 ++ unset VIRTUAL_ENV 14:30:45 ++ '[' '!' nondestructive = nondestructive ']' 14:30:45 ++ VIRTUAL_ENV=/tmp/tmp.jm1DpjlXXe 14:30:45 ++ export VIRTUAL_ENV 14:30:45 ++ _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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:45 ++ PATH=/tmp/tmp.jm1DpjlXXe/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-apex-pdp-postgres/csit:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/scripts:/bin 14:30:45 ++ export PATH 14:30:45 ++ '[' -n '' ']' 14:30:45 ++ '[' -z '' ']' 14:30:45 ++ _OLD_VIRTUAL_PS1='(tmp.jm1DpjlXXe) ' 14:30:45 ++ '[' 'x(tmp.jm1DpjlXXe) ' '!=' x ']' 14:30:45 ++ PS1='(tmp.jm1DpjlXXe) (tmp.jm1DpjlXXe) ' 14:30:45 ++ export PS1 14:30:45 ++ '[' -n /bin/bash -o -n '' ']' 14:30:45 ++ hash -r 14:30:45 + load_set 14:30:45 + _setopts=hxB 14:30:45 ++ echo braceexpand:hashall:interactive-comments:xtrace 14:30:45 ++ tr : ' ' 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o braceexpand 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o hashall 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o interactive-comments 14:30:45 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:30:45 + set +o xtrace 14:30:45 ++ echo hxB 14:30:45 ++ sed 's/./& /g' 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +h 14:30:45 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:30:45 + set +x 14:30:45 + export TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests 14:30:45 + TEST_PLAN_DIR=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests 14:30:45 + export TEST_OPTIONS= 14:30:45 + TEST_OPTIONS= 14:30:45 ++ mktemp -d 14:30:45 + WORKDIR=/tmp/tmp.yfTKIGIpJm 14:30:45 + cd /tmp/tmp.yfTKIGIpJm 14:30:45 + docker login -u docker -p docker nexus3.onap.org:10001 14:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:30:45 Configure a credential helper to remove this warning. See 14:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:30:45 14:30:45 Login Succeeded 14:30:45 + SETUP=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh 14:30:45 + '[' -f /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh ']' 14:30:45 + echo 'Running setup script /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh' 14:30:45 Running setup script /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh 14:30:45 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh 14:30:45 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh ']' 14:30:45 + relax_set 14:30:45 + set +e 14:30:45 + set +o pipefail 14:30:45 + . /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/setup-apex-pdp-postgres.sh 14:30:45 ++ source /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/node-templates.sh 14:30:45 +++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:30:45 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/.gitreview 14:30:45 +++ GERRIT_BRANCH=master 14:30:45 +++ echo GERRIT_BRANCH=master 14:30:45 GERRIT_BRANCH=master 14:30:45 +++ rm -rf /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models 14:30:45 +++ mkdir /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models 14:30:45 +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models 14:30:45 Cloning into '/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models'... 14:30:46 +++ export DATA=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies 14:30:46 +++ DATA=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies 14:30:46 +++ export NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates 14:30:46 +++ NODETEMPLATES=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates 14:30:46 +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 14:30:46 +++ 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-apex-pdp-postgres/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json 14:30:46 ++ source /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose/start-postgres-tests.sh 1 14:30:46 +++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:30:46 +++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose 14:30:46 +++ cd /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose 14:30:46 +++ echo 'Configuring docker compose...' 14:30:46 Configuring docker compose... 14:30:46 +++ source export-ports.sh 14:30:46 +++ source get-versions.sh 14:30:48 +++ export REPLICAS=1 14:30:48 +++ REPLICAS=1 14:30:48 +++ docker-compose -f docker-compose.postgres.yml up -d apex-pdp prometheus 14:30:49 Creating network "compose_default" with the default driver 14:30:49 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 14:30:49 latest: Pulling from prom/prometheus 14:30:52 Digest: sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 14:30:52 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 14:30:52 Pulling postgres (nexus3.onap.org:10001/library/postgres:11.1)... 14:30:52 11.1: Pulling from library/postgres 14:30:57 Digest: sha256:f310592cf3964f038dbaefac2dc2088982e5ab06312a590bcacc97749ee5db69 14:30:57 Status: Downloaded newer image for nexus3.onap.org:10001/library/postgres:11.1 14:30:57 Pulling simulator (nexus3.onap.org:10001/onap/policy-models-simulator:3.1.1-SNAPSHOT)... 14:30:57 3.1.1-SNAPSHOT: Pulling from onap/policy-models-simulator 14:31:01 Digest: sha256:09b9abb94ede918d748d5f6ffece2e7592c9941527c37f3d00df286ee158ae05 14:31:01 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-models-simulator:3.1.1-SNAPSHOT 14:31:01 Pulling zookeeper (confluentinc/cp-zookeeper:latest)... 14:31:02 latest: Pulling from confluentinc/cp-zookeeper 14:31:12 Digest: sha256:000f1d11090f49fa8f67567e633bab4fea5dbd7d9119e7ee2ef259c509063593 14:31:12 Status: Downloaded newer image for confluentinc/cp-zookeeper:latest 14:31:12 Pulling kafka (confluentinc/cp-kafka:latest)... 14:31:13 latest: Pulling from confluentinc/cp-kafka 14:31:15 Digest: sha256:51145a40d23336a11085ca695d02bdeee66fe01b582837c6d223384952226be9 14:31:15 Status: Downloaded newer image for confluentinc/cp-kafka:latest 14:31:15 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT)... 14:31:16 3.1.1-SNAPSHOT: Pulling from onap/policy-db-migrator 14:31:21 Digest: sha256:eb47623eeab9aad8524ecc877b6708ae74b57f9f3cfe77554ad0d1521491cb5d 14:31:21 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.1-SNAPSHOT 14:31:21 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT)... 14:31:23 3.1.1-SNAPSHOT: Pulling from onap/policy-api 14:31:27 Digest: sha256:bbf3044dd101de99d940093be953f041397d02b2f17a70f8da7719c160735c2e 14:31:27 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1-SNAPSHOT 14:31:27 Pulling pap (nexus3.onap.org:10001/onap/policy-pap:3.1.0)... 14:31:27 3.1.0: Pulling from onap/policy-pap 14:31:34 Digest: sha256:ff420a18fdd0393b657dcd1ae9e545437067fe5610606e3999888c21302a6231 14:31:34 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-pap:3.1.0 14:31:34 Pulling apex-pdp (nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.1-SNAPSHOT)... 14:31:35 3.1.1-SNAPSHOT: Pulling from onap/policy-apex-pdp 14:31:49 Digest: sha256:0fdae8f3a73915cdeb896f38ac7d5b74e658832fd10929dcf3fe68219098b89b 14:31:49 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-apex-pdp:3.1.1-SNAPSHOT 14:31:49 Creating postgres ... 14:31:49 Creating compose_zookeeper_1 ... 14:31:49 Creating simulator ... 14:31:49 Creating prometheus ... 14:32:04 Creating simulator ... done 14:32:05 Creating prometheus ... done 14:32:06 Creating postgres ... done 14:32:06 Creating policy-db-migrator ... 14:32:08 Creating policy-db-migrator ... done 14:32:08 Creating policy-api ... 14:32:09 Creating compose_zookeeper_1 ... done 14:32:09 Creating kafka ... 14:32:10 Creating policy-api ... done 14:32:11 Creating kafka ... done 14:32:11 Creating policy-pap ... 14:32:12 Creating policy-pap ... done 14:32:12 Creating policy-apex-pdp ... 14:32:13 Creating policy-apex-pdp ... done 14:32:13 +++ cd /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres 14:32:13 ++ sleep 10 14:32:23 ++ unset http_proxy https_proxy 14:32:23 ++ bash /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/wait_for_rest.sh localhost 30003 14:32:23 Waiting for REST to come up on localhost port 30003... 14:32:23 NAMES STATUS 14:32:23 policy-apex-pdp Up 10 seconds 14:32:23 policy-pap Up 11 seconds 14:32:23 kafka Up 11 seconds 14:32:23 policy-api Up 13 seconds 14:32:23 simulator Up 18 seconds 14:32:23 prometheus Up 17 seconds 14:32:23 postgres Up 16 seconds 14:32:23 compose_zookeeper_1 Up 14 seconds 14:32:28 NAMES STATUS 14:32:28 policy-apex-pdp Up 15 seconds 14:32:28 policy-pap Up 16 seconds 14:32:28 kafka Up 17 seconds 14:32:28 policy-api Up 18 seconds 14:32:28 simulator Up 23 seconds 14:32:28 prometheus Up 22 seconds 14:32:28 postgres Up 21 seconds 14:32:28 compose_zookeeper_1 Up 19 seconds 14:32:33 NAMES STATUS 14:32:33 policy-apex-pdp Up 20 seconds 14:32:33 policy-pap Up 21 seconds 14:32:33 kafka Up 22 seconds 14:32:33 policy-api Up 23 seconds 14:32:33 simulator Up 28 seconds 14:32:33 prometheus Up 27 seconds 14:32:33 postgres Up 26 seconds 14:32:33 compose_zookeeper_1 Up 24 seconds 14:32:38 NAMES STATUS 14:32:38 policy-apex-pdp Up 25 seconds 14:32:38 policy-pap Up 26 seconds 14:32:38 kafka Up 27 seconds 14:32:38 policy-api Up 28 seconds 14:32:38 simulator Up 33 seconds 14:32:38 prometheus Up 32 seconds 14:32:38 postgres Up 31 seconds 14:32:38 compose_zookeeper_1 Up 29 seconds 14:32:43 NAMES STATUS 14:32:43 policy-apex-pdp Up 30 seconds 14:32:43 policy-pap Up 31 seconds 14:32:43 kafka Up 32 seconds 14:32:43 policy-api Up 33 seconds 14:32:43 simulator Up 38 seconds 14:32:43 prometheus Up 37 seconds 14:32:43 postgres Up 36 seconds 14:32:43 compose_zookeeper_1 Up 34 seconds 14:32:43 ++ bash /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/scripts/wait_for_rest.sh localhost 30001 14:32:43 Waiting for REST to come up on localhost port 30001... 14:32:43 NAMES STATUS 14:32:43 policy-apex-pdp Up 30 seconds 14:32:43 policy-pap Up 31 seconds 14:32:43 kafka Up 32 seconds 14:32:43 policy-api Up 33 seconds 14:32:43 simulator Up 38 seconds 14:32:43 prometheus Up 37 seconds 14:32:43 postgres Up 36 seconds 14:32:43 compose_zookeeper_1 Up 34 seconds 14:32:43 ++ sleep 20 14:33:03 ++ healthy=false 14:33:03 ++ '[' false = false ']' 14:33:03 +++ curl -s -k --user 'policyadmin:zb!XztG34' http://localhost:30001/policy/apex-pdp/v1/healthcheck 14:33:03 ++ msg='{"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","url":"self","healthy":true,"code":200,"message":"alive"}' 14:33:03 ++ echo '{"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","url":"self","healthy":true,"code":200,"message":"alive"}' 14:33:03 ++ grep -q true 14:33:03 ++ '[' 0 -eq 0 ']' 14:33:03 ++ healthy=true 14:33:03 ++ break 14:33:03 ++ export KAFKA_IP=localhost:9092 14:33:03 ++ KAFKA_IP=localhost:9092 14:33:03 ++ export SUITES=apex-pdp-test.robot 14:33:03 ++ SUITES=apex-pdp-test.robot 14:33:03 ++ ROBOT_VARIABLES='-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 14:33:03 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates 14:33:03 -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:9092 14:33:03 -v APEX_EVENTS_IP:localhost:23324' 14:33:03 + load_set 14:33:03 + _setopts=hxB 14:33:03 ++ echo braceexpand:hashall:interactive-comments:xtrace 14:33:03 ++ tr : ' ' 14:33:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:03 + set +o braceexpand 14:33:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:03 + set +o hashall 14:33:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:03 + set +o interactive-comments 14:33:03 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:03 + set +o xtrace 14:33:03 ++ echo hxB 14:33:03 ++ sed 's/./& /g' 14:33:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:33:03 + set +h 14:33:03 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:33:03 + set +x 14:33:03 + docker_stats 14:33:03 + tee /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/archives/apex-pdp-postgres/_sysinfo-1-after-setup.txt 14:33:03 ++ uname -s 14:33:03 + '[' Linux == Darwin ']' 14:33:03 + sh -c 'top -bn1 | head -3' 14:33:04 top - 14:33:04 up 4 min, 0 users, load average: 2.27, 1.34, 0.55 14:33:04 Tasks: 232 total, 1 running, 153 sleeping, 0 stopped, 0 zombie 14:33:04 %Cpu(s): 12.9 us, 2.6 sy, 0.0 ni, 80.8 id, 3.6 wa, 0.0 hi, 0.1 si, 0.1 st 14:33:04 + echo 14:33:04 + sh -c 'free -h' 14:33:04 14:33:04 total used free shared buff/cache available 14:33:04 Mem: 31G 2.5G 22G 17M 6.2G 28G 14:33:04 Swap: 1.0G 0B 1.0G 14:33:04 + echo 14:33:04 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 14:33:04 14:33:04 NAMES STATUS 14:33:04 policy-apex-pdp Up 50 seconds 14:33:04 policy-pap Up 51 seconds 14:33:04 kafka Up 52 seconds 14:33:04 policy-api Up 53 seconds 14:33:04 simulator Up 59 seconds 14:33:04 prometheus Up 58 seconds 14:33:04 postgres Up 57 seconds 14:33:04 compose_zookeeper_1 Up 54 seconds 14:33:04 + echo 14:33:04 + docker stats --no-stream 14:33:04 14:33:06 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 14:33:06 b6afda3c0944 policy-apex-pdp 0.88% 184MiB / 31.41GiB 0.57% 25.4kB / 38.8kB 0B / 0B 49 14:33:06 197b0682f04d policy-pap 2.09% 475.6MiB / 31.41GiB 1.48% 98.4kB / 133kB 0B / 182MB 64 14:33:06 69523d380cc1 kafka 2.72% 380.2MiB / 31.41GiB 1.18% 118kB / 118kB 0B / 524kB 83 14:33:06 8179aa074444 policy-api 0.10% 447.3MiB / 31.41GiB 1.39% 1.19MB / 1.06MB 0B / 0B 57 14:33:06 8125447088c4 simulator 0.10% 124.8MiB / 31.41GiB 0.39% 1.88kB / 0B 4.1kB / 0B 76 14:33:06 396e5ef89c3b prometheus 0.51% 20.46MiB / 31.41GiB 0.06% 67.2kB / 2.83kB 225kB / 0B 13 14:33:06 0a89cc0aa7b4 postgres 0.05% 73.84MiB / 31.41GiB 0.23% 1.46MB / 1.48MB 0B / 94.4MB 27 14:33:06 4d09ffbe58fa compose_zookeeper_1 0.30% 99.68MiB / 31.41GiB 0.31% 55.4kB / 49.3kB 0B / 397kB 60 14:33:06 + echo 14:33:06 14:33:06 + cd /tmp/tmp.yfTKIGIpJm 14:33:06 + echo 'Reading the testplan:' 14:33:06 Reading the testplan: 14:33:06 + echo apex-pdp-test.robot 14:33:06 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 14:33:06 + sed 's|^|/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/|' 14:33:06 + cat testplan.txt 14:33:06 /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/apex-pdp-test.robot 14:33:06 ++ xargs 14:33:06 + SUITES=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/apex-pdp-test.robot 14:33:06 + echo 'ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 14:33:06 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates 14:33:06 -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:9092 14:33:06 -v APEX_EVENTS_IP:localhost:23324' 14:33:06 ROBOT_VARIABLES=-v POLICY_PAP_IP:localhost:30003 -v POLICY_API_IP:localhost:30002 14:33:06 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates 14:33:06 -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:9092 14:33:06 -v APEX_EVENTS_IP:localhost:23324 14:33:06 + echo 'Starting Robot test suites /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/apex-pdp-test.robot ...' 14:33:06 Starting Robot test suites /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/apex-pdp-test.robot ... 14:33:06 + relax_set 14:33:06 + set +e 14:33:06 + set +o pipefail 14:33:06 + python3 -m robot.run -N apex-pdp-postgres -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-apex-pdp-postgres/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models/models-examples/src/main/resources/nodetemplates -v APEX_IP:localhost:30001 -v KAFKA_IP:localhost:9092 -v APEX_EVENTS_IP:localhost:23324 /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/resources/tests/apex-pdp-test.robot 14:33:06 ============================================================================== 14:33:06 apex-pdp-postgres 14:33:06 ============================================================================== 14:33:07 Healthcheck :: Runs Apex PDP Health check | PASS | 14:33:07 ------------------------------------------------------------------------------ 14:33:14 ExecuteApexSampleDomainPolicy | PASS | 14:33:14 ------------------------------------------------------------------------------ 14:33:34 ExecuteApexTestPnfPolicy | PASS | 14:33:34 ------------------------------------------------------------------------------ 14:33:56 ExecuteApexTestPnfPolicyWithMetadataSet | PASS | 14:33:56 ------------------------------------------------------------------------------ 14:33:56 Metrics :: Verify policy-apex-pdp is exporting prometheus metrics | PASS | 14:33:56 ------------------------------------------------------------------------------ 14:33:56 apex-pdp-postgres | PASS | 14:33:56 5 tests, 5 passed, 0 failed 14:33:56 ============================================================================== 14:33:56 Output: /tmp/tmp.yfTKIGIpJm/output.xml 14:33:56 Log: /tmp/tmp.yfTKIGIpJm/log.html 14:33:56 Report: /tmp/tmp.yfTKIGIpJm/report.html 14:33:56 + RESULT=0 14:33:56 + load_set 14:33:56 + _setopts=hxB 14:33:56 ++ echo braceexpand:hashall:interactive-comments:xtrace 14:33:56 ++ tr : ' ' 14:33:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:56 + set +o braceexpand 14:33:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:56 + set +o hashall 14:33:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:56 + set +o interactive-comments 14:33:56 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:33:56 + set +o xtrace 14:33:56 ++ echo hxB 14:33:56 ++ sed 's/./& /g' 14:33:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:33:56 + set +h 14:33:56 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:33:56 + set +x 14:33:56 + echo 'RESULT: 0' 14:33:56 RESULT: 0 14:33:56 + exit 0 14:33:56 + on_exit 14:33:56 + rc=0 14:33:56 + [[ -n /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ]] 14:33:56 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 14:33:56 NAMES STATUS 14:33:56 policy-apex-pdp Up About a minute 14:33:56 policy-pap Up About a minute 14:33:56 kafka Up About a minute 14:33:56 policy-api Up About a minute 14:33:56 simulator Up About a minute 14:33:56 prometheus Up About a minute 14:33:56 postgres Up About a minute 14:33:56 compose_zookeeper_1 Up About a minute 14:33:56 + docker_stats 14:33:56 ++ uname -s 14:33:56 + '[' Linux == Darwin ']' 14:33:56 + sh -c 'top -bn1 | head -3' 14:33:56 top - 14:33:56 up 5 min, 0 users, load average: 1.26, 1.25, 0.56 14:33:56 Tasks: 224 total, 1 running, 151 sleeping, 0 stopped, 0 zombie 14:33:56 %Cpu(s): 12.4 us, 2.3 sy, 0.0 ni, 81.9 id, 3.2 wa, 0.0 hi, 0.1 si, 0.1 st 14:33:56 + echo 14:33:56 14:33:56 + sh -c 'free -h' 14:33:56 total used free shared buff/cache available 14:33:56 Mem: 31G 2.7G 22G 19M 6.2G 28G 14:33:56 Swap: 1.0G 0B 1.0G 14:33:56 + echo 14:33:56 14:33:56 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 14:33:56 NAMES STATUS 14:33:56 policy-apex-pdp Up About a minute 14:33:56 policy-pap Up About a minute 14:33:56 kafka Up About a minute 14:33:56 policy-api Up About a minute 14:33:56 simulator Up About a minute 14:33:56 prometheus Up About a minute 14:33:56 postgres Up About a minute 14:33:56 compose_zookeeper_1 Up About a minute 14:33:56 + echo 14:33:56 14:33:56 + docker stats --no-stream 14:33:59 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 14:33:59 b6afda3c0944 policy-apex-pdp 3.60% 332.4MiB / 31.41GiB 1.03% 401kB / 192kB 0B / 401kB 112 14:33:59 197b0682f04d policy-pap 0.56% 486.9MiB / 31.41GiB 1.51% 7.6MB / 2.96MB 0B / 182MB 64 14:33:59 69523d380cc1 kafka 1.94% 387.7MiB / 31.41GiB 1.21% 600kB / 1.18MB 0B / 610kB 83 14:33:59 8179aa074444 policy-api 0.12% 500.7MiB / 31.41GiB 1.56% 4.63MB / 2.85MB 0B / 0B 57 14:33:59 8125447088c4 simulator 0.08% 158.5MiB / 31.41GiB 0.49% 9.77kB / 11.3kB 4.1kB / 0B 79 14:33:59 396e5ef89c3b prometheus 0.00% 20.98MiB / 31.41GiB 0.07% 167kB / 5.98kB 225kB / 0B 13 14:33:59 0a89cc0aa7b4 postgres 0.00% 78.15MiB / 31.41GiB 0.24% 5.31MB / 11MB 0B / 95MB 27 14:33:59 4d09ffbe58fa compose_zookeeper_1 0.07% 100.5MiB / 31.41GiB 0.31% 64.7kB / 57.2kB 0B / 500kB 60 14:33:59 + echo 14:33:59 14:33:59 + source_safely /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose/stop-compose.sh 14:33:59 + '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose/stop-compose.sh ']' 14:33:59 + relax_set 14:33:59 + set +e 14:33:59 + set +o pipefail 14:33:59 + . /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose/stop-compose.sh 14:33:59 ++ echo 'Shut down started!' 14:33:59 Shut down started! 14:33:59 ++ '[' -z /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:33:59 ++ COMPOSE_FOLDER=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose 14:33:59 ++ cd /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/compose 14:33:59 ++ source export-ports.sh 14:33:59 ++ source get-versions.sh 14:34:01 ++ echo 'Collecting logs from docker compose containers...' 14:34:01 Collecting logs from docker compose containers... 14:34:01 ++ docker-compose logs 14:34:02 ++ cat docker_compose.log 14:34:02 Attaching to policy-apex-pdp, policy-pap, kafka, policy-api, policy-db-migrator, simulator, prometheus, compose_zookeeper_1 14:34:02 zookeeper_1 | ===> User 14:34:02 zookeeper_1 | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) 14:34:02 zookeeper_1 | ===> Configuring ... 14:34:02 zookeeper_1 | ===> Running preflight checks ... 14:34:02 zookeeper_1 | ===> Check if /var/lib/zookeeper/data is writable ... 14:34:02 zookeeper_1 | ===> Check if /var/lib/zookeeper/log is writable ... 14:34:02 zookeeper_1 | ===> Launching ... 14:34:02 zookeeper_1 | ===> Launching zookeeper ... 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,553] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,568] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,568] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,568] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,568] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,570] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,570] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,570] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,571] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,572] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,573] INFO Reading configuration from: /etc/kafka/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,574] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,574] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,574] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,574] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,574] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,586] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@5fa07e12 (org.apache.zookeeper.server.ServerMetrics) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,588] INFO ACL digest algorithm is: SHA1 (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,589] INFO zookeeper.DigestAuthenticationProvider.enabled = true (org.apache.zookeeper.server.auth.DigestAuthenticationProvider) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,591] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,604] INFO (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,604] INFO ______ _ (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO |___ / | | (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO / / ___ ___ | | __ ___ ___ _ __ ___ _ __ (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO / / / _ \ / _ \ | |/ / / _ \ / _ \ | '_ \ / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO / /__ | (_) | | (_) | | < | __/ | __/ | |_) | | __/ | | (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO /_____| \___/ \___/ |_|\_\ \___| \___| | .__/ \___| |_| (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO | | (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO |_| (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,605] INFO (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:host.name=4d09ffbe58fa (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:java.version=11.0.21 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,606] INFO Server environment:java.class.path=/usr/bin/../share/java/kafka/kafka-metadata-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/connect-runtime-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/connect-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-library-2.13.10.jar:/usr/bin/../share/java/kafka/jackson-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/commons-io-2.11.0.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/reflections-0.9.12.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jline-3.22.0.jar:/usr/bin/../share/java/kafka/jakarta.ws.rs-api-2.1.6.jar:/usr/bin/../share/java/kafka/jakarta.annotation-api-1.3.5.jar:/usr/bin/../share/java/kafka/scala-java8-compat_2.13-1.0.2.jar:/usr/bin/../share/java/kafka/javax.ws.rs-api-2.1.1.jar:/usr/bin/../share/java/kafka/trogdor-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-resolver-4.1.100.Final.jar:/usr/bin/../share/java/kafka/hk2-api-2.6.1.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jackson-dataformat-csv-2.13.5.jar:/usr/bin/../share/java/kafka/kafka.jar:/usr/bin/../share/java/kafka/kafka-raft-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/kafka-storage-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/kafka-streams-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/jackson-datatype-jdk8-2.13.5.jar:/usr/bin/../share/java/kafka/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/kafka-tools-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.jar:/usr/bin/../share/java/kafka/kafka-clients-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/maven-artifact-3.8.8.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-json-provider-2.13.5.jar:/usr/bin/../share/java/kafka/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/kafka-shell-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jersey-server-2.39.1.jar:/usr/bin/../share/java/kafka/commons-lang3-3.8.1.jar:/usr/bin/../share/java/kafka/jopt-simple-5.0.4.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/connect-mirror-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/connect-json-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.10.jar:/usr/bin/../share/java/kafka/netty-codec-4.1.100.Final.jar:/usr/bin/../share/java/kafka/netty-transport-native-unix-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/scala-collection-compat_2.13-2.10.0.jar:/usr/bin/../share/java/kafka/metrics-core-2.2.0.jar:/usr/bin/../share/java/kafka/zookeeper-jute-3.8.3.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/zookeeper-3.8.3.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/connect-transforms-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.53.v20231009.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:java.compiler= (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.version=4.15.0-192-generic (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:user.name=appuser (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:user.home=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:user.dir=/home/appuser (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.memory.free=490MB (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.flushDelay = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.maxWriteQueuePollTime = 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,607] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,609] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,610] INFO minSessionTimeout set to 4000 ms (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,610] INFO maxSessionTimeout set to 40000 ms (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,611] INFO getData response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,611] INFO getChildren response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,612] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,614] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,614] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 policy-db-migrator | Waiting for postgres port 5432... 14:34:02 policy-db-migrator | nc: connect to postgres (172.17.0.4) port 5432 (tcp) failed: Connection refused 14:34:02 policy-db-migrator | nc: connect to postgres (172.17.0.4) port 5432 (tcp) failed: Connection refused 14:34:02 policy-db-migrator | nc: connect to postgres (172.17.0.4) port 5432 (tcp) failed: Connection refused 14:34:02 policy-db-migrator | nc: connect to postgres (172.17.0.4) port 5432 (tcp) failed: Connection refused 14:34:02 policy-db-migrator | Connection to postgres (172.17.0.4) 5432 port [tcp/postgresql] succeeded! 14:34:02 policy-db-migrator | 321 blocks 14:34:02 policy-db-migrator | Preparing upgrade release version: 0800 14:34:02 policy-db-migrator | Preparing upgrade release version: 0900 14:34:02 policy-db-migrator | Preparing upgrade release version: 1000 14:34:02 policy-db-migrator | Preparing upgrade release version: 1100 14:34:02 policy-db-migrator | Preparing upgrade release version: 1200 14:34:02 policy-db-migrator | Preparing upgrade release version: 1300 14:34:02 policy-db-migrator | Done 14:34:02 policy-db-migrator | List of databases 14:34:02 policy-db-migrator | Name | Owner | Encoding | Collate | Ctype | ICU Locale | Locale Provider | Access privileges 14:34:02 policy-db-migrator | -------------------+----------+----------+------------+------------+------------+-----------------+-------------------------- 14:34:02 policy-db-migrator | clampacm | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | migration | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | operationshistory | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | policyadmin | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | policyclamp | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | pooling | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | 14:34:02 policy-db-migrator | template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:02 policy-db-migrator | template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:02 policy-db-migrator | (9 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | ?column? 14:34:02 policy-db-migrator | ---------- 14:34:02 policy-db-migrator | (0 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | ?column? 14:34:02 policy-db-migrator | ---------- 14:34:02 policy-db-migrator | (0 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | name | version 14:34:02 policy-db-migrator | -------------+--------- 14:34:02 policy-db-migrator | policyadmin | 0 14:34:02 policy-db-migrator | (1 row) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | id | script | operation | from_version | to_version | tag | success | attime 14:34:02 policy-db-migrator | ----+--------+-----------+--------------+------------+-----+---------+-------- 14:34:02 policy-db-migrator | (0 rows) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,615] INFO zookeeper.enforce.auth.enabled = false (org.apache.zookeeper.server.AuthenticationHelper) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,615] INFO zookeeper.enforce.auth.schemes = [] (org.apache.zookeeper.server.AuthenticationHelper) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,615] 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) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,636] INFO Logging initialized @561ms to org.eclipse.jetty.util.log.Slf4jLog (org.eclipse.jetty.util.log) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,749] WARN o.e.j.s.ServletContextHandler@45385f75{/,null,STOPPED} contextPath ends with /* (org.eclipse.jetty.server.handler.ContextHandler) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,749] WARN Empty contextPath (org.eclipse.jetty.server.handler.ContextHandler) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,767] INFO jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 11.0.21+9-LTS (org.eclipse.jetty.server.Server) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,791] INFO DefaultSessionIdManager workerName=node0 (org.eclipse.jetty.server.session) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,791] INFO No SessionScavenger set, using defaults (org.eclipse.jetty.server.session) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,792] INFO node0 Scavenging every 600000ms (org.eclipse.jetty.server.session) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,795] WARN ServletContext@o.e.j.s.ServletContextHandler@45385f75{/,null,STARTING} has uncovered http methods for path: /* (org.eclipse.jetty.security.SecurityHandler) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,802] INFO Started o.e.j.s.ServletContextHandler@45385f75{/,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,816] INFO Started ServerConnector@304bb45b{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} (org.eclipse.jetty.server.AbstractConnector) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,816] INFO Started @741ms (org.eclipse.jetty.server.Server) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,816] INFO Started AdminServer on address 0.0.0.0, port 8080 and command URL /commands (org.apache.zookeeper.server.admin.JettyAdminServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,820] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,821] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,823] 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) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,824] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,836] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,836] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,839] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,839] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,847] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,847] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,852] INFO Snapshot loaded in 12 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,853] INFO Snapshotting: 0x0 to /var/lib/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,853] INFO Snapshot taken in 0 ms (org.apache.zookeeper.server.ZooKeeperServer) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,866] INFO zookeeper.request_throttler.shutdownTimeout = 10000 ms (org.apache.zookeeper.server.RequestThrottler) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,866] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,885] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) 14:34:02 zookeeper_1 | [2024-01-20 14:32:12,885] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider) 14:34:02 zookeeper_1 | [2024-01-20 14:32:15,249] INFO Creating new log file: log.1 (org.apache.zookeeper.server.persistence.FileTxnLog) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 14:34:02 policy-db-migrator | List of databases 14:34:02 policy-db-migrator | Name | Owner | Encoding | Collate | Ctype | ICU Locale | Locale Provider | Access privileges 14:34:02 policy-db-migrator | -------------------+----------+----------+------------+------------+------------+-----------------+-------------------------- 14:34:02 policy-db-migrator | clampacm | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | migration | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | operationshistory | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | policyadmin | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | policyclamp | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | pooling | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:02 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:02 policy-db-migrator | postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | 14:34:02 policy-db-migrator | template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:02 policy-db-migrator | template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:02 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:02 policy-db-migrator | (9 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | ?column? 14:34:02 policy-db-migrator | ---------- 14:34:02 policy-db-migrator | (0 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | NOTICE: relation "schema_versions" already exists, skipping 14:34:02 policy-db-migrator | NOTICE: relation "policyadmin_schema_changelog" already exists, skipping 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | ?column? 14:34:02 policy-db-migrator | ---------- 14:34:02 policy-db-migrator | (0 rows) 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | upgrade: 0 -> 1300 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-api | Waiting for postgres port 5432... 14:34:02 policy-api | postgres (172.17.0.4:5432) open 14:34:02 policy-api | Waiting for policy-db-migrator port 6824... 14:34:02 policy-api | policy-db-migrator (172.17.0.6:6824) open 14:34:02 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 14:34:02 policy-api | 14:34:02 policy-api | . ____ _ __ _ _ 14:34:02 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 14:34:02 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 14:34:02 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 14:34:02 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 14:34:02 policy-api | =========|_|==============|___/=/_/_/_/ 14:34:02 policy-api | :: Spring Boot :: (v3.1.4) 14:34:02 policy-api | 14:34:02 policy-api | [2024-01-20T14:32:16.620+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 14 (/app/api.jar started by policy in /opt/app/policy/api/bin) 14:34:02 policy-api | [2024-01-20T14:32:16.622+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 14:34:02 policy-api | [2024-01-20T14:32:18.531+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 14:34:02 policy-api | [2024-01-20T14:32:18.616+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 72 ms. Found 6 JPA repository interfaces. 14:34:02 policy-api | [2024-01-20T14:32:19.009+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 14:34:02 policy-api | [2024-01-20T14:32:19.010+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 14:34:02 policy-api | [2024-01-20T14:32:19.654+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 14:34:02 policy-api | [2024-01-20T14:32:19.664+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 14:34:02 policy-api | [2024-01-20T14:32:19.667+00:00|INFO|StandardService|main] Starting service [Tomcat] 14:34:02 policy-api | [2024-01-20T14:32:19.667+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] 14:34:02 policy-api | [2024-01-20T14:32:19.762+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 14:34:02 policy-api | [2024-01-20T14:32:19.763+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3061 ms 14:34:02 policy-api | [2024-01-20T14:32:20.180+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 14:34:02 policy-api | [2024-01-20T14:32:20.252+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 14:34:02 policy-api | [2024-01-20T14:32:20.256+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 14:34:02 policy-api | [2024-01-20T14:32:20.298+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 14:34:02 policy-api | [2024-01-20T14:32:20.635+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 14:34:02 policy-api | [2024-01-20T14:32:20.658+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 14:34:02 policy-api | [2024-01-20T14:32:20.773+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@475646d4 14:34:02 policy-api | [2024-01-20T14:32:20.775+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 14:34:02 policy-api | [2024-01-20T14:32:20.827+00:00|WARN|deprecation|main] HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 14:34:02 policy-api | [2024-01-20T14:32:22.666+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 14:34:02 policy-api | [2024-01-20T14:32:22.670+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 14:34:02 policy-api | [2024-01-20T14:32:23.896+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 14:34:02 policy-api | [2024-01-20T14:32:24.795+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 14:34:02 policy-api | [2024-01-20T14:32:26.163+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 14:34:02 policy-api | [2024-01-20T14:32:26.348+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@206d4413, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@58d291c1, org.springframework.security.web.context.SecurityContextHolderFilter@5a487b86, org.springframework.security.web.header.HeaderWriterFilter@392da875, org.springframework.security.web.authentication.logout.LogoutFilter@36c6d53b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2f29400e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@673ade3d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4529b266, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@c7a7d3, org.springframework.security.web.access.ExceptionTranslationFilter@69c70b62, org.springframework.security.web.access.intercept.AuthorizationFilter@dcaa0e8] 14:34:02 policy-api | [2024-01-20T14:32:27.224+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 14:34:02 policy-api | [2024-01-20T14:32:27.285+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 14:34:02 policy-api | [2024-01-20T14:32:27.319+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 14:34:02 policy-api | [2024-01-20T14:32:27.337+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.498 seconds (process running for 12.093) 14:34:02 policy-api | [2024-01-20T14:32:39.922+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 14:34:02 policy-api | [2024-01-20T14:32:39.922+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 14:34:02 policy-api | [2024-01-20T14:32:39.923+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms 14:34:02 policy-api | [2024-01-20T14:33:07.160+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-3] ***** OrderedServiceImpl implementers: 14:34:02 policy-api | [] 14:34:02 kafka | ===> User 14:34:02 kafka | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) 14:34:02 kafka | ===> Configuring ... 14:34:02 kafka | Running in Zookeeper mode... 14:34:02 kafka | ===> Running preflight checks ... 14:34:02 kafka | ===> Check if /var/lib/kafka/data is writable ... 14:34:02 kafka | ===> Check if Zookeeper is healthy ... 14:34:02 kafka | [2024-01-20 14:32:15,185] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:host.name=69523d380cc1 (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.class.path=/usr/share/java/cp-base-new/kafka-metadata-7.5.3-ccs.jar:/usr/share/java/cp-base-new/scala-logging_2.13-3.9.4.jar:/usr/share/java/cp-base-new/jackson-datatype-jdk8-2.14.2.jar:/usr/share/java/cp-base-new/jose4j-0.9.3.jar:/usr/share/java/cp-base-new/logredactor-1.0.12.jar:/usr/share/java/cp-base-new/kafka_2.13-7.5.3-ccs.jar:/usr/share/java/cp-base-new/jolokia-core-1.7.1.jar:/usr/share/java/cp-base-new/re2j-1.6.jar:/usr/share/java/cp-base-new/kafka-server-common-7.5.3-ccs.jar:/usr/share/java/cp-base-new/scala-library-2.13.10.jar:/usr/share/java/cp-base-new/commons-io-2.11.0.jar:/usr/share/java/cp-base-new/commons-cli-1.4.jar:/usr/share/java/cp-base-new/slf4j-reload4j-1.7.36.jar:/usr/share/java/cp-base-new/jackson-annotations-2.14.2.jar:/usr/share/java/cp-base-new/json-simple-1.1.1.jar:/usr/share/java/cp-base-new/jackson-module-scala_2.13-2.14.2.jar:/usr/share/java/cp-base-new/scala-java8-compat_2.13-1.0.2.jar:/usr/share/java/cp-base-new/minimal-json-0.9.5.jar:/usr/share/java/cp-base-new/zstd-jni-1.5.5-1.jar:/usr/share/java/cp-base-new/kafka-raft-7.5.3-ccs.jar:/usr/share/java/cp-base-new/utility-belt-7.5.3.jar:/usr/share/java/cp-base-new/jackson-dataformat-yaml-2.14.2.jar:/usr/share/java/cp-base-new/disk-usage-agent-7.5.3.jar:/usr/share/java/cp-base-new/kafka-storage-7.5.3-ccs.jar:/usr/share/java/cp-base-new/slf4j-api-1.7.36.jar:/usr/share/java/cp-base-new/paranamer-2.8.jar:/usr/share/java/cp-base-new/kafka-tools-api-7.5.3-ccs.jar:/usr/share/java/cp-base-new/jmx_prometheus_javaagent-0.18.0.jar:/usr/share/java/cp-base-new/reload4j-1.2.25.jar:/usr/share/java/cp-base-new/jackson-core-2.14.2.jar:/usr/share/java/cp-base-new/argparse4j-0.7.0.jar:/usr/share/java/cp-base-new/audience-annotations-0.12.0.jar:/usr/share/java/cp-base-new/gson-2.9.0.jar:/usr/share/java/cp-base-new/snakeyaml-2.0.jar:/usr/share/java/cp-base-new/kafka-clients-7.5.3-ccs.jar:/usr/share/java/cp-base-new/kafka-storage-api-7.5.3-ccs.jar:/usr/share/java/cp-base-new/common-utils-7.5.3.jar:/usr/share/java/cp-base-new/jopt-simple-5.0.4.jar:/usr/share/java/cp-base-new/lz4-java-1.8.0.jar:/usr/share/java/cp-base-new/logredactor-metrics-1.0.12.jar:/usr/share/java/cp-base-new/kafka-group-coordinator-7.5.3-ccs.jar:/usr/share/java/cp-base-new/scala-reflect-2.13.10.jar:/usr/share/java/cp-base-new/scala-collection-compat_2.13-2.10.0.jar:/usr/share/java/cp-base-new/metrics-core-2.2.0.jar:/usr/share/java/cp-base-new/zookeeper-jute-3.8.3.jar:/usr/share/java/cp-base-new/jackson-dataformat-csv-2.14.2.jar:/usr/share/java/cp-base-new/jolokia-jvm-1.7.1.jar:/usr/share/java/cp-base-new/zookeeper-3.8.3.jar:/usr/share/java/cp-base-new/metrics-core-4.1.12.1.jar:/usr/share/java/cp-base-new/jackson-databind-2.14.2.jar:/usr/share/java/cp-base-new/snappy-java-1.1.10.5.jar (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,186] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:os.memory.free=493MB (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,187] INFO Client environment:os.memory.max=8042MB (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,188] INFO Client environment:os.memory.total=504MB (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,191] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@62bd765 (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,195] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) 14:34:02 kafka | [2024-01-20 14:32:15,201] INFO jute.maxbuffer value is 1048575 Bytes (org.apache.zookeeper.ClientCnxnSocket) 14:34:02 kafka | [2024-01-20 14:32:15,210] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:15,225] INFO Opening socket connection to server zookeeper/172.17.0.5:2181. (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:15,225] INFO SASL config status: Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:15,232] INFO Socket connection established, initiating session, client: /172.17.0.8:37542, server: zookeeper/172.17.0.5:2181 (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:15,266] INFO Session establishment complete on server zookeeper/172.17.0.5:2181, session id = 0x1000003a2dc0000, negotiated timeout = 40000 (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:15,390] INFO Session: 0x1000003a2dc0000 closed (org.apache.zookeeper.ZooKeeper) 14:34:02 kafka | [2024-01-20 14:32:15,390] INFO EventThread shut down for session: 0x1000003a2dc0000 (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | Using log4j config /etc/kafka/log4j.properties 14:34:02 kafka | ===> Launching ... 14:34:02 kafka | ===> Launching kafka ... 14:34:02 kafka | [2024-01-20 14:32:16,061] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) 14:34:02 kafka | [2024-01-20 14:32:16,402] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util) 14:34:02 kafka | [2024-01-20 14:32:16,472] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler) 14:34:02 kafka | [2024-01-20 14:32:16,473] INFO starting (kafka.server.KafkaServer) 14:34:02 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-db-migrator | 14:34:02 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 14:34:02 policy-apex-pdp | Waiting for postgres port 5432... 14:34:02 policy-apex-pdp | postgres (172.17.0.4:5432) open 14:34:02 policy-apex-pdp | Waiting for kafka port 9092... 14:34:02 policy-apex-pdp | kafka (172.17.0.8:9092) open 14:34:02 policy-apex-pdp | Waiting for pap port 6969... 14:34:02 policy-apex-pdp | pap (172.17.0.9:6969) open 14:34:02 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' 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.070+00:00|INFO|ApexStarterMain|main] In ApexStarter with parameters [-c, /opt/app/policy/apex-pdp/etc/onappf/config/OnapPfConfig.json] 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.224+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 policy-apex-pdp | allow.auto.create.topics = true 14:34:02 policy-apex-pdp | auto.commit.interval.ms = 5000 14:34:02 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:02 policy-apex-pdp | auto.offset.reset = latest 14:34:02 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:02 policy-apex-pdp | check.crcs = true 14:34:02 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:02 policy-apex-pdp | client.id = consumer-cc040915-4d26-424c-b5df-7390d86d8b16-1 14:34:02 policy-apex-pdp | client.rack = 14:34:02 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:02 policy-apex-pdp | default.api.timeout.ms = 60000 14:34:02 policy-apex-pdp | enable.auto.commit = true 14:34:02 policy-apex-pdp | exclude.internal.topics = true 14:34:02 policy-apex-pdp | fetch.max.bytes = 52428800 14:34:02 policy-apex-pdp | fetch.max.wait.ms = 500 14:34:02 policy-apex-pdp | fetch.min.bytes = 1 14:34:02 policy-apex-pdp | group.id = cc040915-4d26-424c-b5df-7390d86d8b16 14:34:02 policy-apex-pdp | group.instance.id = null 14:34:02 policy-apex-pdp | heartbeat.interval.ms = 3000 14:34:02 policy-apex-pdp | interceptor.classes = [] 14:34:02 policy-apex-pdp | internal.leave.group.on.close = true 14:34:02 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d 14:34:02 kafka | [2024-01-20 14:32:16,474] INFO Connecting to zookeeper on zookeeper:2181 (kafka.server.KafkaServer) 14:34:02 kafka | [2024-01-20 14:32:16,488] INFO [ZooKeeperClient Kafka server] Initializing a new session to zookeeper:2181. (kafka.zookeeper.ZooKeeperClient) 14:34:02 policy-apex-pdp | isolation.level = read_uncommitted 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | Policy simulator config file: /opt/app/policy/simulators/etc/mounted/simParameters.json 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" 14:34:02 policy-pap | Waiting for postgres port 5432... 14:34:02 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:zookeeper.version=3.8.3-6ad6d364c7c0bcf0de452d54ebefa3058098ab56, built on 2023-10-05 10:34 UTC (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | overriding logback.xml 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" 14:34:02 policy-pap | postgres (172.17.0.4:5432) open 14:34:02 policy-apex-pdp | max.partition.fetch.bytes = 1048576 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:host.name=69523d380cc1 (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:05,313 INFO replacing 'HOST_NAME' with simulator in /opt/app/policy/simulators/etc/mounted/simParameters.json 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:594 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 14:34:02 policy-pap | Waiting for kafka port 9092... 14:34:02 policy-apex-pdp | max.poll.interval.ms = 300000 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.version=11.0.21 (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | > upgrade 0450-pdpgroup.sql 14:34:02 simulator | 2024-01-20 14:32:05,393 INFO org.onap.policy.models.simulators starting 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" 14:34:02 policy-pap | kafka (172.17.0.8:9092) open 14:34:02 policy-apex-pdp | max.poll.records = 500 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.vendor=Azul Systems, Inc. (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | 2024-01-20 14:32:05,393 INFO org.onap.policy.models.simulators starting CDS gRPC Server Properties 14:34:02 prometheus | ts=2024-01-20T14:32:05.942Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" 14:34:02 policy-pap | Waiting for api port 6969... 14:34:02 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.home=/usr/lib/jvm/java-11-zulu-openjdk-ca (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | 2024-01-20 14:32:05,610 INFO org.onap.policy.models.simulators starting org.onap.policy.simulators.AaiSimulatorJaxRs_RESOURCE_LOCATION 14:34:02 prometheus | ts=2024-01-20T14:32:05.945Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 14:34:02 policy-pap | api (172.17.0.7:6969) open 14:34:02 policy-apex-pdp | metric.reporters = [] 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.class.path=/usr/bin/../share/java/kafka/kafka-metadata-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-logging_2.13-3.9.4.jar:/usr/bin/../share/java/kafka/jersey-common-2.39.1.jar:/usr/bin/../share/java/kafka/swagger-annotations-2.2.8.jar:/usr/bin/../share/java/kafka/connect-mirror-client-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/connect-runtime-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jose4j-0.9.3.jar:/usr/bin/../share/java/kafka/connect-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/javax.servlet-api-3.1.0.jar:/usr/bin/../share/java/kafka/aopalliance-repackaged-2.6.1.jar:/usr/bin/../share/java/kafka/kafka_2.13-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-transport-4.1.100.Final.jar:/usr/bin/../share/java/kafka/rocksdbjni-7.9.2.jar:/usr/bin/../share/java/kafka/kafka-server-common-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-library-2.13.10.jar:/usr/bin/../share/java/kafka/jackson-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/commons-io-2.11.0.jar:/usr/bin/../share/java/kafka/javax.activation-api-1.2.0.jar:/usr/bin/../share/java/kafka/commons-cli-1.4.jar:/usr/bin/../share/java/kafka/slf4j-reload4j-1.7.36.jar:/usr/bin/../share/java/kafka/reflections-0.9.12.jar:/usr/bin/../share/java/kafka/netty-buffer-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jline-3.22.0.jar:/usr/bin/../share/java/kafka/jakarta.ws.rs-api-2.1.6.jar:/usr/bin/../share/java/kafka/jakarta.annotation-api-1.3.5.jar:/usr/bin/../share/java/kafka/scala-java8-compat_2.13-1.0.2.jar:/usr/bin/../share/java/kafka/javax.ws.rs-api-2.1.1.jar:/usr/bin/../share/java/kafka/trogdor-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-resolver-4.1.100.Final.jar:/usr/bin/../share/java/kafka/hk2-api-2.6.1.jar:/usr/bin/../share/java/kafka/zstd-jni-1.5.5-1.jar:/usr/bin/../share/java/kafka/jetty-http-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jackson-dataformat-csv-2.13.5.jar:/usr/bin/../share/java/kafka/kafka.jar:/usr/bin/../share/java/kafka/kafka-raft-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-servlets-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.inject-2.6.1.jar:/usr/bin/../share/java/kafka/connect-basic-auth-extension-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-continuation-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jakarta.xml.bind-api-2.3.3.jar:/usr/bin/../share/java/kafka/kafka-storage-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/hk2-locator-2.6.1.jar:/usr/bin/../share/java/kafka/slf4j-api-1.7.36.jar:/usr/bin/../share/java/kafka/jetty-server-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/paranamer-2.8.jar:/usr/bin/../share/java/kafka/kafka-tools-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jaxb-api-2.3.1.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-2.39.1.jar:/usr/bin/../share/java/kafka/hk2-utils-2.6.1.jar:/usr/bin/../share/java/kafka/jackson-module-scala_2.13-2.13.5.jar:/usr/bin/../share/java/kafka/reload4j-1.2.25.jar:/usr/bin/../share/java/kafka/jackson-core-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-hk2-2.39.1.jar:/usr/bin/../share/java/kafka/kafka-streams-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-databind-2.13.5.jar:/usr/bin/../share/java/kafka/jersey-client-2.39.1.jar:/usr/bin/../share/java/kafka/jetty-io-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/osgi-resource-locator-1.0.3.jar:/usr/bin/../share/java/kafka/netty-transport-native-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/argparse4j-0.7.0.jar:/usr/bin/../share/java/kafka/jackson-datatype-jdk8-2.13.5.jar:/usr/bin/../share/java/kafka/audience-annotations-0.12.0.jar:/usr/bin/../share/java/kafka/kafka-tools-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-module-jaxb-annotations-2.13.5.jar:/usr/bin/../share/java/kafka/javax.annotation-api-1.3.2.jar:/usr/bin/../share/java/kafka/kafka-clients-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-storage-api-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/maven-artifact-3.8.8.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-json-provider-2.13.5.jar:/usr/bin/../share/java/kafka/jakarta.validation-api-2.0.2.jar:/usr/bin/../share/java/kafka/kafka-shell-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jersey-server-2.39.1.jar:/usr/bin/../share/java/kafka/commons-lang3-3.8.1.jar:/usr/bin/../share/java/kafka/jopt-simple-5.0.4.jar:/usr/bin/../share/java/kafka/lz4-java-1.8.0.jar:/usr/bin/../share/java/kafka/jakarta.activation-api-1.2.2.jar:/usr/bin/../share/java/kafka/jersey-container-servlet-core-2.39.1.jar:/usr/bin/../share/java/kafka/connect-mirror-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-test-utils-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jackson-jaxrs-base-2.13.5.jar:/usr/bin/../share/java/kafka/jetty-client-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/connect-json-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/jetty-util-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/kafka-group-coordinator-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-examples-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/scala-reflect-2.13.10.jar:/usr/bin/../share/java/kafka/netty-codec-4.1.100.Final.jar:/usr/bin/../share/java/kafka/netty-transport-native-unix-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/scala-collection-compat_2.13-2.10.0.jar:/usr/bin/../share/java/kafka/metrics-core-2.2.0.jar:/usr/bin/../share/java/kafka/zookeeper-jute-3.8.3.jar:/usr/bin/../share/java/kafka/netty-handler-4.1.100.Final.jar:/usr/bin/../share/java/kafka/javassist-3.29.2-GA.jar:/usr/bin/../share/java/kafka/plexus-utils-3.3.1.jar:/usr/bin/../share/java/kafka/zookeeper-3.8.3.jar:/usr/bin/../share/java/kafka/activation-1.1.1.jar:/usr/bin/../share/java/kafka/kafka-log4j-appender-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/netty-common-4.1.100.Final.jar:/usr/bin/../share/java/kafka/metrics-core-4.1.12.1.jar:/usr/bin/../share/java/kafka/jetty-servlet-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/jetty-util-ajax-9.4.53.v20231009.jar:/usr/bin/../share/java/kafka/connect-transforms-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/kafka-streams-scala_2.13-7.5.3-ccs.jar:/usr/bin/../share/java/kafka/snappy-java-1.1.10.5.jar:/usr/bin/../share/java/kafka/netty-transport-classes-epoll-4.1.100.Final.jar:/usr/bin/../share/java/kafka/jetty-security-9.4.53.v20231009.jar:/usr/bin/../share/java/confluent-telemetry/* (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:32:05,612 INFO org.onap.policy.models.simulators starting A&AI simulator 14:34:02 prometheus | ts=2024-01-20T14:32:05.945Z caller=main.go:1039 level=info msg="Starting TSDB ..." 14:34:02 policy-pap | Policy pap config file: /opt/app/policy/pap/etc/papParameters.yaml 14:34:02 policy-apex-pdp | metrics.num.samples = 2 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:05,707 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 14:34:02 prometheus | ts=2024-01-20T14:32:05.952Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 14:34:02 policy-pap | PDP group configuration file: PapDb.json 14:34:02 policy-apex-pdp | metrics.recording.level = INFO 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 14:34:02 simulator | 2024-01-20 14:32:05,718 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 prometheus | ts=2024-01-20T14:32:05.952Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 14:34:02 policy-pap | 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | 2024-01-20 14:32:05,720 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@16746061{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,STOPPED}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=Thread[A&AI simulator-6666,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 prometheus | ts=2024-01-20T14:32:05.955Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 14:34:02 policy-pap | . ____ _ __ _ _ 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | 2024-01-20 14:32:05,726 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 14:34:02 prometheus | ts=2024-01-20T14:32:05.956Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.33µs 14:34:02 policy-pap | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 14:34:02 kafka | [2024-01-20 14:32:16,492] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:32:05,782 INFO Session workerName=node0 14:34:02 prometheus | ts=2024-01-20T14:32:05.956Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" 14:34:02 policy-pap | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:os.version=4.15.0-192-generic (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:06,241 INFO Using GSON for REST calls 14:34:02 prometheus | ts=2024-01-20T14:32:05.956Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 14:34:02 policy-pap | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 14:34:02 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:user.name=appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | > upgrade 0470-pdp.sql 14:34:02 simulator | 2024-01-20 14:32:06,309 INFO Started o.e.j.s.ServletContextHandler@57fd91c9{/,null,AVAILABLE} 14:34:02 prometheus | ts=2024-01-20T14:32:05.956Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=76.32µs wal_replay_duration=318.944µs wbl_replay_duration=330ns total_replay_duration=464.675µs 14:34:02 policy-pap | ' |____| .__|_| |_|_| |_\__, | / / / / 14:34:02 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:user.home=/home/appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | 2024-01-20 14:32:06,316 INFO Started A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666} 14:34:02 prometheus | ts=2024-01-20T14:32:05.958Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC 14:34:02 policy-pap | =========|_|==============|___/=/_/_/_/ 14:34:02 policy-apex-pdp | receive.buffer.bytes = 65536 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:user.dir=/home/appuser (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | 2024-01-20 14:32:06,322 INFO Started Server@16746061{STARTING}[11.0.18,sto=0] @1482ms 14:34:02 prometheus | ts=2024-01-20T14:32:05.958Z caller=main.go:1063 level=info msg="TSDB started" 14:34:02 policy-pap | :: Spring Boot :: (v3.1.4) 14:34:02 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:os.memory.free=1009MB (org.apache.zookeeper.ZooKeeper) 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:32:06,323 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=A&AI simulator, host=0.0.0.0, port=6666, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@16746061{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@57fd91c9{/,null,AVAILABLE}, connector=A&AI simulator@53dacd14{HTTP/1.1, (http/1.1)}{0.0.0.0:6666}, jettyThread=Thread[A&AI simulator-6666,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-1a7288a3==org.glassfish.jersey.servlet.ServletContainer@27060b2b{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4398 ms. 14:34:02 prometheus | ts=2024-01-20T14:32:05.959Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 14:34:02 policy-pap | 14:34:02 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:06,330 INFO org.onap.policy.models.simulators starting SDNC simulator 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper) 14:34:02 prometheus | ts=2024-01-20T14:32:05.959Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=938.371µs db_storage=1.56µs remote_storage=1.14µs web_handler=560ns query_engine=1.03µs scrape=226.553µs scrape_sd=114.181µs notify=24.581µs notify_sd=29.48µs rules=2.36µs tracing=3.6µs 14:34:02 policy-pap | [2024-01-20T14:32:30.381+00:00|INFO|PolicyPapApplication|main] Starting PolicyPapApplication using Java 17.0.9 with PID 29 (/app/pap.jar started by policy in /opt/app/policy/pap/bin) 14:34:02 policy-apex-pdp | request.timeout.ms = 30000 14:34:02 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 14:34:02 simulator | 2024-01-20 14:32:06,336 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 14:34:02 kafka | [2024-01-20 14:32:16,493] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper) 14:34:02 prometheus | ts=2024-01-20T14:32:05.960Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." 14:34:02 policy-pap | [2024-01-20T14:32:30.386+00:00|INFO|PolicyPapApplication|main] No active profile set, falling back to 1 default profile: "default" 14:34:02 policy-apex-pdp | retry.backoff.ms = 100 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | 2024-01-20 14:32:06,337 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 kafka | [2024-01-20 14:32:16,495] INFO Initiating client connection, connectString=zookeeper:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@32193bea (org.apache.zookeeper.ZooKeeper) 14:34:02 prometheus | ts=2024-01-20T14:32:05.960Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." 14:34:02 policy-pap | [2024-01-20T14:32:32.185+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 14:34:02 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | [2024-01-20 14:32:16,498] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket) 14:34:02 policy-pap | [2024-01-20T14:32:32.293+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 98 ms. Found 7 JPA repository interfaces. 14:34:02 policy-apex-pdp | sasl.jaas.config = null 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:32:06,338 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@75459c75{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,STOPPED}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 kafka | [2024-01-20 14:32:16,504] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:16,505] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient) 14:34:02 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:06,339 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 14:34:02 kafka | [2024-01-20 14:32:16,513] INFO Opening socket connection to server zookeeper/172.17.0.5:2181. (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:16,527] INFO Socket connection established, initiating session, client: /172.17.0.8:36856, server: zookeeper/172.17.0.5:2181 (org.apache.zookeeper.ClientCnxn) 14:34:02 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 14:34:02 simulator | 2024-01-20 14:32:06,345 INFO Session workerName=node0 14:34:02 kafka | [2024-01-20 14:32:16,536] INFO Session establishment complete on server zookeeper/172.17.0.5:2181, session id = 0x1000003a2dc0001, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn) 14:34:02 kafka | [2024-01-20 14:32:16,539] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient) 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | [2024-01-20 14:32:16,814] INFO Cluster ID = adP7mUGZT1qzJzs5vwutLg (kafka.server.KafkaServer) 14:34:02 kafka | [2024-01-20 14:32:16,818] WARN No meta.properties file under dir /var/lib/kafka/data/meta.properties (kafka.server.BrokerMetadataCheckpoint) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | [2024-01-20T14:32:32.705+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 14:34:02 simulator | 2024-01-20 14:32:06,401 INFO Using GSON for REST calls 14:34:02 kafka | [2024-01-20 14:32:16,864] INFO KafkaConfig values: 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:32:06,410 INFO Started o.e.j.s.ServletContextHandler@183e8023{/,null,AVAILABLE} 14:34:02 kafka | advertised.listeners = PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092 14:34:02 kafka | alter.config.policy.class.name = null 14:34:02 simulator | 2024-01-20 14:32:06,412 INFO Started SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668} 14:34:02 policy-pap | [2024-01-20T14:32:32.705+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 14:34:02 policy-db-migrator | 14:34:02 kafka | alter.log.dirs.replication.quota.window.num = 11 14:34:02 simulator | 2024-01-20 14:32:06,412 INFO Started Server@75459c75{STARTING}[11.0.18,sto=0] @1572ms 14:34:02 policy-pap | [2024-01-20T14:32:33.357+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 14:34:02 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 14:34:02 kafka | alter.log.dirs.replication.quota.window.size.seconds = 1 14:34:02 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 policy-pap | [2024-01-20T14:32:33.368+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 14:34:02 simulator | 2024-01-20 14:32:06,412 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=SDNC simulator, host=0.0.0.0, port=6668, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@75459c75{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@183e8023{/,null,AVAILABLE}, connector=SDNC simulator@63b1d4fa{HTTP/1.1, (http/1.1)}{0.0.0.0:6668}, jettyThread=Thread[SDNC simulator-6668,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-201b6b6f==org.glassfish.jersey.servlet.ServletContainer@673ce4f9{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4926 ms. 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | authorizer.class.name = 14:34:02 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:02 policy-pap | [2024-01-20T14:32:33.370+00:00|INFO|StandardService|main] Starting service [Tomcat] 14:34:02 simulator | 2024-01-20 14:32:06,413 INFO org.onap.policy.models.simulators starting SO simulator 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | auto.create.topics.enable = true 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 policy-pap | [2024-01-20T14:32:33.370+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] 14:34:02 simulator | 2024-01-20 14:32:06,415 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | auto.include.jmx.reporter = true 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 policy-pap | [2024-01-20T14:32:33.460+00:00|INFO|[/policy/pap/v1]|main] Initializing Spring embedded WebApplicationContext 14:34:02 simulator | 2024-01-20 14:32:06,415 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 policy-db-migrator | 14:34:02 kafka | auto.leader.rebalance.enable = true 14:34:02 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:02 policy-pap | [2024-01-20T14:32:33.460+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2994 ms 14:34:02 simulator | 2024-01-20 14:32:06,416 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@30bcf3c1{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,STOPPED}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 14:34:02 kafka | background.threads = 10 14:34:02 policy-apex-pdp | sasl.login.class = null 14:34:02 policy-pap | [2024-01-20T14:32:33.925+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 14:34:02 simulator | 2024-01-20 14:32:06,417 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:02 policy-pap | [2024-01-20T14:32:34.017+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 14:34:02 simulator | 2024-01-20 14:32:06,424 INFO Session workerName=node0 14:34:02 kafka | broker.heartbeat.interval.ms = 2000 14:34:02 policy-pap | [2024-01-20T14:32:34.021+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 14:34:02 simulator | 2024-01-20 14:32:06,476 INFO Using GSON for REST calls 14:34:02 kafka | broker.id = 1 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:02 policy-pap | [2024-01-20T14:32:34.069+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 14:34:02 simulator | 2024-01-20 14:32:06,489 INFO Started o.e.j.s.ServletContextHandler@2a3c96e3{/,null,AVAILABLE} 14:34:02 kafka | broker.id.generation.enable = true 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:02 policy-pap | [2024-01-20T14:32:34.416+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 14:34:02 simulator | 2024-01-20 14:32:06,490 INFO Started SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669} 14:34:02 kafka | broker.rack = null 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:02 policy-pap | [2024-01-20T14:32:34.436+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 14:34:02 simulator | 2024-01-20 14:32:06,490 INFO Started Server@30bcf3c1{STARTING}[11.0.18,sto=0] @1650ms 14:34:02 kafka | broker.session.timeout.ms = 9000 14:34:02 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 14:34:02 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:02 policy-pap | [2024-01-20T14:32:34.563+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@2a331b46 14:34:02 simulator | 2024-01-20 14:32:06,490 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=SO simulator, host=0.0.0.0, port=6669, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@30bcf3c1{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@2a3c96e3{/,null,AVAILABLE}, connector=SO simulator@3e5499cc{HTTP/1.1, (http/1.1)}{0.0.0.0:6669}, jettyThread=Thread[SO simulator-6669,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-b78a709==org.glassfish.jersey.servlet.ServletContainer@1399f374{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4926 ms. 14:34:02 kafka | client.quota.callback.class = null 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:02 policy-pap | [2024-01-20T14:32:34.566+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 14:34:02 simulator | 2024-01-20 14:32:06,491 INFO org.onap.policy.models.simulators starting VFC simulator 14:34:02 kafka | compression.type = producer 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | 2024-01-20 14:32:06,495 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: WAITED-START 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | [2024-01-20T14:32:34.614+00:00|WARN|deprecation|main] HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 14:34:02 policy-pap | [2024-01-20T14:32:36.520+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 14:34:02 simulator | 2024-01-20 14:32:06,496 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 policy-db-migrator | 14:34:02 policy-pap | [2024-01-20T14:32:36.524+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 14:34:02 policy-pap | [2024-01-20T14:32:37.114+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 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:02 simulator | 2024-01-20 14:32:06,497 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@a776e{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,STOPPED}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 14:34:02 policy-pap | [2024-01-20T14:32:37.709+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 14:34:02 policy-pap | [2024-01-20T14:32:37.828+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 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:02 simulator | 2024-01-20 14:32:06,497 INFO jetty-11.0.18; built: 2023-10-27T02:14:36.036Z; git: 5a9a771a9fbcb9d36993630850f612581b78c13f; jvm 17.0.9+8-alpine-r0 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | [2024-01-20T14:32:38.137+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 policy-pap | allow.auto.create.topics = true 14:34:02 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:02 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | auto.commit.interval.ms = 5000 14:34:02 policy-pap | auto.include.jmx.reporter = true 14:34:02 simulator | 2024-01-20 14:32:06,499 INFO Session workerName=node0 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | auto.offset.reset = latest 14:34:02 policy-pap | bootstrap.servers = [kafka:9092] 14:34:02 simulator | 2024-01-20 14:32:06,538 INFO Using GSON for REST calls 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:02 policy-db-migrator | 14:34:02 policy-pap | check.crcs = true 14:34:02 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:02 simulator | 2024-01-20 14:32:06,546 INFO Started o.e.j.s.ServletContextHandler@792bbc74{/,null,AVAILABLE} 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 14:34:02 policy-pap | client.id = consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-1 14:34:02 policy-pap | client.rack = 14:34:02 simulator | 2024-01-20 14:32:06,547 INFO Started VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670} 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | connections.max.idle.ms = 540000 14:34:02 policy-pap | default.api.timeout.ms = 60000 14:34:02 simulator | 2024-01-20 14:32:06,547 INFO Started Server@a776e{STARTING}[11.0.18,sto=0] @1707ms 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | enable.auto.commit = true 14:34:02 policy-pap | exclude.internal.topics = true 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | connection.failed.authentication.delay.ms = 100 14:34:02 simulator | 2024-01-20 14:32:06,547 INFO JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}}, swaggerId=null, toString()=JettyServletServer(name=VFC simulator, host=0.0.0.0, port=6670, sniHostCheck=false, user=null, password=null, contextPath=/, jettyServer=Server@a776e{STARTED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@792bbc74{/,null,AVAILABLE}, connector=VFC simulator@5b444398{HTTP/1.1, (http/1.1)}{0.0.0.0:6670}, jettyThread=Thread[VFC simulator-6670,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-42f48531==org.glassfish.jersey.servlet.ServletContainer@f8b49435{jsp=null,order=0,inst=true,async=true,src=EMBEDDED:null,STARTED}})]: pending time is 4950 ms. 14:34:02 policy-pap | fetch.max.bytes = 52428800 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:32:06,548 INFO org.onap.policy.models.simulators started 14:34:02 policy-pap | fetch.max.wait.ms = 500 14:34:02 policy-pap | fetch.min.bytes = 1 14:34:02 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 14:34:02 policy-pap | group.id = fa6a695a-882b-4452-b55c-58cde0fc980e 14:34:02 policy-pap | group.instance.id = null 14:34:02 simulator | 2024-01-20 14:33:20,841 INFO 172.17.0.10 - - [20/Jan/2024:14:33:20 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | heartbeat.interval.ms = 3000 14:34:02 policy-pap | interceptor.classes = [] 14:34:02 simulator | 2024-01-20 14:33:21,344 INFO Received request input to CDS: commonHeader { 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | internal.leave.group.on.close = true 14:34:02 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | isolation.level = read_uncommitted 14:34:02 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 policy-pap | max.partition.fetch.bytes = 1048576 14:34:02 policy-pap | max.poll.interval.ms = 300000 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:02 simulator | originatorId: "POLICY" 14:34:02 policy-pap | max.poll.records = 500 14:34:02 policy-pap | metadata.max.age.ms = 300000 14:34:02 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 14:34:02 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:02 simulator | } 14:34:02 policy-pap | metric.reporters = [] 14:34:02 policy-pap | metrics.num.samples = 2 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:02 simulator | actionIdentifiers { 14:34:02 policy-pap | metrics.recording.level = INFO 14:34:02 policy-pap | metrics.sample.window.ms = 30000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:02 kafka | connections.max.idle.ms = 600000 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | security.providers = null 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 kafka | connections.max.reauth.ms = 0 14:34:02 kafka | control.plane.listener.name = null 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | send.buffer.bytes = 131072 14:34:02 simulator | actionName: "update-config" 14:34:02 kafka | controlled.shutdown.enable = true 14:34:02 kafka | controlled.shutdown.max.retries = 3 14:34:02 policy-db-migrator | > upgrade 0570-toscadatatype.sql 14:34:02 simulator | mode: "sync" 14:34:02 kafka | controlled.shutdown.retry.backoff.ms = 5000 14:34:02 kafka | controller.listener.names = null 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | session.timeout.ms = 45000 14:34:02 simulator | } 14:34:02 kafka | controller.quorum.append.linger.ms = 25 14:34:02 kafka | controller.quorum.election.backoff.max.ms = 1000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:02 simulator | payload { 14:34:02 kafka | controller.quorum.election.timeout.ms = 1000 14:34:02 kafka | controller.quorum.fetch.timeout.ms = 2000 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:02 simulator | fields { 14:34:02 kafka | controller.quorum.request.timeout.ms = 2000 14:34:02 kafka | controller.quorum.retry.backoff.ms = 20 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | ssl.cipher.suites = null 14:34:02 simulator | key: "update-config-request" 14:34:02 kafka | controller.quorum.voters = [] 14:34:02 kafka | controller.quota.window.num = 11 14:34:02 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 14:34:02 simulator | value { 14:34:02 kafka | controller.quota.window.size.seconds = 1 14:34:02 kafka | controller.socket.timeout.ms = 30000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 simulator | struct_value { 14:34:02 kafka | create.topic.policy.class.name = null 14:34:02 kafka | default.replication.factor = 1 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:02 simulator | fields { 14:34:02 kafka | delegation.token.expiry.check.interval.ms = 3600000 14:34:02 kafka | delegation.token.expiry.time.ms = 86400000 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | ssl.engine.factory.class = null 14:34:02 simulator | key: "hostname" 14:34:02 kafka | delegation.token.master.key = null 14:34:02 kafka | delegation.token.max.lifetime.ms = 604800000 14:34:02 simulator | value { 14:34:02 kafka | delegation.token.secret.key = null 14:34:02 kafka | delete.records.purgatory.purge.interval.requests = 1 14:34:02 policy-db-migrator | 14:34:02 kafka | delete.topic.enable = true 14:34:02 kafka | early.start.listeners = null 14:34:02 simulator | string_value: "hostmd7p4c" 14:34:02 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 14:34:02 kafka | fetch.max.bytes = 57671680 14:34:02 kafka | fetch.purgatory.purge.interval.requests = 1000 14:34:02 policy-apex-pdp | ssl.key.password = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | group.consumer.assignors = [] 14:34:02 kafka | group.consumer.heartbeat.interval.ms = 5000 14:34:02 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | group.consumer.max.heartbeat.interval.ms = 15000 14:34:02 kafka | group.consumer.max.session.timeout.ms = 60000 14:34:02 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | group.consumer.max.size = 2147483647 14:34:02 kafka | group.consumer.min.heartbeat.interval.ms = 5000 14:34:02 policy-apex-pdp | ssl.keystore.key = null 14:34:02 simulator | key: "IP" 14:34:02 policy-db-migrator | 14:34:02 kafka | group.consumer.min.session.timeout.ms = 45000 14:34:02 kafka | group.consumer.session.timeout.ms = 45000 14:34:02 policy-apex-pdp | ssl.keystore.location = null 14:34:02 simulator | value { 14:34:02 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 14:34:02 kafka | group.coordinator.new.enable = false 14:34:02 kafka | group.coordinator.threads = 1 14:34:02 policy-apex-pdp | ssl.keystore.password = null 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | group.initial.rebalance.delay.ms = 3000 14:34:02 kafka | group.max.session.timeout.ms = 1800000 14:34:02 policy-apex-pdp | ssl.keystore.type = JKS 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | group.max.size = 2147483647 14:34:02 kafka | group.min.session.timeout.ms = 6000 14:34:02 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | initial.broker.registration.timeout.ms = 60000 14:34:02 kafka | inter.broker.listener.name = PLAINTEXT 14:34:02 policy-apex-pdp | ssl.provider = null 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | 14:34:02 kafka | inter.broker.protocol.version = 3.5-IV2 14:34:02 kafka | kafka.metrics.polling.interval.secs = 10 14:34:02 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:02 simulator | key: "pnfName" 14:34:02 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 14:34:02 kafka | kafka.metrics.reporters = [] 14:34:02 kafka | leader.imbalance.check.interval.seconds = 300 14:34:02 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:02 simulator | value { 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | leader.imbalance.per.broker.percentage = 10 14:34:02 kafka | listener.security.protocol.map = PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT 14:34:02 policy-apex-pdp | ssl.truststore.certificates = null 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | listeners = PLAINTEXT://0.0.0.0:9092,PLAINTEXT_HOST://0.0.0.0:29092 14:34:02 kafka | log.cleaner.backoff.ms = 15000 14:34:02 policy-apex-pdp | ssl.truststore.location = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | log.cleaner.dedupe.buffer.size = 134217728 14:34:02 kafka | log.cleaner.delete.retention.ms = 86400000 14:34:02 policy-apex-pdp | ssl.truststore.password = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 kafka | log.cleaner.enable = true 14:34:02 kafka | log.cleaner.io.buffer.load.factor = 0.9 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 14:34:02 kafka | log.cleaner.io.buffer.size = 524288 14:34:02 kafka | log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308 14:34:02 policy-apex-pdp | ssl.truststore.type = JKS 14:34:02 simulator | } 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | log.cleaner.max.compaction.lag.ms = 9223372036854775807 14:34:02 kafka | log.cleaner.min.cleanable.ratio = 0.5 14:34:02 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | log.cleaner.min.compaction.lag.ms = 0 14:34:02 kafka | log.cleaner.threads = 1 14:34:02 policy-apex-pdp | 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | log.cleanup.policy = [delete] 14:34:02 policy-pap | receive.buffer.bytes = 65536 14:34:02 simulator | 14:34:02 policy-db-migrator | 14:34:02 policy-pap | reconnect.backoff.max.ms = 1000 14:34:02 policy-pap | reconnect.backoff.ms = 50 14:34:02 simulator | 2024-01-20 14:33:21,363 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 policy-pap | request.timeout.ms = 30000 14:34:02 policy-pap | retry.backoff.ms = 100 14:34:02 simulator | 2024-01-20 14:33:25,511 INFO 172.17.0.10 - - [20/Jan/2024:14:33:25 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 kafka | log.dir = /tmp/kafka-logs 14:34:02 policy-db-migrator | > upgrade 0630-toscanodetype.sql 14:34:02 policy-pap | sasl.client.callback.handler.class = null 14:34:02 simulator | 2024-01-20 14:33:25,533 INFO Received request input to CDS: commonHeader { 14:34:02 kafka | log.dirs = /var/lib/kafka/data 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | sasl.jaas.config = null 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.375+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 kafka | log.flush.interval.messages = 9223372036854775807 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.375+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 kafka | log.flush.interval.ms = null 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.375+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761161374 14:34:02 simulator | originatorId: "POLICY" 14:34:02 kafka | log.flush.offset.checkpoint.interval.ms = 60000 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.kerberos.service.name = null 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.377+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-1, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Subscribed to topic(s): policy-pdp-pap 14:34:02 simulator | } 14:34:02 kafka | log.flush.scheduler.interval.ms = 9223372036854775807 14:34:02 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 14:34:02 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.389+00:00|INFO|ServiceManager|main] service manager starting 14:34:02 simulator | actionIdentifiers { 14:34:02 kafka | log.flush.start.offset.checkpoint.interval.ms = 60000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.389+00:00|INFO|ServiceManager|main] service manager starting topics 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 kafka | log.index.interval.bytes = 4096 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.login.callback.handler.class = null 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.398+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=cc040915-4d26-424c-b5df-7390d86d8b16, 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 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 kafka | log.index.size.max.bytes = 10485760 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | sasl.login.class = null 14:34:02 simulator | actionName: "update-config" 14:34:02 kafka | log.message.downconversion.enable = true 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.login.connect.timeout.ms = null 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.421+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 simulator | mode: "sync" 14:34:02 kafka | log.message.format.version = 3.0-IV1 14:34:02 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 14:34:02 policy-pap | sasl.login.read.timeout.ms = null 14:34:02 policy-apex-pdp | allow.auto.create.topics = true 14:34:02 simulator | } 14:34:02 kafka | log.message.timestamp.difference.max.ms = 9223372036854775807 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:02 policy-apex-pdp | auto.commit.interval.ms = 5000 14:34:02 simulator | payload { 14:34:02 kafka | log.message.timestamp.type = CreateTime 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:02 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:02 simulator | fields { 14:34:02 kafka | log.preallocate = false 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | log.retention.bytes = -1 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:02 kafka | log.retention.check.interval.ms = 300000 14:34:02 policy-apex-pdp | auto.offset.reset = latest 14:34:02 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:02 policy-db-migrator | > upgrade 0660-toscaparameter.sql 14:34:02 kafka | log.retention.hours = 168 14:34:02 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | log.retention.minutes = null 14:34:02 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | log.retention.ms = null 14:34:02 policy-pap | sasl.mechanism = GSSAPI 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | log.roll.hours = 168 14:34:02 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 policy-db-migrator | 14:34:02 kafka | log.roll.jitter.hours = 0 14:34:02 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:02 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:02 policy-db-migrator | > upgrade 0670-toscapolicies.sql 14:34:02 kafka | log.roll.jitter.ms = null 14:34:02 policy-apex-pdp | check.crcs = true 14:34:02 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | log.roll.ms = null 14:34:02 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 kafka | log.segment.bytes = 1073741824 14:34:02 policy-apex-pdp | client.id = consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | log.segment.delete.delay.ms = 60000 14:34:02 policy-apex-pdp | client.rack = 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | max.connection.creation.rate = 2147483647 14:34:02 kafka | max.connections = 2147483647 14:34:02 simulator | key: "update-config-request" 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:02 kafka | max.connections.per.ip = 2147483647 14:34:02 kafka | max.connections.per.ip.overrides = 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | default.api.timeout.ms = 60000 14:34:02 kafka | max.incremental.fetch.session.cache.slots = 1000 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 14:34:02 simulator | struct_value { 14:34:02 policy-apex-pdp | enable.auto.commit = true 14:34:02 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:02 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | exclude.internal.topics = true 14:34:02 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:02 policy-pap | security.protocol = PLAINTEXT 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | key: "hostname" 14:34:02 policy-apex-pdp | fetch.max.bytes = 52428800 14:34:02 policy-pap | security.providers = null 14:34:02 policy-pap | send.buffer.bytes = 131072 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | fetch.max.wait.ms = 500 14:34:02 policy-pap | session.timeout.ms = 45000 14:34:02 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:02 policy-db-migrator | 14:34:02 simulator | string_value: "hostou8rlh" 14:34:02 policy-apex-pdp | fetch.min.bytes = 1 14:34:02 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:02 policy-pap | ssl.cipher.suites = null 14:34:02 policy-db-migrator | > upgrade 0690-toscapolicy.sql 14:34:02 simulator | } 14:34:02 policy-apex-pdp | group.id = cc040915-4d26-424c-b5df-7390d86d8b16 14:34:02 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | } 14:34:02 policy-apex-pdp | group.instance.id = null 14:34:02 policy-pap | ssl.engine.factory.class = null 14:34:02 policy-pap | ssl.key.password = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | fields { 14:34:02 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:02 policy-pap | ssl.keystore.certificate.chain = null 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | key: "IP" 14:34:02 policy-apex-pdp | heartbeat.interval.ms = 3000 14:34:02 policy-pap | ssl.keystore.key = null 14:34:02 policy-pap | ssl.keystore.location = null 14:34:02 policy-db-migrator | 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | interceptor.classes = [] 14:34:02 policy-pap | ssl.keystore.password = null 14:34:02 policy-pap | ssl.keystore.type = JKS 14:34:02 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-apex-pdp | internal.leave.group.on.close = true 14:34:02 policy-pap | ssl.protocol = TLSv1.3 14:34:02 policy-pap | ssl.provider = null 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | } 14:34:02 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 policy-pap | ssl.secure.random.implementation = null 14:34:02 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | } 14:34:02 policy-apex-pdp | isolation.level = read_uncommitted 14:34:02 policy-pap | ssl.truststore.certificates = null 14:34:02 policy-pap | ssl.truststore.location = null 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 policy-pap | ssl.truststore.password = null 14:34:02 policy-pap | ssl.truststore.type = JKS 14:34:02 policy-db-migrator | 14:34:02 simulator | key: "pnfName" 14:34:02 policy-apex-pdp | max.partition.fetch.bytes = 1048576 14:34:02 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 policy-pap | 14:34:02 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | [2024-01-20T14:32:38.290+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 policy-pap | [2024-01-20T14:32:38.290+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | [2024-01-20T14:32:38.290+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761158288 14:34:02 simulator | value { 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | max.poll.interval.ms = 300000 14:34:02 policy-pap | [2024-01-20T14:32:38.292+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-1, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Subscribed to topic(s): policy-pdp-pap 14:34:02 policy-pap | [2024-01-20T14:32:38.292+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | max.poll.records = 500 14:34:02 policy-pap | allow.auto.create.topics = true 14:34:02 policy-pap | auto.commit.interval.ms = 5000 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 14:34:02 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:02 policy-pap | auto.include.jmx.reporter = true 14:34:02 policy-pap | auto.offset.reset = latest 14:34:02 simulator | } 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | metric.reporters = [] 14:34:02 policy-pap | bootstrap.servers = [kafka:9092] 14:34:02 policy-pap | check.crcs = true 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:02 policy-pap | client.id = consumer-policy-pap-2 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | metrics.num.samples = 2 14:34:02 policy-pap | client.rack = 14:34:02 policy-pap | connections.max.idle.ms = 540000 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | metrics.recording.level = INFO 14:34:02 policy-pap | default.api.timeout.ms = 60000 14:34:02 policy-pap | enable.auto.commit = true 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 0730-toscaproperty.sql 14:34:02 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:02 policy-pap | exclude.internal.topics = true 14:34:02 policy-pap | fetch.max.bytes = 52428800 14:34:02 simulator | 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:02 policy-pap | fetch.max.wait.ms = 500 14:34:02 policy-pap | fetch.min.bytes = 1 14:34:02 simulator | 2024-01-20 14:33:25,535 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | group.id = policy-pap 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | message.max.bytes = 1048588 14:34:02 simulator | 2024-01-20 14:33:41,649 INFO 172.17.0.10 - - [20/Jan/2024:14:33:41 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 policy-pap | group.instance.id = null 14:34:02 policy-pap | heartbeat.interval.ms = 3000 14:34:02 simulator | 2024-01-20 14:33:41,675 INFO Received request input to CDS: commonHeader { 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | receive.buffer.bytes = 65536 14:34:02 policy-pap | interceptor.classes = [] 14:34:02 policy-pap | internal.leave.group.on.close = true 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 14:34:02 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:02 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 policy-pap | isolation.level = read_uncommitted 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | metadata.log.dir = null 14:34:02 simulator | originatorId: "POLICY" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 kafka | metadata.log.max.record.bytes.between.snapshots = 20971520 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | max.partition.fetch.bytes = 1048576 14:34:02 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:02 kafka | metadata.log.max.snapshot.interval.ms = 3600000 14:34:02 simulator | actionIdentifiers { 14:34:02 policy-db-migrator | 14:34:02 policy-pap | max.poll.interval.ms = 300000 14:34:02 policy-apex-pdp | request.timeout.ms = 30000 14:34:02 kafka | metadata.log.segment.bytes = 1073741824 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 14:34:02 policy-pap | max.poll.records = 500 14:34:02 policy-apex-pdp | retry.backoff.ms = 100 14:34:02 kafka | metadata.log.segment.min.bytes = 8388608 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-pap | metadata.max.age.ms = 300000 14:34:02 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:02 kafka | metadata.log.segment.ms = 604800000 14:34:02 simulator | actionName: "update-config" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | metric.reporters = [] 14:34:02 policy-apex-pdp | sasl.jaas.config = null 14:34:02 kafka | metadata.max.idle.interval.ms = 500 14:34:02 simulator | mode: "sync" 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | metrics.num.samples = 2 14:34:02 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 kafka | metadata.max.retention.bytes = 104857600 14:34:02 kafka | metadata.max.retention.ms = 604800000 14:34:02 simulator | payload { 14:34:02 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 kafka | metric.reporters = [] 14:34:02 kafka | metrics.num.samples = 2 14:34:02 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 14:34:02 simulator | fields { 14:34:02 kafka | metrics.recording.level = INFO 14:34:02 kafka | metrics.sample.window.ms = 30000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | key: "update-config-request" 14:34:02 kafka | min.insync.replicas = 1 14:34:02 kafka | node.id = 1 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | value { 14:34:02 kafka | num.io.threads = 8 14:34:02 kafka | num.network.threads = 3 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | struct_value { 14:34:02 kafka | num.partitions = 1 14:34:02 kafka | num.recovery.threads.per.data.dir = 1 14:34:02 policy-db-migrator | 14:34:02 simulator | fields { 14:34:02 kafka | num.replica.alter.log.dirs.threads = null 14:34:02 kafka | num.replica.fetchers = 1 14:34:02 policy-db-migrator | > upgrade 0770-toscarequirement.sql 14:34:02 simulator | key: "hostname" 14:34:02 kafka | offset.metadata.max.bytes = 4096 14:34:02 kafka | offsets.commit.required.acks = -1 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:02 kafka | offsets.commit.timeout.ms = 5000 14:34:02 kafka | offsets.load.buffer.size = 5242880 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | string_value: "hostn9e2ac" 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 kafka | offsets.retention.check.interval.ms = 600000 14:34:02 kafka | offsets.retention.minutes = 10080 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | } 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 kafka | offsets.topic.compression.codec = 0 14:34:02 kafka | offsets.topic.num.partitions = 50 14:34:02 policy-db-migrator | 14:34:02 simulator | } 14:34:02 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:02 policy-pap | metrics.recording.level = INFO 14:34:02 policy-pap | metrics.sample.window.ms = 30000 14:34:02 policy-db-migrator | > upgrade 0780-toscarequirements.sql 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | sasl.login.class = null 14:34:02 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:02 policy-pap | receive.buffer.bytes = 65536 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | key: "IP" 14:34:02 policy-pap | reconnect.backoff.max.ms = 1000 14:34:02 policy-pap | reconnect.backoff.ms = 50 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:02 policy-pap | request.timeout.ms = 30000 14:34:02 policy-pap | retry.backoff.ms = 100 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:02 policy-pap | sasl.client.callback.handler.class = null 14:34:02 policy-pap | sasl.jaas.config = null 14:34:02 policy-db-migrator | 14:34:02 simulator | } 14:34:02 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:02 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 14:34:02 simulator | } 14:34:02 policy-pap | sasl.kerberos.service.name = null 14:34:02 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:02 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 policy-pap | sasl.login.callback.handler.class = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | key: "pnfName" 14:34:02 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:02 policy-pap | sasl.login.class = null 14:34:02 policy-pap | sasl.login.connect.timeout.ms = null 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | value { 14:34:02 policy-pap | sasl.login.read.timeout.ms = null 14:34:02 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:02 policy-db-migrator | 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:02 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:02 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 14:34:02 simulator | } 14:34:02 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:02 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:02 simulator | } 14:34:02 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:02 policy-pap | sasl.mechanism = GSSAPI 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:02 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:02 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:02 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 kafka | offsets.topic.replication.factor = 1 14:34:02 kafka | offsets.topic.segment.bytes = 104857600 14:34:02 kafka | password.encoder.cipher.algorithm = AES/CBC/PKCS5Padding 14:34:02 kafka | password.encoder.iterations = 4096 14:34:02 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 kafka | password.encoder.key.length = 128 14:34:02 kafka | password.encoder.keyfactory.algorithm = null 14:34:02 kafka | password.encoder.old.secret = null 14:34:02 kafka | password.encoder.secret = null 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:02 simulator | } 14:34:02 kafka | principal.builder.class = class org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder 14:34:02 kafka | process.roles = [] 14:34:02 simulator | } 14:34:02 kafka | producer.id.expiration.check.interval.ms = 600000 14:34:02 kafka | producer.id.expiration.ms = 86400000 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:02 simulator | } 14:34:02 kafka | producer.purgatory.purge.interval.requests = 1000 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 simulator | } 14:34:02 kafka | queued.max.request.bytes = -1 14:34:02 kafka | queued.max.requests = 500 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 simulator | 14:34:02 kafka | quota.window.num = 11 14:34:02 kafka | quota.window.size.seconds = 1 14:34:02 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 simulator | 2024-01-20 14:33:41,677 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 kafka | remote.log.index.file.cache.total.size.bytes = 1073741824 14:34:02 kafka | remote.log.manager.task.interval.ms = 30000 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 simulator | 2024-01-20 14:33:41,682 INFO 172.17.0.10 - - [20/Jan/2024:14:33:41 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 kafka | remote.log.manager.task.retry.backoff.max.ms = 30000 14:34:02 kafka | remote.log.manager.task.retry.backoff.ms = 500 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | 2024-01-20 14:33:41,721 INFO Received request input to CDS: commonHeader { 14:34:02 kafka | remote.log.manager.task.retry.jitter = 0.2 14:34:02 kafka | remote.log.manager.thread.pool.size = 10 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 kafka | remote.log.metadata.manager.class.name = null 14:34:02 kafka | remote.log.metadata.manager.class.path = null 14:34:02 policy-db-migrator | 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 kafka | remote.log.metadata.manager.impl.prefix = null 14:34:02 kafka | remote.log.metadata.manager.listener.name = null 14:34:02 policy-db-migrator | > upgrade 0820-toscatrigger.sql 14:34:02 simulator | originatorId: "POLICY" 14:34:02 kafka | remote.log.reader.max.pending.tasks = 100 14:34:02 kafka | remote.log.reader.threads = 10 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 simulator | } 14:34:02 kafka | remote.log.storage.manager.class.name = null 14:34:02 kafka | remote.log.storage.manager.class.path = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | actionIdentifiers { 14:34:02 kafka | remote.log.storage.manager.impl.prefix = null 14:34:02 kafka | remote.log.storage.system.enable = false 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 kafka | replica.fetch.backoff.ms = 1000 14:34:02 kafka | replica.fetch.max.bytes = 1048576 14:34:02 policy-db-migrator | 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 kafka | replica.fetch.min.bytes = 1 14:34:02 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 14:34:02 simulator | actionName: "update-config" 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 kafka | replica.fetch.response.max.bytes = 10485760 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | mode: "sync" 14:34:02 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:02 kafka | replica.fetch.wait.max.ms = 500 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | } 14:34:02 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:02 kafka | replica.high.watermark.checkpoint.interval.ms = 5000 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | replica.lag.time.max.ms = 30000 14:34:02 policy-db-migrator | 14:34:02 simulator | payload { 14:34:02 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:02 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:02 kafka | replica.selector.class = null 14:34:02 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:02 policy-pap | security.protocol = PLAINTEXT 14:34:02 kafka | replica.socket.receive.buffer.bytes = 65536 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | key: "update-config-request" 14:34:02 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:02 policy-pap | security.providers = null 14:34:02 kafka | replica.socket.timeout.ms = 30000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:02 policy-pap | send.buffer.bytes = 131072 14:34:02 kafka | replication.quota.window.num = 11 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | struct_value { 14:34:02 policy-apex-pdp | security.providers = null 14:34:02 policy-pap | session.timeout.ms = 45000 14:34:02 kafka | replication.quota.window.size.seconds = 1 14:34:02 policy-db-migrator | 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | send.buffer.bytes = 131072 14:34:02 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:02 kafka | request.timeout.ms = 30000 14:34:02 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 14:34:02 simulator | key: "hostname" 14:34:02 policy-apex-pdp | session.timeout.ms = 45000 14:34:02 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:02 kafka | reserved.broker.max.id = 1000 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:02 policy-pap | ssl.cipher.suites = null 14:34:02 kafka | sasl.client.callback.handler.class = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | string_value: "host5stybm" 14:34:02 kafka | sasl.enabled.mechanisms = [GSSAPI] 14:34:02 simulator | } 14:34:02 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | sasl.jaas.config = null 14:34:02 simulator | } 14:34:02 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:02 policy-db-migrator | 14:34:02 kafka | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 policy-pap | ssl.engine.factory.class = null 14:34:02 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 14:34:02 simulator | fields { 14:34:02 kafka | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 policy-pap | ssl.key.password = null 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | key: "IP" 14:34:02 kafka | sasl.kerberos.principal.to.local.rules = [DEFAULT] 14:34:02 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | value { 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:02 kafka | sasl.kerberos.service.name = null 14:34:02 policy-pap | ssl.keystore.certificate.chain = null 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-apex-pdp | ssl.cipher.suites = null 14:34:02 kafka | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 policy-pap | ssl.keystore.key = null 14:34:02 policy-db-migrator | 14:34:02 simulator | } 14:34:02 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 kafka | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 policy-pap | ssl.keystore.location = null 14:34:02 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 14:34:02 simulator | } 14:34:02 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:02 kafka | sasl.login.callback.handler.class = null 14:34:02 policy-pap | ssl.keystore.password = null 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | fields { 14:34:02 policy-apex-pdp | ssl.engine.factory.class = null 14:34:02 kafka | sasl.login.class = null 14:34:02 policy-pap | ssl.keystore.type = JKS 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | key: "pnfName" 14:34:02 policy-apex-pdp | ssl.key.password = null 14:34:02 kafka | sasl.login.connect.timeout.ms = null 14:34:02 policy-pap | ssl.protocol = TLSv1.3 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | value { 14:34:02 kafka | sasl.login.read.timeout.ms = null 14:34:02 policy-db-migrator | 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-pap | ssl.provider = null 14:34:02 kafka | sasl.login.refresh.buffer.seconds = 300 14:34:02 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 14:34:02 simulator | } 14:34:02 policy-pap | ssl.secure.random.implementation = null 14:34:02 kafka | sasl.login.refresh.min.period.seconds = 60 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | } 14:34:02 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:02 kafka | sasl.login.refresh.window.factor = 0.8 14:34:02 simulator | } 14:34:02 policy-pap | ssl.truststore.certificates = null 14:34:02 kafka | sasl.login.refresh.window.jitter = 0.05 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | ssl.truststore.location = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | ssl.truststore.password = null 14:34:02 kafka | sasl.login.retry.backoff.max.ms = 10000 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 kafka | sasl.login.retry.backoff.ms = 100 14:34:02 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 14:34:02 policy-pap | ssl.truststore.type = JKS 14:34:02 kafka | sasl.mechanism.controller.protocol = GSSAPI 14:34:02 simulator | 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 kafka | sasl.mechanism.inter.broker.protocol = GSSAPI 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | 14:34:02 kafka | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | 2024-01-20 14:33:41,723 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 policy-pap | [2024-01-20T14:32:38.298+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 policy-db-migrator | 14:34:02 simulator | 2024-01-20 14:33:46,752 INFO 172.17.0.10 - - [20/Jan/2024:14:33:46 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 kafka | sasl.oauthbearer.expected.audience = null 14:34:02 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:02 policy-pap | [2024-01-20T14:32:38.298+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 14:34:02 simulator | 2024-01-20 14:33:46,757 INFO 172.17.0.10 - - [20/Jan/2024:14:33:46 +0000] "GET /aai/v16/network/pnfs/pnf/demo-pnf HTTP/1.1" 200 283 "-" "Jersey/3.1.3 (HttpUrlConnection 17.0.9)" 14:34:02 kafka | sasl.oauthbearer.expected.issuer = null 14:34:02 policy-pap | [2024-01-20T14:32:38.298+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761158298 14:34:02 simulator | 2024-01-20 14:33:46,783 INFO Received request input to CDS: commonHeader { 14:34:02 kafka | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-pap | [2024-01-20T14:32:38.298+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-2, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | ssl.keystore.key = null 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 policy-pap | [2024-01-20T14:32:38.659+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=xacml, supportedPolicyTypes=[onap.policies.controlloop.guard.common.FrequencyLimiter 1.0.0, onap.policies.controlloop.guard.common.MinMax 1.0.0, onap.policies.controlloop.guard.common.Blacklist 1.0.0, onap.policies.controlloop.guard.common.Filter 1.0.0, onap.policies.controlloop.guard.coordination.FirstBlocksSecond 1.0.0, onap.policies.monitoring.* 1.0.0, onap.policies.optimization.* 1.0.0, onap.policies.optimization.resource.AffinityPolicy 1.0.0, onap.policies.optimization.resource.DistancePolicy 1.0.0, onap.policies.optimization.resource.HpaPolicy 1.0.0, onap.policies.optimization.resource.OptimizationPolicy 1.0.0, onap.policies.optimization.resource.PciPolicy 1.0.0, onap.policies.optimization.service.QueryPolicy 1.0.0, onap.policies.optimization.service.SubscriberPolicy 1.0.0, onap.policies.optimization.resource.Vim_fit 1.0.0, onap.policies.optimization.resource.VnfPolicy 1.0.0, onap.policies.native.Xacml 1.0.0, onap.policies.Naming 1.0.0, onap.policies.match.* 1.0.0], policies=[SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP 1.0.0], currentInstanceCount=0, desiredInstanceCount=1, properties=null, pdpInstances=null), PdpSubGroup(pdpType=drools, supportedPolicyTypes=[onap.policies.controlloop.operational.common.Drools 1.0.0, onap.policies.native.drools.Controller 1.0.0, onap.policies.native.drools.Artifact 1.0.0], policies=[], currentInstanceCount=0, desiredInstanceCount=1, properties=null, pdpInstances=null), 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 PapDb.json 14:34:02 kafka | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | ssl.keystore.location = null 14:34:02 simulator | originatorId: "POLICY" 14:34:02 policy-pap | [2024-01-20T14:32:38.800+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 14:34:02 kafka | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | ssl.keystore.password = null 14:34:02 simulator | } 14:34:02 policy-pap | [2024-01-20T14:32:39.033+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@280c3dc0, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f89ad03, org.springframework.security.web.context.SecurityContextHolderFilter@7bd7d71c, org.springframework.security.web.header.HeaderWriterFilter@7c6ab057, org.springframework.security.web.authentication.logout.LogoutFilter@6b6c0b7c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3340ff7c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@ce0bbd5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7c359808, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@f287a4e, org.springframework.security.web.access.ExceptionTranslationFilter@7c8f803d, org.springframework.security.web.access.intercept.AuthorizationFilter@55cb3b7] 14:34:02 kafka | sasl.oauthbearer.scope.claim.name = scope 14:34:02 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 14:34:02 policy-apex-pdp | ssl.keystore.type = JKS 14:34:02 simulator | actionIdentifiers { 14:34:02 policy-pap | [2024-01-20T14:32:39.851+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 14:34:02 kafka | sasl.oauthbearer.sub.claim.name = sub 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 policy-pap | [2024-01-20T14:32:39.915+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 14:34:02 kafka | sasl.oauthbearer.token.endpoint.url = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 policy-pap | [2024-01-20T14:32:39.953+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/pap/v1' 14:34:02 kafka | sasl.server.callback.handler.class = null 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | ssl.provider = null 14:34:02 simulator | actionName: "update-config" 14:34:02 policy-pap | [2024-01-20T14:32:39.973+00:00|INFO|ServiceManager|main] Policy PAP starting 14:34:02 kafka | sasl.server.max.receive.size = 524288 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:02 simulator | mode: "sync" 14:34:02 policy-pap | [2024-01-20T14:32:39.973+00:00|INFO|ServiceManager|main] Policy PAP starting Meter Registry 14:34:02 kafka | security.inter.broker.protocol = PLAINTEXT 14:34:02 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 14:34:02 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:02 simulator | } 14:34:02 policy-pap | [2024-01-20T14:32:39.973+00:00|INFO|ServiceManager|main] Policy PAP starting PAP parameters 14:34:02 kafka | security.providers = null 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-apex-pdp | ssl.truststore.certificates = null 14:34:02 simulator | payload { 14:34:02 policy-pap | [2024-01-20T14:32:39.974+00:00|INFO|ServiceManager|main] Policy PAP starting Pdp Heartbeat Listener 14:34:02 kafka | server.max.startup.time.ms = 9223372036854775807 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | ssl.truststore.location = null 14:34:02 simulator | fields { 14:34:02 policy-pap | [2024-01-20T14:32:39.974+00:00|INFO|ServiceManager|main] Policy PAP starting Response Request ID Dispatcher 14:34:02 kafka | socket.connection.setup.timeout.max.ms = 30000 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | key: "update-config-request" 14:34:02 policy-pap | [2024-01-20T14:32:39.975+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Request ID Dispatcher 14:34:02 kafka | socket.connection.setup.timeout.ms = 10000 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | ssl.truststore.password = null 14:34:02 simulator | value { 14:34:02 policy-pap | [2024-01-20T14:32:39.975+00:00|INFO|ServiceManager|main] Policy PAP starting Response Message Dispatcher 14:34:02 kafka | socket.listen.backlog.size = 50 14:34:02 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 14:34:02 policy-apex-pdp | ssl.truststore.type = JKS 14:34:02 simulator | struct_value { 14:34:02 policy-pap | [2024-01-20T14:32:39.980+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=fa6a695a-882b-4452-b55c-58cde0fc980e, 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@239bc43f 14:34:02 kafka | socket.receive.buffer.bytes = 102400 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 simulator | fields { 14:34:02 policy-pap | [2024-01-20T14:32:39.990+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=fa6a695a-882b-4452-b55c-58cde0fc980e, 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 14:34:02 kafka | socket.request.max.bytes = 104857600 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | 14:34:02 simulator | key: "hostname" 14:34:02 policy-pap | [2024-01-20T14:32:39.990+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 kafka | socket.send.buffer.bytes = 102400 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.428+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 simulator | value { 14:34:02 policy-pap | allow.auto.create.topics = true 14:34:02 kafka | ssl.cipher.suites = [] 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.428+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 simulator | string_value: "hostcbaypt" 14:34:02 policy-pap | auto.commit.interval.ms = 5000 14:34:02 kafka | ssl.client.auth = none 14:34:02 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.428+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761161428 14:34:02 simulator | } 14:34:02 policy-pap | auto.include.jmx.reporter = true 14:34:02 kafka | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.428+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Subscribed to topic(s): policy-pdp-pap 14:34:02 simulator | } 14:34:02 policy-pap | auto.offset.reset = latest 14:34:02 kafka | ssl.endpoint.identification.algorithm = https 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.431+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=2c12b8aa-f460-4c6f-9b7e-0a9ee4e366f3, alive=false, publisher=null]]: starting 14:34:02 simulator | fields { 14:34:02 policy-pap | bootstrap.servers = [kafka:9092] 14:34:02 kafka | ssl.engine.factory.class = null 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.444+00:00|INFO|ProducerConfig|main] ProducerConfig values: 14:34:02 simulator | key: "IP" 14:34:02 policy-pap | check.crcs = true 14:34:02 kafka | ssl.key.password = null 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | acks = -1 14:34:02 simulator | value { 14:34:02 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:02 kafka | ssl.keymanager.algorithm = SunX509 14:34:02 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 14:34:02 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-pap | client.id = consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 simulator | } 14:34:02 policy-pap | client.rack = 14:34:02 kafka | ssl.keystore.certificate.chain = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | connections.max.idle.ms = 540000 14:34:02 kafka | ssl.keystore.key = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | default.api.timeout.ms = 60000 14:34:02 kafka | ssl.keystore.location = null 14:34:02 policy-apex-pdp | batch.size = 16384 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | 14:34:02 policy-pap | enable.auto.commit = true 14:34:02 kafka | ssl.keystore.password = null 14:34:02 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:02 simulator | key: "pnfName" 14:34:02 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 14:34:02 policy-pap | exclude.internal.topics = true 14:34:02 kafka | ssl.keystore.type = JKS 14:34:02 policy-apex-pdp | buffer.memory = 33554432 14:34:02 simulator | value { 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | fetch.max.bytes = 52428800 14:34:02 kafka | ssl.principal.mapping.rules = DEFAULT 14:34:02 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | fetch.max.wait.ms = 500 14:34:02 kafka | ssl.protocol = TLSv1.3 14:34:02 policy-apex-pdp | client.id = producer-1 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | fetch.min.bytes = 1 14:34:02 kafka | ssl.provider = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 policy-pap | group.id = fa6a695a-882b-4452-b55c-58cde0fc980e 14:34:02 kafka | ssl.secure.random.implementation = null 14:34:02 policy-apex-pdp | compression.type = none 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 14:34:02 policy-pap | group.instance.id = null 14:34:02 kafka | ssl.trustmanager.algorithm = PKIX 14:34:02 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:02 simulator | } 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | heartbeat.interval.ms = 3000 14:34:02 kafka | ssl.truststore.certificates = null 14:34:02 policy-apex-pdp | delivery.timeout.ms = 120000 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | interceptor.classes = [] 14:34:02 kafka | ssl.truststore.location = null 14:34:02 policy-apex-pdp | enable.idempotence = true 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | internal.leave.group.on.close = true 14:34:02 kafka | ssl.truststore.password = null 14:34:02 policy-apex-pdp | interceptor.classes = [] 14:34:02 simulator | 14:34:02 policy-db-migrator | 14:34:02 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 kafka | ssl.truststore.type = JKS 14:34:02 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:02 simulator | 2024-01-20 14:33:46,785 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 14:34:02 policy-pap | isolation.level = read_uncommitted 14:34:02 kafka | transaction.abort.timed.out.transaction.cleanup.interval.ms = 10000 14:34:02 policy-apex-pdp | linger.ms = 0 14:34:02 simulator | 2024-01-20 14:33:46,795 INFO Received request input to CDS: commonHeader { 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 kafka | transaction.max.timeout.ms = 900000 14:34:02 policy-apex-pdp | max.block.ms = 60000 14:34:02 simulator | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | max.partition.fetch.bytes = 1048576 14:34:02 kafka | transaction.remove.expired.transaction.cleanup.interval.ms = 3600000 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | transaction.state.log.load.buffer.size = 5242880 14:34:02 simulator | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:02 policy-pap | max.poll.interval.ms = 300000 14:34:02 policy-db-migrator | 14:34:02 simulator | originatorId: "POLICY" 14:34:02 policy-pap | max.poll.records = 500 14:34:02 kafka | transaction.state.log.min.isr = 2 14:34:02 policy-apex-pdp | max.in.flight.requests.per.connection = 5 14:34:02 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 14:34:02 simulator | } 14:34:02 policy-pap | metadata.max.age.ms = 300000 14:34:02 kafka | transaction.state.log.num.partitions = 50 14:34:02 policy-apex-pdp | max.request.size = 1048576 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 simulator | actionIdentifiers { 14:34:02 policy-pap | metric.reporters = [] 14:34:02 kafka | transaction.state.log.replication.factor = 3 14:34:02 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 simulator | blueprintName: "controlloop-hostname-update" 14:34:02 policy-pap | metrics.num.samples = 2 14:34:02 kafka | transaction.state.log.segment.bytes = 104857600 14:34:02 policy-apex-pdp | metadata.max.idle.ms = 300000 14:34:02 policy-db-migrator | rc=0 14:34:02 simulator | blueprintVersion: "1.0.4" 14:34:02 policy-pap | metrics.recording.level = INFO 14:34:02 kafka | transactional.id.expiration.ms = 604800000 14:34:02 simulator | actionName: "update-config" 14:34:02 policy-db-migrator | 14:34:02 kafka | unclean.leader.election.enable = false 14:34:02 policy-pap | metrics.sample.window.ms = 30000 14:34:02 simulator | mode: "sync" 14:34:02 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 14:34:02 kafka | unstable.api.versions.enable = false 14:34:02 policy-apex-pdp | metric.reporters = [] 14:34:02 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:02 simulator | } 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 kafka | zookeeper.clientCnxnSocket = null 14:34:02 policy-apex-pdp | metrics.num.samples = 2 14:34:02 policy-pap | receive.buffer.bytes = 65536 14:34:02 simulator | payload { 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | zookeeper.connect = zookeeper:2181 14:34:02 policy-apex-pdp | metrics.recording.level = INFO 14:34:02 policy-pap | reconnect.backoff.max.ms = 1000 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | zookeeper.connection.timeout.ms = null 14:34:02 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:02 policy-pap | reconnect.backoff.ms = 50 14:34:02 simulator | key: "update-config-request" 14:34:02 policy-db-migrator | 14:34:02 kafka | zookeeper.max.in.flight.requests = 10 14:34:02 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 14:34:02 policy-pap | request.timeout.ms = 30000 14:34:02 simulator | value { 14:34:02 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 14:34:02 policy-apex-pdp | partitioner.availability.timeout.ms = 0 14:34:02 policy-pap | retry.backoff.ms = 100 14:34:02 simulator | struct_value { 14:34:02 kafka | zookeeper.metadata.migration.enable = false 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-apex-pdp | partitioner.class = null 14:34:02 policy-pap | sasl.client.callback.handler.class = null 14:34:02 simulator | fields { 14:34:02 kafka | zookeeper.session.timeout.ms = 18000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | partitioner.ignore.keys = false 14:34:02 policy-pap | sasl.jaas.config = null 14:34:02 simulator | key: "hostname" 14:34:02 kafka | zookeeper.set.acl = false 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | receive.buffer.bytes = 32768 14:34:02 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 simulator | value { 14:34:02 kafka | zookeeper.ssl.cipher.suites = null 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:02 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 simulator | string_value: "host15h2o9" 14:34:02 kafka | zookeeper.ssl.client.enable = false 14:34:02 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 14:34:02 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:02 policy-pap | sasl.kerberos.service.name = null 14:34:02 simulator | } 14:34:02 kafka | zookeeper.ssl.crl.enable = false 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-apex-pdp | request.timeout.ms = 30000 14:34:02 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 simulator | } 14:34:02 kafka | zookeeper.ssl.enabled.protocols = null 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | retries = 2147483647 14:34:02 policy-apex-pdp | retry.backoff.ms = 100 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | zookeeper.ssl.endpoint.identification.algorithm = HTTPS 14:34:02 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:02 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 simulator | key: "IP" 14:34:02 policy-db-migrator | 14:34:02 kafka | zookeeper.ssl.keystore.location = null 14:34:02 policy-apex-pdp | sasl.jaas.config = null 14:34:02 policy-pap | sasl.login.callback.handler.class = null 14:34:02 simulator | value { 14:34:02 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 14:34:02 kafka | zookeeper.ssl.keystore.password = null 14:34:02 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:02 policy-pap | sasl.login.class = null 14:34:02 simulator | string_value: "10.10.10.10" 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 kafka | zookeeper.ssl.keystore.type = null 14:34:02 policy-pap | sasl.login.connect.timeout.ms = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | zookeeper.ssl.ocsp.enable = false 14:34:02 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:02 policy-pap | sasl.login.read.timeout.ms = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 kafka | zookeeper.ssl.protocol = TLSv1.2 14:34:02 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:02 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:02 simulator | fields { 14:34:02 policy-db-migrator | 14:34:02 kafka | zookeeper.ssl.truststore.location = null 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:02 simulator | key: "pnfName" 14:34:02 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 14:34:02 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:02 kafka | zookeeper.ssl.truststore.password = null 14:34:02 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:02 simulator | value { 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:02 kafka | zookeeper.ssl.truststore.type = null 14:34:02 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:02 simulator | string_value: "demo-pnf" 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:02 kafka | (kafka.server.KafkaConfig) 14:34:02 policy-apex-pdp | sasl.login.class = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:02 kafka | [2024-01-20 14:32:16,893] INFO [ThrottledChannelReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 14:34:02 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:02 kafka | [2024-01-20 14:32:16,895] INFO [ThrottledChannelReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 14:34:02 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:02 simulator | } 14:34:02 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 14:34:02 policy-pap | sasl.mechanism = GSSAPI 14:34:02 kafka | [2024-01-20 14:32:16,899] INFO [ThrottledChannelReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 14:34:02 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:02 simulator | } 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 kafka | [2024-01-20 14:32:16,919] INFO [ThrottledChannelReaper-ControllerMutation]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper) 14:34:02 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:02 simulator | } 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:02 kafka | [2024-01-20 14:32:16,933] INFO Loading logs from log dirs ArraySeq(/var/lib/kafka/data) (kafka.log.LogManager) 14:34:02 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:02 simulator | } 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:02 kafka | [2024-01-20 14:32:16,937] INFO No logs found to be loaded in /var/lib/kafka/data (kafka.log.LogManager) 14:34:02 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:02 simulator | 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 kafka | [2024-01-20 14:32:16,944] INFO Loaded 0 logs in 10ms (kafka.log.LogManager) 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:02 simulator | 2024-01-20 14:33:46,796 INFO Fetching response from controlloop-hostname-update-update-config.json 14:34:02 policy-db-migrator | > upgrade 0100-pdp.sql 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 kafka | [2024-01-20 14:32:16,946] INFO Starting log cleanup with a period of 300000 ms. (kafka.log.LogManager) 14:34:02 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 kafka | [2024-01-20 14:32:16,948] INFO Starting log flusher with a default period of 9223372036854775807 ms. (kafka.log.LogManager) 14:34:02 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 kafka | [2024-01-20 14:32:16,962] INFO Starting the log cleaner (kafka.log.LogCleaner) 14:34:02 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:02 kafka | [2024-01-20 14:32:17,009] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner$CleanerThread) 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:02 policy-db-migrator | 14:34:02 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:02 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 14:34:02 kafka | [2024-01-20 14:32:17,031] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread) 14:34:02 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:02 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 kafka | [2024-01-20 14:32:17,044] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener) 14:34:02 policy-pap | security.protocol = PLAINTEXT 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | security.providers = null 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:02 kafka | [2024-01-20 14:32:17,090] INFO [zk-broker-1-to-controller-forwarding-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | send.buffer.bytes = 131072 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:02 kafka | [2024-01-20 14:32:17,437] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) 14:34:02 policy-db-migrator | 14:34:02 policy-pap | session.timeout.ms = 45000 14:34:02 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:02 kafka | [2024-01-20 14:32:17,462] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT) (kafka.network.SocketServer) 14:34:02 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 14:34:02 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:02 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:02 kafka | [2024-01-20 14:32:17,463] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:02 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:02 kafka | [2024-01-20 14:32:17,468] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT_HOST) (kafka.network.SocketServer) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | ssl.cipher.suites = null 14:34:02 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:02 kafka | [2024-01-20 14:32:17,471] INFO [zk-broker-1-to-controller-alter-partition-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:02 kafka | [2024-01-20 14:32:17,488] INFO [ExpirationReaper-1-Produce]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | 14:34:02 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:02 policy-apex-pdp | security.providers = null 14:34:02 kafka | [2024-01-20 14:32:17,490] INFO [ExpirationReaper-1-Fetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 14:34:02 policy-pap | ssl.engine.factory.class = null 14:34:02 policy-apex-pdp | send.buffer.bytes = 131072 14:34:02 kafka | [2024-01-20 14:32:17,490] INFO [ExpirationReaper-1-DeleteRecords]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | ssl.key.password = null 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:02 kafka | [2024-01-20 14:32:17,492] INFO [ExpirationReaper-1-ElectLeader]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:02 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:02 kafka | [2024-01-20 14:32:17,512] INFO [LogDirFailureHandler]: Starting (kafka.server.ReplicaManager$LogDirFailureHandler) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | ssl.keystore.certificate.chain = null 14:34:02 policy-apex-pdp | ssl.cipher.suites = null 14:34:02 kafka | [2024-01-20 14:32:17,535] INFO Creating /brokers/ids/1 (is it secure? false) (kafka.zk.KafkaZkClient) 14:34:02 policy-db-migrator | 14:34:02 policy-pap | ssl.keystore.key = null 14:34:02 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:02 kafka | [2024-01-20 14:32:17,559] INFO Stat of the created znode at /brokers/ids/1 is: 27,27,1705761137547,1705761137547,1,0,0,72057609655156737,258,0,27 14:34:02 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 14:34:02 policy-pap | ssl.keystore.location = null 14:34:02 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:02 kafka | (kafka.zk.KafkaZkClient) 14:34:02 policy-db-migrator | UPDATE 0 14:34:02 policy-pap | ssl.keystore.password = null 14:34:02 policy-apex-pdp | ssl.engine.factory.class = null 14:34:02 kafka | [2024-01-20 14:32:17,560] 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) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | ssl.keystore.type = JKS 14:34:02 policy-apex-pdp | ssl.key.password = null 14:34:02 kafka | [2024-01-20 14:32:17,618] INFO [ControllerEventThread controllerId=1] Starting (kafka.controller.ControllerEventManager$ControllerEventThread) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | ssl.protocol = TLSv1.3 14:34:02 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:02 kafka | [2024-01-20 14:32:17,630] INFO [ExpirationReaper-1-topic]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-pap | ssl.provider = null 14:34:02 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:02 kafka | [2024-01-20 14:32:17,631] INFO [ExpirationReaper-1-Heartbeat]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | 14:34:02 policy-pap | ssl.secure.random.implementation = null 14:34:02 policy-apex-pdp | ssl.keystore.key = null 14:34:02 kafka | [2024-01-20 14:32:17,632] INFO [ExpirationReaper-1-Rebalance]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 14:34:02 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:02 policy-apex-pdp | ssl.keystore.location = null 14:34:02 kafka | [2024-01-20 14:32:17,645] INFO Successfully created /controller_epoch with initial epoch 0 (kafka.zk.KafkaZkClient) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-pap | ssl.truststore.certificates = null 14:34:02 policy-apex-pdp | ssl.keystore.password = null 14:34:02 kafka | [2024-01-20 14:32:17,651] INFO [GroupCoordinator 1]: Starting up. (kafka.coordinator.group.GroupCoordinator) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-pap | ssl.truststore.location = null 14:34:02 policy-apex-pdp | ssl.keystore.type = JKS 14:34:02 kafka | [2024-01-20 14:32:17,655] INFO [Controller id=1] 1 successfully elected as the controller. Epoch incremented to 1 and epoch zk version is now 1 (kafka.controller.KafkaController) 14:34:02 policy-pap | ssl.truststore.password = null 14:34:02 kafka | [2024-01-20 14:32:17,657] INFO [GroupCoordinator 1]: Startup complete. (kafka.coordinator.group.GroupCoordinator) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:02 kafka | [2024-01-20 14:32:17,658] INFO [Controller id=1] Creating FeatureZNode at path: /feature with contents: FeatureZNode(2,Enabled,Map()) (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | 14:34:02 policy-pap | ssl.truststore.type = JKS 14:34:02 policy-apex-pdp | ssl.provider = null 14:34:02 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 kafka | [2024-01-20 14:32:17,662] INFO Feature ZK node created at path: /feature (kafka.server.FinalizedFeatureChangeListener) 14:34:02 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 14:34:02 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:02 policy-pap | 14:34:02 kafka | [2024-01-20 14:32:17,673] INFO [TransactionCoordinator id=1] Starting up. (kafka.coordinator.transaction.TransactionCoordinator) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:02 policy-pap | [2024-01-20T14:32:39.996+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 kafka | [2024-01-20 14:32:17,679] INFO [TransactionCoordinator id=1] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | ssl.truststore.certificates = null 14:34:02 policy-pap | [2024-01-20T14:32:39.996+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 kafka | [2024-01-20 14:32:17,679] INFO [TxnMarkerSenderThread-1]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | ssl.truststore.location = null 14:34:02 policy-pap | [2024-01-20T14:32:39.996+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761159996 14:34:02 kafka | [2024-01-20 14:32:17,686] INFO [MetadataCache brokerId=1] Updated cache from existing to latest FinalizedFeaturesAndEpoch(features=Map(), epoch=0). (kafka.server.metadata.ZkMetadataCache) 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | ssl.truststore.password = null 14:34:02 policy-pap | [2024-01-20T14:32:39.997+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Subscribed to topic(s): policy-pdp-pap 14:34:02 kafka | [2024-01-20 14:32:17,687] INFO [Controller id=1] Registering handlers (kafka.controller.KafkaController) 14:34:02 policy-apex-pdp | ssl.truststore.type = JKS 14:34:02 policy-pap | [2024-01-20T14:32:39.997+00:00|INFO|ServiceManager|main] Policy PAP starting Heartbeat Message Dispatcher 14:34:02 kafka | [2024-01-20 14:32:17,691] INFO [Controller id=1] Deleting log dir event notifications (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 14:34:02 policy-apex-pdp | transaction.timeout.ms = 60000 14:34:02 policy-pap | [2024-01-20T14:32:39.998+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=00db50ff-6c22-40e2-a34f-c2989d538bfc, 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@47f5ab58 14:34:02 kafka | [2024-01-20 14:32:17,694] INFO [Controller id=1] Deleting isr change notifications (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | UPDATE 0 14:34:02 policy-apex-pdp | transactional.id = null 14:34:02 policy-pap | [2024-01-20T14:32:39.998+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=00db50ff-6c22-40e2-a34f-c2989d538bfc, 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 14:34:02 kafka | [2024-01-20 14:32:17,696] INFO [Controller id=1] Initializing controller context (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:02 policy-pap | [2024-01-20T14:32:39.998+00:00|INFO|ConsumerConfig|main] ConsumerConfig values: 14:34:02 kafka | [2024-01-20 14:32:17,712] INFO [Controller id=1] Initialized broker epochs cache: HashMap(1 -> 27) (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | 14:34:02 policy-pap | allow.auto.create.topics = true 14:34:02 kafka | [2024-01-20 14:32:17,714] INFO [ExpirationReaper-1-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper) 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.459+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. 14:34:02 policy-pap | auto.commit.interval.ms = 5000 14:34:02 kafka | [2024-01-20 14:32:17,717] DEBUG [Controller id=1] Register BrokerModifications handler for Set(1) (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.471+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:02 policy-pap | auto.include.jmx.reporter = true 14:34:02 kafka | [2024-01-20 14:32:17,721] DEBUG [Channel manager on controller 1]: Controller 1 trying to connect to broker 1 (kafka.controller.ControllerChannelManager) 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.472+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:02 policy-pap | auto.offset.reset = latest 14:34:02 kafka | [2024-01-20 14:32:17,735] INFO [Controller id=1] Currently active brokers in the cluster: Set(1) (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.472+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761161471 14:34:02 policy-pap | bootstrap.servers = [kafka:9092] 14:34:02 kafka | [2024-01-20 14:32:17,736] INFO [Controller id=1] Currently shutting brokers in the cluster: HashSet() (kafka.controller.KafkaController) 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.472+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=2c12b8aa-f460-4c6f-9b7e-0a9ee4e366f3, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 14:34:02 policy-pap | check.crcs = true 14:34:02 policy-db-migrator | 14:34:02 kafka | [2024-01-20 14:32:17,736] INFO [Controller id=1] Current list of topics in the cluster: HashSet() (kafka.controller.KafkaController) 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.472+00:00|INFO|ServiceManager|main] service manager starting set alive 14:34:02 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:02 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 14:34:02 kafka | [2024-01-20 14:32:17,736] INFO [Controller id=1] Fetching topic deletions in progress (kafka.controller.KafkaController) 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.472+00:00|INFO|ServiceManager|main] service manager starting register pdp status context object 14:34:02 policy-pap | client.id = consumer-policy-pap-4 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 kafka | [2024-01-20 14:32:17,734] INFO [RequestSendThread controllerId=1] Starting (kafka.controller.RequestSendThread) 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.475+00:00|INFO|ServiceManager|main] service manager starting topic sinks 14:34:02 policy-pap | client.rack = 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | [2024-01-20 14:32:17,739] INFO [Controller id=1] List of topics to be deleted: (kafka.controller.KafkaController) 14:34:02 policy-pap | connections.max.idle.ms = 540000 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.475+00:00|INFO|ServiceManager|main] service manager starting Pdp Status publisher 14:34:02 kafka | [2024-01-20 14:32:17,739] INFO [Controller id=1] List of topics ineligible for deletion: (kafka.controller.KafkaController) 14:34:02 policy-pap | default.api.timeout.ms = 60000 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|ServiceManager|main] service manager starting Register pdp update listener 14:34:02 kafka | [2024-01-20 14:32:17,739] INFO [Controller id=1] Initializing topic deletion manager (kafka.controller.KafkaController) 14:34:02 policy-pap | enable.auto.commit = true 14:34:02 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|ServiceManager|main] service manager starting Register pdp state change request dispatcher 14:34:02 kafka | [2024-01-20 14:32:17,740] INFO [Topic Deletion Manager 1] Initializing manager with initial deletions: Set(), initial ineligible deletions: HashSet() (kafka.controller.TopicDeletionManager) 14:34:02 policy-pap | exclude.internal.topics = true 14:34:02 policy-db-migrator | CREATE INDEX 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|ServiceManager|main] service manager starting Message Dispatcher 14:34:02 kafka | [2024-01-20 14:32:17,741] INFO [Controller id=1] Sending update metadata request (kafka.controller.KafkaController) 14:34:02 policy-pap | fetch.max.bytes = 52428800 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|TopicBase|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=cc040915-4d26-424c-b5df-7390d86d8b16, consumerInstance=policy-apex-pdp, fetchTimeout=15000, fetchLimit=-1, consumer=KafkaConsumerWrapper [fetchTimeout=15000], alive=true, locked=false, uebThread=Thread[KAFKA-source-policy-pdp-pap,5,main], topicListeners=0, toString()=BusTopicBase [apiKey=null, apiSecret=null, useHttps=false, allowSelfSignedCerts=false, toString()=TopicBase [servers=[kafka:9092], topic=policy-pdp-pap, effectiveTopic=policy-pdp-pap, #recentEvents=0, locked=false, #topicListeners=0]]]]: registering org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher@4ee37ca3 14:34:02 kafka | [2024-01-20 14:32:17,742] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread) 14:34:02 policy-pap | fetch.max.wait.ms = 500 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=cc040915-4d26-424c-b5df-7390d86d8b16, 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 14:34:02 kafka | [2024-01-20 14:32:17,744] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 0 partitions (state.change.logger) 14:34:02 policy-pap | fetch.min.bytes = 1 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.479+00:00|INFO|ServiceManager|main] service manager starting Create REST server 14:34:02 kafka | [2024-01-20 14:32:17,756] INFO [ReplicaStateMachine controllerId=1] Initializing replica state (kafka.controller.ZkReplicaStateMachine) 14:34:02 policy-pap | group.id = policy-pap 14:34:02 policy-db-migrator | > upgrade 0210-sequence.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.495+00:00|INFO|OrderedServiceImpl|Timer-0] ***** OrderedServiceImpl implementers: 14:34:02 kafka | [2024-01-20 14:32:17,756] INFO [ReplicaStateMachine controllerId=1] Triggering online replica state changes (kafka.controller.ZkReplicaStateMachine) 14:34:02 policy-pap | group.instance.id = null 14:34:02 policy-db-migrator | CREATE TABLE 14:34:02 policy-apex-pdp | [] 14:34:02 kafka | [2024-01-20 14:32:17,759] INFO [ReplicaStateMachine controllerId=1] Triggering offline replica state changes (kafka.controller.ZkReplicaStateMachine) 14:34:02 policy-pap | heartbeat.interval.ms = 3000 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.496+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] 14:34:02 kafka | [2024-01-20 14:32:17,760] DEBUG [ReplicaStateMachine controllerId=1] Started replica state machine with initial state -> HashMap() (kafka.controller.ZkReplicaStateMachine) 14:34:02 policy-pap | interceptor.classes = [] 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"e15ce7e2-8a13-46f0-9ebb-fa7ff9e218cc","timestampMs":1705761161480,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:02 kafka | [2024-01-20 14:32:17,760] INFO [PartitionStateMachine controllerId=1] Initializing partition state (kafka.controller.ZkPartitionStateMachine) 14:34:02 policy-pap | internal.leave.group.on.close = true 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.683+00:00|INFO|ServiceManager|main] service manager starting Rest Server 14:34:02 kafka | [2024-01-20 14:32:17,762] INFO [PartitionStateMachine controllerId=1] Triggering online partition state changes (kafka.controller.ZkPartitionStateMachine) 14:34:02 policy-pap | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:02 policy-db-migrator | > upgrade 0220-sequence.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.683+00:00|INFO|ServiceManager|main] service manager starting 14:34:02 kafka | [2024-01-20 14:32:17,764] DEBUG [PartitionStateMachine controllerId=1] Started partition state machine with initial state -> HashMap() (kafka.controller.ZkPartitionStateMachine) 14:34:02 policy-pap | isolation.level = read_uncommitted 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.683+00:00|INFO|ServiceManager|main] service manager starting REST RestServerParameters 14:34:02 kafka | [2024-01-20 14:32:17,764] INFO [Controller id=1] Ready to serve as the new controller with epoch 1 (kafka.controller.KafkaController) 14:34:02 policy-pap | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.683+00:00|INFO|JettyServletServer|main] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-6969, toString()=JettyServletServer(name=RestServerParameters, host=0.0.0.0, port=6969, sniHostCheck=false, user=policyadmin, password=zb!XztG34, contextPath=/, jettyServer=Server@4628b1d3{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@77cf3f8b{/,null,STOPPED}, connector=RestServerParameters@6a1d204a{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=null, servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 kafka | [2024-01-20 14:32:17,765] INFO [SocketServer listenerType=ZK_BROKER, nodeId=1] Enabling request processing. (kafka.network.SocketServer) 14:34:02 policy-pap | max.partition.fetch.bytes = 1048576 14:34:02 policy-db-migrator | rc=0 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.698+00:00|INFO|ServiceManager|main] service manager started 14:34:02 kafka | [2024-01-20 14:32:17,768] INFO Awaiting socket connections on 0.0.0.0:29092. (kafka.network.DataPlaneAcceptor) 14:34:02 policy-pap | max.poll.interval.ms = 300000 14:34:02 policy-db-migrator | 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.698+00:00|INFO|ServiceManager|main] service manager started 14:34:02 kafka | [2024-01-20 14:32:17,770] INFO [Controller id=1] Partitions undergoing preferred replica election: (kafka.controller.KafkaController) 14:34:02 policy-pap | max.poll.records = 500 14:34:02 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.698+00:00|INFO|ApexStarterMain|main] Started policy-apex-pdp service successfully. 14:34:02 kafka | [2024-01-20 14:32:17,771] INFO [Controller id=1] Partitions that completed preferred replica election: (kafka.controller.KafkaController) 14:34:02 policy-pap | metadata.max.age.ms = 300000 14:34:02 policy-db-migrator | ALTER TABLE 14:34:02 kafka | [2024-01-20 14:32:17,771] INFO [Controller id=1] Skipping preferred replica election for partitions due to topic deletion: (kafka.controller.KafkaController) 14:34:02 policy-apex-pdp | [2024-01-20T14:32:41.698+00:00|INFO|JettyServletServer|RestServerParameters-6969] JettyJerseyServer [Jerseyservlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}}, swaggerId=swagger-6969, toString()=JettyServletServer(name=RestServerParameters, host=0.0.0.0, port=6969, sniHostCheck=false, user=policyadmin, password=zb!XztG34, contextPath=/, jettyServer=Server@4628b1d3{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@77cf3f8b{/,null,STOPPED}, connector=RestServerParameters@6a1d204a{HTTP/1.1, (http/1.1)}{0.0.0.0:6969}, jettyThread=Thread[RestServerParameters-6969,5,main], servlets={/metrics=io.prometheus.client.servlet.jakarta.exporter.MetricsServlet-2755d705==io.prometheus.client.servlet.jakarta.exporter.MetricsServlet@5eb35687{jsp=null,order=-1,inst=false,async=true,src=EMBEDDED:null,STOPPED}, /*=org.glassfish.jersey.servlet.ServletContainer-18cc679e==org.glassfish.jersey.servlet.ServletContainer@fbed57a2{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:02 policy-pap | metric.reporters = [] 14:34:02 policy-db-migrator | INSERT 0 1 14:34:02 kafka | [2024-01-20 14:32:17,771] INFO [Controller id=1] Resuming preferred replica election for partitions: (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.824+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 policy-pap | metrics.num.samples = 2 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:17,772] INFO [Controller id=1] Starting replica leader election (PREFERRED) for partitions triggered by ZkTriggered (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.824+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 policy-pap | metrics.recording.level = INFO 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:17,778] INFO [Controller id=1, targetBrokerId=1] Node 1 disconnected. (org.apache.kafka.clients.NetworkClient) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.825+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 2 with epoch 0 14:34:03 policy-pap | metrics.sample.window.ms = 30000 14:34:03 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 14:34:03 kafka | [2024-01-20 14:32:17,780] WARN [Controller id=1, targetBrokerId=1] Connection to node 1 (kafka/172.17.0.8:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.826+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) 14:34:03 policy-pap | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 kafka | [2024-01-20 14:32:17,782] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.846+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] (Re-)joining group 14:34:03 policy-pap | receive.buffer.bytes = 65536 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:17,783] WARN [RequestSendThread controllerId=1] Controller 1's connection to broker kafka:9092 (id: 1 rack: null) was unsuccessful (kafka.controller.RequestSendThread) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.870+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Request joining group due to: need to re-join with the given member-id: consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a 14:34:03 policy-pap | reconnect.backoff.max.ms = 1000 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | java.io.IOException: Connection to kafka:9092 (id: 1 rack: null) failed. 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.871+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] 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) 14:34:03 policy-pap | reconnect.backoff.ms = 50 14:34:03 policy-db-migrator | 14:34:03 kafka | at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:70) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:41.871+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] (Re-)joining group 14:34:03 policy-pap | request.timeout.ms = 30000 14:34:03 policy-db-migrator | > upgrade 0120-toscatrigger.sql 14:34:03 kafka | at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:298) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:42.344+00:00|INFO|GsonMessageBodyHandler|RestServerParameters-6969] Using GSON for REST calls 14:34:03 policy-pap | retry.backoff.ms = 100 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:251) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:42.346+00:00|INFO|YamlMessageBodyHandler|RestServerParameters-6969] Accepting YAML for REST calls 14:34:03 policy-pap | sasl.client.callback.handler.class = null 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | at org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:127) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:43.807+00:00|INFO|RequestLog|qtp830863979-33] 172.17.0.1 - - [20/Jan/2024:14:32:43 +0000] "GET / HTTP/1.1" 401 497 "-" "curl/7.58.0" 14:34:03 policy-pap | sasl.jaas.config = null 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:17,787] INFO [Controller id=1, targetBrokerId=1] Client requested connection close from node 1 (org.apache.kafka.clients.NetworkClient) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.876+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Successfully joined group with generation Generation{generationId=1, memberId='consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a', protocol='range'} 14:34:03 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:17,788] INFO [Controller id=1] Starting the controller scheduler (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.885+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Finished assignment for group at generation 1: {consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a=Assignment(partitions=[policy-pdp-pap-0])} 14:34:03 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 14:34:03 kafka | [2024-01-20 14:32:17,795] INFO Kafka version: 7.5.3-ccs (org.apache.kafka.common.utils.AppInfoParser) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.892+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Successfully synced group in generation Generation{generationId=1, memberId='consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a', protocol='range'} 14:34:03 policy-pap | sasl.kerberos.service.name = null 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 kafka | [2024-01-20 14:32:17,795] INFO Kafka commitId: 9090b26369455a2f335fbb5487fb89675ee406ab (org.apache.kafka.common.utils.AppInfoParser) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.893+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) 14:34:03 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:17,795] INFO Kafka startTimeMs: 1705761137791 (org.apache.kafka.common.utils.AppInfoParser) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.895+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Adding newly assigned partitions: policy-pdp-pap-0 14:34:03 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:17,797] INFO [KafkaServer id=1] started (kafka.server.KafkaServer) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.902+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] Found no committed offset for partition policy-pdp-pap-0 14:34:03 policy-pap | sasl.login.callback.handler.class = null 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:17,890] INFO [RequestSendThread controllerId=1] Controller 1 connected to kafka:9092 (id: 1 rack: null) for sending state change requests (kafka.controller.RequestSendThread) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:44.912+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2, groupId=cc040915-4d26-424c-b5df-7390d86d8b16] 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}}. 14:34:03 policy-pap | sasl.login.class = null 14:34:03 policy-db-migrator | > upgrade 0140-toscaparameter.sql 14:34:03 kafka | [2024-01-20 14:32:18,008] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:32:56.093+00:00|INFO|RequestLog|qtp830863979-28] 172.17.0.2 - policyadmin [20/Jan/2024:14:32:56 +0000] "GET /metrics HTTP/1.1" 200 10640 "-" "Prometheus/2.49.1" 14:34:03 policy-pap | sasl.login.connect.timeout.ms = null 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | [2024-01-20 14:32:18,021] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.480+00:00|INFO|network|Timer-0] [OUT|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | sasl.login.read.timeout.ms = null 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:18,080] 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) 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"5ec876e4-5f68-45ec-9b0b-9e0319950c06","timestampMs":1705761181479,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:22,793] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.501+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:22,793] TRACE [Controller id=1] Checking need to trigger auto leader balancing (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"5ec876e4-5f68-45ec-9b0b-9e0319950c06","timestampMs":1705761181479,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:03 policy-db-migrator | > upgrade 0150-toscaproperty.sql 14:34:03 kafka | [2024-01-20 14:32:40,504] DEBUG [Controller id=1] There is no producerId block yet (Zk path version 0), creating the first block (kafka.controller.KafkaController) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.504+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | [2024-01-20 14:32:40,510] INFO Creating topic policy-pdp-pap with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.697+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"messageName":"PDP_UPDATE","requestId":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","timestampMs":1705761181631,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,510] 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) 14:34:03 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.704+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:pdp/status/publisher 14:34:03 kafka | [2024-01-20 14:32:40,559] 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) 14:34:03 policy-pap | sasl.mechanism = GSSAPI 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.704+00:00|INFO|network|Timer-1] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,594] 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(QUaNeOakSv6ekPkdvTUVqA),Map(policy-pdp-pap-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))), TopicIdReplicaAssignment(__consumer_offsets,Some(VNKj3K3URby_0holQqGaFA),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) 14:34:03 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 policy-db-migrator | rc=0 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"d06aa0d3-ad10-4dbf-b7ef-df9f11decf11","timestampMs":1705761181704,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,596] 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) 14:34:03 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:03 policy-db-migrator | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.705+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,598] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-22 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:03 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"580cc8c1-1cc1-4b8a-b278-219228a55b68","timestampMs":1705761181705,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,598] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-30 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.721+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,598] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-25 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"d06aa0d3-ad10-4dbf-b7ef-df9f11decf11","timestampMs":1705761181704,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,598] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-35 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.721+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 kafka | [2024-01-20 14:32:40,598] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-38 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.725+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-13 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"580cc8c1-1cc1-4b8a-b278-219228a55b68","timestampMs":1705761181705,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-8 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | rc=0 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.725+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-21 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.737+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | security.protocol = PLAINTEXT 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-4 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 14:34:03 policy-pap | security.providers = null 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-27 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"daaf983e-3218-4580-b78c-53005635c7ff","timestampMs":1705761181632,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | send.buffer.bytes = 131072 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-7 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.739+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | session.timeout.ms = 45000 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-9 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-46 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[],"response":{"responseTo":"daaf983e-3218-4580-b78c-53005635c7ff","responseStatus":"SUCCESS","responseMessage":"State changed to active. No policies found."},"messageName":"PDP_STATUS","requestId":"01e8ed06-d67d-4a3e-afb6-6ea899dd06dc","timestampMs":1705761181739,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-41 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,599] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-33 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | 14:34:03 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-23 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.746+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[],"response":{"responseTo":"daaf983e-3218-4580-b78c-53005635c7ff","responseStatus":"SUCCESS","responseMessage":"State changed to active. No policies found."},"messageName":"PDP_STATUS","requestId":"01e8ed06-d67d-4a3e-afb6-6ea899dd06dc","timestampMs":1705761181739,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | ssl.cipher.suites = null 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-49 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.747+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.809+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-47 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"da63b07b-7244-40e1-ae2e-116b03383075","timestampMs":1705761181764,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.811+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-16 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"da63b07b-7244-40e1-ae2e-116b03383075","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"b6d5795b-a52a-4ff5-b82f-02c8c9b8ced6","timestampMs":1705761181810,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-28 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.engine.factory.class = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.817+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-31 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.key.password = null 14:34:03 policy-apex-pdp | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"da63b07b-7244-40e1-ae2e-116b03383075","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"b6d5795b-a52a-4ff5-b82f-02c8c9b8ced6","timestampMs":1705761181810,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-36 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:03 policy-apex-pdp | [2024-01-20T14:33:01.818+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-42 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.keystore.certificate.chain = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:03.860+00:00|INFO|RequestLog|qtp830863979-29] 172.17.0.1 - policyadmin [20/Jan/2024:14:33:03 +0000] "GET /policy/apex-pdp/v1/healthcheck HTTP/1.1" 200 109 "-" "curl/7.58.0" 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-3 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.keystore.key = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:06.998+00:00|INFO|RequestLog|qtp830863979-26] 172.17.0.1 - policyadmin [20/Jan/2024:14:33:06 +0000] "GET /policy/apex-pdp/v1/healthcheck?null HTTP/1.1" 200 109 "-" "python-requests/2.27.1" 14:34:03 policy-db-migrator | > upgrade 0100-upgrade.sql 14:34:03 kafka | [2024-01-20 14:32:40,600] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-18 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.keystore.location = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.708+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-db-migrator | msg 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-37 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | ssl.keystore.password = null 14:34:03 policy-db-migrator | --------------------------- 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition policy-pdp-pap-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4c7aac46-16a2-4dea-9016-5b07240422e7","timestampMs":1705761188601,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | ssl.keystore.type = JKS 14:34:03 policy-db-migrator | upgrade to 1100 completed 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-15 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.750+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list 14:34:03 policy-pap | ssl.protocol = TLSv1.3 14:34:03 policy-db-migrator | (1 row) 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-24 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.823+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.native.apex.Sampledomain 1.0.0 14:34:03 policy-pap | ssl.provider = null 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-17 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.931+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-0:0.0.1 . 14:34:03 policy-pap | ssl.secure.random.implementation = null 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-48 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.931+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-1:0.0.1 . 14:34:03 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-19 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.931+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-2:0.0.1 . 14:34:03 policy-pap | ssl.truststore.certificates = null 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-11 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.931+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine MyApexEngine-3:0.0.1 . 14:34:03 policy-pap | ssl.truststore.location = null 14:34:03 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 14:34:03 kafka | [2024-01-20 14:32:40,601] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-2 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:08.931+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 14:34:03 policy-pap | ssl.truststore.password = null 14:34:03 policy-db-migrator | ALTER TABLE 14:34:03 kafka | [2024-01-20 14:32:40,602] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-43 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.058+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-0:0.0.1 14:34:03 policy-pap | ssl.truststore.type = JKS 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,602] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-6 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.081+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-1:0.0.1 14:34:03 policy-pap | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,602] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-14 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.083+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-2:0.0.1 14:34:03 policy-pap | 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,602] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-20 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.085+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine MyApexEngine-3:0.0.1 14:34:03 policy-pap | [2024-01-20T14:32:40.003+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:03 kafka | [2024-01-20 14:32:40,602] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | DROP INDEX 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.373+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 policy-pap | [2024-01-20T14:32:40.003+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-44 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | CREATE INDEX 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.375+00:00|INFO|ApexRestServerConsumer|KAFKA-source-policy-pdp-pap] Creating the Apex Rest Server 14:34:03 policy-pap | [2024-01-20T14:32:40.003+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761160003 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-39 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.377+00:00|INFO|JettyServletServer|KAFKA-source-policy-pdp-pap] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-22fea9c4==org.glassfish.jersey.servlet.ServletContainer@2bb77236{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@3895dc45{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@6ff2e21a{/,null,STOPPED}, connector=RESTSERVER@7707d932{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=null, servlets={/*=org.glassfish.jersey.servlet.ServletContainer-22fea9c4==org.glassfish.jersey.servlet.ServletContainer@2bb77236{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:03 policy-pap | [2024-01-20T14:32:40.003+00:00|INFO|KafkaConsumer|main] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Subscribed to topic(s): policy-pdp-pap 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-12 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | rc=0 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.377+00:00|INFO|JettyServletServer|RESTSERVER-23324] JettyJerseyServer [Jerseyservlets={/*=org.glassfish.jersey.servlet.ServletContainer-22fea9c4==org.glassfish.jersey.servlet.ServletContainer@2bb77236{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@3895dc45{STOPPED}[11.0.18,sto=0], context=o.e.j.s.ServletContextHandler@6ff2e21a{/,null,STOPPED}, connector=RESTSERVER@7707d932{HTTP/1.1, (http/1.1)}{0.0.0.0:23324}, jettyThread=Thread[RESTSERVER-23324,5,main], servlets={/*=org.glassfish.jersey.servlet.ServletContainer-22fea9c4==org.glassfish.jersey.servlet.ServletContainer@2bb77236{jsp=null,order=0,inst=false,async=true,src=EMBEDDED:null,STOPPED}})]: STARTING 14:34:03 policy-pap | [2024-01-20T14:32:40.004+00:00|INFO|ServiceManager|main] Policy PAP starting topics 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-45 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.382+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | [2024-01-20T14:32:40.005+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=policy-pap, consumerInstance=00db50ff-6c22-40e2-a34f-c2989d538bfc, 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 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-1 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | > upgrade 0120-audit_sequence.sql 14:34:03 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":"4c7aac46-16a2-4dea-9016-5b07240422e7","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.native.apex.Sampledomain:1.0.0 "},"messageName":"PDP_STATUS","requestId":"ff32e91e-971c-442a-96e9-4fccec47d2e4","timestampMs":1705761189382,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | [2024-01-20T14:32:40.005+00:00|INFO|SingleThreadedBusTopicSource|main] SingleThreadedKafkaTopicSource [getTopicCommInfrastructure()=KAFKA, toString()=SingleThreadedBusTopicSource [consumerGroup=fa6a695a-882b-4452-b55c-58cde0fc980e, 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 14:34:03 kafka | [2024-01-20 14:32:40,603] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-5 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-db-migrator | CREATE TABLE 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.397+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | [2024-01-20T14:32:40.005+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=e633efcd-c96e-40c6-9123-561ff5717049, alive=false, publisher=null]]: starting 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-26 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 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":"4c7aac46-16a2-4dea-9016-5b07240422e7","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.native.apex.Sampledomain:1.0.0 "},"messageName":"PDP_STATUS","requestId":"ff32e91e-971c-442a-96e9-4fccec47d2e4","timestampMs":1705761189382,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | [2024-01-20T14:32:40.020+00:00|INFO|ProducerConfig|main] ProducerConfig values: 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-29 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.399+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-pap | acks = -1 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-34 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:09.484+00:00|INFO|GsonMessageBodyHandler|RESTSERVER-23324] Using GSON for REST calls 14:34:03 policy-pap | auto.include.jmx.reporter = true 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-10 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:14.032+00:00|INFO|RequestLog|qtp472063849-58] 172.17.0.1 - - [20/Jan/2024:14:33:13 +0000] "PUT /apex/FirstConsumer/EventIn HTTP/1.1" 200 588 "-" "python-requests/2.27.1" 14:34:03 policy-pap | batch.size = 16384 14:34:03 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-32 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.051+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | bootstrap.servers = [kafka:9092] 14:34:03 policy-db-migrator | CREATE TABLE 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Changed partition __consumer_offsets-40 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 policy-pap | buffer.memory = 33554432 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4109d48a-2e34-4a6b-b538-9c3de6816e62","timestampMs":1705761194982,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,604] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.056+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | client.id = producer-1 14:34:03 policy-db-migrator | rc=0 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.068+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.Test 1.0.0 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | compression.type = none 14:34:03 policy-db-migrator | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | connections.max.idle.ms = 540000 14:34:03 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.114+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . 14:34:03 policy-pap | delivery.timeout.ms = 120000 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | enable.idempotence = true 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.115+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . 14:34:03 policy-pap | interceptor.classes = [] 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.115+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . 14:34:03 policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,609] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.115+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 14:34:03 policy-pap | linger.ms = 0 14:34:03 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.157+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" 14:34:03 policy-pap | max.block.ms = 60000 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.157+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 14:34:03 policy-pap | max.in.flight.requests.per.connection = 5 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.157+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" 14:34:03 policy-pap | max.request.size = 1048576 14:34:03 policy-db-migrator | rc=0 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.322+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 14:34:03 policy-pap | metadata.max.age.ms = 300000 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.323+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 14:34:03 policy-pap | metadata.max.idle.ms = 300000 14:34:03 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.324+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 14:34:03 policy-pap | metric.reporters = [] 14:34:03 policy-db-migrator | DROP TABLE 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.395+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 policy-pap | metrics.num.samples = 2 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.560+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started 14:34:03 policy-pap | metrics.recording.level = INFO 14:34:03 policy-db-migrator | INSERT 0 1 14:34:03 policy-pap | metrics.sample.window.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.560+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 policy-db-migrator | policyadmin: OK: upgrade (1300) 14:34:03 policy-pap | partitioner.adaptive.partitioning.enable = true 14:34:03 kafka | [2024-01-20 14:32:40,610] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.560+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 policy-db-migrator | List of databases 14:34:03 policy-pap | partitioner.availability.timeout.ms = 0 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.578+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] ConsumerConfig values: 14:34:03 policy-db-migrator | Name | Owner | Encoding | Collate | Ctype | ICU Locale | Locale Provider | Access privileges 14:34:03 policy-pap | partitioner.class = null 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | allow.auto.create.topics = true 14:34:03 policy-db-migrator | -------------------+----------+----------+------------+------------+------------+-----------------+-------------------------- 14:34:03 policy-pap | partitioner.ignore.keys = false 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | auto.commit.interval.ms = 1000 14:34:03 policy-db-migrator | clampacm | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 policy-pap | receive.buffer.bytes = 32768 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 policy-pap | reconnect.backoff.max.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | auto.offset.reset = latest 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-pap | reconnect.backoff.ms = 50 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:03 policy-db-migrator | migration | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 policy-pap | request.timeout.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | check.crcs = true 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 policy-pap | retries = 2147483647 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-pap | retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | client.id = consumer-apex-grp-3 14:34:03 policy-db-migrator | operationshistory | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 policy-pap | sasl.client.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | client.rack = 14:34:03 policy-pap | sasl.jaas.config = null 14:34:03 kafka | [2024-01-20 14:32:40,611] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:03 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-apex-pdp | default.api.timeout.ms = 60000 14:34:03 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | policyadmin | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 policy-apex-pdp | enable.auto.commit = true 14:34:03 policy-pap | sasl.kerberos.service.name = null 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 policy-apex-pdp | exclude.internal.topics = true 14:34:03 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-apex-pdp | fetch.max.bytes = 52428800 14:34:03 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | policyclamp | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 policy-apex-pdp | fetch.max.wait.ms = 500 14:34:03 policy-pap | sasl.login.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 policy-apex-pdp | fetch.min.bytes = 1 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-pap | sasl.login.class = null 14:34:03 policy-apex-pdp | group.id = apex-grp 14:34:03 policy-db-migrator | pooling | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =Tc/postgres + 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | sasl.login.connect.timeout.ms = null 14:34:03 policy-apex-pdp | group.instance.id = null 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres + 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-pap | sasl.login.read.timeout.ms = null 14:34:03 policy-apex-pdp | heartbeat.interval.ms = 3000 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | | | | | | | | policy_user=CTc/postgres 14:34:03 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:03 kafka | [2024-01-20 14:32:40,612] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | 14:34:03 policy-apex-pdp | interceptor.classes = [] 14:34:03 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-db-migrator | template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:03 policy-apex-pdp | internal.leave.group.on.close = true 14:34:03 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:03 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | isolation.level = read_uncommitted 14:34:03 policy-db-migrator | template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | | libc | =c/postgres + 14:34:03 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:03 policy-db-migrator | | | | | | | | postgres=CTc/postgres 14:34:03 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | max.partition.fetch.bytes = 1048576 14:34:03 policy-db-migrator | (9 rows) 14:34:03 policy-pap | sasl.mechanism = GSSAPI 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | max.poll.interval.ms = 300000 14:34:03 policy-db-migrator | 14:34:03 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | max.poll.records = 500 14:34:03 policy-db-migrator | ?column? 14:34:03 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:03 policy-db-migrator | ---------- 14:34:03 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | metric.reporters = [] 14:34:03 policy-db-migrator | (0 rows) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | metrics.num.samples = 2 14:34:03 policy-db-migrator | 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,613] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | metrics.recording.level = INFO 14:34:03 policy-db-migrator | NOTICE: relation "schema_versions" already exists, skipping 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,614] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:03 policy-db-migrator | CREATE TABLE 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:40,614] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:03 policy-db-migrator | NOTICE: relation "policyadmin_schema_changelog" already exists, skipping 14:34:03 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | receive.buffer.bytes = 65536 14:34:03 policy-db-migrator | CREATE TABLE 14:34:03 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:03 policy-db-migrator | ?column? 14:34:03 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:03 policy-db-migrator | ---------- 14:34:03 policy-pap | security.protocol = PLAINTEXT 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | request.timeout.ms = 30000 14:34:03 policy-db-migrator | (0 rows) 14:34:03 policy-pap | security.providers = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | retry.backoff.ms = 100 14:34:03 policy-db-migrator | 14:34:03 policy-pap | send.buffer.bytes = 131072 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:03 policy-db-migrator | name | version 14:34:03 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.jaas.config = null 14:34:03 policy-db-migrator | -------------+--------- 14:34:03 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 policy-db-migrator | policyadmin | 1300 14:34:03 policy-pap | ssl.cipher.suites = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 policy-db-migrator | (1 row) 14:34:03 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:03 policy-db-migrator | 14:34:03 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 policy-db-migrator | id | script | operation | from_version | to_version | tag | success | attime 14:34:03 policy-pap | ssl.engine.factory.class = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 policy-db-migrator | -----+---------------------------------------------------------------+-----------+--------------+------------+-------------------+---------+---------------------------- 14:34:03 policy-pap | ssl.key.password = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:03 policy-db-migrator | 1 | 0100-jpapdpgroup_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.045674 14:34:03 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.login.class = null 14:34:03 policy-db-migrator | 2 | 0110-jpapdpstatistics_enginestats.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.063665 14:34:03 policy-pap | ssl.keystore.certificate.chain = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:03 policy-db-migrator | 3 | 0120-jpapdpsubgroup_policies.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.085286 14:34:03 policy-pap | ssl.keystore.key = null 14:34:03 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 4 | 0130-jpapdpsubgroup_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.107141 14:34:03 policy-pap | ssl.keystore.location = null 14:34:03 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 5 | 0140-jpapdpsubgroup_supportedpolicytypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.128935 14:34:03 policy-pap | ssl.keystore.password = null 14:34:03 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 6 | 0150-jpatoscacapabilityassignment_attributes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.153271 14:34:03 policy-pap | ssl.keystore.type = JKS 14:34:03 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 7 | 0160-jpatoscacapabilityassignment_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.173469 14:34:03 policy-pap | ssl.protocol = TLSv1.3 14:34:03 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 8 | 0170-jpatoscacapabilityassignment_occurrences.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.19099 14:34:03 policy-pap | ssl.provider = null 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 9 | 0180-jpatoscacapabilityassignment_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.224226 14:34:03 policy-pap | ssl.secure.random.implementation = null 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 10 | 0190-jpatoscacapabilitytype_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.24798 14:34:03 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:03 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 11 | 0200-jpatoscacapabilitytype_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.328718 14:34:03 policy-pap | ssl.truststore.certificates = null 14:34:03 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 kafka | [2024-01-20 14:32:40,760] 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) 14:34:03 policy-db-migrator | 12 | 0210-jpatoscadatatype_constraints.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.34653 14:34:03 policy-pap | ssl.truststore.location = null 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 13 | 0220-jpatoscadatatype_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.368897 14:34:03 policy-pap | ssl.truststore.password = null 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 14 | 0230-jpatoscadatatype_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.394992 14:34:03 policy-pap | ssl.truststore.type = JKS 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 15 | 0240-jpatoscanodetemplate_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.422098 14:34:03 policy-pap | transaction.timeout.ms = 60000 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 16 | 0250-jpatoscanodetemplate_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.439637 14:34:03 policy-pap | transactional.id = null 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 17 | 0260-jpatoscanodetype_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.464451 14:34:03 policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 18 | 0270-jpatoscanodetype_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.485744 14:34:03 policy-pap | 14:34:03 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 19 | 0280-jpatoscapolicy_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.517206 14:34:03 policy-pap | [2024-01-20T14:32:40.031+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-1] Instantiated an idempotent producer. 14:34:03 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 20 | 0290-jpatoscapolicy_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.538036 14:34:03 policy-pap | [2024-01-20T14:32:40.045+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:03 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 21 | 0300-jpatoscapolicy_targets.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.563884 14:34:03 policy-pap | [2024-01-20T14:32:40.045+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:03 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 22 | 0310-jpatoscapolicytype_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.583305 14:34:03 policy-pap | [2024-01-20T14:32:40.045+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761160045 14:34:03 policy-apex-pdp | security.providers = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 23 | 0320-jpatoscapolicytype_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.606511 14:34:03 policy-pap | [2024-01-20T14:32:40.046+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=e633efcd-c96e-40c6-9123-561ff5717049, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 14:34:03 policy-apex-pdp | send.buffer.bytes = 131072 14:34:03 policy-db-migrator | 24 | 0330-jpatoscapolicytype_targets.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.627203 14:34:03 policy-pap | [2024-01-20T14:32:40.046+00:00|INFO|InlineBusTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=6ec4e4a9-06fc-45eb-9176-deaf962f1739, alive=false, publisher=null]]: starting 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-apex-pdp | session.timeout.ms = 30000 14:34:03 policy-db-migrator | 25 | 0340-jpatoscapolicytype_triggers.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.646766 14:34:03 policy-pap | [2024-01-20T14:32:40.046+00:00|INFO|ProducerConfig|main] ProducerConfig values: 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:03 policy-db-migrator | 26 | 0350-jpatoscaproperty_constraints.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.672777 14:34:03 policy-pap | acks = -1 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:03 policy-db-migrator | 27 | 0360-jpatoscaproperty_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.688341 14:34:03 policy-pap | auto.include.jmx.reporter = true 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-apex-pdp | ssl.cipher.suites = null 14:34:03 policy-db-migrator | 28 | 0370-jpatoscarelationshiptype_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.706473 14:34:03 policy-pap | batch.size = 16384 14:34:03 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 29 | 0380-jpatoscarelationshiptype_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.72257 14:34:03 policy-pap | bootstrap.servers = [kafka:9092] 14:34:03 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 30 | 0390-jpatoscarequirement_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.747037 14:34:03 policy-pap | buffer.memory = 33554432 14:34:03 policy-apex-pdp | ssl.engine.factory.class = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 31 | 0400-jpatoscarequirement_occurrences.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.761261 14:34:03 policy-pap | client.dns.lookup = use_all_dns_ips 14:34:03 policy-apex-pdp | ssl.key.password = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 32 | 0410-jpatoscarequirement_properties.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.781657 14:34:03 policy-pap | client.id = producer-2 14:34:03 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 33 | 0420-jpatoscaservicetemplate_metadata.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.802717 14:34:03 policy-pap | compression.type = none 14:34:03 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 34 | 0430-jpatoscatopologytemplate_inputs.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.828151 14:34:03 policy-pap | connections.max.idle.ms = 540000 14:34:03 policy-apex-pdp | ssl.keystore.key = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-db-migrator | 35 | 0440-pdpgroup_pdpsubgroup.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.849643 14:34:03 policy-pap | delivery.timeout.ms = 120000 14:34:03 policy-apex-pdp | ssl.keystore.location = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-pap | enable.idempotence = true 14:34:03 policy-db-migrator | 36 | 0450-pdpgroup.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.869106 14:34:03 policy-apex-pdp | ssl.keystore.password = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-pap | interceptor.classes = [] 14:34:03 policy-db-migrator | 37 | 0460-pdppolicystatus.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.891659 14:34:03 policy-apex-pdp | ssl.keystore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-pap | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 policy-db-migrator | 38 | 0470-pdp.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.915205 14:34:03 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-pap | linger.ms = 0 14:34:03 policy-db-migrator | 39 | 0480-pdpstatistics.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.963154 14:34:03 policy-apex-pdp | ssl.provider = null 14:34:03 kafka | [2024-01-20 14:32:40,761] 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) 14:34:03 policy-pap | max.block.ms = 60000 14:34:03 policy-db-migrator | 40 | 0490-pdpsubgroup_pdp.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:12.987996 14:34:03 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:03 kafka | [2024-01-20 14:32:40,768] 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) 14:34:03 policy-pap | max.in.flight.requests.per.connection = 5 14:34:03 policy-db-migrator | 41 | 0500-pdpsubgroup.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.007578 14:34:03 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:03 kafka | [2024-01-20 14:32:40,768] 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) 14:34:03 policy-pap | max.request.size = 1048576 14:34:03 policy-db-migrator | 42 | 0510-toscacapabilityassignment.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.030434 14:34:03 policy-apex-pdp | ssl.truststore.certificates = null 14:34:03 kafka | [2024-01-20 14:32:40,768] 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) 14:34:03 policy-pap | metadata.max.age.ms = 300000 14:34:03 policy-db-migrator | 43 | 0520-toscacapabilityassignments.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.055699 14:34:03 policy-apex-pdp | ssl.truststore.location = null 14:34:03 kafka | [2024-01-20 14:32:40,768] 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) 14:34:03 policy-pap | metadata.max.idle.ms = 300000 14:34:03 policy-db-migrator | 44 | 0530-toscacapabilityassignments_toscacapabilityassignment.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.078062 14:34:03 policy-apex-pdp | ssl.truststore.password = null 14:34:03 kafka | [2024-01-20 14:32:40,768] 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) 14:34:03 policy-pap | metric.reporters = [] 14:34:03 policy-db-migrator | 45 | 0540-toscacapabilitytype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.102216 14:34:03 policy-apex-pdp | ssl.truststore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-pap | metrics.num.samples = 2 14:34:03 policy-db-migrator | 46 | 0550-toscacapabilitytypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.122876 14:34:03 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-pap | metrics.recording.level = INFO 14:34:03 policy-db-migrator | 47 | 0560-toscacapabilitytypes_toscacapabilitytype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.143328 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-pap | metrics.sample.window.ms = 30000 14:34:03 policy-db-migrator | 48 | 0570-toscadatatype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.165551 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.581+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-pap | partitioner.adaptive.partitioning.enable = true 14:34:03 policy-db-migrator | 49 | 0580-toscadatatypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.185841 14:34:03 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":"4109d48a-2e34-4a6b-b538-9c3de6816e62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"d31bf59e-dfea-4e9f-9434-7160a0bbe256","timestampMs":1705761195581,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-pap | partitioner.availability.timeout.ms = 0 14:34:03 policy-db-migrator | 50 | 0590-toscadatatypes_toscadatatype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.203766 14:34:03 policy-pap | partitioner.class = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 51 | 0600-toscanodetemplate.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.227096 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.588+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka version: 3.6.0 14:34:03 policy-pap | partitioner.ignore.keys = false 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 52 | 0610-toscanodetemplates.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.247672 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.589+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka commitId: 60e845626d8a465a 14:34:03 policy-pap | receive.buffer.bytes = 32768 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 53 | 0620-toscanodetemplates_toscanodetemplate.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.271895 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.589+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer-8:0] Kafka startTimeMs: 1705761195588 14:34:03 policy-pap | reconnect.backoff.max.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 54 | 0630-toscanodetype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.296945 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.589+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 14:34:03 policy-pap | reconnect.backoff.ms = 50 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 55 | 0640-toscanodetypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.316096 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.600+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | request.timeout.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 56 | 0650-toscanodetypes_toscanodetype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.341226 14:34:03 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":"4109d48a-2e34-4a6b-b538-9c3de6816e62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"d31bf59e-dfea-4e9f-9434-7160a0bbe256","timestampMs":1705761195581,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-pap | retries = 2147483647 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 57 | 0660-toscaparameter.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.365355 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.601+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 policy-pap | retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 58 | 0670-toscapolicies.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.387665 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.616+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} 14:34:03 policy-pap | sasl.client.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 59 | 0680-toscapolicies_toscapolicy.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.407753 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.616+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: adP7mUGZT1qzJzs5vwutLg 14:34:03 policy-pap | sasl.jaas.config = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 60 | 0690-toscapolicy.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.432273 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.616+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) 14:34:03 policy-pap | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 61 | 0700-toscapolicytype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.458511 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.622+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 14:34:03 policy-pap | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 62 | 0710-toscapolicytypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.480798 14:34:03 policy-pap | sasl.kerberos.service.name = null 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.626+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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 63 | 0720-toscapolicytypes_toscapolicytype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.502646 14:34:03 policy-pap | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.626+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) 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 64 | 0730-toscaproperty.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.52883 14:34:03 policy-pap | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 policy-apex-pdp | [2024-01-20T14:33:15.626+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 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 65 | 0740-toscarelationshiptype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.554856 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.629+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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31', protocol='range'} 14:34:03 policy-db-migrator | 66 | 0750-toscarelationshiptypes.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.604955 14:34:03 policy-pap | sasl.login.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.630+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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} 14:34:03 policy-db-migrator | 67 | 0760-toscarelationshiptypes_toscarelationshiptype.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.626702 14:34:03 policy-pap | sasl.login.class = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.635+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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31', protocol='range'} 14:34:03 policy-db-migrator | 68 | 0770-toscarequirement.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.649576 14:34:03 policy-pap | sasl.login.connect.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.635+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]) 14:34:03 policy-db-migrator | 69 | 0780-toscarequirements.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.668957 14:34:03 policy-pap | sasl.login.read.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.636+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 14:34:03 policy-db-migrator | 70 | 0790-toscarequirements_toscarequirement.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.69286 14:34:03 policy-pap | sasl.login.refresh.buffer.seconds = 300 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.638+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 14:34:03 kafka | [2024-01-20 14:32:40,769] 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) 14:34:03 policy-db-migrator | 71 | 0800-toscaservicetemplate.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.716739 14:34:03 policy-pap | sasl.login.refresh.min.period.seconds = 60 14:34:03 policy-apex-pdp | [2024-01-20T14:33:18.640+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}}. 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 72 | 0810-toscatopologytemplate.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.741051 14:34:03 policy-pap | sasl.login.refresh.window.factor = 0.8 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.415+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"}} 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 73 | 0820-toscatrigger.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.766558 14:34:03 policy-pap | sasl.login.refresh.window.jitter = 0.05 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.417+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": 1705761200415, "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} 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 74 | 0830-FK_ToscaNodeTemplate_capabilitiesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.783476 14:34:03 policy-pap | sasl.login.retry.backoff.max.ms = 10000 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.422+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761200418, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 75 | 0840-FK_ToscaNodeTemplate_requirementsName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.800874 14:34:03 policy-db-migrator | 76 | 0850-FK_ToscaNodeType_requirementsName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.820449 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.442+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. 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 77 | 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.841386 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.442+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] ProducerConfig values: 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 78 | 0870-FK_ToscaServiceTemplate_dataTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.862412 14:34:03 policy-pap | sasl.login.retry.backoff.ms = 100 14:34:03 policy-apex-pdp | acks = -1 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 79 | 0880-FK_ToscaServiceTemplate_nodeTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.8801 14:34:03 policy-pap | sasl.mechanism = GSSAPI 14:34:03 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 policy-apex-pdp | batch.size = 16384 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-db-migrator | 80 | 0890-FK_ToscaServiceTemplate_policyTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.898376 14:34:03 policy-pap | sasl.oauthbearer.expected.audience = null 14:34:03 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.expected.issuer = null 14:34:03 policy-db-migrator | 81 | 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.91943 14:34:03 policy-apex-pdp | buffer.memory = 33554432 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 policy-db-migrator | 82 | 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.940252 14:34:03 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 policy-db-migrator | 83 | 0920-FK_ToscaTopologyTemplate_policyName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.964802 14:34:03 policy-apex-pdp | client.id = producer-2 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 policy-db-migrator | 84 | 0940-PdpPolicyStatus_PdpGroup.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:13.986322 14:34:03 policy-apex-pdp | compression.type = none 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 policy-db-migrator | 85 | 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.009644 14:34:03 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.scope.claim.name = scope 14:34:03 policy-db-migrator | 86 | 0960-FK_ToscaNodeTemplate_capabilitiesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.030959 14:34:03 policy-apex-pdp | delivery.timeout.ms = 120000 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.sub.claim.name = sub 14:34:03 policy-db-migrator | 87 | 0970-FK_ToscaNodeTemplate_requirementsName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.050512 14:34:03 policy-db-migrator | 88 | 0980-FK_ToscaNodeType_requirementsName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.067811 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | sasl.oauthbearer.token.endpoint.url = null 14:34:03 policy-db-migrator | 89 | 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.089339 14:34:03 policy-apex-pdp | enable.idempotence = false 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-pap | security.protocol = PLAINTEXT 14:34:03 policy-db-migrator | 90 | 1000-FK_ToscaServiceTemplate_dataTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.110729 14:34:03 policy-apex-pdp | interceptor.classes = [] 14:34:03 policy-pap | security.providers = null 14:34:03 policy-db-migrator | 91 | 1010-FK_ToscaServiceTemplate_nodeTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.131236 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 policy-pap | send.buffer.bytes = 131072 14:34:03 policy-db-migrator | 92 | 1020-FK_ToscaServiceTemplate_policyTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.150922 14:34:03 kafka | [2024-01-20 14:32:40,770] 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) 14:34:03 policy-apex-pdp | linger.ms = 1 14:34:03 policy-pap | socket.connection.setup.timeout.max.ms = 30000 14:34:03 policy-db-migrator | 93 | 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.175591 14:34:03 kafka | [2024-01-20 14:32:40,771] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 51 become-leader and 0 become-follower partitions (state.change.logger) 14:34:03 policy-apex-pdp | max.block.ms = 60000 14:34:03 policy-pap | socket.connection.setup.timeout.ms = 10000 14:34:03 policy-db-migrator | 94 | 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.192541 14:34:03 kafka | [2024-01-20 14:32:40,779] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 51 partitions (state.change.logger) 14:34:03 policy-apex-pdp | max.in.flight.requests.per.connection = 5 14:34:03 policy-pap | ssl.cipher.suites = null 14:34:03 policy-db-migrator | 95 | 1050-FK_ToscaTopologyTemplate_policyName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.211318 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-32 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | max.request.size = 1048576 14:34:03 policy-pap | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 policy-db-migrator | 96 | 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql | upgrade | 0 | 0800 | 2001241432120800u | 1 | 2024-01-20 14:32:14.232121 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-5 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:03 policy-pap | ssl.endpoint.identification.algorithm = https 14:34:03 policy-db-migrator | 97 | 0100-pdp.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.259543 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-44 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | metadata.max.idle.ms = 300000 14:34:03 policy-pap | ssl.engine.factory.class = null 14:34:03 policy-apex-pdp | metric.reporters = [] 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-48 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.key.password = null 14:34:03 policy-apex-pdp | metrics.num.samples = 2 14:34:03 policy-pap | ssl.keymanager.algorithm = SunX509 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-46 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | metrics.recording.level = INFO 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-20 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.keystore.certificate.chain = null 14:34:03 policy-db-migrator | 98 | 0110-idx_tsidx1.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.281753 14:34:03 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-pdp-pap-0 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.keystore.key = null 14:34:03 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-43 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.keystore.location = null 14:34:03 policy-db-migrator | 99 | 0120-pk_pdpstatistics.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.302255 14:34:03 policy-apex-pdp | partitioner.availability.timeout.ms = 0 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-24 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.keystore.password = null 14:34:03 policy-db-migrator | 100 | 0130-pdpstatistics.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.322558 14:34:03 policy-apex-pdp | partitioner.class = null 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-6 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.keystore.type = JKS 14:34:03 policy-db-migrator | 101 | 0140-pk_pdpstatistics.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.34872 14:34:03 policy-apex-pdp | partitioner.ignore.keys = false 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-18 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.protocol = TLSv1.3 14:34:03 policy-apex-pdp | receive.buffer.bytes = 32768 14:34:03 policy-pap | ssl.provider = null 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-21 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-1 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.secure.random.implementation = null 14:34:03 policy-db-migrator | 102 | 0150-pdpstatistics.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.371598 14:34:03 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-14 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | ssl.trustmanager.algorithm = PKIX 14:34:03 policy-apex-pdp | request.timeout.ms = 30000 14:34:03 policy-pap | ssl.truststore.certificates = null 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-34 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | retries = 0 14:34:03 policy-pap | ssl.truststore.location = null 14:34:03 policy-apex-pdp | retry.backoff.ms = 100 14:34:03 policy-pap | ssl.truststore.password = null 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-16 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:03 policy-pap | ssl.truststore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-29 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.jaas.config = null 14:34:03 policy-pap | transaction.timeout.ms = 60000 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-11 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 policy-pap | transactional.id = null 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-0 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 103 | 0160-jpapdpstatistics_enginestats.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.391545 14:34:03 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 policy-pap | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-22 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 104 | 0170-jpapdpstatistics_enginestats.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.412042 14:34:03 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:03 policy-pap | 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-47 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 105 | 0180-jpapdpstatistics_enginestats.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.431008 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 policy-pap | [2024-01-20T14:32:40.047+00:00|INFO|KafkaProducer|main] [Producer clientId=producer-2] Instantiated an idempotent producer. 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-36 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 106 | 0190-jpapolicyaudit.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.460819 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|AppInfoParser|main] Kafka version: 3.6.0 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-28 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 107 | 0200-JpaPolicyAuditIndex_timestamp.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.482928 14:34:03 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|AppInfoParser|main] Kafka commitId: 60e845626d8a465a 14:34:03 kafka | [2024-01-20 14:32:40,781] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-42 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 108 | 0210-sequence.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.506148 14:34:03 policy-apex-pdp | sasl.login.class = null 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-9 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|AppInfoParser|main] Kafka startTimeMs: 1705761160050 14:34:03 policy-db-migrator | 109 | 0220-sequence.sql | upgrade | 0800 | 0900 | 2001241432120900u | 1 | 2024-01-20 14:32:14.523751 14:34:03 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-37 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|InlineKafkaTopicSink|main] InlineKafkaTopicSink [getTopicCommInfrastructure()=KAFKA, toString()=InlineBusTopicSink [partitionId=6ec4e4a9-06fc-45eb-9176-deaf962f1739, alive=false, publisher=KafkaPublisherWrapper []]]: KAFKA SINK created 14:34:03 policy-db-migrator | 110 | 0100-jpatoscapolicy_targets.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.542102 14:34:03 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-13 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|ServiceManager|main] Policy PAP starting PAP Activator 14:34:03 policy-db-migrator | 111 | 0110-jpatoscapolicytype_targets.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.566785 14:34:03 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-30 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.051+00:00|INFO|ServiceManager|main] Policy PAP starting PDP publisher 14:34:03 policy-db-migrator | 112 | 0120-toscatrigger.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.586109 14:34:03 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-35 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.055+00:00|INFO|ServiceManager|main] Policy PAP starting Policy Notification publisher 14:34:03 policy-db-migrator | 113 | 0130-jpatoscapolicytype_triggers.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.610405 14:34:03 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-39 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.057+00:00|INFO|ServiceManager|main] Policy PAP starting PDP update timers 14:34:03 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:03 policy-pap | [2024-01-20T14:32:40.059+00:00|INFO|ServiceManager|main] Policy PAP starting PDP state-change timers 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-12 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-27 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.059+00:00|INFO|TimerManager|Thread-9] timer manager update started 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:03 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-45 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.061+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification lock 14:34:03 policy-db-migrator | 114 | 0140-toscaparameter.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.630577 14:34:03 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-19 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.061+00:00|INFO|ServiceManager|main] Policy PAP starting PDP modification requests 14:34:03 policy-db-migrator | 115 | 0150-toscaproperty.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.654124 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-49 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-db-migrator | 116 | 0160-jpapolicyaudit_pk.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.678161 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-40 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:32:40.061+00:00|INFO|ServiceManager|main] Policy PAP starting PDP expiration timer 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:03 policy-db-migrator | 117 | 0170-pdpstatistics_pk.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.703397 14:34:03 policy-pap | [2024-01-20T14:32:40.063+00:00|INFO|ServiceManager|main] Policy PAP started 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-41 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 policy-db-migrator | 118 | 0180-jpatoscanodetemplate_metadata.sql | upgrade | 0900 | 1000 | 2001241432121000u | 1 | 2024-01-20 14:32:14.723106 14:34:03 policy-pap | [2024-01-20T14:32:40.064+00:00|INFO|PolicyPapApplication|main] Started PolicyPapApplication in 10.491 seconds (process running for 11.101) 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-38 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 policy-db-migrator | 119 | 0100-upgrade.sql | upgrade | 1000 | 1100 | 2001241432121100u | 1 | 2024-01-20 14:32:14.741124 14:34:03 policy-pap | [2024-01-20T14:32:40.067+00:00|INFO|TimerManager|Thread-10] timer manager state-change started 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-8 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 policy-db-migrator | 120 | 0100-jpapolicyaudit_renameuser.sql | upgrade | 1100 | 1200 | 2001241432121200u | 1 | 2024-01-20 14:32:14.75795 14:34:03 policy-pap | [2024-01-20T14:32:40.500+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 2 : {policy-pdp-pap=UNKNOWN_TOPIC_OR_PARTITION} 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-7 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 policy-db-migrator | 121 | 0110-idx_tsidx1.sql | upgrade | 1100 | 1200 | 2001241432121200u | 1 | 2024-01-20 14:32:14.781299 14:34:03 policy-pap | [2024-01-20T14:32:40.500+00:00|INFO|Metadata|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-33 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:03 policy-db-migrator | 122 | 0120-audit_sequence.sql | upgrade | 1100 | 1200 | 2001241432121200u | 1 | 2024-01-20 14:32:14.808482 14:34:03 policy-pap | [2024-01-20T14:32:40.500+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-25 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:03 policy-db-migrator | 123 | 0130-statistics_sequence.sql | upgrade | 1100 | 1200 | 2001241432121200u | 1 | 2024-01-20 14:32:14.835185 14:34:03 policy-pap | [2024-01-20T14:32:40.500+00:00|INFO|Metadata|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-31 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:03 policy-db-migrator | 124 | 0100-pdpstatistics.sql | upgrade | 1200 | 1300 | 2001241432121300u | 1 | 2024-01-20 14:32:14.854824 14:34:03 policy-pap | [2024-01-20T14:32:40.571+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-1] [Producer clientId=producer-1] ProducerId set to 1 with epoch 0 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-23 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:03 policy-db-migrator | 125 | 0110-jpapdpstatistics_enginestats.sql | upgrade | 1200 | 1300 | 2001241432121300u | 1 | 2024-01-20 14:32:14.875036 14:34:03 policy-pap | [2024-01-20T14:32:40.572+00:00|INFO|TransactionManager|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] ProducerId set to 0 with epoch 0 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-10 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | security.providers = null 14:34:03 policy-pap | [2024-01-20T14:32:40.585+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} 14:34:03 policy-db-migrator | 126 | 0120-statistics_sequence.sql | upgrade | 1200 | 1300 | 2001241432121300u | 1 | 2024-01-20 14:32:14.926706 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-2 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | send.buffer.bytes = 131072 14:34:03 policy-pap | [2024-01-20T14:32:40.585+00:00|INFO|Metadata|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 policy-db-migrator | (126 rows) 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-17 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:03 policy-pap | [2024-01-20T14:32:40.627+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 4 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 policy-db-migrator | 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-4 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:03 policy-pap | [2024-01-20T14:32:40.717+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} 14:34:03 policy-db-migrator | policyadmin: OK @ 1300 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-15 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | ssl.cipher.suites = null 14:34:03 policy-pap | [2024-01-20T14:32:40.744+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 6 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-26 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 policy-pap | [2024-01-20T14:32:40.833+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} 14:34:03 kafka | [2024-01-20 14:32:40,782] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition __consumer_offsets-3 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:03 policy-pap | [2024-01-20T14:32:40.850+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 8 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,782] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 policy-apex-pdp | ssl.engine.factory.class = null 14:34:03 policy-pap | [2024-01-20T14:32:40.939+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} 14:34:03 kafka | [2024-01-20 14:32:40,789] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 1 from controller 1 for 51 partitions (state.change.logger) 14:34:03 policy-apex-pdp | ssl.key.password = null 14:34:03 policy-pap | [2024-01-20T14:32:40.956+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 10 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:03 policy-pap | [2024-01-20T14:32:41.047+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} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:03 policy-pap | [2024-01-20T14:32:41.064+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 12 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keystore.key = null 14:34:03 policy-pap | [2024-01-20T14:32:41.152+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} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keystore.location = null 14:34:03 policy-pap | [2024-01-20T14:32:41.169+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 14 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keystore.password = null 14:34:03 policy-pap | [2024-01-20T14:32:41.258+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} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.keystore.type = JKS 14:34:03 policy-pap | [2024-01-20T14:32:41.275+00:00|WARN|NetworkClient|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:03 policy-pap | [2024-01-20T14:32:41.363+00:00|WARN|NetworkClient|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Error while fetching metadata with correlation id 16 : {policy-pdp-pap=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.368+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) 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.373+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.384+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Discovered group coordinator kafka:9092 (id: 2147483646 rack: null) 14:34:03 policy-apex-pdp | ssl.provider = null 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.386+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] (Re-)joining group 14:34:03 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:03 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:03 kafka | [2024-01-20 14:32:40,791] 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) 14:34:03 policy-apex-pdp | ssl.truststore.certificates = null 14:34:03 policy-pap | [2024-01-20T14:32:41.412+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Request joining group due to: need to re-join with the given member-id: consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30 14:34:03 kafka | [2024-01-20 14:32:40,796] 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) 14:34:03 policy-apex-pdp | ssl.truststore.location = null 14:34:03 policy-pap | [2024-01-20T14:32:41.412+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] 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) 14:34:03 kafka | [2024-01-20 14:32:40,796] 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) 14:34:03 policy-apex-pdp | ssl.truststore.password = null 14:34:03 policy-pap | [2024-01-20T14:32:41.412+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] (Re-)joining group 14:34:03 kafka | [2024-01-20 14:32:40,796] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.413+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-38a31ae6-7d95-4c1d-9a02-1237eb2d5497 14:34:03 policy-apex-pdp | ssl.truststore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:40,796] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.414+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) 14:34:03 policy-apex-pdp | transaction.timeout.ms = 60000 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.414+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] (Re-)joining group 14:34:03 policy-apex-pdp | transactional.id = null 14:34:03 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 policy-pap | [2024-01-20T14:32:41.623+00:00|INFO|[/policy/pap/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.623+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.448+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka version: 3.6.0 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:41.626+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 3 ms 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.448+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka commitId: 60e845626d8a465a 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.443+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-heartbeat] [Consumer clientId=consumer-policy-pap-4, groupId=policy-pap] Successfully joined group with generation Generation{generationId=1, memberId='consumer-policy-pap-4-38a31ae6-7d95-4c1d-9a02-1237eb2d5497', protocol='range'} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.448+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter-7:0] Kafka startTimeMs: 1705761200447 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.445+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Successfully joined group with generation Generation{generationId=1, memberId='consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30', protocol='range'} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.469+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} 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.456+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Finished assignment for group at generation 1: {consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30=Assignment(partitions=[policy-pdp-pap-0])} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.470+00:00|INFO|Metadata|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:40,797] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.456+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-38a31ae6-7d95-4c1d-9a02-1237eb2d5497=Assignment(partitions=[policy-pdp-pap-0])} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.841+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 kafka | [2024-01-20 14:32:40,798] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.483+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-38a31ae6-7d95-4c1d-9a02-1237eb2d5497', protocol='range'} 14:34:03 policy-apex-pdp | { 14:34:03 kafka | [2024-01-20 14:32:40,798] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.483+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Successfully synced group in generation Generation{generationId=1, memberId='consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30', protocol='range'} 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 kafka | [2024-01-20 14:32:40,798] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.484+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]) 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 kafka | [2024-01-20 14:32:40,798] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.484+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Notifying assignor about the new Assignment(partitions=[policy-pdp-pap-0]) 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 kafka | [2024-01-20 14:32:40,798] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.487+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 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.487+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Adding newly assigned partitions: policy-pdp-pap-0 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.509+00:00|INFO|ConsumerCoordinator|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] Found no committed offset for partition policy-pdp-pap-0 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-pap | [2024-01-20T14:32:44.509+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 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 policy-pap | [2024-01-20T14:32:44.564+00:00|INFO|SubscriptionState|KAFKA-source-policy-pdp-pap] [Consumer clientId=consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3, groupId=fa6a695a-882b-4452-b55c-58cde0fc980e] 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}}. 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 policy-pap | [2024-01-20T14:32:44.564+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}}. 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 policy-pap | [2024-01-20T14:33:01.511+00:00|INFO|OrderedServiceImpl|KAFKA-source-policy-heartbeat] ***** OrderedServiceImpl implementers: 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 policy-pap | [] 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.512+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"5ec876e4-5f68-45ec-9b0b-9e0319950c06","timestampMs":1705761181479,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.851+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": 1705761200415, "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} 14:34:03 policy-pap | [2024-01-20T14:33:01.512+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.859+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": "hostmd7p4c", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761200857, "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"}}}] 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"5ec876e4-5f68-45ec-9b0b-9e0319950c06","timestampMs":1705761181479,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,799] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.956+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) 14:34:03 policy-pap | [2024-01-20T14:33:01.519+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:20.981+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-pap | [2024-01-20T14:33:01.647+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-pap | [2024-01-20T14:33:01.647+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting listener 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 policy-pap | [2024-01-20T14:33:01.648+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting timer 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 policy-pap | [2024-01-20T14:33:01.649+00:00|INFO|TimerManager|KAFKA-source-policy-heartbeat] update timer registered Timer [name=a81b8de0-e2fd-4b0e-8d1a-68ddfe447335, expireMs=1705761211649] 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.653+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting enqueue 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-pap | [2024-01-20T14:33:01.653+00:00|INFO|TimerManager|Thread-9] update timer waiting 29996ms Timer [name=a81b8de0-e2fd-4b0e-8d1a-68ddfe447335, expireMs=1705761211649] 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-pap | [2024-01-20T14:33:01.654+00:00|INFO|ServiceManager|KAFKA-source-policy-heartbeat] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate started 14:34:03 kafka | [2024-01-20 14:32:40,800] 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) 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-pap | [2024-01-20T14:33:01.657+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"messageName":"PDP_UPDATE","requestId":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","timestampMs":1705761181631,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-pap | [2024-01-20T14:33:01.698+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"messageName":"PDP_UPDATE","requestId":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","timestampMs":1705761181631,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-pap | [2024-01-20T14:33:01.698+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:01.720+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"d06aa0d3-ad10-4dbf-b7ef-df9f11decf11","timestampMs":1705761181704,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:01.720+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"messageName":"PDP_UPDATE","requestId":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","timestampMs":1705761181631,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:01.720+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 policy-pap | [2024-01-20T14:33:01.720+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-pdp-pap] no listeners for autonomous message of type PdpStatus 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:01.722+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | string_value: "hostmd7p4c" 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"580cc8c1-1cc1-4b8a-b278-219228a55b68","timestampMs":1705761181705,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping timer 14:34:03 kafka | [2024-01-20 14:32:40,847] 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) 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=a81b8de0-e2fd-4b0e-8d1a-68ddfe447335, expireMs=1705761211649] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping listener 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 policy-pap | [2024-01-20T14:33:01.723+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopped 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.728+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate successful 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.728+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa start publishing next request 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-pap | [2024-01-20T14:33:01.728+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange starting 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange starting listener 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange starting timer 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer registered Timer [name=daaf983e-3218-4580-b78c-53005635c7ff, expireMs=1705761211729] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange starting enqueue 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange started 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|TimerManager|Thread-10] state-change timer waiting 30000ms Timer [name=daaf983e-3218-4580-b78c-53005635c7ff, expireMs=1705761211729] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp Heartbeat","messageName":"PDP_STATUS","requestId":"d06aa0d3-ad10-4dbf-b7ef-df9f11decf11","timestampMs":1705761181704,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup"} 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.729+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"daaf983e-3218-4580-b78c-53005635c7ff","timestampMs":1705761181632,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | 14:34:03 policy-pap | [2024-01-20T14:33:01.770+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:21.417+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"daaf983e-3218-4580-b78c-53005635c7ff","timestampMs":1705761181632,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-pap | [2024-01-20T14:33:01.770+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATE_CHANGE 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 policy-pap | [2024-01-20T14:33:01.773+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[],"response":{"responseTo":"daaf983e-3218-4580-b78c-53005635c7ff","responseStatus":"SUCCESS","responseMessage":"State changed to active. No policies found."},"messageName":"PDP_STATUS","requestId":"01e8ed06-d67d-4a3e-afb6-6ea899dd06dc","timestampMs":1705761181739,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange stopping 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange stopping timer 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] state-change timer cancelled Timer [name=daaf983e-3218-4580-b78c-53005635c7ff, expireMs=1705761211729] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange stopping listener 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange stopped 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpStateChange successful 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa start publishing next request 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | status { 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | code: 200 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting listener 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | message: "success" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting timer 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer registered Timer [name=da63b07b-7244-40e1-ae2e-116b03383075, expireMs=1705761211797] 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting enqueue 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.797+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate started 14:34:03 kafka | [2024-01-20 14:32:40,848] 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) 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-pap | [2024-01-20T14:33:01.798+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,849] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"da63b07b-7244-40e1-ae2e-116b03383075","timestampMs":1705761181764,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,849] 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) 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 policy-pap | [2024-01-20T14:33:01.801+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:40,890] 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$) 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-pap | {"pdpType":"apex","state":"PASSIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"a81b8de0-e2fd-4b0e-8d1a-68ddfe447335","responseStatus":"SUCCESS","responseMessage":"Pdp update successful."},"messageName":"PDP_STATUS","requestId":"580cc8c1-1cc1-4b8a-b278-219228a55b68","timestampMs":1705761181705,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,906] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:01.801+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id a81b8de0-e2fd-4b0e-8d1a-68ddfe447335 14:34:03 kafka | [2024-01-20 14:32:40,910] INFO [Partition __consumer_offsets-3 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-3 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-pap | [2024-01-20T14:33:01.809+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,912] INFO [Partition __consumer_offsets-3 broker=1] Log loaded for partition __consumer_offsets-3 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","state":"ACTIVE","messageName":"PDP_STATE_CHANGE","requestId":"daaf983e-3218-4580-b78c-53005635c7ff","timestampMs":1705761181632,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | list_value { 14:34:03 kafka | [2024-01-20 14:32:40,916] INFO [Broker id=1] Leader __consumer_offsets-3 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:01.809+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_STATE_CHANGE 14:34:03 kafka | [2024-01-20 14:32:40,943] 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$) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:01.809+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,943] 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) 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpStateChange","policies":[],"response":{"responseTo":"daaf983e-3218-4580-b78c-53005635c7ff","responseStatus":"SUCCESS","responseMessage":"State changed to active. No policies found."},"messageName":"PDP_STATUS","requestId":"01e8ed06-d67d-4a3e-afb6-6ea899dd06dc","timestampMs":1705761181739,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,943] INFO [Partition __consumer_offsets-18 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-18 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.810+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id daaf983e-3218-4580-b78c-53005635c7ff 14:34:03 kafka | [2024-01-20 14:32:40,943] INFO [Partition __consumer_offsets-18 broker=1] Log loaded for partition __consumer_offsets-18 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:40,943] INFO [Broker id=1] Leader __consumer_offsets-18 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:01.810+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"da63b07b-7244-40e1-ae2e-116b03383075","timestampMs":1705761181764,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,949] 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$) 14:34:03 kafka | [2024-01-20 14:32:40,950] 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) 14:34:03 policy-pap | [2024-01-20T14:33:01.810+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:01.813+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,950] INFO [Partition __consumer_offsets-41 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-41 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","pdpHeartbeatIntervalMs":120000,"policiesToBeDeployed":[],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"da63b07b-7244-40e1-ae2e-116b03383075","timestampMs":1705761181764,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,950] INFO [Partition __consumer_offsets-41 broker=1] Log loaded for partition __consumer_offsets-41 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.813+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:40,950] INFO [Broker id=1] Leader __consumer_offsets-41 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:01.817+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,956] 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$) 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"da63b07b-7244-40e1-ae2e-116b03383075","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"b6d5795b-a52a-4ff5-b82f-02c8c9b8ced6","timestampMs":1705761181810,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,958] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.817+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping 14:34:03 kafka | [2024-01-20 14:32:40,958] INFO [Partition __consumer_offsets-10 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-10 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:01.817+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:40,959] INFO [Partition __consumer_offsets-10 broker=1] Log loaded for partition __consumer_offsets-10 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 policy-pap | [2024-01-20T14:33:01.817+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping timer 14:34:03 kafka | [2024-01-20 14:32:40,959] INFO [Broker id=1] Leader __consumer_offsets-10 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.817+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=da63b07b-7244-40e1-ae2e-116b03383075, expireMs=1705761211797] 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:40,965] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:01.818+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping listener 14:34:03 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" 14:34:03 kafka | [2024-01-20 14:32:40,966] 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) 14:34:03 policy-pap | [2024-01-20T14:33:01.818+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopped 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:40,966] INFO [Partition __consumer_offsets-33 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-33 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:01.820+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:40,966] INFO [Partition __consumer_offsets-33 broker=1] Log loaded for partition __consumer_offsets-33 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-pap | {"pdpType":"apex","state":"ACTIVE","healthy":"HEALTHY","description":"Pdp status response message for PdpUpdate","policies":[],"response":{"responseTo":"da63b07b-7244-40e1-ae2e-116b03383075","responseStatus":"SUCCESS","responseMessage":"Pdp already updated"},"messageName":"PDP_STATUS","requestId":"b6d5795b-a52a-4ff5-b82f-02c8c9b8ced6","timestampMs":1705761181810,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 kafka | [2024-01-20 14:32:40,966] INFO [Broker id=1] Leader __consumer_offsets-33 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.821+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id da63b07b-7244-40e1-ae2e-116b03383075 14:34:03 kafka | [2024-01-20 14:32:40,973] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.822+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate successful 14:34:03 kafka | [2024-01-20 14:32:40,973] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:01.822+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa has no more requests 14:34:03 kafka | [2024-01-20 14:32:40,973] INFO [Partition __consumer_offsets-48 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-48 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:07.964+00:00|INFO|SessionData|http-nio-6969-exec-5] cache group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:40,973] INFO [Partition __consumer_offsets-48 broker=1] Log loaded for partition __consumer_offsets-48 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:08.600+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-5] Registering a deploy for policy onap.policies.native.apex.Sampledomain 1.0.0 14:34:03 kafka | [2024-01-20 14:32:40,973] INFO [Broker id=1] Leader __consumer_offsets-48 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 policy-pap | [2024-01-20T14:33:08.601+00:00|INFO|SessionData|http-nio-6969-exec-5] add update apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa defaultGroup apex policies=1 14:34:03 kafka | [2024-01-20 14:32:40,980] 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$) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:08.602+00:00|INFO|SessionData|http-nio-6969-exec-5] update cached group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:40,980] 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) 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-pap | [2024-01-20T14:33:08.603+00:00|INFO|SessionData|http-nio-6969-exec-5] updating DB group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:40,980] INFO [Partition __consumer_offsets-19 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-19 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:08.632+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-5] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.native.apex.Sampledomain 1.0.0, action=DEPLOYMENT, timestamp=2024-01-20T14:33:08Z, user=policyadmin)] 14:34:03 kafka | [2024-01-20 14:32:40,980] INFO [Partition __consumer_offsets-19 broker=1] Log loaded for partition __consumer_offsets-19 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-pap | [2024-01-20T14:33:08.679+00:00|INFO|ServiceManager|http-nio-6969-exec-5] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting 14:34:03 kafka | [2024-01-20 14:32:40,980] INFO [Broker id=1] Leader __consumer_offsets-19 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:08.679+00:00|INFO|ServiceManager|http-nio-6969-exec-5] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting listener 14:34:03 kafka | [2024-01-20 14:32:40,987] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:08.679+00:00|INFO|ServiceManager|http-nio-6969-exec-5] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting timer 14:34:03 kafka | [2024-01-20 14:32:40,988] 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) 14:34:03 policy-pap | [2024-01-20T14:33:08.679+00:00|INFO|TimerManager|http-nio-6969-exec-5] update timer registered Timer [name=4c7aac46-16a2-4dea-9016-5b07240422e7, expireMs=1705761218679] 14:34:03 kafka | [2024-01-20 14:32:40,988] INFO [Partition __consumer_offsets-34 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-34 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:08.679+00:00|INFO|ServiceManager|http-nio-6969-exec-5] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting enqueue 14:34:03 kafka | [2024-01-20 14:32:40,988] INFO [Partition __consumer_offsets-34 broker=1] Log loaded for partition __consumer_offsets-34 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:08.680+00:00|INFO|ServiceManager|http-nio-6969-exec-5] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate started 14:34:03 kafka | [2024-01-20 14:32:40,988] INFO [Broker id=1] Leader __consumer_offsets-34 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:08.698+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:40,993] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:40,994] 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) 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4c7aac46-16a2-4dea-9016-5b07240422e7","timestampMs":1705761188601,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:40,994] INFO [Partition __consumer_offsets-4 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-4 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:08.731+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:40,994] INFO [Partition __consumer_offsets-4 broker=1] Log loaded for partition __consumer_offsets-4 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4c7aac46-16a2-4dea-9016-5b07240422e7","timestampMs":1705761188601,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:40,994] INFO [Broker id=1] Leader __consumer_offsets-4 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:21.417+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 policy-pap | [2024-01-20T14:33:08.731+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:40,999] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:21.438+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761201435, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:41,000] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.496+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"}} 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"FirstConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters","parameters":{"standalone":true,"host":"0.0.0.0","port":23324}},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstProducer","synchronousTimeout":2000}},"engineServiceParameters":{"name":"MyApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"policy_type_impl":{"apexPolicyModel":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"keyInformation":{"key":{"name":"KeyInformation","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"Context","version":"0.0.1"},"value":{"key":{"name":"Context","version":"0.0.1"},"UUID":"ca36bfd8-6042-3633-8c85-89c66507c3bf","description":"Generated description for concept referred to by key \"Context:0.0.1\""}},{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"UUID":"465a81cc-885f-3a4d-bc4e-1508da92b236","description":"Generated description for concept referred to by key \"Event0000:0.0.1\""}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"UUID":"36b2d570-fff7-3a4b-bab2-6bf492f5129a","description":"Generated description for concept referred to by key \"Event0001:0.0.1\""}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"UUID":"ff6160a7-fb5e-379c-a6d2-2cd28053eacf","description":"Generated description for concept referred to by key \"Event0002:0.0.1\""}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"UUID":"5899e216-2abf-3781-abc4-2c257b92721e","description":"Generated description for concept referred to by key \"Event0003:0.0.1\""}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"UUID":"7c2692a7-4587-3d09-abf9-d96b339a316f","description":"Generated description for concept referred to by key \"Event0004:0.0.1\""}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"UUID":"b696048c-c0b0-34c1-8dbe-32ab6c8bc0c7","description":"Generated description for concept referred to by key \"Event0100:0.0.1\""}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"UUID":"edbfa868-2ab2-30fd-8078-4c7f67ca6122","description":"Generated description for concept referred to by key \"Event0101:0.0.1\""}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"UUID":"6b6ad2ff-ef63-3f7b-aabb-fba44f8de9d4","description":"Generated description for concept referred to by key \"Event0102:0.0.1\""}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"UUID":"c2550912-10d9-3000-8826-377288cd6cb1","description":"Generated description for concept referred to by key \"Event0103:0.0.1\""}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"UUID":"f6d75b71-c8a7-3337-a121-88d68c389f5a","description":"Generated description for concept referred to by key \"Event0104:0.0.1\""}},{"key":{"name":"Events","version":"0.0.1"},"value":{"key":{"name":"Events","version":"0.0.1"},"UUID":"0215644c-4531-375c-8335-d558b4de8c03","description":"Generated description for concept referred to by key \"Events:0.0.1\""}},{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"UUID":"976a79e7-5c80-3c03-9503-da3f41fec395","description":"Generated description for concept referred to by key \"ExternalContextAlbum:0.0.1\""}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"UUID":"c95e9e5f-d2c7-3ac7-a205-ea3574530cb7","description":"Generated description for concept referred to by key \"GlobalContextAlbum:0.0.1\""}},{"key":{"name":"KeyInformation","version":"0.0.1"},"value":{"key":{"name":"KeyInformation","version":"0.0.1"},"UUID":"1ff2f905-685c-3caf-95bc-0bbc90345888","description":"Generated description for concept referred to by key \"KeyInformation:0.0.1\""}},{"key":{"name":"Policies","version":"0.0.1"},"value":{"key":{"name":"Policies","version":"0.0.1"},"UUID":"f54c3b2b-be76-31c4-adfc-87c494c06808","description":"Generated description for concept referred to by key \"Policies:0.0.1\""}},{"key":{"name":"Policy0","version":"0.0.1"},"value":{"key":{"name":"Policy0","version":"0.0.1"},"UUID":"3410e939-30ca-32c4-a2d8-c30b6fee6eec","description":"Generated description for concept referred to by key \"Policy0:0.0.1\""}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"UUID":"e27564c4-3cbf-3db2-9bf3-83ae80a2f907","description":"Generated description for concept referred to by key \"Policy0ContextAlbum:0.0.1\""}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"key":{"name":"Policy1","version":"0.0.1"},"UUID":"d0b2b585-f344-33b8-af9e-250e7f4cfbce","description":"Generated description for concept referred to by key \"Policy1:0.0.1\""}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"UUID":"815d74ae-6fc0-3221-87b9-2bb1dfdfa7f0","description":"Generated description for concept referred to by key \"Policy1ContextAlbum:0.0.1\""}},{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"value":{"key":{"name":"SamplePolicyModelJAVASCRIPT","version":"0.0.1"},"UUID":"bc8ee312-81ce-3c4a-92d5-4a73b8077148","description":"Generated description for concept referred to by key \"SamplePolicyModelJAVASCRIPT:0.0.1\""}},{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"UUID":"0589ff20-adcc-3ce5-95fe-8d7978ed54ed","description":"Generated description for concept referred to by key \"Task_Act0:0.0.1\""}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"UUID":"095b126d-ca8b-32c9-ad52-d744e817a79c","description":"Generated description for concept referred to by key \"Task_Act1:0.0.1\""}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"UUID":"3d786b4c-d9ee-3367-ab71-c67271a4ea2f","description":"Generated description for concept referred to by key \"Task_Act2:0.0.1\""}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"UUID":"9231753e-20c5-3436-982f-9100340cc570","description":"Generated description for concept referred to by key \"Task_Act3:0.0.1\""}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"UUID":"502383d3-483f-3a56-a426-2f0406674c8d","description":"Generated description for concept referred to by key \"Task_Decide0:0.0.1\""}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"UUID":"16598106-41c8-3b5a-99c6-5fcf6d1a5ddf","description":"Generated description for concept referred to by key \"Task_Decide1:0.0.1\""}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"UUID":"ad3a89f5-e369-3c66-b22c-669f7b3653b8","description":"Generated description for concept referred to by key \"Task_Decide2:0.0.1\""}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"UUID":"56815939-1164-3867-9ed1-0a27ff8aafb3","description":"Generated description for concept referred to by key \"Task_Decide3:0.0.1\""}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"UUID":"0db0c566-ecd7-3e27-9865-4b82c893abdb","description":"Generated description for concept referred to by key \"Task_Establish0:0.0.1\""}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"UUID":"6944a4c1-6201-317c-8d7e-eaa7f2ee0ea0","description":"Generated description for concept referred to by key \"Task_Establish1:0.0.1\""}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"UUID":"0f766ea9-11cd-3e7d-a8c8-28c8dee6a85a","description":"Generated description for concept referred to by key \"Task_Establish2:0.0.1\""}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"UUID":"c3237a38-cc6d-3418-b1e1-0dc8b4bdcc66","description":"Generated description for concept referred to by key \"Task_Establish3:0.0.1\""}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"UUID":"051bcfd5-cf73-3c89-8ee7-ea6e005ec059","description":"Generated description for concept referred to by key \"Task_Match0:0.0.1\""}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"UUID":"3754fe19-98f2-34a1-9f45-db31052208d8","description":"Generated description for concept referred to by key \"Task_Match1:0.0.1\""}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"UUID":"8c200709-a180-3c8b-916f-275ff49ce194","description":"Generated description for concept referred to by key \"Task_Match2:0.0.1\""}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"UUID":"a1a879c6-4510-33b0-bbd0-ad6256189a37","description":"Generated description for concept referred to by key \"Task_Match3:0.0.1\""}},{"key":{"name":"Tasks","version":"0.0.1"},"value":{"key":{"name":"Tasks","version":"0.0.1"},"UUID":"a7fab96b-ce1c-37ce-bbb2-556b6db524a5","description":"Generated description for concept referred to by key \"Tasks:0.0.1\""}},{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"UUID":"0a652886-c88d-3f8c-8994-ae9161e7c963","description":"Generated description for concept referred to by key \"TestCase:0.0.1\""}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"UUID":"8efba9fa-371e-33df-a7d6-88b0284e7fd0","description":"Generated description for concept referred to by key \"TestContextItem000:0.0.1\""}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"UUID":"3740077c-a2b3-356b-81dc-5ded2118a951","description":"Generated description for concept referred to by key \"TestContextItem001:0.0.1\""}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"UUID":"b5c7df95-9af5-322f-9ea8-eb440a2bf926","description":"Generated description for concept referred to by key \"TestContextItem002:0.0.1\""}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"UUID":"b36f0aa5-0fb9-3e2c-8fa2-fddb7fd05f4b","description":"Generated description for concept referred to by key \"TestContextItem003:0.0.1\""}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"UUID":"093cda11-eaeb-3a46-a5b6-d5e30c00935b","description":"Generated description for concept referred to by key \"TestContextItem004:0.0.1\""}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"UUID":"569a758d-ba40-37c0-aebb-7ad138df25ac","description":"Generated description for concept referred to by key \"TestContextItem005:0.0.1\""}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"UUID":"252818d9-b61f-3962-a905-8865fb00fb04","description":"Generated description for concept referred to by key \"TestContextItem006:0.0.1\""}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"UUID":"fe1a5f7c-c083-377b-a797-752b01fc6c73","description":"Generated description for concept referred to by key \"TestContextItem007:0.0.1\""}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"UUID":"aa87d007-d07e-3f67-8c6d-0ebc3d85479d","description":"Generated description for concept referred to by key \"TestContextItem008:0.0.1\""}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"UUID":"126e7a3a-11b6-3f88-9397-c21d8819f859","description":"Generated description for concept referred to by key \"TestContextItem009:0.0.1\""}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"UUID":"0e0e3dec-e03d-3379-a87b-1ecd4aa3d8cc","description":"Generated description for concept referred to by key \"TestContextItem00A:0.0.1\""}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"UUID":"dbdc98df-3ff4-360c-b8d3-a7a836ac3de6","description":"Generated description for concept referred to by key \"TestContextItem00B:0.0.1\""}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"UUID":"32a2f355-77f3-3b25-ace6-7a9c5763a5ad","description":"Generated description for concept referred to by key \"TestContextItem00C:0.0.1\""}},{"key":{"name":"TestDatatypes","version":"0.0.1"},"value":{"key":{"name":"TestDatatypes","version":"0.0.1"},"UUID":"3f95472c-973e-30e2-95f1-bf00cbef909a","description":"Generated description for concept referred to by key \"TestDatatypes:0.0.1\""}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"UUID":"610dbbd4-9149-3b3c-9af4-819056f0e169","description":"Generated description for concept referred to by key \"TestExternalContextItem:0.0.1\""}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"UUID":"07fa8f68-55f1-3fd0-81c1-749a379753a7","description":"Generated description for concept referred to by key \"TestGlobalContextItem:0.0.1\""}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"UUID":"d9c93cd1-539e-35c5-aaec-bb711ceb1251","description":"Generated description for concept referred to by key \"TestPolicyContextItem:0.0.1\""}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"UUID":"683fe492-7eae-3ac7-9924-bb7850208d05","description":"Generated description for concept referred to by key \"TestSlogan:0.0.1\""}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"UUID":"bba25b6f-e3cd-3060-9022-4ef3a79f8eb0","description":"Generated description for concept referred to by key \"TestTemperature:0.0.1\""}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"UUID":"97b73937-c344-33c0-924c-4d26b6449564","description":"Generated description for concept referred to by key \"TestTimestamp:0.0.1\""}}]}},"policies":{"key":{"name":"Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"Policy0","version":"0.0.1"},"value":{"policyKey":{"name":"Policy0","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0003","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0004","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0002","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0003","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0001","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0002","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0000","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0001","version":"0.0.1"},"nextState":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy0","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}},{"key":{"name":"Policy1","version":"0.0.1"},"value":{"policyKey":{"name":"Policy1","version":"0.0.1"},"template":"MEDA","state":{"entry":[{"key":"Act","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"},"trigger":{"name":"Event0103","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Act_NULL","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"},"outgoingEvent":{"name":"Event0104","version":"0.0.1"},"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Act0","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act0_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act1_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act2_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Task_Act3_DIRECT_Act_NULL"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Act","localName":"Act_NULL"}}}]}}},{"key":"Decide","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"},"trigger":{"name":"Event0102","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Decide_Act","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"},"outgoingEvent":{"name":"Event0103","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Act"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Decide3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide0_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide1_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide2_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Task_Decide3_DIRECT_Decide_Act"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Decide","localName":"Decide_Act"}}}]}}},{"key":"Establish","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"},"trigger":{"name":"Event0101","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Establish_Decide","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"},"outgoingEvent":{"name":"Event0102","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Decide"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Establish1","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish0_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish1_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish2_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Task_Establish3_DIRECT_Establish_Decide"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Establish","localName":"Establish_Decide"}}}]}}},{"key":"Match","value":{"stateKey":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Match"},"trigger":{"name":"Event0100","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"Match_Establish","value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"},"outgoingEvent":{"name":"Event0101","version":"0.0.1"},"nextState":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Establish"}}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskSelectionLogic":{"key":"TaskSelectionLigic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.subject.defaultTaskKey.copyTo(executor.selectedTask)\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"Task_Match3","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match0_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match1_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match2_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Task_Match3_DIRECT_Match_Establish"},"outputType":"DIRECT","output":{"parentKeyName":"Policy1","parentKeyVersion":"0.0.1","parentLocalName":"Match","localName":"Match_Establish"}}}]}}}]},"firstState":"Match"}}]}},"tasks":{"key":{"name":"Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"Task_Act0","version":"0.0.1"},"value":{"key":{"name":"Task_Act0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Act0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act1","version":"0.0.1"},"value":{"key":{"name":"Task_Act1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Act1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act2","version":"0.0.1"},"value":{"key":{"name":"Task_Act2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Act3","version":"0.0.1"},"value":{"key":{"name":"Task_Act3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Act3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestActCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestActStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide0","version":"0.0.1"},"value":{"key":{"name":"Task_Decide0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Decide0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide1","version":"0.0.1"},"value":{"key":{"name":"Task_Decide1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Decide1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide2","version":"0.0.1"},"value":{"key":{"name":"Task_Decide2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Decide3","version":"0.0.1"},"value":{"key":{"name":"Task_Decide3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Decide3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestDecideCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestDecideStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish0","version":"0.0.1"},"value":{"key":{"name":"Task_Establish0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Establish0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish1","version":"0.0.1"},"value":{"key":{"name":"Task_Establish1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Establish1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish2","version":"0.0.1"},"value":{"key":{"name":"Task_Establish2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Establish3","version":"0.0.1"},"value":{"key":{"name":"Task_Establish3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Establish3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestEstablishCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestEstablishStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match0","version":"0.0.1"},"value":{"key":{"name":"Task_Match0","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}},{"key":"Parameter2","value":{"key":{"parentKeyName":"Task_Match0","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter2"},"defaultValue":"DefaultValue2"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(2));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match1","version":"0.0.1"},"value":{"key":{"name":"Task_Match1","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}},{"key":"Parameter1","value":{"key":{"parentKeyName":"Task_Match1","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter1"},"defaultValue":"DefaultValue1"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy0ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(3));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match2","version":"0.0.1"},"value":{"key":{"name":"Task_Match2","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"GlobalContextAlbum","version":"0.0.1"},{"name":"Policy1ContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(0));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}},{"key":{"name":"Task_Match3","version":"0.0.1"},"value":{"key":{"name":"Task_Match3","version":"0.0.1"},"inputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"outputFields":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]},"taskParameters":{"entry":[{"key":"Parameter0","value":{"key":{"parentKeyName":"Task_Match3","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"Parameter0"},"defaultValue":"DefaultValue0"}}]},"contextAlbumReference":[{"name":"ExternalContextAlbum","version":"0.0.1"},{"name":"GlobalContextAlbum","version":"0.0.1"}],"taskLogic":{"key":"_TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * \n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"GlobalContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nvar caseSelectedType = java.lang.Byte;\nexecutor.outFields.put(\"TestMatchCaseSelected\", new caseSelectedType(1));\n\nvar JavaDate = java.util.Date;\ntimeNow = new JavaDate();\nexecutor.outFields.put(\"TestMatchStateTime\", timeNow.getTime());\nexecutor.logger.debug(executor.eo);\n\ntrue;"}}}]}},"events":{"key":{"name":"Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"Event0000","version":"0.0.1"},"value":{"key":{"name":"Event0000","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0001","version":"0.0.1"},"value":{"key":{"name":"Event0001","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0002","version":"0.0.1"},"value":{"key":{"name":"Event0002","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0003","version":"0.0.1"},"value":{"key":{"name":"Event0003","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0004","version":"0.0.1"},"value":{"key":{"name":"Event0004","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0100","version":"0.0.1"},"value":{"key":{"name":"Event0100","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Outside","target":"Match","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0101","version":"0.0.1"},"value":{"key":{"name":"Event0101","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Match","target":"Establish","parameter":{"entry":[{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0102","version":"0.0.1"},"value":{"key":{"name":"Event0102","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Establish","target":"Decide","parameter":{"entry":[{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0103","version":"0.0.1"},"value":{"key":{"name":"Event0103","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Decide","target":"Act","parameter":{"entry":[{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}},{"key":{"name":"Event0104","version":"0.0.1"},"value":{"key":{"name":"Event0104","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.sample.events","source":"Act","target":"Outside","parameter":{"entry":[{"key":"TestActCaseSelected","value":{"key":"TestActCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestActStateTime","value":{"key":"TestActStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestDecideCaseSelected","value":{"key":"TestDecideCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestDecideStateTime","value":{"key":"TestDecideStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestEstablishCaseSelected","value":{"key":"TestEstablishCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestEstablishStateTime","value":{"key":"TestEstablishStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestMatchCase","value":{"key":"TestMatchCase","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchCaseSelected","value":{"key":"TestMatchCaseSelected","fieldSchemaKey":{"name":"TestCase","version":"0.0.1"},"optional":false}},{"key":"TestMatchStateTime","value":{"key":"TestMatchStateTime","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}},{"key":"TestSlogan","value":{"key":"TestSlogan","fieldSchemaKey":{"name":"TestSlogan","version":"0.0.1"},"optional":false}},{"key":"TestTemperature","value":{"key":"TestTemperature","fieldSchemaKey":{"name":"TestTemperature","version":"0.0.1"},"optional":false}},{"key":"TestTimestamp","value":{"key":"TestTimestamp","fieldSchemaKey":{"name":"TestTimestamp","version":"0.0.1"},"optional":false}}]}}}]}},"albums":{"key":{"name":"Context","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"ExternalContextAlbum","version":"0.0.1"},"scope":"EXTERNAL","isWritable":false,"itemSchema":{"name":"TestExternalContextItem","version":"0.0.1"}}},{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"value":{"key":{"name":"GlobalContextAlbum","version":"0.0.1"},"scope":"GLOBAL","isWritable":true,"itemSchema":{"name":"TestGlobalContextItem","version":"0.0.1"}}},{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy0ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}},{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"value":{"key":{"name":"Policy1ContextAlbum","version":"0.0.1"},"scope":"APPLICATION","isWritable":true,"itemSchema":{"name":"TestPolicyContextItem","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"TestDatatypes","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"TestCase","version":"0.0.1"},"value":{"key":{"name":"TestCase","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Byte"}},{"key":{"name":"TestContextItem000","version":"0.0.1"},"value":{"key":{"name":"TestContextItem000","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem000"}},{"key":{"name":"TestContextItem001","version":"0.0.1"},"value":{"key":{"name":"TestContextItem001","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem001"}},{"key":{"name":"TestContextItem002","version":"0.0.1"},"value":{"key":{"name":"TestContextItem002","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem002"}},{"key":{"name":"TestContextItem003","version":"0.0.1"},"value":{"key":{"name":"TestContextItem003","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem003"}},{"key":{"name":"TestContextItem004","version":"0.0.1"},"value":{"key":{"name":"TestContextItem004","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem004"}},{"key":{"name":"TestContextItem005","version":"0.0.1"},"value":{"key":{"name":"TestContextItem005","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem005"}},{"key":{"name":"TestContextItem006","version":"0.0.1"},"value":{"key":{"name":"TestContextItem006","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem006"}},{"key":{"name":"TestContextItem007","version":"0.0.1"},"value":{"key":{"name":"TestContextItem007","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem007"}},{"key":{"name":"TestContextItem008","version":"0.0.1"},"value":{"key":{"name":"TestContextItem008","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem008"}},{"key":{"name":"TestContextItem009","version":"0.0.1"},"value":{"key":{"name":"TestContextItem009","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem009"}},{"key":{"name":"TestContextItem00A","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00A","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00A"}},{"key":{"name":"TestContextItem00B","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00B","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00B"}},{"key":{"name":"TestContextItem00C","version":"0.0.1"},"value":{"key":{"name":"TestContextItem00C","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestContextItem00C"}},{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestExternalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestExternalContextItem"}},{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"value":{"key":{"name":"TestGlobalContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestGlobalContextItem"}},{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"value":{"key":{"name":"TestPolicyContextItem","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"org.onap.policy.apex.context.test.concepts.TestPolicyContextItem"}},{"key":{"name":"TestSlogan","version":"0.0.1"},"value":{"key":{"name":"TestSlogan","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}},{"key":{"name":"TestTemperature","version":"0.0.1"},"value":{"key":{"name":"TestTemperature","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Double"}},{"key":{"name":"TestTimestamp","version":"0.0.1"},"value":{"key":{"name":"TestTimestamp","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}}]}}}},"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}}}},"eventOutputParameters":{"FirstProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTSERVER","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restserver.RestServerCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"synchronousMode":true,"synchronousPeer":"FirstConsumer","synchronousTimeout":2000}}},"name":"onap.policies.native.apex.Sampledomain","version":"1.0.0","metadata":{"policy-id":"onap.policies.native.apex.Sampledomain","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4c7aac46-16a2-4dea-9016-5b07240422e7","timestampMs":1705761188601,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,000] INFO [Partition __consumer_offsets-11 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-11 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.497+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": 1705761205496, "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} 14:34:03 policy-pap | [2024-01-20T14:33:08.749+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:41,000] INFO [Partition __consumer_offsets-11 broker=1] Log loaded for partition __consumer_offsets-11 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.499+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761205497, "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"}}}] 14:34:03 policy-pap | [2024-01-20T14:33:08.753+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:41,000] INFO [Broker id=1] Leader __consumer_offsets-11 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.510+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 policy-pap | [2024-01-20T14:33:09.392+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:41,008] 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$) 14:34:03 policy-apex-pdp | { 14:34:03 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":"4c7aac46-16a2-4dea-9016-5b07240422e7","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.native.apex.Sampledomain:1.0.0 "},"messageName":"PDP_STATUS","requestId":"ff32e91e-971c-442a-96e9-4fccec47d2e4","timestampMs":1705761189382,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,009] 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) 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 policy-pap | [2024-01-20T14:33:09.393+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 4c7aac46-16a2-4dea-9016-5b07240422e7 14:34:03 kafka | [2024-01-20 14:32:41,009] INFO [Partition __consumer_offsets-26 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-26 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,009] INFO [Partition __consumer_offsets-26 broker=1] Log loaded for partition __consumer_offsets-26 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 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":"4c7aac46-16a2-4dea-9016-5b07240422e7","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.native.apex.Sampledomain:1.0.0 "},"messageName":"PDP_STATUS","requestId":"ff32e91e-971c-442a-96e9-4fccec47d2e4","timestampMs":1705761189382,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,009] INFO [Broker id=1] Leader __consumer_offsets-26 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping 14:34:03 kafka | [2024-01-20 14:32:41,016] 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$) 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:41,016] 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) 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping timer 14:34:03 kafka | [2024-01-20 14:32:41,016] INFO [Partition __consumer_offsets-49 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-49 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=4c7aac46-16a2-4dea-9016-5b07240422e7, expireMs=1705761218679] 14:34:03 kafka | [2024-01-20 14:32:41,016] INFO [Partition __consumer_offsets-49 broker=1] Log loaded for partition __consumer_offsets-49 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping listener 14:34:03 kafka | [2024-01-20 14:32:41,016] INFO [Broker id=1] Leader __consumer_offsets-49 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 policy-pap | [2024-01-20T14:33:09.394+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopped 14:34:03 kafka | [2024-01-20 14:32:41,022] 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$) 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 policy-pap | [2024-01-20T14:33:09.407+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate successful 14:34:03 kafka | [2024-01-20 14:32:41,022] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:09.407+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa has no more requests 14:34:03 kafka | [2024-01-20 14:32:41,022] INFO [Partition __consumer_offsets-39 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-39 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | 14:34:03 policy-pap | [2024-01-20T14:33:09.408+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 14:34:03 kafka | [2024-01-20 14:32:41,022] INFO [Partition __consumer_offsets-39 broker=1] Log loaded for partition __consumer_offsets-39 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.518+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": 1705761205496, "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} 14:34:03 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":[]} 14:34:03 kafka | [2024-01-20 14:32:41,022] INFO [Broker id=1] Leader __consumer_offsets-39 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:09.423+00:00|WARN|NetworkClient|kafka-producer-network-thread | producer-2] [Producer clientId=producer-2] Error while fetching metadata with correlation id 4 : {policy-notification=LEADER_NOT_AVAILABLE} 14:34:03 kafka | [2024-01-20 14:32:41,029] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.522+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": "hostou8rlh", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761205520, "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"}}}] 14:34:03 policy-pap | [2024-01-20T14:33:14.654+00:00|INFO|SessionData|http-nio-6969-exec-8] cache group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:41,029] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.529+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) 14:34:03 policy-pap | [2024-01-20T14:33:14.981+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-8] Registering a deploy for policy onap.policies.apex.pnf.Test 1.0.0 14:34:03 kafka | [2024-01-20 14:32:41,029] INFO [Partition __consumer_offsets-9 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-9 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.530+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-pap | [2024-01-20T14:33:14.982+00:00|INFO|SessionData|http-nio-6969-exec-8] add update apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa defaultGroup apex policies=1 14:34:03 kafka | [2024-01-20 14:32:41,030] INFO [Partition __consumer_offsets-9 broker=1] Log loaded for partition __consumer_offsets-9 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-pap | [2024-01-20T14:33:14.982+00:00|INFO|SessionData|http-nio-6969-exec-8] update cached group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:41,030] INFO [Broker id=1] Leader __consumer_offsets-9 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 policy-pap | [2024-01-20T14:33:14.982+00:00|INFO|SessionData|http-nio-6969-exec-8] updating DB group defaultGroup 14:34:03 kafka | [2024-01-20 14:32:41,036] 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$) 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 policy-pap | [2024-01-20T14:33:15.000+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-8] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.apex.pnf.Test 1.0.0, action=DEPLOYMENT, timestamp=2024-01-20T14:33:14Z, user=policyadmin)] 14:34:03 kafka | [2024-01-20 14:32:41,037] 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) 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 policy-pap | [2024-01-20T14:33:15.017+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting 14:34:03 kafka | [2024-01-20 14:32:41,037] INFO [Partition __consumer_offsets-24 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-24 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:15.017+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting listener 14:34:03 kafka | [2024-01-20 14:32:41,037] INFO [Partition __consumer_offsets-24 broker=1] Log loaded for partition __consumer_offsets-24 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-pap | [2024-01-20T14:33:15.017+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting timer 14:34:03 kafka | [2024-01-20 14:32:41,037] INFO [Broker id=1] Leader __consumer_offsets-24 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-pap | [2024-01-20T14:33:15.017+00:00|INFO|TimerManager|http-nio-6969-exec-8] update timer registered Timer [name=4109d48a-2e34-4a6b-b538-9c3de6816e62, expireMs=1705761225017] 14:34:03 kafka | [2024-01-20 14:32:41,046] 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$) 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-pap | [2024-01-20T14:33:15.017+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting enqueue 14:34:03 kafka | [2024-01-20 14:32:41,047] 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) 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-pap | [2024-01-20T14:33:15.018+00:00|INFO|ServiceManager|http-nio-6969-exec-8] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate started 14:34:03 kafka | [2024-01-20 14:32:41,048] INFO [Partition __consumer_offsets-31 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-31 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-pap | [2024-01-20T14:33:15.031+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,048] INFO [Partition __consumer_offsets-31 broker=1] Log loaded for partition __consumer_offsets-31 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,048] INFO [Broker id=1] Leader __consumer_offsets-31 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4109d48a-2e34-4a6b-b538-9c3de6816e62","timestampMs":1705761194982,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | payload { 14:34:03 kafka | [2024-01-20 14:32:41,058] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:15.055+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,059] 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) 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4109d48a-2e34-4a6b-b538-9c3de6816e62","timestampMs":1705761194982,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,059] INFO [Partition __consumer_offsets-46 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-46 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:15.059+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:41,059] INFO [Partition __consumer_offsets-46 broker=1] Log loaded for partition __consumer_offsets-46 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-pap | [2024-01-20T14:33:15.062+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,059] INFO [Broker id=1] Leader __consumer_offsets-46 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,069] 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$) 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://localhost:8082/topics/apex-cl-mgt"}]},"policy_type_impl":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}},"eventOutputParameters":{"SimpleCL_AAIProducer":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer","requestorTimeout":500},"SimpleCL_logOutputter":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.Test","version":"1.0.0","metadata":{"policy-id":"onap.policies.apex.pnf.Test","policy-version":"1.0.0"}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"4109d48a-2e34-4a6b-b538-9c3de6816e62","timestampMs":1705761194982,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 kafka | [2024-01-20 14:32:41,069] 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) 14:34:03 policy-pap | [2024-01-20T14:33:15.064+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,069] INFO [Partition __consumer_offsets-1 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-1 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:15.588+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 policy-apex-pdp | string_value: "hostou8rlh" 14:34:03 kafka | [2024-01-20 14:32:41,070] INFO [Partition __consumer_offsets-1 broker=1] Log loaded for partition __consumer_offsets-1 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 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":"4109d48a-2e34-4a6b-b538-9c3de6816e62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"d31bf59e-dfea-4e9f-9434-7160a0bbe256","timestampMs":1705761195581,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,070] INFO [Broker id=1] Leader __consumer_offsets-1 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:15.589+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 4109d48a-2e34-4a6b-b538-9c3de6816e62 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,076] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:15.590+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-apex-pdp | fields { 14:34:03 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":"4109d48a-2e34-4a6b-b538-9c3de6816e62","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"d31bf59e-dfea-4e9f-9434-7160a0bbe256","timestampMs":1705761195581,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,077] 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) 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping 14:34:03 kafka | [2024-01-20 14:32:41,077] INFO [Partition __consumer_offsets-16 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-16 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:41,077] INFO [Partition __consumer_offsets-16 broker=1] Log loaded for partition __consumer_offsets-16 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping timer 14:34:03 kafka | [2024-01-20 14:32:41,077] INFO [Broker id=1] Leader __consumer_offsets-16 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=4109d48a-2e34-4a6b-b538-9c3de6816e62, expireMs=1705761225017] 14:34:03 kafka | [2024-01-20 14:32:41,085] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping listener 14:34:03 kafka | [2024-01-20 14:32:41,086] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:15.591+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopped 14:34:03 kafka | [2024-01-20 14:32:41,087] INFO [Partition __consumer_offsets-2 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-2 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-pap | [2024-01-20T14:33:15.603+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate successful 14:34:03 kafka | [2024-01-20 14:32:41,087] INFO [Partition __consumer_offsets-2 broker=1] Log loaded for partition __consumer_offsets-2 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:15.603+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa has no more requests 14:34:03 kafka | [2024-01-20 14:32:41,087] INFO [Broker id=1] Leader __consumer_offsets-2 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 policy-pap | [2024-01-20T14:33:15.604+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 14:34:03 kafka | [2024-01-20 14:32:41,096] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,096] 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) 14:34:03 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":[]} 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,096] INFO [Partition __consumer_offsets-25 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-25 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:31.650+00:00|INFO|TimerManager|Thread-9] update timer discarded (expired) Timer [name=a81b8de0-e2fd-4b0e-8d1a-68ddfe447335, expireMs=1705761211649] 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,097] INFO [Partition __consumer_offsets-25 broker=1] Log loaded for partition __consumer_offsets-25 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:31.729+00:00|INFO|TimerManager|Thread-10] state-change timer discarded (expired) Timer [name=daaf983e-3218-4580-b78c-53005635c7ff, expireMs=1705761211729] 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,097] INFO [Broker id=1] Leader __consumer_offsets-25 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:35.908+00:00|INFO|SessionData|http-nio-6969-exec-1] cache group defaultGroup 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,103] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:36.175+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-1] Registering a deploy for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,103] 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) 14:34:03 policy-pap | [2024-01-20T14:33:36.176+00:00|INFO|SessionData|http-nio-6969-exec-1] add update apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa defaultGroup apex policies=1 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,103] INFO [Partition __consumer_offsets-40 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-40 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.176+00:00|INFO|SessionData|http-nio-6969-exec-1] update cached group defaultGroup 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.540+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 kafka | [2024-01-20 14:32:41,103] INFO [Partition __consumer_offsets-40 broker=1] Log loaded for partition __consumer_offsets-40 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.176+00:00|INFO|SessionData|http-nio-6969-exec-1] updating DB group defaultGroup 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 kafka | [2024-01-20 14:32:41,103] INFO [Broker id=1] Leader __consumer_offsets-40 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:36.246+00:00|INFO|PolicyAuditManager|http-nio-6969-exec-1] sending audit records to database: [PolicyAudit(auditId=null, pdpGroup=defaultGroup, pdpType=apex, policy=onap.policies.apex.pnf.metadataSet.Test 1.0.0, action=DEPLOYMENT, timestamp=2024-01-20T14:33:36Z, user=policyadmin)] 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 kafka | [2024-01-20 14:32:41,114] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 kafka | [2024-01-20 14:32:41,115] 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) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting listener 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 kafka | [2024-01-20 14:32:41,115] INFO [Partition __consumer_offsets-47 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-47 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting timer 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 kafka | [2024-01-20 14:32:41,115] INFO [Partition __consumer_offsets-47 broker=1] Log loaded for partition __consumer_offsets-47 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|TimerManager|http-nio-6969-exec-1] update timer registered Timer [name=9715061a-c10b-4880-acbd-73f787a25f9f, expireMs=1705761246260] 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,116] INFO [Broker id=1] Leader __consumer_offsets-47 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate starting enqueue 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 kafka | [2024-01-20 14:32:41,123] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|ServiceManager|http-nio-6969-exec-1] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate started 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 kafka | [2024-01-20 14:32:41,123] 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) 14:34:03 policy-pap | [2024-01-20T14:33:36.260+00:00|INFO|TimerManager|Thread-9] update timer waiting 30000ms Timer [name=9715061a-c10b-4880-acbd-73f787a25f9f, expireMs=1705761246260] 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 kafka | [2024-01-20 14:32:41,123] INFO [Partition __consumer_offsets-17 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-17 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.262+00:00|INFO|network|Thread-7] [OUT|KAFKA|policy-pdp-pap] 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 kafka | [2024-01-20 14:32:41,123] INFO [Partition __consumer_offsets-17 broker=1] Log loaded for partition __consumer_offsets-17 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9715061a-c10b-4880-acbd-73f787a25f9f","timestampMs":1705761216176,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,123] INFO [Broker id=1] Leader __consumer_offsets-17 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:36.270+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:41,130] 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$) 14:34:03 policy-apex-pdp | status { 14:34:03 kafka | [2024-01-20 14:32:41,130] 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) 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9715061a-c10b-4880-acbd-73f787a25f9f","timestampMs":1705761216176,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 policy-apex-pdp | code: 200 14:34:03 kafka | [2024-01-20 14:32:41,130] INFO [Partition __consumer_offsets-32 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-32 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.273+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 policy-apex-pdp | message: "success" 14:34:03 kafka | [2024-01-20 14:32:41,131] INFO [Partition __consumer_offsets-32 broker=1] Log loaded for partition __consumer_offsets-32 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 kafka | [2024-01-20 14:32:41,131] INFO [Broker id=1] Leader __consumer_offsets-32 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-pap | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9715061a-c10b-4880-acbd-73f787a25f9f","timestampMs":1705761216176,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,137] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 policy-pap | [2024-01-20T14:33:36.274+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-heartbeat] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:41,137] 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) 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-pap | [2024-01-20T14:33:36.275+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_UPDATE 14:34:03 kafka | [2024-01-20 14:32:41,137] INFO [Partition __consumer_offsets-37 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-37 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:36.417+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,138] INFO [Partition __consumer_offsets-37 broker=1] Log loaded for partition __consumer_offsets-37 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 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":"9715061a-c10b-4880-acbd-73f787a25f9f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"38631ef5-1aeb-4982-afdc-c260b02bf964","timestampMs":1705761216404,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,138] INFO [Broker id=1] Leader __consumer_offsets-37 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:36.417+00:00|INFO|network|KAFKA-source-policy-heartbeat] [IN|KAFKA|policy-heartbeat] 14:34:03 kafka | [2024-01-20 14:32:41,144] 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$) 14:34:03 policy-apex-pdp | struct_value { 14:34:03 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":"9715061a-c10b-4880-acbd-73f787a25f9f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"38631ef5-1aeb-4982-afdc-c260b02bf964","timestampMs":1705761216404,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,146] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-pap | [2024-01-20T14:33:36.417+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping 14:34:03 kafka | [2024-01-20 14:32:41,146] INFO [Partition __consumer_offsets-7 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-7 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-pap | [2024-01-20T14:33:36.417+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping enqueue 14:34:03 kafka | [2024-01-20 14:32:41,146] INFO [Partition __consumer_offsets-7 broker=1] Log loaded for partition __consumer_offsets-7 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-pap | [2024-01-20T14:33:36.418+00:00|INFO|RequestIdDispatcher|KAFKA-source-policy-heartbeat] no listener for request id 9715061a-c10b-4880-acbd-73f787a25f9f 14:34:03 kafka | [2024-01-20 14:32:41,147] INFO [Broker id=1] Leader __consumer_offsets-7 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-pap | [2024-01-20T14:33:36.417+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping timer 14:34:03 kafka | [2024-01-20 14:32:41,156] 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$) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-pap | [2024-01-20T14:33:36.418+00:00|INFO|TimerManager|KAFKA-source-policy-pdp-pap] update timer cancelled Timer [name=9715061a-c10b-4880-acbd-73f787a25f9f, expireMs=1705761246260] 14:34:03 kafka | [2024-01-20 14:32:41,156] 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) 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-pap | [2024-01-20T14:33:36.418+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopping listener 14:34:03 kafka | [2024-01-20 14:32:41,156] INFO [Partition __consumer_offsets-22 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-22 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,156] INFO [Partition __consumer_offsets-22 broker=1] Log loaded for partition __consumer_offsets-22 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-pap | [2024-01-20T14:33:36.418+00:00|INFO|ServiceManager|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate stopped 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:41,156] INFO [Broker id=1] Leader __consumer_offsets-22 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-pap | [2024-01-20T14:33:36.428+00:00|INFO|RequestImpl|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa PdpUpdate successful 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 kafka | [2024-01-20 14:32:41,164] 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$) 14:34:03 policy-pap | [2024-01-20T14:33:36.428+00:00|INFO|PdpRequests|KAFKA-source-policy-pdp-pap] apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa has no more requests 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,164] 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) 14:34:03 policy-pap | [2024-01-20T14:33:36.429+00:00|INFO|network|Thread-8] [OUT|KAFKA|policy-notification] 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:41,164] INFO [Partition __consumer_offsets-29 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-29 (kafka.cluster.Partition) 14:34:03 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":[]} 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 kafka | [2024-01-20 14:32:41,164] INFO [Partition __consumer_offsets-29 broker=1] Log loaded for partition __consumer_offsets-29 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,164] INFO [Broker id=1] Leader __consumer_offsets-29 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:41,170] 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$) 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 kafka | [2024-01-20 14:32:41,171] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,171] INFO [Partition __consumer_offsets-44 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-44 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:41,171] INFO [Partition __consumer_offsets-44 broker=1] Log loaded for partition __consumer_offsets-44 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 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" 14:34:03 kafka | [2024-01-20 14:32:41,171] INFO [Broker id=1] Leader __consumer_offsets-44 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,177] 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$) 14:34:03 policy-apex-pdp | values { 14:34:03 kafka | [2024-01-20 14:32:41,178] 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) 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 kafka | [2024-01-20 14:32:41,178] INFO [Partition __consumer_offsets-14 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-14 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,178] INFO [Partition __consumer_offsets-14 broker=1] Log loaded for partition __consumer_offsets-14 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,178] INFO [Broker id=1] Leader __consumer_offsets-14 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,217] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,217] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,217] INFO [Partition __consumer_offsets-23 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-23 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 kafka | [2024-01-20 14:32:41,217] INFO [Partition __consumer_offsets-23 broker=1] Log loaded for partition __consumer_offsets-23 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,217] INFO [Broker id=1] Leader __consumer_offsets-23 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | list_value { 14:34:03 kafka | [2024-01-20 14:32:41,222] 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$) 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,222] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,222] INFO [Partition __consumer_offsets-38 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-38 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,222] INFO [Partition __consumer_offsets-38 broker=1] Log loaded for partition __consumer_offsets-38 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,223] INFO [Broker id=1] Leader __consumer_offsets-38 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,227] 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$) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,227] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,227] INFO [Partition __consumer_offsets-8 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-8 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,228] INFO [Partition __consumer_offsets-8 broker=1] Log loaded for partition __consumer_offsets-8 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,228] INFO [Broker id=1] Leader __consumer_offsets-8 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.540+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 kafka | [2024-01-20 14:32:41,232] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:25.549+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761205548, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:41,232] INFO Created log for partition policy-pdp-pap-0 in /var/lib/kafka/data/policy-pdp-pap-0 with properties {} (kafka.log.LogManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.272+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,232] INFO [Partition policy-pdp-pap-0 broker=1] No checkpointed highwatermark is found for partition policy-pdp-pap-0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:41,232] INFO [Partition policy-pdp-pap-0 broker=1] Log loaded for partition policy-pdp-pap-0 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:41,232] INFO [Broker id=1] Leader policy-pdp-pap-0 with topic id Some(QUaNeOakSv6ekPkdvTUVqA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 kafka | [2024-01-20 14:32:41,238] 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$) 14:34:03 kafka | [2024-01-20 14:32:41,238] 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) 14:34:03 kafka | [2024-01-20 14:32:41,238] INFO [Partition __consumer_offsets-45 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-45 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:41,238] INFO [Partition __consumer_offsets-45 broker=1] Log loaded for partition __consumer_offsets-45 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:41,238] INFO [Broker id=1] Leader __consumer_offsets-45 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | {"source":"pap-1aae2303-2809-4464-9e0c-2de979868dbb","description":"The default group that registers all supported policy types and pdps.","policiesToBeDeployed":[{"type":"onap.policies.native.Apex","type_version":"1.0.0","properties":{"eventInputParameters":{"SimpleCL_DCAEConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","groupId":"apex-grp2","enableAutoCommit":true,"autoCommitTime":1000,"sessionTimeout":30000,"consumerPollTime":100,"consumerTopicList":["unauthenticated.dcae_cl_output"],"keyDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","valueDeserializer":"org.apache.kafka.common.serialization.StringDeserializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_VesEvent"},"SimpleCL_AAIResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters","parameters":{"url":"http://aai-sim:6666/aai/v16/network/pnfs/pnf/{pnfName}","httpMethod":"GET","httpCodeFilter":"[2-5][0-1][0-9]","httpHeaders":[["Accept","application/json"],["Content-Type","application/json"],["X-FromAppId","dcae-curl"],["x-transactionId","9998"],["Authorization","Basic QUFJOkFBSQ=="]]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_AAISuccessResponseEvent|SimpleCL_AAIFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIProducer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyResponseConsumer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventName":"SimpleCL_CDSConfigModifySuccessResponseEvent|SimpleCL_CDSConfigModifyFailureResponseEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyRequestProducer2","requestorTimeout":500}},"engineServiceParameters":{"name":"NSOApexEngine","version":"0.0.1","id":45,"instanceCount":4,"deploymentPort":12561,"engineParameters":{"executorParameters":{"JAVASCRIPT":{"parameterClassName":"org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters"}},"contextParameters":{"parameterClassName":"org.onap.policy.apex.context.parameters.ContextParameters","schemaParameters":{"Avro":{"parameterClassName":"org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters"}}},"taskParameters":[{"key":"logUrl","value":"http://kafka:9092/topics/apex-cl-mgt2"}]}},"eventOutputParameters":{"SimpleCL_AAIProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"RESTREQUESTOR","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_AAIRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_AAIResponseConsumer2","requestorTimeout":2000},"SimpleCL_CDSConfigModifyRequestProducer2":{"carrierTechnologyParameters":{"carrierTechnology":"GRPC","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters","parameters":{"host":"grpc-sim","port":6680,"username":"ccsdkapps","password":"ccsdkapps","timeout":60}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_CDSConfigModifyRequestEvent","requestorMode":true,"requestorPeer":"SimpleCL_CDSConfigModifyResponseConsumer2","requestorTimeout":500},"SimpleCL_logOutputter2":{"carrierTechnologyParameters":{"carrierTechnology":"KAFKA","parameterClassName":"org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters","parameters":{"bootstrapServers":"kafka:9092","acks":"all","retries":0,"batchSize":16384,"lingerTime":1,"bufferMemory":33554432,"producerTopic":"apex-cl-mgt2","keySerializer":"org.apache.kafka.common.serialization.StringSerializer","valueSerializer":"org.apache.kafka.common.serialization.StringSerializer","kafkaProperties":[]}},"eventProtocolParameters":{"eventProtocol":"JSON"},"eventNameFilter":"SimpleCL_LogEvent"}}},"name":"onap.policies.apex.pnf.metadataSet.Test","version":"1.0.0","metadata":{"metadataSetName":"apex.metadata.pnf","metadataSetVersion":"1.0.0","policy-id":"onap.policies.apex.pnf.metadataSet.Test","policy-version":"1.0.0","metadataSet":{"apexPolicyModel":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"keyInformation":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"UUID":"7218fb2f-59e3-321d-9ae1-bc97b19eb4ae","description":"Generated description for concept referred to by key \"SimpleBooleanType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"UUID":"c8a29e27-0a15-354a-84f9-4c7f207e5c81","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"5e843cee-0180-39b9-8989-180b2ffe11c0","description":"Generated description for concept referred to by key \"SimpleCL_AAIFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"UUID":"90291c92-9b27-3cd9-8720-db572419c048","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestErrorType:0.0.1\""}},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"UUID":"7b7e6751-4e0b-389d-98c0-5567bbc0294c","description":"Generated description for concept referred to by key \"SimpleCL_AAIRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"UUID":"63d5680c-14ef-3505-8d34-ebb646bba07b","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a84ca97d-6e94-39a2-91f9-59a6c9aa435e","description":"Generated description for concept referred to by key \"SimpleCL_AAISuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"UUID":"0e2ee622-7fd3-3e49-82e2-539c4f5e9624","description":"Generated description for concept referred to by key \"SimpleCL_CDSActionIdentifiersType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"UUID":"e84f8682-ea33-3ad0-8626-8bc4634581fc","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"UUID":"a252f835-2479-38ef-9ef4-20af62725752","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"UUID":"cfc46ea9-b8c1-38dd-ac9c-304c916daf34","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"UUID":"1e7095d6-a455-3f89-acae-486e35d7e311","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"UUID":"d22ea83b-695d-3da9-b9f5-41f16ca433bf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"UUID":"e9fe2e40-1f0d-30dd-8b9e-885695878693","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"UUID":"5e04fa76-0a17-38a9-8524-23b2d1a23fa5","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"UUID":"15866380-40f5-3f8e-87d9-13747a36d352","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"UUID":"2c3d76ce-dd42-32ac-a397-ab418534e1cf","description":"Generated description for concept referred to by key \"SimpleCL_CDSConfigModifySuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"UUID":"b99c44da-dae7-3c96-b528-58852537d063","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"UUID":"1db688e2-3afe-3b03-9795-fdbfa80fa240","description":"Generated description for concept referred to by key \"SimpleCL_CDSFailureResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"UUID":"31022456-e85b-3a9b-9ecb-a09691792d3e","description":"Generated description for concept referred to by key \"SimpleCL_CDSRequestCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"UUID":"d6075720-622e-3a0d-827a-aa4580a2f5d7","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1\""}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"UUID":"948359ff-3308-3ac5-a5ec-6e3c1b9cd4d5","description":"Generated description for concept referred to by key \"SimpleCL_CDSSuccessResponseStatusType:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"UUID":"63a6fd26-2fd6-3a0e-8a27-49a5d2ea4644","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbum:0.0.1\""}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"UUID":"a0407d0b-5719-38bf-9529-25ad62ace8c4","description":"Generated description for concept referred to by key \"SimpleCL_EventDetailsAlbumType:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"UUID":"28e894dc-4ab8-3469-aab7-d81bd05bb4c9","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAIFailureResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"UUID":"073f1433-999e-3506-98ad-ef820d2fa7f0","description":"Generated description for concept referred to by key \"SimpleCL_HandleAAISuccessResponseTask2:0.0.1\""}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"UUID":"afc6ed46-6801-3c85-bb4c-0ab5b0dd4a74","description":"Generated description for concept referred to by key \"SimpleCL_HandleVesEventTask2:0.0.1\""}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"UUID":"317be184-a01a-3e2d-9ae4-cafaa405de70","description":"Generated description for concept referred to by key \"SimpleCL_LogEvent:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"UUID":"be7fc79b-9b73-381a-8e23-9dd6e6b1233d","description":"Generated description for concept referred to by key \"SimpleCL_LogEventComponentType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"UUID":"1a082851-49e3-3f4c-b023-c05236cc8389","description":"Generated description for concept referred to by key \"SimpleCL_LogEventOtherFieldsType:0.0.1\""}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"UUID":"cab6cd51-ea7b-3241-a173-ea8a24e29737","description":"Generated description for concept referred to by key \"SimpleCL_LogEventTargetType:0.0.1\""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"UUID":"0f57665a-f0a9-314e-ad0a-04c1f5758174","description":"Generated description for concept referred to by key \"SimpleCL_VesEvent:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"UUID":"ba5d9a46-8cb4-3fbe-84fd-eabba5b7dd4b","description":"Generated description for concept referred to by key \"SimpleCL_VesEventHandlerPolicy2:0.0.1\""}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"UUID":"9fd7a967-57d4-36ef-81e9-c3396f3aa8d1","description":"Generated description for concept referred to by key \"SimpleCL_VesEventType:0.0.1\""}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"UUID":"2dfcd9ec-a6f9-3f9f-958f-9b36cf4ac574","description":"Generated description for concept referred to by key \"SimpleLongType:0.0.1\""}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"UUID":"8a4957cf-9493-3a76-8c22-a208e23259af","description":"Generated description for concept referred to by key \"SimpleStringType:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2","version":"0.0.1"},"UUID":"ecc97b87-f30b-344c-a476-d36501bf5cbd","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"UUID":"1469671a-56dd-3a68-bf6c-77a5cf7a9487","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Albums:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"UUID":"23c4eee4-aba5-36f6-96d6-46f40061bfed","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Events:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_KeyInfo","version":"0.0.1"},"UUID":"ea9e73ff-483c-3827-896c-6eaa9d69bc6e","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_KeyInfo:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"UUID":"38c068e5-bb9a-3997-9e50-ec77c66825c8","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Policies:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"UUID":"38514b27-8b9b-3d06-844a-3aced27deb0a","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Schemas:0.0.1\""}},{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"value":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"UUID":"0e0387b5-07fa-30e4-8554-eb51d2e18939","description":"Generated description for concept referred to by key \"onap.policies.apex.Simplecontrolloop2_Tasks:0.0.1\""}}]}},"policies":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAIFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAIFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAIFailureResponseState"},"trigger":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAIFailureStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"SimpleCL_AAIFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAIFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAIFailureResponseState","localName":"AAIFailureStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAIFailureResponseState"}},{"key":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_AAISuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveAAISuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveAAISuccessResponseState"},"trigger":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AAISuccessStateOutput","value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"},"outgoingEvent":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"SimpleCL_AAISuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_AAISuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveAAISuccessResponseState","localName":"AAISuccessStateOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveAAISuccessResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifyFailureResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifyFailureResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifyFailureResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifyFailureResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifyFailureResponseState","localName":"ConfigModifyFailureResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifyFailureResponseState"}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_CDSConfigModifySuccessResponseState","value":{"stateKey":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_CDSConfigModifySuccessResponseState"},"trigger":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"ConfigModifySuccessResponseOutput","value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"},"outgoingEvent":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_CDSConfigModifySuccessResponseHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_CDSConfigModifySuccessResponseState","localName":"ConfigModifySuccessResponseOutput"}}}]}}}]},"firstState":"SimpleCL_CDSConfigModifySuccessResponseState"}},{"key":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"value":{"policyKey":{"name":"SimpleCL_VesEventHandlerPolicy2","version":"0.0.1"},"template":"Freestyle","state":{"entry":[{"key":"SimpleCL_ReceiveVesState","value":{"stateKey":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"SimpleCL_ReceiveVesState"},"trigger":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"VesOutput","value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"},"outgoingEvent":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},{"name":"SimpleCL_LogEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"NULL","logicFlavour":"UNDEFINED","logic":""},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"SimpleCL_VesEventHandlerPolicy2"},"outputType":"DIRECT","output":{"parentKeyName":"SimpleCL_VesEventHandlerPolicy2","parentKeyVersion":"0.0.1","parentLocalName":"SimpleCL_ReceiveVesState","localName":"VesOutput"}}}]}}}]},"firstState":"SimpleCL_ReceiveVesState"}}]}},"tasks":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar errorMessage = \"CDS operation failed. Error message from CDS - \" + executor.inFields.get(\"status\").get(\"errorMessage\");\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + errorMessage);\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\n\nvar logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_SUCCESS\", \"Successfully processed the VES event. Hostname is updated.\")\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAIFailureResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"},"outputEvents":{"entry":[{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar longType = java.lang.Long;\nvar HashMapType = java.util.HashMap;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\n\nvar aaiErrorMessage = \"AAI operation failed. Error message from AAI - \" + executor.inFields.get(\"requestError\").get(\"serviceException\").get(\"text\");\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + aaiErrorMessage)\nexecutor.addFieldsToOutput(logEventFields);\nexecutor.logger.info(executor.outFieldsList);\ntrue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleAAISuccessResponseTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"SimpleCL_CDSConfigModifyRequestEvent","value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar albumID = executor.getExecutionProperties().getProperty(\"albumId\");\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").get(albumID.toString());\nexecutor.logger.info(\"HandleAAISuccessResponseTask extracted context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nvar commonEventHeader = eventDetailsAlbum.get(\"commonEventHeader\");\nvar otherFieldsMap = eventDetailsAlbum.get(\"otherFields\").get(\"hashMap\");\n\nvar targetEntityName = executor.inFields.get(\"pnf-name\")\nvar logMessage = \"\";\nvar existingHostname = executor.inFields.get(\"pnf-name2\");\nvar hostnameInVesEvent = otherFieldsMap.get(\"hostname\");\n\nvar albumSchemaHelper = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper();\nvar target = albumSchemaHelper.createNewSubInstance(\"target\");\ntarget.put(\"targetType\", \"PNF\")\nvar entityInfo = albumSchemaHelper.createNewSubInstance(\"entityInfo\");\nentityInfo.put(\"name\",targetEntityName);\ntarget.put(\"entityInfo\", entityInfo);\neventDetailsAlbum.put(\"target\", target);\n\nvar returnVal = true;\nif ((String(hostnameInVesEvent) != \"UNDEFINED\") && (String(existingHostname) != String(hostnameInVesEvent))) {\n logMessage = \"Hostname available in AAI does not match with the hostname received in the VES Event.\";\n returnVal = false\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"FINAL_FAILURE\", \"Failed to process VES event. Reason: \" + logMessage)\n executor.addFieldsToOutput(logEventFields);\n} else {\n logMessage = \"Received response from AAI successfully. Hostname in AAI matches with the one in Ves event. Going to make the update-config request to CDS.\";\n\n var commonHeader = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"commonHeader\").createNewInstance();\n commonHeader.put(\"subRequestId\", albumID.toString());\n commonHeader.put(\"requestId\", commonEventHeader.get(\"eventId\"));\n commonHeader.put(\"originatorId\", \"POLICY\");\n\n var blueprintName = \"controlloop-hostname-update\";\n var blueprintVersion = \"1.0.4\";\n var newHostname = \"host\" + Math.random().toString(36).substring(7);\n eventDetailsAlbum.put(\"generatedHostname\", newHostname);\n\n var actionIdentifiers = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"actionIdentifiers\").createNewInstance();\n actionIdentifiers.put(\"mode\", \"sync\");\n actionIdentifiers.put(\"blueprintName\", blueprintName);\n actionIdentifiers.put(\"blueprintVersion\", blueprintVersion);\n actionIdentifiers.put(\"actionName\", \"update-config\");\n\n var payloadEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewSubInstance(\"CDSConfigModifyRequestPayloadEntry\");\n payloadEntry.put(\"hostname\", newHostname)\n payloadEntry.put(\"IP\", executor.inFields.get(\"ipaddress-v4-oam\"));\n payloadEntry.put(\"pnfName\", otherFieldsMap.get(\"pnfName\"));\n\n var payload = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_CDSConfigModifyRequestEvent\", \"payload\").createNewInstance();\n payload.put(\"update_DasH_config_DasH_request\", payloadEntry);\n\n var cdsRequestEventFields = java.util.HashMap();\n cdsRequestEventFields.put(\"commonHeader\", commonHeader);\n cdsRequestEventFields.put(\"actionIdentifiers\", actionIdentifiers);\n cdsRequestEventFields.put(\"payload\", payload);\n executor.addFieldsToOutput(cdsRequestEventFields);\n\n var logEventFields = populateLogEventFields(commonEventHeader.get(\"eventId\"), otherFieldsMap.get(\"pnfName\"), \"PNF\", \"SUCCESS\", logMessage)\n executor.addFieldsToOutput(logEventFields);\n}\nexecutor.logger.info(executor.outFieldsList);\nreturnVal;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}},{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_HandleVesEventTask2","version":"0.0.1"},"inputEvent":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"},"outputEvents":{"entry":[{"key":"SimpleCL_AAIRequestEvent","value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":"SimpleCL_LogEvent","value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"var uuidType = java.util.UUID;\nvar HashMapType = java.util.HashMap;\nvar longType = java.lang.Long;\n\nvar eventDetailsAlbum = executor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").getSchemaHelper().createNewInstance();\nvar returnValue = true;\n\nvar event = executor.inFields.get(\"event\");\nexecutor.logger.info(\"HandleVesEventTask processing VES event - \" + event);\n\nvar commonEventHeader = event.get(\"commonEventHeader\");\nvar otherFields = event.get(\"otherFields\");\n// albumID will be used to fetch info from our album later. Storing event data in album by sourceId / AAI pnf-id, the same will be sent to CDS request payload as subRequestId\nvar albumID = commonEventHeader.get(\"sourceId\");\n// save the event processing start time in apex\ncommonEventHeader.put(\"startEpochMicrosec\", longType(new Date().getTime()));\n//save the incoming event details to album\neventDetailsAlbum.put(\"commonEventHeader\", commonEventHeader);\neventDetailsAlbum.put(\"otherFields\", otherFields);\nexecutor.getContextAlbum(\"SimpleCL_EventDetailsAlbum\").put(albumID.toString(), eventDetailsAlbum);\nexecutor.logger.info(\"HandleVesEventTask storing context album - \" + albumID.toString() + \"::\" + eventDetailsAlbum);\n\nexecutor.getExecutionProperties().setProperty(\"albumId\", albumID);\nexecutor.getExecutionProperties().setProperty(\"pnfName\", otherFields.get(\"hashMap\").get(\"pnfName\"));\n\nvar logEventFields = populateLogEventFields(eventDetailsAlbum.get(\"commonEventHeader\").get(\"eventId\"), otherFields.get(\"hashMap\").get(\"pnfName\"), \"PNF\", \"ACTIVE\", \"VES event has been received. Going to fetch details from AAI.\")\n\nexecutor.addFieldsToOutput(logEventFields);\n\nexecutor.logger.info(executor.outFieldsList);\nreturnValue;\n\nfunction populateLogEventFields(eventId, pnfName, targetType, status, message) {\n // populate logEventFields\n var timestamp = longType(new Date().getTime());\n var logEventFields = java.util.HashMap();\n logEventFields.put(\"id\", eventId);\n \n var entityInfo = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewSubInstance(\"entityInfo\");\n entityInfo.put(\"pnf_DasH_name\", pnfName);\n var target = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"target\").createNewInstance();\n target.put(\"entityInfo\", entityInfo);\n target.put(\"targetType\", targetType)\n logEventFields.put(\"target\", target);\n \n var artifacts = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewSubInstance(\"artifacts\");\n artifacts.put(\"policyName\", \"onap.policies.apex.Simplecontrolloop2\");\n artifacts.put(\"policyVersion\", \"1.0.0\");\n var component = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"component\").createNewInstance();\n component.put(\"artifacts\", artifacts);\n component.put(\"name\", \"Policy\")\n component.put(\"flavour\", \"Apex-PDP\")\n component.put(\"timestamp\", timestamp)\n component.put(\"status\", status)\n component.put(\"message\", message)\n logEventFields.put(\"component\", component);\n \n var otherFieldsEntry = executor.subject.getOutFieldSchemaHelper(\"SimpleCL_LogEvent\", \"otherFields\").createNewInstance();\n otherFieldsEntry.put(\"useCaseName\", \"simple-controlloop-usecase\");\n logEventFields.put(\"otherFields\", otherFieldsEntry);\n \n return logEventFields;\n}"}}}]}},"events":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"requestError","value":{"key":"requestError","fieldSchemaKey":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"optional":false}}]}},"toscaPolicyState":"EXIT_FAILURE"},{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"AAI","parameter":{"entry":[{"key":"aaifield","value":{"key":"aaifield","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAISuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"AAI","target":"APEX","parameter":{"entry":[{"key":"equip-model","value":{"key":"equip-model","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-type","value":{"key":"equip-type","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"equip-vendor","value":{"key":"equip-vendor","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"frame-id","value":{"key":"frame-id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"in-maint","value":{"key":"in-maint","fieldSchemaKey":{"name":"SimpleBooleanType","version":"0.0.1"},"optional":false}},{"key":"ipaddress-v4-oam","value":{"key":"ipaddress-v4-oam","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"nf-role","value":{"key":"nf-role","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-ipv4-address","value":{"key":"pnf-ipv4-address","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"pnf-name","value":{"key":"pnf-name","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"resource-version","value":{"key":"resource-version","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyFailureResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_FAILURE"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifySuccessResponseEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"CDS","target":"APEX","parameter":{"entry":[{"key":"actionIdentifiers","value":{"key":"actionIdentifiers","fieldSchemaKey":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"optional":false}},{"key":"commonHeader","value":{"key":"commonHeader","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"optional":false}},{"key":"payload","value":{"key":"payload","fieldSchemaKey":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"optional":false}},{"key":"status","value":{"key":"status","fieldSchemaKey":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"EXIT_SUCCESS"}},{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"APEX","target":"DCAE","parameter":{"entry":[{"key":"component","value":{"key":"component","fieldSchemaKey":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"optional":false}},{"key":"id","value":{"key":"id","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"otherFields","value":{"key":"otherFields","fieldSchemaKey":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"optional":false}},{"key":"target","value":{"key":"target","fieldSchemaKey":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.simplecontrolloop","source":"DCAE","target":"APEX","parameter":{"entry":[{"key":"event","value":{"key":"event","fieldSchemaKey":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":"ENTRY"}}]}},"albums":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"onap.policies.apex.Simplecontrolloop2_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"value":{"key":{"name":"SimpleBooleanType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Boolean"}},{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_AAIRequestErrorType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"AAIRequestErrorType\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"serviceException\",\n \"type\": {\n \"name\": \"serviceException\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"messageId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"text\",\n \"type\": \"string\"\n },\n {\n \"name\": \"variables\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSActionIdentifiersType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSActionIdentifiers_Type\",\n \"fields\": [\n {\n \"name\": \"actionName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"blueprintVersion\",\n \"type\": \"string\"\n },\n {\n \"name\": \"mode\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyRequestPayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"map\",\n \"values\": {\n \"type\": \"record\",\n \"name\": \"CDSConfigModifyRequestPayloadEntry\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"IP\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n }\n ]\n }\n}"}},{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSConfigModifyResponsePayloadType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"CDSConfigResponsePayloadEntry\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": {\n \"name\": \"update_DasH_config_DasH_response\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"execute_DasH_command_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n },\n {\n \"name\": \"prepare_DasH_environment_DasH_logs\",\n \"type\": {\n \"type\": \"array\",\n \"items\": \"string\"\n }\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSFailureResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"errorMessage\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSRequestCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSRequestCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseCommonHeaderType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseCommonHeader_Type\",\n \"fields\": [\n {\n \"name\": \"originatorId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"requestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"subRequestId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_CDSSuccessResponseStatusType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"type\": \"record\",\n \"name\": \"CDSResponseStatus_Type\",\n \"fields\": [\n {\n \"name\": \"code\",\n \"type\": \"int\"\n },\n {\n \"name\": \"eventType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_EventDetailsAlbumType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"eventDetails\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"commonEventHeader\",\n \"type\": {\n \"name\": \"commonEventHeader\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"domain\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"eventName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"lastEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"priority\",\n \"type\": \"string\"\n },\n {\n \"name\": \"reportingEntityName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sequence\",\n \"type\": \"int\"\n },\n {\n \"name\": \"sourceId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"sourceName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"startEpochMicrosec\",\n \"type\": \"long\"\n },\n {\n \"name\": \"timeZoneOffset\",\n \"type\": \"string\"\n },\n {\n \"name\": \"version\",\n \"type\": \"string\"\n },\n {\n \"name\": \"internalHeaderFields\",\n \"type\": {\n \"name\": \"internalHeaderFields\",\n \"type\": \"record\",\n \"fields\": []\n }\n },\n {\n \"name\": \"vesEventListenerVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFields\",\n \"type\": {\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hashMap\",\n \"type\": {\n \"name\": \"hashMap\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"hostname\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"pnfId\",\n \"type\": \"string\"\n },\n {\n \"name\": \"ip\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"otherFieldsVersion\",\n \"type\": \"string\"\n }\n ]\n }\n },\n {\n \"name\": \"target\",\n \"type\": {\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }\n },\n {\n \"name\": \"generatedHostname\",\n \"type\": \"string\"\n }\n ]\n}"}},{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventComponentType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"component\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"name\",\n \"type\": \"string\"\n },\n {\n \"name\": \"flavour\",\n \"type\": \"string\"\n },\n {\n \"name\": \"timestamp\",\n \"type\": \"long\"\n },\n {\n \"name\": \"status\",\n \"type\": \"string\"\n },\n {\n \"name\": \"message\",\n \"type\": \"string\"\n },\n {\n \"name\": \"artifacts\",\n \"type\": {\n \"name\": \"artifacts\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"policyName\",\n \"type\": \"string\"\n },\n {\n \"name\": \"policyVersion\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventOtherFieldsType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"otherFields\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"useCaseName\",\n \"type\": \"string\"\n }\n ]\n }"}},{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_LogEventTargetType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\": \"target\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"targetType\",\n \"type\": \"string\"\n },\n {\n \"name\": \"entityInfo\",\n \"type\": {\n \"name\": \"entityInfo\",\n \"type\": \"record\",\n \"fields\": [\n {\n \"name\": \"pnf_DasH_name\",\n \"type\": \"string\"\n }\n ]\n }\n }\n ]\n }"}},{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"value":{"key":{"name":"SimpleCL_VesEventType","version":"0.0.1"},"schemaFlavour":"Avro","schemaDefinition":"{\n \"name\":\"event\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"commonEventHeader\",\n \"type\":{\n \"name\":\"commonEventHeader\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"domain\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"eventName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"lastEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"priority\",\n \"type\":\"string\"\n },\n {\n \"name\":\"reportingEntityName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sequence\",\n \"type\":\"int\"\n },\n {\n \"name\":\"sourceId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"sourceName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"startEpochMicrosec\",\n \"type\":\"long\"\n },\n {\n \"name\":\"version\",\n \"type\":\"string\"\n },\n {\n \"name\":\"internalHeaderFields\",\n \"type\":{\n \"name\":\"internalHeaderFields\",\n \"type\":\"record\",\n \"fields\":[\n\n ]\n }\n },\n {\n \"name\":\"vesEventListenerVersion\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFields\",\n \"type\":{\n \"name\":\"otherFields\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hashMap\",\n \"type\":{\n \"name\":\"hashMap\",\n \"type\":\"record\",\n \"fields\":[\n {\n \"name\":\"hostname\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfName\",\n \"type\":\"string\"\n },\n {\n \"name\":\"pnfId\",\n \"type\":\"string\"\n },\n {\n \"name\":\"ip\",\n \"type\":\"string\"\n }\n ]\n }\n },\n {\n \"name\":\"otherFieldsVersion\",\n \"type\":\"string\"\n }\n ]\n }\n }\n ]\n}"}},{"key":{"name":"SimpleLongType","version":"0.0.1"},"value":{"key":{"name":"SimpleLongType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Long"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}}}}],"policiesToBeUndeployed":[],"messageName":"PDP_UPDATE","requestId":"9715061a-c10b-4880-acbd-73f787a25f9f","timestampMs":1705761216176,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,243] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.275+00:00|WARN|Registry|KAFKA-source-policy-pdp-pap] replacing previously registered: object:apex/tosca/policy/list 14:34:03 kafka | [2024-01-20 14:32:41,243] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.277+00:00|INFO|ApexEngineHandler|KAFKA-source-policy-pdp-pap] Starting apex engine for policy onap.policies.apex.pnf.metadataSet.Test 1.0.0 14:34:03 kafka | [2024-01-20 14:32:41,243] INFO [Partition __consumer_offsets-15 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-15 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.285+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-0:0.0.1 . 14:34:03 kafka | [2024-01-20 14:32:41,243] INFO [Partition __consumer_offsets-15 broker=1] Log loaded for partition __consumer_offsets-15 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.285+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-1:0.0.1 . 14:34:03 kafka | [2024-01-20 14:32:41,243] INFO [Broker id=1] Leader __consumer_offsets-15 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.285+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-2:0.0.1 . 14:34:03 kafka | [2024-01-20 14:32:41,250] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.285+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Created apex engine NSOApexEngine-3:0.0.1 . 14:34:03 kafka | [2024-01-20 14:32:41,251] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.285+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] APEX service created. 14:34:03 kafka | [2024-01-20 14:32:41,251] INFO [Partition __consumer_offsets-30 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-30 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.334+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" 14:34:03 kafka | [2024-01-20 14:32:41,251] INFO [Partition __consumer_offsets-30 broker=1] Log loaded for partition __consumer_offsets-30 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.334+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-0:0.0.1 14:34:03 kafka | [2024-01-20 14:32:41,251] INFO [Broker id=1] Leader __consumer_offsets-30 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.334+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" 14:34:03 kafka | [2024-01-20 14:32:41,257] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.336+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-1:0.0.1 14:34:03 kafka | [2024-01-20 14:32:41,257] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.337+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-2:0.0.1 14:34:03 kafka | [2024-01-20 14:32:41,257] INFO [Partition __consumer_offsets-0 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.338+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Registering apex model on engine NSOApexEngine-3:0.0.1 14:34:03 kafka | [2024-01-20 14:32:41,257] INFO [Partition __consumer_offsets-0 broker=1] Log loaded for partition __consumer_offsets-0 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleBooleanType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,257] INFO [Broker id=1] Leader __consumer_offsets-0 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_AAIRequestErrorType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,263] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSActionIdentifiersType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,263] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyRequestPayloadType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,263] INFO [Partition __consumer_offsets-35 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-35 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:32:41,263] INFO [Partition __consumer_offsets-35 broker=1] Log loaded for partition __consumer_offsets-35 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSConfigModifyResponsePayloadType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,263] INFO [Broker id=1] Leader __consumer_offsets-35 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.387+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseCommonHeaderType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,269] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.388+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSFailureResponseStatusType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,270] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.388+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSRequestCommonHeaderType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,270] INFO [Partition __consumer_offsets-5 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-5 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseCommonHeaderType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,271] INFO [Partition __consumer_offsets-5 broker=1] Log loaded for partition __consumer_offsets-5 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_CDSSuccessResponseStatusType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,271] INFO [Broker id=1] Leader __consumer_offsets-5 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_EventDetailsAlbumType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,278] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventComponentType:0.0.1 is used by multiple policies. 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventOtherFieldsType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,279] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_LogEventTargetType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,279] INFO [Partition __consumer_offsets-20 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-20 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleCL_VesEventType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,279] INFO [Partition __consumer_offsets-20 broker=1] Log loaded for partition __consumer_offsets-20 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleLongType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,279] INFO [Broker id=1] Leader __consumer_offsets-20 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same schema - SimpleStringType:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,290] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIFailureResponseEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,290] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAIRequestEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,291] INFO [Partition __consumer_offsets-27 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-27 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_AAISuccessResponseEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,291] INFO [Partition __consumer_offsets-27 broker=1] Log loaded for partition __consumer_offsets-27 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyFailureResponseEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,291] INFO [Broker id=1] Leader __consumer_offsets-27 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.389+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifyRequestEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,296] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.390+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_CDSConfigModifySuccessResponseEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,296] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.390+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_LogEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,296] INFO [Partition __consumer_offsets-42 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-42 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.390+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same event - SimpleCL_VesEvent:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,296] INFO [Partition __consumer_offsets-42 broker=1] Log loaded for partition __consumer_offsets-42 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.390+00:00|INFO|PolicyModelMerger|KAFKA-source-policy-pdp-pap] Same album - SimpleCL_EventDetailsAlbum:0.0.1 is used by multiple policies. 14:34:03 kafka | [2024-01-20 14:32:41,296] INFO [Broker id=1] Leader __consumer_offsets-42 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.392+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 kafka | [2024-01-20 14:32:41,301] 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$) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.393+00:00|INFO|CdsProcessorGrpcClient|KAFKA-source-policy-pdp-pap] CdsProcessorListener started 14:34:03 kafka | [2024-01-20 14:32:41,301] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.394+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 kafka | [2024-01-20 14:32:41,301] INFO [Partition __consumer_offsets-12 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-12 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.394+00:00|INFO|EngineServiceImpl|KAFKA-source-policy-pdp-pap] Added the action listener to the engine 14:34:03 kafka | [2024-01-20 14:32:41,301] INFO [Partition __consumer_offsets-12 broker=1] Log loaded for partition __consumer_offsets-12 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.400+00:00|INFO|ConsumerConfig|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] ConsumerConfig values: 14:34:03 kafka | [2024-01-20 14:32:41,301] INFO [Broker id=1] Leader __consumer_offsets-12 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | allow.auto.create.topics = true 14:34:03 kafka | [2024-01-20 14:32:41,306] 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$) 14:34:03 policy-apex-pdp | auto.commit.interval.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:41,307] 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) 14:34:03 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:03 kafka | [2024-01-20 14:32:41,307] INFO [Partition __consumer_offsets-21 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-21 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | auto.offset.reset = latest 14:34:03 kafka | [2024-01-20 14:32:41,307] INFO [Partition __consumer_offsets-21 broker=1] Log loaded for partition __consumer_offsets-21 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:03 kafka | [2024-01-20 14:32:41,307] INFO [Broker id=1] Leader __consumer_offsets-21 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | check.crcs = true 14:34:03 kafka | [2024-01-20 14:32:41,311] 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$) 14:34:03 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:03 kafka | [2024-01-20 14:32:41,312] 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) 14:34:03 policy-apex-pdp | client.id = consumer-apex-grp2-4 14:34:03 kafka | [2024-01-20 14:32:41,312] INFO [Partition __consumer_offsets-36 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-36 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | client.rack = 14:34:03 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:03 kafka | [2024-01-20 14:32:41,312] INFO [Partition __consumer_offsets-36 broker=1] Log loaded for partition __consumer_offsets-36 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | default.api.timeout.ms = 60000 14:34:03 kafka | [2024-01-20 14:32:41,312] INFO [Broker id=1] Leader __consumer_offsets-36 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | enable.auto.commit = true 14:34:03 kafka | [2024-01-20 14:32:41,318] 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$) 14:34:03 policy-apex-pdp | exclude.internal.topics = true 14:34:03 kafka | [2024-01-20 14:32:41,318] 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) 14:34:03 policy-apex-pdp | fetch.max.bytes = 52428800 14:34:03 kafka | [2024-01-20 14:32:41,318] INFO [Partition __consumer_offsets-6 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-6 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | fetch.max.wait.ms = 500 14:34:03 kafka | [2024-01-20 14:32:41,318] INFO [Partition __consumer_offsets-6 broker=1] Log loaded for partition __consumer_offsets-6 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | fetch.min.bytes = 1 14:34:03 kafka | [2024-01-20 14:32:41,318] INFO [Broker id=1] Leader __consumer_offsets-6 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | group.id = apex-grp2 14:34:03 kafka | [2024-01-20 14:32:41,322] 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$) 14:34:03 policy-apex-pdp | group.instance.id = null 14:34:03 kafka | [2024-01-20 14:32:41,322] 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) 14:34:03 policy-apex-pdp | heartbeat.interval.ms = 3000 14:34:03 kafka | [2024-01-20 14:32:41,322] INFO [Partition __consumer_offsets-43 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-43 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | interceptor.classes = [] 14:34:03 kafka | [2024-01-20 14:32:41,322] INFO [Partition __consumer_offsets-43 broker=1] Log loaded for partition __consumer_offsets-43 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | internal.leave.group.on.close = true 14:34:03 kafka | [2024-01-20 14:32:41,322] INFO [Broker id=1] Leader __consumer_offsets-43 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | internal.throw.on.fetch.stable.offset.unsupported = false 14:34:03 kafka | [2024-01-20 14:32:41,329] 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$) 14:34:03 policy-apex-pdp | isolation.level = read_uncommitted 14:34:03 kafka | [2024-01-20 14:32:41,329] 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) 14:34:03 policy-apex-pdp | key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:03 kafka | [2024-01-20 14:32:41,329] INFO [Partition __consumer_offsets-13 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-13 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | max.partition.fetch.bytes = 1048576 14:34:03 kafka | [2024-01-20 14:32:41,329] INFO [Partition __consumer_offsets-13 broker=1] Log loaded for partition __consumer_offsets-13 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | max.poll.interval.ms = 300000 14:34:03 kafka | [2024-01-20 14:32:41,329] INFO [Broker id=1] Leader __consumer_offsets-13 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | max.poll.records = 500 14:34:03 kafka | [2024-01-20 14:32:41,334] 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$) 14:34:03 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:03 kafka | [2024-01-20 14:32:41,334] 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) 14:34:03 policy-apex-pdp | metric.reporters = [] 14:34:03 kafka | [2024-01-20 14:32:41,334] INFO [Partition __consumer_offsets-28 broker=1] No checkpointed highwatermark is found for partition __consumer_offsets-28 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | metrics.num.samples = 2 14:34:03 kafka | [2024-01-20 14:32:41,334] INFO [Partition __consumer_offsets-28 broker=1] Log loaded for partition __consumer_offsets-28 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 policy-apex-pdp | metrics.recording.level = INFO 14:34:03 kafka | [2024-01-20 14:32:41,334] INFO [Broker id=1] Leader __consumer_offsets-28 with topic id Some(VNKj3K3URby_0holQqGaFA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | receive.buffer.bytes = 65536 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | request.timeout.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.jaas.config = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:03 policy-apex-pdp | sasl.login.class = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | security.providers = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | send.buffer.bytes = 131072 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | session.timeout.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.cipher.suites = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.engine.factory.class = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.key.password = null 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:03 kafka | [2024-01-20 14:32:41,338] 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) 14:34:03 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:03 kafka | [2024-01-20 14:32:41,339] 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) 14:34:03 policy-apex-pdp | ssl.keystore.key = null 14:34:03 kafka | [2024-01-20 14:32:41,339] 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) 14:34:03 policy-apex-pdp | ssl.keystore.location = null 14:34:03 kafka | [2024-01-20 14:32:41,339] 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) 14:34:03 policy-apex-pdp | ssl.keystore.password = null 14:34:03 kafka | [2024-01-20 14:32:41,339] 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) 14:34:03 policy-apex-pdp | ssl.keystore.type = JKS 14:34:03 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:03 policy-apex-pdp | ssl.provider = null 14:34:03 kafka | [2024-01-20 14:32:41,339] 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) 14:34:03 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:03 kafka | [2024-01-20 14:32:41,343] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 3 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:03 kafka | [2024-01-20 14:32:41,344] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-3 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.certificates = null 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 18 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | ssl.truststore.location = null 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-18 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.password = null 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 41 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | ssl.truststore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-41 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 10 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-10 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.404+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [OUT|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 33 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 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":"9715061a-c10b-4880-acbd-73f787a25f9f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"38631ef5-1aeb-4982-afdc-c260b02bf964","timestampMs":1705761216404,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-33 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.416+00:00|INFO|network|KAFKA-source-policy-pdp-pap] [IN|KAFKA|policy-pdp-pap] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 48 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 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":"9715061a-c10b-4880-acbd-73f787a25f9f","responseStatus":"SUCCESS","responseMessage":"Apex engine started. Deployed policies are: onap.policies.apex.pnf.metadataSet.Test:1.0.0 "},"messageName":"PDP_STATUS","requestId":"38631ef5-1aeb-4982-afdc-c260b02bf964","timestampMs":1705761216404,"name":"apex-e6876c3b-90a6-4fb5-bef0-f6a0f11bc0fa","pdpGroup":"defaultGroup","pdpSubgroup":"apex"} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-48 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.416+00:00|INFO|MessageTypeDispatcher|KAFKA-source-policy-pdp-pap] discarding event of type PDP_STATUS 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 19 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.418+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka version: 3.6.0 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-19 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.418+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka commitId: 60e845626d8a465a 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 34 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.419+00:00|INFO|AppInfoParser|Apex-org.onap.policy.apex.plugins.event.carrier.kafka.ApexKafkaConsumer:SimpleCL_DCAEConsumer2-18:0] Kafka startTimeMs: 1705761216418 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-34 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.419+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 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 4 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.423+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: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-4 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.424+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) 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 11 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.425+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 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-11 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.426+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-d305133f-3b0d-4df2-9b07-4e47709bd90f 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 26 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.427+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) 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-26 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:36.427+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 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 49 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.429+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-d305133f-3b0d-4df2-9b07-4e47709bd90f', protocol='range'} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-49 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.430+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-d305133f-3b0d-4df2-9b07-4e47709bd90f=Assignment(partitions=[unauthenticated.dcae_cl_output-0])} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 39 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.435+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-d305133f-3b0d-4df2-9b07-4e47709bd90f', protocol='range'} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-39 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.435+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]) 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 9 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.435+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 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-9 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.437+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 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 24 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:39.441+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}}. 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-24 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 31 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-31 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.632+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"}} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 46 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.633+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"}} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-46 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.633+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": 1705761221632, "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} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 1 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.634+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": 1705761221633, "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} 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-1 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.636+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:0] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221634, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 16 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.636+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:2] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221635, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-16 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.641+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. 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 2 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.642+00:00|INFO|ProducerConfig|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] ProducerConfig values: 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-2 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | acks = -1 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 25 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | auto.include.jmx.reporter = true 14:34:03 policy-apex-pdp | batch.size = 16384 14:34:03 policy-apex-pdp | bootstrap.servers = [kafka:9092] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-25 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | buffer.memory = 33554432 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 40 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | client.dns.lookup = use_all_dns_ips 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-40 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | client.id = producer-3 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 47 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | compression.type = none 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-47 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | connections.max.idle.ms = 540000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 17 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | delivery.timeout.ms = 120000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-17 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | enable.idempotence = false 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 32 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | interceptor.classes = [] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-32 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | key.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 37 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | linger.ms = 1 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-37 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | max.block.ms = 60000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 7 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | max.in.flight.requests.per.connection = 5 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-7 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | max.request.size = 1048576 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 22 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | metadata.max.age.ms = 300000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-22 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | metadata.max.idle.ms = 300000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 29 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | metric.reporters = [] 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-29 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | metrics.num.samples = 2 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 44 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | metrics.recording.level = INFO 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-44 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | metrics.sample.window.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,345] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 14 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | partitioner.adaptive.partitioning.enable = true 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-14 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | partitioner.availability.timeout.ms = 0 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 23 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | partitioner.class = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-23 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | partitioner.ignore.keys = false 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 38 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | receive.buffer.bytes = 32768 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-38 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | reconnect.backoff.max.ms = 1000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 8 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | reconnect.backoff.ms = 50 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-8 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | request.timeout.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 45 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | retries = 0 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-45 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 15 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.client.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-15 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.jaas.config = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 30 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.kerberos.kinit.cmd = /usr/bin/kinit 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-30 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.kerberos.min.time.before.relogin = 60000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 0 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.kerberos.service.name = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-0 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 35 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.kerberos.ticket.renew.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-35 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.login.callback.handler.class = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 5 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.login.class = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-5 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.login.connect.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 20 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.login.read.timeout.ms = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-20 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.login.refresh.buffer.seconds = 300 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 27 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.login.refresh.min.period.seconds = 60 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-27 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.login.refresh.window.factor = 0.8 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 42 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.login.refresh.window.jitter = 0.05 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-42 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 12 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.login.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-12 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.mechanism = GSSAPI 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 21 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.oauthbearer.clock.skew.seconds = 30 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-21 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.audience = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 36 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.oauthbearer.expected.issuer = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-36 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 6 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-6 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 43 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.oauthbearer.jwks.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-43 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.oauthbearer.scope.claim.name = scope 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 13 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | sasl.oauthbearer.sub.claim.name = sub 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-13 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | sasl.oauthbearer.token.endpoint.url = null 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupCoordinator 1]: Elected as the group coordinator for partition 28 in epoch 0 (kafka.coordinator.group.GroupCoordinator) 14:34:03 policy-apex-pdp | security.protocol = PLAINTEXT 14:34:03 kafka | [2024-01-20 14:32:41,346] INFO [GroupMetadataManager brokerId=1] Scheduling loading of offsets and group metadata from __consumer_offsets-28 for epoch 0 (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | security.providers = null 14:34:03 kafka | [2024-01-20 14:32:41,349] INFO [Broker id=1] Finished LeaderAndIsr request in 562ms correlationId 1 from controller 1 for 51 partitions (state.change.logger) 14:34:03 policy-apex-pdp | send.buffer.bytes = 131072 14:34:03 kafka | [2024-01-20 14:32:41,350] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-3 in 5 milliseconds for epoch 0, of which 2 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.max.ms = 30000 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-18 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | socket.connection.setup.timeout.ms = 10000 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-41 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.cipher.suites = null 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-10 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.enabled.protocols = [TLSv1.2, TLSv1.3] 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-33 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.endpoint.identification.algorithm = https 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-48 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.engine.factory.class = null 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-19 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.key.password = null 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-34 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.keymanager.algorithm = SunX509 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-4 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 kafka | [2024-01-20 14:32:41,351] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-11 in 6 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-26 in 7 milliseconds for epoch 0, of which 6 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.keystore.certificate.chain = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-49 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.keystore.key = null 14:34:03 policy-apex-pdp | ssl.keystore.location = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-39 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.keystore.password = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-9 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.keystore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-24 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.protocol = TLSv1.3 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-31 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.provider = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-46 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.secure.random.implementation = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-1 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.trustmanager.algorithm = PKIX 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-16 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.certificates = null 14:34:03 kafka | [2024-01-20 14:32:41,352] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-2 in 7 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.location = null 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-25 in 8 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.password = null 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-40 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | ssl.truststore.type = JKS 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-47 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | transaction.timeout.ms = 60000 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-17 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | transactional.id = null 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-32 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | value.serializer = class org.apache.kafka.common.serialization.StringSerializer 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-37 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-7 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.646+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka version: 3.6.0 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-22 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.646+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka commitId: 60e845626d8a465a 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-29 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.646+00:00|INFO|AppInfoParser|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_logOutputter2-17:0] Kafka startTimeMs: 1705761221646 14:34:03 kafka | [2024-01-20 14:32:41,353] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-44 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.650+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 kafka | [2024-01-20 14:32:41,354] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=VNKj3K3URby_0holQqGaFA, 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=QUaNeOakSv6ekPkdvTUVqA, 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) 14:34:03 policy-apex-pdp | { 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-14 in 8 milliseconds for epoch 0, of which 7 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-23 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-38 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-8 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-45 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-15 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-30 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-0 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-35 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 kafka | [2024-01-20 14:32:41,354] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-5 in 8 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-20 in 9 milliseconds for epoch 0, of which 8 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-27 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-42 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.658+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": 1705761221633, "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} 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-12 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.662+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": "hostn9e2ac", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221661, "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"}}}] 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-21 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.665+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} 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-36 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.665+00:00|INFO|Metadata|kafka-producer-network-thread | producer-3] [Producer clientId=producer-3] Cluster ID: adP7mUGZT1qzJzs5vwutLg 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-6 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.670+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) 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-43 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.671+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 kafka | [2024-01-20 14:32:41,355] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-13 in 9 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 kafka | [2024-01-20 14:32:41,356] INFO [GroupMetadataManager brokerId=1] Finished loading offsets and group metadata from __consumer_offsets-28 in 10 milliseconds for epoch 0, of which 9 milliseconds was spent in the scheduler. (kafka.coordinator.group.GroupMetadataManager) 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | payload { 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,360] 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) 14:34:03 policy-apex-pdp | struct_value { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | string_value: "hostn9e2ac" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-apex-pdp | value { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.685+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | status { 14:34:03 policy-apex-pdp | code: 200 14:34:03 policy-apex-pdp | message: "success" 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 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" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.685+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.687+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 policy-apex-pdp | { 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.698+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": 1705761221633, "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": "hostn9e2ac"} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.699+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:0] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221698, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.701+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": "host5stybm", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221700, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.705+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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.707+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "host5stybm" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.729+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | status { 14:34:03 policy-apex-pdp | code: 200 14:34:03 policy-apex-pdp | message: "success" 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 kafka | [2024-01-20 14:32:41,361] 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) 14:34:03 kafka | [2024-01-20 14:32:41,362] 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) 14:34:03 kafka | [2024-01-20 14:32:41,363] 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) 14:34:03 kafka | [2024-01-20 14:32:41,403] 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-38a31ae6-7d95-4c1d-9a02-1237eb2d5497 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,403] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group fa6a695a-882b-4452-b55c-58cde0fc980e in Empty state. Created a new member id consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,428] 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-38a31ae6-7d95-4c1d-9a02-1237eb2d5497 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,434] INFO [GroupCoordinator 1]: Preparing to rebalance group fa6a695a-882b-4452-b55c-58cde0fc980e in state PreparingRebalance with old generation 0 (__consumer_offsets-21) (reason: Adding new member consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,867] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group cc040915-4d26-424c-b5df-7390d86d8b16 in Empty state. Created a new member id consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:41,873] INFO [GroupCoordinator 1]: Preparing to rebalance group cc040915-4d26-424c-b5df-7390d86d8b16 in state PreparingRebalance with old generation 0 (__consumer_offsets-1) (reason: Adding new member consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,439] INFO [GroupCoordinator 1]: Stabilized group policy-pap generation 1 (__consumer_offsets-24) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,444] INFO [GroupCoordinator 1]: Stabilized group fa6a695a-882b-4452-b55c-58cde0fc980e generation 1 (__consumer_offsets-21) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,466] INFO [GroupCoordinator 1]: Assignment received from leader consumer-policy-pap-4-38a31ae6-7d95-4c1d-9a02-1237eb2d5497 for group policy-pap for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,466] INFO [GroupCoordinator 1]: Assignment received from leader consumer-fa6a695a-882b-4452-b55c-58cde0fc980e-3-29be41be-b272-4f0e-8872-2f6877f4ce30 for group fa6a695a-882b-4452-b55c-58cde0fc980e for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,874] INFO [GroupCoordinator 1]: Stabilized group cc040915-4d26-424c-b5df-7390d86d8b16 generation 1 (__consumer_offsets-1) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:32:44,889] INFO [GroupCoordinator 1]: Assignment received from leader consumer-cc040915-4d26-424c-b5df-7390d86d8b16-2-40593d3a-53b3-48e0-bef6-af2ec27e386a for group cc040915-4d26-424c-b5df-7390d86d8b16 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:09,416] INFO Creating topic policy-notification with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 14:34:03 kafka | [2024-01-20 14:33:09,425] INFO [Controller id=1] New topics: [Set(policy-notification)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(policy-notification,Some(3nvJdGKZTGuQwbkSoKDhSg),Map(policy-notification-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:09,425] INFO [Controller id=1] New partition creation callback for policy-notification-0 (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:09,425] INFO [Controller id=1 epoch=1] Changed partition policy-notification-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,425] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,426] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,426] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,447] 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) 14:34:03 kafka | [2024-01-20 14:33:09,447] 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) 14:34:03 kafka | [2024-01-20 14:33:09,447] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,447] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 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" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 kafka | [2024-01-20 14:33:09,447] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition policy-notification-0 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,447] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,449] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 3 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,449] 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) 14:34:03 kafka | [2024-01-20 14:33:09,450] 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) 14:34:03 kafka | [2024-01-20 14:33:09,450] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(policy-notification-0) (kafka.server.ReplicaFetcherManager) 14:34:03 kafka | [2024-01-20 14:33:09,450] 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) 14:34:03 kafka | [2024-01-20 14:33:09,454] 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$) 14:34:03 kafka | [2024-01-20 14:33:09,459] INFO Created log for partition policy-notification-0 in /var/lib/kafka/data/policy-notification-0 with properties {} (kafka.log.LogManager) 14:34:03 kafka | [2024-01-20 14:33:09,460] INFO [Partition policy-notification-0 broker=1] No checkpointed highwatermark is found for partition policy-notification-0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:09,460] INFO [Partition policy-notification-0 broker=1] Log loaded for partition policy-notification-0 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:09,460] INFO [Broker id=1] Leader policy-notification-0 with topic id Some(3nvJdGKZTGuQwbkSoKDhSg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,489] 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) 14:34:03 kafka | [2024-01-20 14:33:09,490] INFO [Broker id=1] Finished LeaderAndIsr request in 41ms correlationId 3 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:09,491] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=3nvJdGKZTGuQwbkSoKDhSg, 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) 14:34:03 kafka | [2024-01-20 14:33:09,500] 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) 14:34:03 kafka | [2024-01-20 14:33:09,500] 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) 14:34:03 kafka | [2024-01-20 14:33:09,500] 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) 14:34:03 kafka | [2024-01-20 14:33:15,603] INFO Creating topic unauthenticated.dcae_cl_output with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 14:34:03 kafka | [2024-01-20 14:33:15,618] 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(u_Blni_pS1afNYzBjPHWqA),Map(unauthenticated.dcae_cl_output-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:15,618] INFO [Controller id=1] New partition creation callback for unauthenticated.dcae_cl_output-0 (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:15,618] 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) 14:34:03 kafka | [2024-01-20 14:33:15,618] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,618] 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) 14:34:03 kafka | [2024-01-20 14:33:15,618] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,625] 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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:15,627] 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-4d5a2a48-4e4b-40a6-ba78-1770759c4d31 with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:15,632] 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) 14:34:03 kafka | [2024-01-20 14:33:15,633] 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) 14:34:03 kafka | [2024-01-20 14:33:15,633] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,633] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,633] 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) 14:34:03 kafka | [2024-01-20 14:33:15,633] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.730+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:41.742+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:2] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761221740, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.742+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"}} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.743+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": 1705761226742, "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} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.744+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:3] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226743, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.746+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"}} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.747+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": 1705761226746, "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} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.749+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:1] [{aaifield=null}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226748, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.757+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 policy-apex-pdp | { 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.761+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": 1705761226746, "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} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.762+00:00|INFO|network|RestRequestRunner_0] [IN|REST|http://aai-sim:6666/aai/v16/network/pnfs/pnf/demo-pnf] 14:34:03 policy-apex-pdp | { 14:34:03 policy-apex-pdp | "equip-vendor":"Vendor-A", 14:34:03 policy-apex-pdp | "ipaddress-v4-oam":"10.10.10.10", 14:34:03 policy-apex-pdp | "in-maint":false, 14:34:03 policy-apex-pdp | "pnf-ipv4-address":"3.3.3.3", 14:34:03 policy-apex-pdp | "resource-version":"1570746989505", 14:34:03 policy-apex-pdp | "nf-role":"ToR DC101", 14:34:03 policy-apex-pdp | "equip-type":"Router", 14:34:03 policy-apex-pdp | "equip-model":"model-123456", 14:34:03 policy-apex-pdp | "frame-id":"3", 14:34:03 policy-apex-pdp | "pnf-name":"demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 kafka | [2024-01-20 14:33:15,634] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 5 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,634] 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) 14:34:03 kafka | [2024-01-20 14:33:15,634] 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) 14:34:03 kafka | [2024-01-20 14:33:15,634] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(unauthenticated.dcae_cl_output-0) (kafka.server.ReplicaFetcherManager) 14:34:03 kafka | [2024-01-20 14:33:15,634] 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) 14:34:03 kafka | [2024-01-20 14:33:15,638] 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$) 14:34:03 kafka | [2024-01-20 14:33:15,638] 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) 14:34:03 kafka | [2024-01-20 14:33:15,639] INFO [Partition unauthenticated.dcae_cl_output-0 broker=1] No checkpointed highwatermark is found for partition unauthenticated.dcae_cl_output-0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:15,639] 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) 14:34:03 kafka | [2024-01-20 14:33:15,639] INFO [Broker id=1] Leader unauthenticated.dcae_cl_output-0 with topic id Some(u_Blni_pS1afNYzBjPHWqA) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,644] 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) 14:34:03 kafka | [2024-01-20 14:33:15,645] INFO [Broker id=1] Finished LeaderAndIsr request in 12ms correlationId 5 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:15,645] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=u_Blni_pS1afNYzBjPHWqA, 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) 14:34:03 kafka | [2024-01-20 14:33:15,646] 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) 14:34:03 kafka | [2024-01-20 14:33:15,646] 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) 14:34:03 kafka | [2024-01-20 14:33:15,647] 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) 14:34:03 kafka | [2024-01-20 14:33:18,628] INFO [GroupCoordinator 1]: Stabilized group apex-grp generation 1 (__consumer_offsets-14) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:18,632] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp-3-4d5a2a48-4e4b-40a6-ba78-1770759c4d31 for group apex-grp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:20,456] INFO Creating topic apex-cl-mgt with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 14:34:03 kafka | [2024-01-20 14:33:20,471] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt,Some(xWFFoVRyS4u8VKaywBQyCg),Map(apex-cl-mgt-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:20,471] INFO [Controller id=1] New partition creation callback for apex-cl-mgt-0 (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:20,471] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,472] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,472] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,472] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,482] 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) 14:34:03 kafka | [2024-01-20 14:33:20,482] 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) 14:34:03 kafka | [2024-01-20 14:33:20,482] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,482] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,482] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt-0 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,482] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,483] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 7 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,483] 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) 14:34:03 kafka | [2024-01-20 14:33:20,484] 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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.764+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": "hostcbaypt", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226763, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.776+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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.777+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": 1705761226746, "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": "hostcbaypt"} 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.779+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer-6:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "hostcbaypt" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.783+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": "host15h2o9", "IP": "10.10.10.10", "pnfName": "demo-pnf"}}}, {component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226781, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.788+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) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.788+00:00|INFO|network|Apex-NSOApexEngine:org.onap.policy.apex.service.engine.main.ApexEventMarshaller:SimpleCL_CDSConfigModifyRequestProducer2-16:0] [OUT|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | requestId: "8c7935a4-79d8-4ec0-b661-dcca3cd68006" 14:34:03 policy-apex-pdp | subRequestId: "927b2580-36d9-4f13-8421-3c9d43b7a57e" 14:34:03 policy-apex-pdp | originatorId: "POLICY" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-request" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "hostname" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "host15h2o9" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "IP" 14:34:03 kafka | [2024-01-20 14:33:20,484] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt-0) (kafka.server.ReplicaFetcherManager) 14:34:03 kafka | [2024-01-20 14:33:20,484] 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) 14:34:03 kafka | [2024-01-20 14:33:20,486] 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$) 14:34:03 kafka | [2024-01-20 14:33:20,487] INFO Created log for partition apex-cl-mgt-0 in /var/lib/kafka/data/apex-cl-mgt-0 with properties {} (kafka.log.LogManager) 14:34:03 kafka | [2024-01-20 14:33:20,487] INFO [Partition apex-cl-mgt-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt-0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:20,487] INFO [Partition apex-cl-mgt-0 broker=1] Log loaded for partition apex-cl-mgt-0 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:20,487] INFO [Broker id=1] Leader apex-cl-mgt-0 with topic id Some(xWFFoVRyS4u8VKaywBQyCg) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,492] 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) 14:34:03 kafka | [2024-01-20 14:33:20,493] INFO [Broker id=1] Finished LeaderAndIsr request in 10ms correlationId 7 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:20,493] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=xWFFoVRyS4u8VKaywBQyCg, 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) 14:34:03 kafka | [2024-01-20 14:33:20,495] 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) 14:34:03 kafka | [2024-01-20 14:33:20,495] 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) 14:34:03 kafka | [2024-01-20 14:33:20,495] 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) 14:34:03 kafka | [2024-01-20 14:33:25,534] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-c79c1210-729f-4d71-843b-e7c4b1c26130 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:25,535] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 0 (__consumer_offsets-3) (reason: Adding new member rdkafka-c79c1210-729f-4d71-843b-e7c4b1c26130 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,536] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 1 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,539] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-c79c1210-729f-4d71-843b-e7c4b1c26130 for group testgrp for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,667] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 1 (__consumer_offsets-3) (reason: Removing member rdkafka-c79c1210-729f-4d71-843b-e7c4b1c26130 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,668] INFO [GroupCoordinator 1]: Group testgrp with generation 2 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,671] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-c79c1210-729f-4d71-843b-e7c4b1c26130, 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) 14:34:03 kafka | [2024-01-20 14:33:28,729] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-b49f4264-6185-4bf1-93bb-89c8927ec367 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:28,730] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 2 (__consumer_offsets-3) (reason: Adding new member rdkafka-b49f4264-6185-4bf1-93bb-89c8927ec367 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,732] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 3 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,735] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-b49f4264-6185-4bf1-93bb-89c8927ec367 for group testgrp for generation 3. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,743] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 3 (__consumer_offsets-3) (reason: Removing member rdkafka-b49f4264-6185-4bf1-93bb-89c8927ec367 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,743] INFO [GroupCoordinator 1]: Group testgrp with generation 4 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,745] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-b49f4264-6185-4bf1-93bb-89c8927ec367, 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) 14:34:03 kafka | [2024-01-20 14:33:31,796] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-6c340058-fa89-43ea-a601-31f8be9f1970 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:31,797] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 4 (__consumer_offsets-3) (reason: Adding new member rdkafka-6c340058-fa89-43ea-a601-31f8be9f1970 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:34,798] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 5 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:34,802] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-6c340058-fa89-43ea-a601-31f8be9f1970 for group testgrp for generation 5. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:34,811] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 5 (__consumer_offsets-3) (reason: Removing member rdkafka-6c340058-fa89-43ea-a601-31f8be9f1970 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:34,811] INFO [GroupCoordinator 1]: Group testgrp with generation 6 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:34,812] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-6c340058-fa89-43ea-a601-31f8be9f1970, 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) 14:34:03 kafka | [2024-01-20 14:33:36,426] 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-d305133f-3b0d-4df2-9b07-4e47709bd90f and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:36,427] 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-d305133f-3b0d-4df2-9b07-4e47709bd90f with group instance id None; client reason: rebalance failed due to MemberIdRequiredException) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:39,428] INFO [GroupCoordinator 1]: Stabilized group apex-grp2 generation 1 (__consumer_offsets-8) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:39,432] INFO [GroupCoordinator 1]: Assignment received from leader consumer-apex-grp2-4-d305133f-3b0d-4df2-9b07-4e47709bd90f for group apex-grp2 for generation 1. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:41,651] INFO Creating topic apex-cl-mgt2 with configuration {} and initial partition assignment HashMap(0 -> ArrayBuffer(1)) (kafka.zk.AdminZkClient) 14:34:03 kafka | [2024-01-20 14:33:41,661] INFO [Controller id=1] New topics: [HashSet(apex-cl-mgt2)], deleted topics: [HashSet()], new partition replica assignment [Set(TopicIdReplicaAssignment(apex-cl-mgt2,Some(t9sZLF94ScSbmxmsOV_PSw),Map(apex-cl-mgt2-0 -> ReplicaAssignment(replicas=1, addingReplicas=, removingReplicas=))))] (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:41,661] INFO [Controller id=1] New partition creation callback for apex-cl-mgt2-0 (kafka.controller.KafkaController) 14:34:03 kafka | [2024-01-20 14:33:41,661] INFO [Controller id=1 epoch=1] Changed partition apex-cl-mgt2-0 state from NonExistentPartition to NewPartition with assigned replicas 1 (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,661] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,662] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NonExistentReplica to NewReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,662] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,672] 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) 14:34:03 kafka | [2024-01-20 14:33:41,673] 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) 14:34:03 kafka | [2024-01-20 14:33:41,673] INFO [Controller id=1 epoch=1] Sending LeaderAndIsr request to broker 1 with 1 become-leader and 0 become-follower partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,673] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet(1) for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,673] TRACE [Controller id=1 epoch=1] Changed state of replica 1 for partition apex-cl-mgt2-0 from NewReplica to OnlineReplica (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,673] INFO [Controller id=1 epoch=1] Sending UpdateMetadata request to brokers HashSet() for 0 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,675] INFO [Broker id=1] Handling LeaderAndIsr request correlationId 9 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,675] 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) 14:34:03 kafka | [2024-01-20 14:33:41,675] 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) 14:34:03 kafka | [2024-01-20 14:33:41,675] INFO [ReplicaFetcherManager on broker 1] Removed fetcher for partitions Set(apex-cl-mgt2-0) (kafka.server.ReplicaFetcherManager) 14:34:03 kafka | [2024-01-20 14:33:41,675] 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) 14:34:03 kafka | [2024-01-20 14:33:41,681] 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$) 14:34:03 kafka | [2024-01-20 14:33:41,682] INFO Created log for partition apex-cl-mgt2-0 in /var/lib/kafka/data/apex-cl-mgt2-0 with properties {} (kafka.log.LogManager) 14:34:03 kafka | [2024-01-20 14:33:41,682] INFO [Partition apex-cl-mgt2-0 broker=1] No checkpointed highwatermark is found for partition apex-cl-mgt2-0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:41,683] INFO [Partition apex-cl-mgt2-0 broker=1] Log loaded for partition apex-cl-mgt2-0 with initial high watermark 0 (kafka.cluster.Partition) 14:34:03 kafka | [2024-01-20 14:33:41,683] INFO [Broker id=1] Leader apex-cl-mgt2-0 with topic id Some(t9sZLF94ScSbmxmsOV_PSw) starts at leader epoch 0 from offset 0 with partition epoch 0, high watermark 0, ISR [1], adding replicas [] and removing replicas [] . Previous leader epoch was -1. (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,687] 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) 14:34:03 kafka | [2024-01-20 14:33:41,688] INFO [Broker id=1] Finished LeaderAndIsr request in 13ms correlationId 9 from controller 1 for 1 partitions (state.change.logger) 14:34:03 kafka | [2024-01-20 14:33:41,689] TRACE [Controller id=1 epoch=1] Received response LeaderAndIsrResponseData(errorCode=0, partitionErrors=[], topics=[LeaderAndIsrTopicError(topicId=t9sZLF94ScSbmxmsOV_PSw, 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) 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "10.10.10.10" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "pnfName" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | string_value: "demo-pnf" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.791+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | status { 14:34:03 policy-apex-pdp | code: 200 14:34:03 policy-apex-pdp | message: "success" 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 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" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 kafka | [2024-01-20 14:33:41,690] 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) 14:34:03 kafka | [2024-01-20 14:33:41,690] 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) 14:34:03 kafka | [2024-01-20 14:33:41,690] 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) 14:34:03 kafka | [2024-01-20 14:33:46,782] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-ccd69a31-47e3-47c3-a4cf-3bb3c75c97e9 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:46,784] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 6 (__consumer_offsets-3) (reason: Adding new member rdkafka-ccd69a31-47e3-47c3-a4cf-3bb3c75c97e9 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,784] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 7 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,787] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-ccd69a31-47e3-47c3-a4cf-3bb3c75c97e9 for group testgrp for generation 7. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,895] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 7 (__consumer_offsets-3) (reason: Removing member rdkafka-ccd69a31-47e3-47c3-a4cf-3bb3c75c97e9 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,895] INFO [GroupCoordinator 1]: Group testgrp with generation 8 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,896] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-ccd69a31-47e3-47c3-a4cf-3bb3c75c97e9, 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) 14:34:03 kafka | [2024-01-20 14:33:49,944] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-2dcc5c73-3fc6-477f-8d06-22e6bc52742b and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:49,945] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 8 (__consumer_offsets-3) (reason: Adding new member rdkafka-2dcc5c73-3fc6-477f-8d06-22e6bc52742b with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:52,946] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 9 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:52,949] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-2dcc5c73-3fc6-477f-8d06-22e6bc52742b for group testgrp for generation 9. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:52,957] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 9 (__consumer_offsets-3) (reason: Removing member rdkafka-2dcc5c73-3fc6-477f-8d06-22e6bc52742b on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:52,958] INFO [GroupCoordinator 1]: Group testgrp with generation 10 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:52,958] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-2dcc5c73-3fc6-477f-8d06-22e6bc52742b, 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) 14:34:03 kafka | [2024-01-20 14:33:53,011] INFO [GroupCoordinator 1]: Dynamic member with unknown member id joins group testgrp in Empty state. Created a new member id rdkafka-32a15305-c107-4df4-8d17-6926cb0cfb20 and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:53,013] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 10 (__consumer_offsets-3) (reason: Adding new member rdkafka-32a15305-c107-4df4-8d17-6926cb0cfb20 with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:56,013] INFO [GroupCoordinator 1]: Stabilized group testgrp generation 11 (__consumer_offsets-3) with 1 members (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:56,017] INFO [GroupCoordinator 1]: Assignment received from leader rdkafka-32a15305-c107-4df4-8d17-6926cb0cfb20 for group testgrp for generation 11. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:56,024] INFO [GroupCoordinator 1]: Preparing to rebalance group testgrp in state PreparingRebalance with old generation 11 (__consumer_offsets-3) (reason: Removing member rdkafka-32a15305-c107-4df4-8d17-6926cb0cfb20 on LeaveGroup; client reason: not provided) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:56,024] INFO [GroupCoordinator 1]: Group testgrp with generation 12 is now empty (__consumer_offsets-3) (kafka.coordinator.group.GroupCoordinator) 14:34:03 kafka | [2024-01-20 14:33:56,026] INFO [GroupCoordinator 1]: Member MemberMetadata(memberId=rdkafka-32a15305-c107-4df4-8d17-6926cb0cfb20, 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) 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.791+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.800+00:00|INFO|network|grpc-default-executor-1] [IN|REST|gRPC://grpc-sim:6680/] 14:34:03 policy-apex-pdp | commonHeader { 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:07.491Z" 14:34:03 policy-apex-pdp | requestId: "123456" 14:34:03 policy-apex-pdp | subRequestId: "123-123" 14:34:03 policy-apex-pdp | originatorId: "CDS" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | actionIdentifiers { 14:34:03 policy-apex-pdp | blueprintName: "controlloop-hostname-update" 14:34:03 policy-apex-pdp | blueprintVersion: "1.0.4" 14:34:03 policy-apex-pdp | actionName: "update-config" 14:34:03 policy-apex-pdp | mode: "sync" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | status { 14:34:03 policy-apex-pdp | code: 200 14:34:03 policy-apex-pdp | message: "success" 14:34:03 policy-apex-pdp | eventType: EVENT_COMPONENT_EXECUTED 14:34:03 policy-apex-pdp | timestamp: "2020-08-24T14:45:12.863Z" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | payload { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "update-config-response" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | struct_value { 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "execute-command-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:configuring Device...." 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Done Device Configuration Successfully" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:Device Configuration After modification" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 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" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "INFO:root:testhost-1212332324343" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | fields { 14:34:03 policy-apex-pdp | key: "prepare-environment-logs" 14:34:03 policy-apex-pdp | value { 14:34:03 policy-apex-pdp | list_value { 14:34:03 policy-apex-pdp | values { 14:34:03 policy-apex-pdp | string_value: "Installed pip packages:\n requirements.txt\n\n" 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | } 14:34:03 policy-apex-pdp | 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.800+00:00|INFO|CdsProcessorHandler|grpc-default-executor-1] Completed blueprint(1.0.4:controlloop-hostname-update) for action(1.0.4) 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.801+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-4:3] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226799, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:46.811+00:00|INFO|TaskExecutionLogging|Apex-apex-engine-service-14:1] [{component={"name": "Policy", "flavour": "Apex-PDP", "timestamp": 1705761226809, "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"}}}] 14:34:03 policy-apex-pdp | [2024-01-20T14:33:56.064+00:00|INFO|RequestLog|qtp830863979-27] 172.17.0.1 - policyadmin [20/Jan/2024:14:33:56 +0000] "GET /metrics?null HTTP/1.1" 200 23785 "-" "python-requests/2.27.1" 14:34:03 policy-apex-pdp | [2024-01-20T14:33:56.078+00:00|INFO|RequestLog|qtp830863979-29] 172.17.0.2 - policyadmin [20/Jan/2024:14:33:56 +0000] "GET /metrics HTTP/1.1" 200 22886 "-" "Prometheus/2.49.1" 14:34:03 ++ echo 'Tearing down containers...' 14:34:03 Tearing down containers... 14:34:03 ++ docker-compose down -v --remove-orphans 14:34:03 Stopping policy-apex-pdp ... 14:34:03 Stopping policy-pap ... 14:34:03 Stopping kafka ... 14:34:03 Stopping policy-api ... 14:34:03 Stopping simulator ... 14:34:03 Stopping prometheus ... 14:34:03 Stopping compose_zookeeper_1 ... 14:34:04 Stopping prometheus ... done 14:34:14 Stopping policy-apex-pdp ... done 14:34:24 Stopping simulator ... done 14:34:24 Stopping policy-pap ... done 14:34:25 Stopping kafka ... done 14:34:26 Stopping compose_zookeeper_1 ... done 14:34:34 Stopping policy-api ... done 14:34:34 Removing orphan container "postgres" 14:34:35 Removing policy-apex-pdp ... 14:34:35 Removing policy-pap ... 14:34:35 Removing kafka ... 14:34:35 Removing policy-api ... 14:34:35 Removing policy-db-migrator ... 14:34:35 Removing simulator ... 14:34:35 Removing prometheus ... 14:34:35 Removing compose_zookeeper_1 ... 14:34:35 Removing compose_zookeeper_1 ... done 14:34:35 Removing policy-apex-pdp ... done 14:34:35 Removing simulator ... done 14:34:35 Removing policy-pap ... done 14:34:35 Removing policy-api ... done 14:34:35 Removing policy-db-migrator ... done 14:34:35 Removing kafka ... done 14:34:35 Removing prometheus ... done 14:34:35 Removing network compose_default 14:34:35 ++ cd /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres 14:34:35 + load_set 14:34:35 + _setopts=hxB 14:34:35 ++ echo braceexpand:hashall:interactive-comments:xtrace 14:34:35 ++ tr : ' ' 14:34:35 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:34:35 + set +o braceexpand 14:34:35 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:34:35 + set +o hashall 14:34:35 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:34:35 + set +o interactive-comments 14:34:35 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 14:34:35 + set +o xtrace 14:34:35 ++ sed 's/./& /g' 14:34:35 ++ echo hxB 14:34:35 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:34:35 + set +h 14:34:35 + for i in $(echo "$_setopts" | sed 's/./& /g') 14:34:35 + set +x 14:34:35 + [[ -n /tmp/tmp.yfTKIGIpJm ]] 14:34:35 + rsync -av /tmp/tmp.yfTKIGIpJm/ /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/csit/archives/apex-pdp-postgres 14:34:35 sending incremental file list 14:34:35 ./ 14:34:35 log.html 14:34:35 output.xml 14:34:35 report.html 14:34:35 testplan.txt 14:34:35 14:34:35 sent 1,164,134 bytes received 95 bytes 2,328,458.00 bytes/sec 14:34:35 total size is 1,163,528 speedup is 1.00 14:34:35 + rm -rf /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/models 14:34:35 + exit 0 14:34:35 $ ssh-agent -k 14:34:35 unset SSH_AUTH_SOCK; 14:34:35 unset SSH_AGENT_PID; 14:34:35 echo Agent pid 2095 killed; 14:34:35 [ssh-agent] Stopped. 14:34:35 Robot results publisher started... 14:34:35 -Parsing output xml: 14:34:36 Done! 14:34:36 WARNING! Could not find file: **/log.html 14:34:36 WARNING! Could not find file: **/report.html 14:34:36 -Copying log files to build dir: 14:34:36 Done! 14:34:36 -Assigning results to build: 14:34:36 Done! 14:34:36 -Checking thresholds: 14:34:36 Done! 14:34:36 Done publishing Robot results. 14:34:36 [PostBuildScript] - [INFO] Executing post build scripts. 14:34:36 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins4467007797349591802.sh 14:34:36 ---> sysstat.sh 14:34:36 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins3752164427725563409.sh 14:34:36 ---> package-listing.sh 14:34:36 ++ tr '[:upper:]' '[:lower:]' 14:34:36 ++ facter osfamily 14:34:36 + OS_FAMILY=debian 14:34:36 + workspace=/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres 14:34:36 + START_PACKAGES=/tmp/packages_start.txt 14:34:36 + END_PACKAGES=/tmp/packages_end.txt 14:34:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:34:36 + PACKAGES=/tmp/packages_start.txt 14:34:36 + '[' /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:34:36 + PACKAGES=/tmp/packages_end.txt 14:34:36 + case "${OS_FAMILY}" in 14:34:36 + dpkg -l 14:34:36 + grep '^ii' 14:34:36 + '[' -f /tmp/packages_start.txt ']' 14:34:36 + '[' -f /tmp/packages_end.txt ']' 14:34:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:34:36 + '[' /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres ']' 14:34:36 + mkdir -p /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/archives/ 14:34:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/archives/ 14:34:36 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins7107606700201872095.sh 14:34:36 ---> capture-instance-metadata.sh 14:34:37 Setup pyenv: 14:34:37 system 14:34:37 3.8.13 14:34:37 3.9.13 14:34:37 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/.python-version) 14:34:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FFPI from file:/tmp/.os_lf_venv 14:34:38 lf-activate-venv(): INFO: Installing: lftools 14:34:48 lf-activate-venv(): INFO: Adding /tmp/venv-FFPI/bin to PATH 14:34:48 INFO: Running in OpenStack, capturing instance metadata 14:34:49 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins3958757249388238412.sh 14:34:49 provisioning config files... 14:34:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres@tmp/config3698664233235711409tmp 14:34:49 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 14:34:49 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 14:34:49 [EnvInject] - Injecting environment variables from a build step. 14:34:49 [EnvInject] - Injecting as environment variables the properties content 14:34:49 SERVER_ID=logs 14:34:49 14:34:49 [EnvInject] - Variables injected successfully. 14:34:49 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins9430249975586537303.sh 14:34:49 ---> create-netrc.sh 14:34:49 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins12253004248283271879.sh 14:34:49 ---> python-tools-install.sh 14:34:49 Setup pyenv: 14:34:49 system 14:34:49 3.8.13 14:34:49 3.9.13 14:34:49 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/.python-version) 14:34:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FFPI from file:/tmp/.os_lf_venv 14:34:50 lf-activate-venv(): INFO: Installing: lftools 14:34:58 lf-activate-venv(): INFO: Adding /tmp/venv-FFPI/bin to PATH 14:34:58 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins9896563531358962682.sh 14:34:58 ---> sudo-logs.sh 14:34:58 Archiving 'sudo' log.. 14:34:58 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash /tmp/jenkins16627317215391566711.sh 14:34:58 ---> job-cost.sh 14:34:58 Setup pyenv: 14:34:58 system 14:34:58 3.8.13 14:34:58 3.9.13 14:34:58 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/.python-version) 14:34:58 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FFPI from file:/tmp/.os_lf_venv 14:34:59 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 14:35:06 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 14:35:06 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 14:35:06 lf-activate-venv(): INFO: Adding /tmp/venv-FFPI/bin to PATH 14:35:06 INFO: No Stack... 14:35:07 INFO: Retrieving Pricing Info for: v3-standard-8 14:35:07 INFO: Archiving Costs 14:35:07 [policy-apex-pdp-master-project-csit-apex-pdp-postgres] $ /bin/bash -l /tmp/jenkins6436629664509882713.sh 14:35:07 ---> logs-deploy.sh 14:35:07 Setup pyenv: 14:35:07 system 14:35:07 3.8.13 14:35:07 3.9.13 14:35:07 * 3.10.6 (set by /w/workspace/policy-apex-pdp-master-project-csit-apex-pdp-postgres/.python-version) 14:35:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FFPI from file:/tmp/.os_lf_venv 14:35:09 lf-activate-venv(): INFO: Installing: lftools 14:35:17 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 14:35:17 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 14:35:18 lf-activate-venv(): INFO: Adding /tmp/venv-FFPI/bin to PATH 14:35:18 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-apex-pdp-master-project-csit-apex-pdp-postgres/336 14:35:18 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 14:35:19 Archives upload complete. 14:35:19 INFO: archiving logs to Nexus 14:35:20 ---> uname -a: 14:35:20 Linux prd-ubuntu1804-docker-8c-8g-13725 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 14:35:20 14:35:20 14:35:20 ---> lscpu: 14:35:20 Architecture: x86_64 14:35:20 CPU op-mode(s): 32-bit, 64-bit 14:35:20 Byte Order: Little Endian 14:35:20 CPU(s): 8 14:35:20 On-line CPU(s) list: 0-7 14:35:20 Thread(s) per core: 1 14:35:20 Core(s) per socket: 1 14:35:20 Socket(s): 8 14:35:20 NUMA node(s): 1 14:35:20 Vendor ID: AuthenticAMD 14:35:20 CPU family: 23 14:35:20 Model: 49 14:35:20 Model name: AMD EPYC-Rome Processor 14:35:20 Stepping: 0 14:35:20 CPU MHz: 2800.000 14:35:20 BogoMIPS: 5600.00 14:35:20 Virtualization: AMD-V 14:35:20 Hypervisor vendor: KVM 14:35:20 Virtualization type: full 14:35:20 L1d cache: 32K 14:35:20 L1i cache: 32K 14:35:20 L2 cache: 512K 14:35:20 L3 cache: 16384K 14:35:20 NUMA node0 CPU(s): 0-7 14:35:20 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 14:35:20 14:35:20 14:35:20 ---> nproc: 14:35:20 8 14:35:20 14:35:20 14:35:20 ---> df -h: 14:35:20 Filesystem Size Used Avail Use% Mounted on 14:35:20 udev 16G 0 16G 0% /dev 14:35:20 tmpfs 3.2G 708K 3.2G 1% /run 14:35:20 /dev/vda1 155G 14G 142G 9% / 14:35:20 tmpfs 16G 0 16G 0% /dev/shm 14:35:20 tmpfs 5.0M 0 5.0M 0% /run/lock 14:35:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:35:20 /dev/vda15 105M 4.4M 100M 5% /boot/efi 14:35:20 tmpfs 3.2G 0 3.2G 0% /run/user/1001 14:35:20 14:35:20 14:35:20 ---> free -m: 14:35:20 total used free shared buff/cache available 14:35:20 Mem: 32167 852 25072 0 6242 30858 14:35:20 Swap: 1023 0 1023 14:35:20 14:35:20 14:35:20 ---> ip addr: 14:35:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 14:35:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:35:20 inet 127.0.0.1/8 scope host lo 14:35:20 valid_lft forever preferred_lft forever 14:35:20 inet6 ::1/128 scope host 14:35:20 valid_lft forever preferred_lft forever 14:35:20 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 14:35:20 link/ether fa:16:3e:fb:05:57 brd ff:ff:ff:ff:ff:ff 14:35:20 inet 10.30.107.91/23 brd 10.30.107.255 scope global dynamic ens3 14:35:20 valid_lft 85982sec preferred_lft 85982sec 14:35:20 inet6 fe80::f816:3eff:fefb:557/64 scope link 14:35:20 valid_lft forever preferred_lft forever 14:35:20 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 14:35:20 link/ether 02:42:1d:f2:6e:f7 brd ff:ff:ff:ff:ff:ff 14:35:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:35:20 valid_lft forever preferred_lft forever 14:35:20 14:35:20 14:35:20 ---> sar -b -r -n DEV: 14:35:20 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13725) 01/20/24 _x86_64_ (8 CPU) 14:35:20 14:35:20 14:28:24 LINUX RESTART (8 CPU) 14:35:20 14:35:20 14:29:02 tps rtps wtps bread/s bwrtn/s 14:35:20 14:30:01 110.61 36.76 73.85 1716.73 19297.20 14:35:20 14:31:01 125.50 23.23 102.27 2799.67 24667.76 14:35:20 14:32:01 225.35 0.13 225.21 6.13 133331.24 14:35:20 14:33:01 173.82 3.60 170.22 437.53 28739.34 14:35:20 14:34:01 18.03 0.35 17.68 28.80 12881.32 14:35:20 14:35:01 66.79 1.40 65.39 107.45 15543.41 14:35:20 Average: 120.04 10.84 109.20 846.97 39131.80 14:35:20 14:35:20 14:29:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:35:20 14:30:01 30082144 31703668 2857076 8.67 70708 1860080 1391696 4.09 870256 1693220 179076 14:35:20 14:31:01 28632284 31669212 4306936 13.08 102676 3199268 1371276 4.03 983692 2938456 1178136 14:35:20 14:32:01 25841528 31662556 7097692 21.55 134992 5824388 1443020 4.25 1020556 5561224 155252 14:35:20 14:33:01 23766156 29824104 9173064 27.85 140376 6050308 7843020 23.08 3004836 5567788 912 14:35:20 14:34:01 23436204 29530436 9503016 28.85 140808 6085304 8151788 23.98 3320988 5574104 26960 14:35:20 14:35:01 25694108 31612664 7245112 22.00 144300 5905108 1488616 4.38 1277464 5431032 13484 14:35:20 Average: 26242071 31000440 6697149 20.33 122310 4820743 3614903 10.64 1746299 4460971 258970 14:35:20 14:35:20 14:29:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:35:20 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:30:01 lo 1.42 1.42 0.15 0.15 0.00 0.00 0.00 0.00 14:35:20 14:30:01 ens3 71.45 52.52 1023.52 11.18 0.00 0.00 0.00 0.00 14:35:20 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:31:01 br-fbcd56ad64ce 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:31:01 lo 7.33 7.33 0.68 0.68 0.00 0.00 0.00 0.00 14:35:20 14:31:01 ens3 290.78 179.27 8799.93 17.13 0.00 0.00 0.00 0.00 14:35:20 14:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:32:01 br-fbcd56ad64ce 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:32:01 lo 5.67 5.67 0.58 0.58 0.00 0.00 0.00 0.00 14:35:20 14:32:01 ens3 941.11 454.71 24631.57 32.50 0.00 0.00 0.00 0.00 14:35:20 14:33:01 vethc26c395 0.47 0.78 0.05 1.09 0.00 0.00 0.00 0.00 14:35:20 14:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:33:01 veth2fa18ab 8.22 8.17 1.71 1.04 0.00 0.00 0.00 0.00 14:35:20 14:33:01 br-fbcd56ad64ce 0.48 0.45 0.04 0.03 0.00 0.00 0.00 0.00 14:35:20 14:34:01 vethc26c395 0.58 0.65 0.05 1.62 0.00 0.00 0.00 0.00 14:35:20 14:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:34:01 veth2fa18ab 377.39 370.57 46.50 122.64 0.00 0.00 0.00 0.01 14:35:20 14:34:01 br-fbcd56ad64ce 6.55 8.20 6.75 12.82 0.00 0.00 0.00 0.00 14:35:20 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 14:35:01 lo 38.58 38.58 21.65 21.65 0.00 0.00 0.00 0.00 14:35:20 14:35:01 ens3 1699.05 977.72 35279.04 168.10 0.00 0.00 0.00 0.00 14:35:20 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:20 Average: lo 5.79 5.79 3.56 3.56 0.00 0.00 0.00 0.00 14:35:20 Average: ens3 231.35 125.33 5768.64 19.17 0.00 0.00 0.00 0.00 14:35:20 14:35:20 14:35:20 ---> sar -P ALL: 14:35:20 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13725) 01/20/24 _x86_64_ (8 CPU) 14:35:20 14:35:20 14:28:24 LINUX RESTART (8 CPU) 14:35:20 14:35:20 14:29:02 CPU %user %nice %system %iowait %steal %idle 14:35:20 14:30:01 all 10.18 0.00 0.73 2.01 0.04 87.05 14:35:20 14:30:01 0 16.51 0.00 0.70 0.27 0.02 82.50 14:35:20 14:30:01 1 1.00 0.00 0.22 0.31 0.02 98.45 14:35:20 14:30:01 2 1.29 0.00 0.44 0.75 0.02 97.51 14:35:20 14:30:01 3 1.66 0.00 0.46 0.66 0.03 97.19 14:35:20 14:30:01 4 1.02 0.00 0.41 1.07 0.02 97.49 14:35:20 14:30:01 5 25.69 0.00 1.58 11.30 0.07 61.37 14:35:20 14:30:01 6 22.37 0.00 1.49 0.93 0.07 75.14 14:35:20 14:30:01 7 11.89 0.00 0.51 0.75 0.07 86.79 14:35:20 14:31:01 all 11.47 0.00 2.27 2.21 0.05 84.00 14:35:20 14:31:01 0 5.65 0.00 2.91 0.02 0.03 91.39 14:35:20 14:31:01 1 25.54 0.00 2.35 1.56 0.05 70.50 14:35:20 14:31:01 2 11.78 0.00 2.20 1.66 0.03 84.33 14:35:20 14:31:01 3 5.33 0.00 1.93 2.60 0.05 90.09 14:35:20 14:31:01 4 10.52 0.00 1.92 0.62 0.03 86.90 14:35:20 14:31:01 5 6.69 0.00 1.98 8.65 0.03 82.66 14:35:20 14:31:01 6 6.02 0.00 2.03 2.15 0.05 89.75 14:35:20 14:31:01 7 20.23 0.00 2.80 0.47 0.03 76.46 14:35:20 14:32:01 all 9.38 0.00 4.00 8.03 0.06 78.52 14:35:20 14:32:01 0 11.88 0.00 3.28 0.05 0.07 84.72 14:35:20 14:32:01 1 8.80 0.00 4.97 19.95 0.05 66.23 14:35:20 14:32:01 2 10.10 0.00 3.87 0.47 0.05 85.51 14:35:20 14:32:01 3 10.67 0.00 3.56 1.84 0.07 83.87 14:35:20 14:32:01 4 8.80 0.00 4.65 3.96 0.05 82.54 14:35:20 14:32:01 5 7.95 0.00 3.63 14.98 0.07 73.37 14:35:20 14:32:01 6 7.64 0.00 4.42 22.17 0.08 65.68 14:35:20 14:32:01 7 9.16 0.00 3.70 0.93 0.07 86.14 14:35:20 14:33:01 all 25.67 0.00 3.35 1.81 0.08 69.09 14:35:20 14:33:01 0 24.96 0.00 3.30 0.77 0.08 70.89 14:35:20 14:33:01 1 23.29 0.00 3.00 1.37 0.08 72.25 14:35:20 14:33:01 2 29.30 0.00 3.53 1.05 0.08 66.04 14:35:20 14:33:01 3 24.07 0.00 3.17 0.45 0.07 72.25 14:35:20 14:33:01 4 22.20 0.00 3.06 3.90 0.08 70.75 14:35:20 14:33:01 5 29.62 0.00 3.80 3.72 0.08 62.77 14:35:20 14:33:01 6 28.58 0.00 3.78 2.91 0.08 64.65 14:35:20 14:33:01 7 23.36 0.00 3.17 0.32 0.07 73.08 14:35:20 14:34:01 all 9.88 0.00 1.32 0.60 0.08 88.12 14:35:20 14:34:01 0 9.20 0.00 1.07 0.00 0.07 89.66 14:35:20 14:34:01 1 11.46 0.00 1.59 0.02 0.10 86.83 14:35:20 14:34:01 2 10.05 0.00 1.04 0.03 0.08 88.80 14:35:20 14:34:01 3 8.51 0.00 1.36 0.10 0.10 89.93 14:35:20 14:34:01 4 8.25 0.00 1.56 0.13 0.08 89.98 14:35:20 14:34:01 5 10.04 0.00 1.19 0.00 0.07 88.71 14:35:20 14:34:01 6 11.50 0.00 1.69 4.48 0.08 82.24 14:35:20 14:34:01 7 10.02 0.00 1.09 0.00 0.08 88.81 14:35:20 14:35:01 all 6.08 0.00 0.72 1.15 0.04 92.01 14:35:20 14:35:01 0 2.78 0.00 0.60 0.20 0.02 96.40 14:35:20 14:35:01 1 18.75 0.00 1.32 0.73 0.07 79.13 14:35:20 14:35:01 2 2.00 0.00 0.47 0.03 0.02 97.48 14:35:20 14:35:01 3 1.40 0.00 0.69 0.42 0.03 97.46 14:35:20 14:35:01 4 4.02 0.00 0.63 0.40 0.03 94.91 14:35:20 14:35:01 5 13.00 0.00 0.77 0.32 0.03 85.88 14:35:20 14:35:01 6 3.46 0.00 0.62 6.80 0.03 89.09 14:35:20 14:35:01 7 3.26 0.00 0.65 0.30 0.05 95.74 14:35:20 Average: all 12.11 0.00 2.07 2.63 0.06 83.13 14:35:20 Average: 0 11.81 0.00 1.98 0.22 0.05 85.95 14:35:20 Average: 1 14.85 0.00 2.24 3.98 0.06 78.86 14:35:20 Average: 2 10.77 0.00 1.92 0.66 0.05 86.59 14:35:20 Average: 3 8.62 0.00 1.86 1.01 0.06 88.46 14:35:20 Average: 4 9.15 0.00 2.04 1.68 0.05 87.08 14:35:20 Average: 5 15.48 0.00 2.16 6.46 0.06 75.84 14:35:20 Average: 6 13.25 0.00 2.34 6.56 0.07 77.78 14:35:20 Average: 7 12.98 0.00 1.99 0.46 0.06 84.51 14:35:20 14:35:20 14:35:20