09:34:50 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/137262 09:34:50 Running as SYSTEM 09:34:50 [EnvInject] - Loading node environment variables. 09:34:51 Building remotely on prd-ubuntu1804-docker-8c-8g-6623 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-merge-java 09:34:51 [ssh-agent] Looking for ssh-agent implementation... 09:34:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:51 $ ssh-agent 09:34:51 SSH_AUTH_SOCK=/tmp/ssh-brFOEev65FWu/agent.2057 09:34:51 SSH_AGENT_PID=2058 09:34:51 [ssh-agent] Started. 09:34:51 Running ssh-add (command line suppressed) 09:34:51 Identity added: /w/workspace/policy-api-master-merge-java@tmp/private_key_12044831718688426968.key (/w/workspace/policy-api-master-merge-java@tmp/private_key_12044831718688426968.key) 09:34:51 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 09:34:51 The recommended git tool is: NONE 09:34:52 using credential onap-jenkins-ssh 09:34:52 Wiping out workspace first. 09:34:52 Cloning the remote Git repository 09:34:53 Cloning repository git://cloud.onap.org/mirror/policy/api.git 09:34:53 > git init /w/workspace/policy-api-master-merge-java # timeout=10 09:34:53 Fetching upstream changes from git://cloud.onap.org/mirror/policy/api.git 09:34:53 > git --version # timeout=10 09:34:53 > git --version # 'git version 2.17.1' 09:34:53 using GIT_SSH to set credentials Gerrit user 09:34:53 Verifying host key using manually-configured host key entries 09:34:53 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/api.git +refs/heads/*:refs/remotes/origin/* # timeout=30 09:34:53 > git config remote.origin.url git://cloud.onap.org/mirror/policy/api.git # timeout=10 09:34:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:53 Avoid second fetch 09:34:53 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 09:34:53 Checking out Revision f56a9d9417c53cffc02d646545b47869dae16761 (refs/remotes/origin/master) 09:34:53 > git config core.sparsecheckout # timeout=10 09:34:53 > git checkout -f f56a9d9417c53cffc02d646545b47869dae16761 # timeout=30 09:34:54 Commit message: "Release docker images for policy/api: 3.1.1" 09:34:54 > git rev-list --no-walk a7fa91e3c15544ce5b6f58684d3b9c0adc3cce10 # timeout=10 09:34:54 Run condition [Regular expression match] enabling prebuild for step [Execute shell] 09:34:54 provisioning config files... 09:34:54 copy managed file [npmrc] to file:/home/jenkins/.npmrc 09:34:54 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 09:34:54 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins5850001069024777682.sh 09:34:54 ---> python-tools-install.sh 09:34:54 Setup pyenv: 09:34:54 * system (set by /opt/pyenv/version) 09:34:54 * 3.8.13 (set by /opt/pyenv/version) 09:34:54 * 3.9.13 (set by /opt/pyenv/version) 09:34:54 * 3.10.6 (set by /opt/pyenv/version) 09:34:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ImJy 09:34:58 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 09:35:02 lf-activate-venv(): INFO: Installing: lftools 09:35:35 lf-activate-venv(): INFO: Adding /tmp/venv-ImJy/bin to PATH 09:35:35 Generating Requirements File 09:36:09 Python 3.10.6 09:36:09 pip 24.0 from /tmp/venv-ImJy/lib/python3.10/site-packages/pip (python 3.10) 09:36:10 appdirs==1.4.4 09:36:10 argcomplete==3.2.2 09:36:10 aspy.yaml==1.3.0 09:36:10 attrs==23.2.0 09:36:10 autopage==0.5.2 09:36:10 beautifulsoup4==4.12.3 09:36:10 boto3==1.34.44 09:36:10 botocore==1.34.44 09:36:10 bs4==0.0.2 09:36:10 cachetools==5.3.2 09:36:10 certifi==2024.2.2 09:36:10 cffi==1.16.0 09:36:10 cfgv==3.4.0 09:36:10 chardet==5.2.0 09:36:10 charset-normalizer==3.3.2 09:36:10 click==8.1.7 09:36:10 cliff==4.5.0 09:36:10 cmd2==2.4.3 09:36:10 cryptography==3.3.2 09:36:10 debtcollector==2.5.0 09:36:10 decorator==5.1.1 09:36:10 defusedxml==0.7.1 09:36:10 Deprecated==1.2.14 09:36:10 distlib==0.3.8 09:36:10 dnspython==2.6.1 09:36:10 docker==4.2.2 09:36:10 dogpile.cache==1.3.1 09:36:10 email-validator==2.1.0.post1 09:36:10 filelock==3.13.1 09:36:10 future==0.18.3 09:36:10 gitdb==4.0.11 09:36:10 GitPython==3.1.42 09:36:10 google-auth==2.28.0 09:36:10 httplib2==0.22.0 09:36:10 identify==2.5.35 09:36:10 idna==3.6 09:36:10 importlib-resources==1.5.0 09:36:10 iso8601==2.1.0 09:36:10 Jinja2==3.1.3 09:36:10 jmespath==1.0.1 09:36:10 jsonpatch==1.33 09:36:10 jsonpointer==2.4 09:36:10 jsonschema==4.21.1 09:36:10 jsonschema-specifications==2023.12.1 09:36:10 keystoneauth1==5.5.0 09:36:10 kubernetes==29.0.0 09:36:10 lftools==0.37.8 09:36:10 lxml==5.1.0 09:36:10 MarkupSafe==2.1.5 09:36:10 msgpack==1.0.7 09:36:10 multi_key_dict==2.0.3 09:36:10 munch==4.0.0 09:36:10 netaddr==1.2.1 09:36:10 netifaces==0.11.0 09:36:10 niet==1.4.2 09:36:10 nodeenv==1.8.0 09:36:10 oauth2client==4.1.3 09:36:10 oauthlib==3.2.2 09:36:10 openstacksdk==0.62.0 09:36:10 os-client-config==2.1.0 09:36:10 os-service-types==1.7.0 09:36:10 osc-lib==3.0.0 09:36:10 oslo.config==9.3.0 09:36:10 oslo.context==5.3.0 09:36:10 oslo.i18n==6.2.0 09:36:10 oslo.log==5.4.0 09:36:10 oslo.serialization==5.3.0 09:36:10 oslo.utils==7.0.0 09:36:10 packaging==23.2 09:36:10 pbr==6.0.0 09:36:10 platformdirs==4.2.0 09:36:10 prettytable==3.9.0 09:36:10 pyasn1==0.5.1 09:36:10 pyasn1-modules==0.3.0 09:36:10 pycparser==2.21 09:36:10 pygerrit2==2.0.15 09:36:10 PyGithub==2.2.0 09:36:10 pyinotify==0.9.6 09:36:10 PyJWT==2.8.0 09:36:10 PyNaCl==1.5.0 09:36:10 pyparsing==2.4.7 09:36:10 pyperclip==1.8.2 09:36:10 pyrsistent==0.20.0 09:36:10 python-cinderclient==9.4.0 09:36:10 python-dateutil==2.8.2 09:36:10 python-heatclient==3.4.0 09:36:10 python-jenkins==1.8.2 09:36:10 python-keystoneclient==5.3.0 09:36:10 python-magnumclient==4.3.0 09:36:10 python-novaclient==18.4.0 09:36:10 python-openstackclient==6.0.1 09:36:10 python-swiftclient==4.4.0 09:36:10 pytz==2024.1 09:36:10 PyYAML==6.0.1 09:36:10 referencing==0.33.0 09:36:10 requests==2.31.0 09:36:10 requests-oauthlib==1.3.1 09:36:10 requestsexceptions==1.4.0 09:36:10 rfc3986==2.0.0 09:36:10 rpds-py==0.18.0 09:36:10 rsa==4.9 09:36:10 ruamel.yaml==0.18.6 09:36:10 ruamel.yaml.clib==0.2.8 09:36:10 s3transfer==0.10.0 09:36:10 simplejson==3.19.2 09:36:10 six==1.16.0 09:36:10 smmap==5.0.1 09:36:10 soupsieve==2.5 09:36:10 stevedore==5.1.0 09:36:10 tabulate==0.9.0 09:36:10 toml==0.10.2 09:36:10 tomlkit==0.12.3 09:36:10 tqdm==4.66.2 09:36:10 typing_extensions==4.9.0 09:36:10 tzdata==2024.1 09:36:10 urllib3==1.26.18 09:36:10 virtualenv==20.25.0 09:36:10 wcwidth==0.2.13 09:36:10 websocket-client==1.7.0 09:36:10 wrapt==1.16.0 09:36:10 xdg==6.0.0 09:36:10 xmltodict==0.13.0 09:36:10 yq==3.2.3 09:36:10 [EnvInject] - Injecting environment variables from a build step. 09:36:10 [EnvInject] - Injecting as environment variables the properties content 09:36:10 SET_JDK_VERSION=openjdk17 09:36:10 GIT_URL="git://cloud.onap.org/mirror" 09:36:10 09:36:10 [EnvInject] - Variables injected successfully. 09:36:10 [policy-api-master-merge-java] $ /bin/sh /tmp/jenkins570668975299025943.sh 09:36:10 ---> update-java-alternatives.sh 09:36:10 ---> Updating Java version 09:36:10 ---> Ubuntu/Debian system detected 09:36:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 09:36:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 09:36:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 09:36:11 openjdk version "17.0.4" 2022-07-19 09:36:11 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 09:36:11 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 09:36:11 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 09:36:11 [EnvInject] - Injecting environment variables from a build step. 09:36:11 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 09:36:11 [EnvInject] - Variables injected successfully. 09:36:11 provisioning config files... 09:36:11 copy managed file [global-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config2613510695836046832tmp 09:36:11 copy managed file [policy-api-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config17892994736923272829tmp 09:36:11 Regular expression run condition: Expression=[.*(amd64|arm64).*], Label=[policy-api] 09:36:11 Run condition [Regular expression match] preventing perform for step [Execute shell] 09:36:11 Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 on prd-ubuntu1804-docker-8c-8g-6623 09:36:12 using settings config with name policy-api-settings 09:36:12 Replacing all maven server entries not found in credentials list is true 09:36:12 using global settings config with name global-settings 09:36:12 Replacing all maven server entries not found in credentials list is true 09:36:12 [policy-api-master-merge-java] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -s /tmp/settings17631884545806919669.xml -gs /tmp/global-settings2116205016292217759.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=f56a9d9417c53cffc02d646545b47869dae16761 -DGERRIT_HOST=gerrit.onap.org -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_CHANGE_OWNER_EMAIL=wayne.dunican@est.tech "-DGERRIT_EVENT_ACCOUNT_NAME=Ramesh Murugan Iyer" -DGERRIT_CHANGE_URL=https://gerrit.onap.org/r/c/policy/api/+/137262 -DGERRIT_PATCHSET_UPLOADER_EMAIL=wayne.dunican@est.tech "-DARCHIVE_ARTIFACTS= **/target/surefire-reports/*-output.txt" -DGERRIT_EVENT_TYPE=change-merged -DSTACK_NAME=$JOB_NAME-$BUILD_NUMBER -DGERRIT_PROJECT=policy/api -DGERRIT_CHANGE_NUMBER=137262 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Wayne Dunican\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/62/137262/1 -DGERRIT_NEWREV=f56a9d9417c53cffc02d646545b47869dae16761 "-DGERRIT_PATCHSET_UPLOADER_NAME=Wayne Dunican" '-DGERRIT_CHANGE_OWNER=\"Wayne Dunican\" ' -DPROJECT=policy/api -DGERRIT_CHANGE_COMMIT_MESSAGE=UmVsZWFzZSBkb2NrZXIgaW1hZ2VzIGZvciBwb2xpY3kvYXBpOiAzLjEuMQoKVGhpcyBjb21taXQgcmVsZWFzZXMgZG9ja2VyIGltYWdlcyBmb3IgcmVwbyBwb2xpY3kvYXBpLgoKKioqIFRoaXMgY29tbWl0IGlzIGdlbmVyYXRlZCBieSBhIFBGIHJlbGVhc2Ugc2NyaXB0ICoqKgoKSXNzdWUtSUQ6IFBPTElDWS00OTMyCkNoYW5nZS1JZDogSWI4YjEzOTZjZWExN2MxMGM3OWU3N2JmZjQxNDJkODViNDc2NDhlYTQKU2lnbmVkLW9mZi1ieTogd2F5bmVkdW5pY2FuIDx3YXluZS5kdW5pY2FuQGVzdC50ZWNoPgo= -DGERRIT_NAME=Primary -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=Release docker images for policy/api: 3.1.1" '-DGERRIT_EVENT_ACCOUNT=\"Ramesh Murugan Iyer\" ' -DGERRIT_CHANGE_WIP_STATE=false -DGERRIT_CHANGE_ID=Ib8b1396cea17c10c79e77bff4142d85b47648ea4 -DGERRIT_EVENT_HASH=-165245420 -DGERRIT_VERSION=3.7.2 -DGERRIT_EVENT_ACCOUNT_EMAIL=ramesh.murugan.iyer@est.tech -DGERRIT_PATCHSET_NUMBER=1 "-DGERRIT_CHANGE_OWNER_NAME=Wayne Dunican" clean deploy -B -P docker -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn 09:36:13 [INFO] Scanning for projects... 09:36:14 [INFO] ------------------------------------------------------------------------ 09:36:14 [INFO] Reactor Build Order: 09:36:14 [INFO] 09:36:14 [INFO] policy-api [pom] 09:36:14 [INFO] api-main [jar] 09:36:14 [INFO] api-packages [pom] 09:36:14 [INFO] policy-api-tarball [jar] 09:36:14 [INFO] policy-api-docker [pom] 09:36:14 [INFO] api-testsuites [pom] 09:36:14 [INFO] api-stability [jar] 09:36:14 [INFO] api-performance [jar] 09:36:14 [INFO] 09:36:14 [INFO] -------------------< org.onap.policy.api:policy-api >------------------- 09:36:14 [INFO] Building policy-api 3.1.1-SNAPSHOT [1/8] 09:36:14 [INFO] --------------------------------[ pom ]--------------------------------- 09:36:21 [INFO] 09:36:21 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api --- 09:36:21 [INFO] 09:36:21 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api --- 09:36:23 [INFO] 09:36:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api --- 09:36:23 [INFO] 09:36:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api --- 09:36:24 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:36:24 --add-opens java.base/java.util=ALL-UNNAMED 09:36:24 --add-opens java.sql/java.sql=ALL-UNNAMED 09:36:24 [INFO] 09:36:24 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api --- 09:36:26 [INFO] Starting audit... 09:36:26 Audit done. 09:36:26 [INFO] You have 0 Checkstyle violations. 09:36:26 [INFO] 09:36:26 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api --- 09:36:27 [INFO] Starting audit... 09:36:27 Audit done. 09:36:27 [INFO] You have 0 Checkstyle violations. 09:36:27 [INFO] 09:36:27 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api --- 09:36:27 [INFO] Skipping JaCoCo execution due to missing execution data file. 09:36:27 [INFO] 09:36:27 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api --- 09:36:27 [INFO] 09:36:27 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api --- 09:36:27 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:36:27 [INFO] failsafeArgLine set to empty 09:36:27 [INFO] 09:36:27 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api --- 09:36:27 [INFO] No tests to run. 09:36:27 [INFO] 09:36:27 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api --- 09:36:27 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:36:27 [INFO] 09:36:27 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api --- 09:36:27 [INFO] 09:36:27 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api --- 09:36:27 [INFO] Installing /w/workspace/policy-api-master-merge-java/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api/3.1.1-SNAPSHOT/policy-api-3.1.1-SNAPSHOT.pom 09:36:27 [INFO] 09:36:27 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api --- 09:36:28 [INFO] 09:36:28 [INFO] --------------------< org.onap.policy.api:api-main >-------------------- 09:36:28 [INFO] Building api-main 3.1.1-SNAPSHOT [2/8] 09:36:28 [INFO] --------------------------------[ jar ]--------------------------------- 09:36:31 [INFO] 09:36:31 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-main --- 09:36:31 [INFO] 09:36:31 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-main --- 09:36:31 [INFO] 09:36:31 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-main --- 09:36:31 [INFO] 09:36:31 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-main --- 09:36:31 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/main/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:36:31 --add-opens java.base/java.util=ALL-UNNAMED 09:36:31 --add-opens java.sql/java.sql=ALL-UNNAMED 09:36:31 [INFO] 09:36:31 [INFO] --- swagger-codegen-maven-plugin:3.0.52:generate (code-gen) @ api-main --- 09:36:34 [WARNING] Output directory does not exist, or is inaccessible. No file (.swagger-codegen-ignore) will be evaluated. 09:36:34 [INFO] Set base package to invoker package (org.onap.policy.api.main.rest) 09:36:35 [INFO] writing file /w/workspace/policy-api-master-merge-java/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/PolicyDesignApi.java 09:36:35 [INFO] writing file /w/workspace/policy-api-master-merge-java/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/ToscaNodeTemplateDesignApi.java 09:36:35 [INFO] 09:36:35 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-main --- 09:36:35 [INFO] Starting audit... 09:36:35 Audit done. 09:36:35 [INFO] You have 0 Checkstyle violations. 09:36:35 [INFO] 09:36:35 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-main --- 09:36:36 [INFO] Starting audit... 09:36:36 Audit done. 09:36:36 [INFO] You have 0 Checkstyle violations. 09:36:36 [INFO] 09:36:36 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-main --- 09:36:36 [INFO] Copying 1 resource from src/main/resources to target/classes 09:36:36 [INFO] Copying 4 resources from src/main/resources to target/classes 09:36:36 [INFO] 09:36:36 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-main --- 09:36:36 [INFO] Changes detected - recompiling the module! :dependency 09:36:36 [INFO] Compiling 31 source files with javac [debug release 17] to target/classes 09:36:38 [INFO] 09:36:38 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-main --- 09:36:38 [INFO] Copying 20 resources from src/test/resources to target/test-classes 09:36:38 [INFO] 09:36:38 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-main --- 09:36:38 [INFO] Changes detected - recompiling the module! :dependency 09:36:38 [INFO] Compiling 16 source files with javac [debug release 17] to target/test-classes 09:36:39 [INFO] 09:36:39 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-main --- 09:36:40 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider 09:36:40 [INFO] 09:36:40 [INFO] ------------------------------------------------------- 09:36:40 [INFO] T E S T S 09:36:40 [INFO] ------------------------------------------------------- 09:36:41 [INFO] Running org.onap.policy.api.contract.ApiContractTest 09:36:44 09:36:44 . ____ _ __ _ _ 09:36:44 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 09:36:44 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 09:36:44 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 09:36:44 ' |____| .__|_| |_|_| |_\__, | / / / / 09:36:44 =========|_|==============|___/=/_/_/_/ 09:36:44 :: Spring Boot :: (v3.1.8) 09:36:44 09:36:44 2024-02-19T09:36:44.421Z WARN 2867 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 09:36:44 09:36:44 Found multiple occurrences of org.json.JSONObject on the class path: 09:36:44 09:36:44 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 09:36:44 jar:file:/home/jenkins/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 09:36:44 09:36:44 You may wish to exclude one of them to ensure predictable runtime behavior 09:36:44 09:36:44 2024-02-19T09:36:44.438Z INFO 2867 --- [ main] o.o.policy.api.contract.ApiContractTest : Starting ApiContractTest using Java 17.0.4 with PID 2867 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 09:36:44 2024-02-19T09:36:44.439Z INFO 2867 --- [ main] o.o.policy.api.contract.ApiContractTest : The following 2 profiles are active: "test", "stub" 09:36:45 2024-02-19T09:36:45.940Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 09:36:46 2024-02-19T09:36:46.018Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 69 ms. Found 6 JPA repository interfaces. 09:36:46 2024-02-19T09:36:46.360Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:36:46 2024-02-19T09:36:46.361Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:36:46 2024-02-19T09:36:46.965Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 09:36:47 2024-02-19T09:36:46.982Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 09:36:47 2024-02-19T09:36:46.983Z INFO 2867 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 09:36:47 2024-02-19T09:36:47.064Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 09:36:47 2024-02-19T09:36:47.065Z INFO 2867 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2601 ms 09:36:47 2024-02-19T09:36:47.464Z INFO 2867 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 09:36:47 2024-02-19T09:36:47.530Z INFO 2867 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.3.0.CR1 09:36:47 2024-02-19T09:36:47.533Z INFO 2867 --- [ main] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 09:36:47 2024-02-19T09:36:47.579Z INFO 2867 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 09:36:47 2024-02-19T09:36:47.874Z INFO 2867 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 09:36:47 2024-02-19T09:36:47.896Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 09:36:48 2024-02-19T09:36:48.221Z INFO 2867 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=POLICY_USER 09:36:48 2024-02-19T09:36:48.224Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 09:36:48 2024-02-19T09:36:48.259Z WARN 2867 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 09:36:50 2024-02-19T09:36:50.183Z INFO 2867 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 09:36:50 2024-02-19T09:36:50.470Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 09:36:51 2024-02-19T09:36:51.467Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 09:36:52 2024-02-19T09:36:52.186Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 09:36:53 2024-02-19T09:36:53.193Z WARN 2867 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : 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 09:36:53 2024-02-19T09:36:53.363Z INFO 2867 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4c1b110, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@a77154d, org.springframework.security.web.context.SecurityContextHolderFilter@109115d1, org.springframework.security.web.header.HeaderWriterFilter@299ebfe, org.springframework.security.web.authentication.logout.LogoutFilter@7671ba55, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@105098fc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1632887, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@33f7c082, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@23faf03c, org.springframework.security.web.access.ExceptionTranslationFilter@6a8b63d, org.springframework.security.web.access.intercept.AuthorizationFilter@30e338ff] 09:36:54 2024-02-19T09:36:54.168Z INFO 2867 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 09:36:54 2024-02-19T09:36:54.528Z INFO 2867 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [policy@policy.onap.org] with trust store [null] 09:36:54 2024-02-19T09:36:54.566Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 46361 (https) with context path '/policy/api/v1' 09:36:54 2024-02-19T09:36:54.585Z INFO 2867 --- [ main] o.o.policy.api.contract.ApiContractTest : Started ApiContractTest in 10.578 seconds (process running for 13.996) 09:36:54 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 09:36:55 2024-02-19T09:36:55.548Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:55 2024-02-19T09:36:55.556Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:55 2024-02-19T09:36:55.756Z INFO 2867 --- [o-auto-1-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 09:36:55 2024-02-19T09:36:55.757Z INFO 2867 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 09:36:55 2024-02-19T09:36:55.758Z INFO 2867 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 09:36:56 2024-02-19T09:36:56.105Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.108Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.259Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.261Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.406Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.408Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.534Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.536Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.663Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.665Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.790Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:56 2024-02-19T09:36:56.792Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:56.946Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:56.950Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.112Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.113Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.224Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.226Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.343Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.345Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.471Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.473Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.648Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.650Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.771Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:57 2024-02-19T09:36:57.772Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:57.931Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:57.932Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.050Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.053Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.176Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.177Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.318Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:36:58 2024-02-19T09:36:58.319Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:36:58 2024-02-19T09:36:58.450Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:36:58 2024-02-19T09:36:58.451Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:36:58 2024-02-19T09:36:58.583Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.584Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.695Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.699Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.820Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:58 2024-02-19T09:36:58.822Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:59 2024-02-19T09:36:58.955Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:59 2024-02-19T09:36:58.957Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:59 2024-02-19T09:36:59.077Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:59 2024-02-19T09:36:59.079Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:36:59 2024-02-19T09:36:59.201Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 09:36:59 2024-02-19T09:36:59.202Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 09:36:59 2024-02-19T09:36:59.214Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 09:36:59 2024-02-19T09:36:59.217Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 09:36:59 2024-02-19T09:36:59.219Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 09:36:59 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.56 s -- in org.onap.policy.api.contract.ApiContractTest 09:36:59 [INFO] Running org.onap.policy.api.main.rest.TestApiRestServer 09:36:59 09:36:59 . ____ _ __ _ _ 09:36:59 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 09:36:59 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 09:36:59 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 09:36:59 ' |____| .__|_| |_|_| |_\__, | / / / / 09:36:59 =========|_|==============|___/=/_/_/_/ 09:36:59 :: Spring Boot :: (v3.1.8) 09:36:59 09:36:59 2024-02-19T09:36:59.310Z WARN 2867 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 09:36:59 09:36:59 Found multiple occurrences of org.json.JSONObject on the class path: 09:36:59 09:36:59 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 09:36:59 jar:file:/home/jenkins/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 09:36:59 09:36:59 You may wish to exclude one of them to ensure predictable runtime behavior 09:36:59 09:36:59 2024-02-19T09:36:59.313Z INFO 2867 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Starting TestApiRestServer using Java 17.0.4 with PID 2867 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 09:36:59 2024-02-19T09:36:59.313Z INFO 2867 --- [ main] o.o.p.api.main.rest.TestApiRestServer : The following 2 profiles are active: "test", "default" 09:36:59 2024-02-19T09:36:59.608Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 09:36:59 2024-02-19T09:36:59.620Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 11 ms. Found 6 JPA repository interfaces. 09:36:59 2024-02-19T09:36:59.668Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:36:59 2024-02-19T09:36:59.669Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:36:59 2024-02-19T09:36:59.814Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 09:36:59 2024-02-19T09:36:59.815Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 09:36:59 2024-02-19T09:36:59.815Z INFO 2867 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 09:36:59 2024-02-19T09:36:59.833Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 09:36:59 2024-02-19T09:36:59.833Z INFO 2867 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 519 ms 09:37:00 2024-02-19T09:37:00.001Z INFO 2867 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 09:37:00 2024-02-19T09:37:00.003Z INFO 2867 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 09:37:00 2024-02-19T09:37:00.007Z INFO 2867 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 09:37:00 2024-02-19T09:37:00.007Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 09:37:00 2024-02-19T09:37:00.009Z INFO 2867 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn10: url=jdbc:h2:mem:testdb user=POLICY_USER 09:37:00 2024-02-19T09:37:00.009Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 09:37:00 2024-02-19T09:37:00.010Z WARN 2867 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 09:37:00 2024-02-19T09:37:00.622Z INFO 2867 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 09:37:00 2024-02-19T09:37:00.739Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 09:37:01 2024-02-19T09:37:01.062Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 09:37:01 2024-02-19T09:37:01.322Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 09:37:02 2024-02-19T09:37:01.927Z WARN 2867 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : 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 09:37:02 2024-02-19T09:37:01.966Z INFO 2867 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@49af06a8, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7e6aa937, org.springframework.security.web.context.SecurityContextHolderFilter@7ece5b70, org.springframework.security.web.header.HeaderWriterFilter@60a205d1, org.springframework.security.web.authentication.logout.LogoutFilter@60946afe, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1ad5a4fe, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7bb0216b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1c71bb06, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@19493f0e, org.springframework.security.web.access.ExceptionTranslationFilter@1c3f7328, org.springframework.security.web.access.intercept.AuthorizationFilter@aaf4e99] 09:37:02 2024-02-19T09:37:02.255Z INFO 2867 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 09:37:02 2024-02-19T09:37:02.302Z INFO 2867 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [policy@policy.onap.org] with trust store [null] 09:37:02 2024-02-19T09:37:02.304Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 45707 (https) with context path '/policy/api/v1' 09:37:02 2024-02-19T09:37:02.311Z INFO 2867 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Started TestApiRestServer in 3.055 seconds (process running for 21.722) 09:37:02 2024-02-19T09:37:02.322Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:02 2024-02-19T09:37:02.323Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:02 2024-02-19T09:37:02.345Z INFO 2867 --- [o-auto-2-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 09:37:02 2024-02-19T09:37:02.346Z INFO 2867 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 09:37:02 2024-02-19T09:37:02.347Z INFO 2867 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 09:37:02 2024-02-19T09:37:02.665Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:02 2024-02-19T09:37:02.666Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:02.933Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:02.934Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.163Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.164Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.433Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.434Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.711Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:03 2024-02-19T09:37:03.711Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:03.942Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:03.943Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:04.182Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:04 2024-02-19T09:37:04.183Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:04 2024-02-19T09:37:04.306Z INFO 2867 --- [o-auto-2-exec-7] o.o.p.c.u.services.OrderedServiceImpl : ***** OrderedServiceImpl implementers: 09:37:04 [] 09:37:04 2024-02-19T09:37:04.307Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatype.controlloop.Target":{"properties":{"targetType":{"type":"string","description":"Category for the target type","required":true,"constraints":[{"valid_values":["VNF","VM","VFMODULE","PNF"]}]},"entityIds":{"type":"map","description":"Map of values that identify the resource. If none are provided, it is assumed that the\nentity that generated the ONSET event will be the target.\n","required":false,"entry_schema":{"type":"string"},"metadata":{"clamp_possible_values":"ClampExecution:CSAR_RESOURCES"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root","description":"Definition for a entity in A&AI to perform a control loop operation on"},"onap.datatype.controlloop.Actor":{"properties":{"actor":{"type":"string","description":"The actor performing the operation.","required":true,"metadata":{"clamp_possible_values":"Dictionary:DefaultActors,ClampExecution:CDS/actor"}},"operation":{"type":"string","description":"The operation the actor is performing.","required":true,"metadata":{"clamp_possible_values":"Dictionary:DefaultOperations,ClampExecution:CDS/operation"}},"target":{"type":"onap.datatype.controlloop.Target","description":"The resource the operation should be performed on.","required":true},"payload":{"type":"map","description":"Name/value pairs of payload information passed by Policy to the actor","required":false,"entry_schema":{"type":"string"},"metadata":{"clamp_possible_values":"ClampExecution:CDS/payload"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root","description":"An actor/operation/target definition"},"onap.datatype.controlloop.Operation":{"properties":{"id":{"type":"string","description":"Unique identifier for the operation","required":true},"description":{"type":"string","description":"A user-friendly description of the intent for the operation","required":false},"operation":{"type":"onap.datatype.controlloop.Actor","description":"The definition of the operation to be performed.","required":true},"timeout":{"type":"integer","description":"The amount of time for the actor to perform the operation.","required":true},"retries":{"type":"integer","description":"The number of retries the actor should attempt to perform the operation.","default":0.0,"required":true},"success":{"type":"string","description":"Points to the operation to invoke on success. A value of \"final_success\" indicates and end to the operation.","default":"final_success","required":false},"failure":{"type":"string","description":"Points to the operation to invoke on Actor operation failure.","default":"final_failure","required":false},"failure_timeout":{"type":"string","description":"Points to the operation to invoke when the time out for the operation occurs.","default":"final_failure_timeout","required":false},"failure_retries":{"type":"string","description":"Points to the operation to invoke when the current operation has exceeded its max retries.","default":"final_failure_retries","required":false},"failure_exception":{"type":"string","description":"Points to the operation to invoke when the current operation causes an exception.","default":"final_failure_exception","required":false},"failure_guard":{"type":"string","description":"Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.","default":"final_failure_guard","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root","description":"An operation supported by an actor"}},"policy_types":{"onap.policies.controlloop.operational.Common":{"properties":{"id":{"type":"string","description":"The unique control loop id.","required":true},"timeout":{"type":"integer","description":"Overall timeout for executing all the operations. This timeout should equal or exceed the total\ntimeout for each operation listed.\n","required":true},"abatement":{"type":"boolean","description":"Whether an abatement event message will be expected for the control loop from DCAE.","default":false,"required":true},"trigger":{"type":"string","description":"Initial operation to execute upon receiving an Onset event message for the Control Loop.","required":true},"operations":{"type":"list","description":"List of operations to be performed when Control Loop is triggered.","required":true,"entry_schema":{"type":"onap.datatype.controlloop.Operation"}}},"name":"onap.policies.controlloop.operational.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant\nPolicy Types. This does NOT support the legacy Policy YAML policy type.\n"}},"name":"NULL","version":"0.0.0"} 09:37:04 2024-02-19T09:37:04.511Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:04.512Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:04.720Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:04.720Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:04 2024-02-19T09:37:04.817Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policies] 09:37:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"operational.restart":{"type":"onap.policies.controlloop.operational.common.Drools","type_version":"1.0.0","properties":{"id":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","timeout":3600.0,"abatement":true,"trigger":"unique-policy-id-1-restart","operations":[{"id":"unique-policy-id-1-restart","description":"Restart the VM","operation":{"actor":"APPC","operation":"Restart","target":{"targetType":"VNF"}},"timeout":1200.0,"retries":3.0,"success":"final_success","failure":"final_failure","failure_timeout":"final_failure_timeout","failure_retries":"final_failure_retries","failure_exception":"final_failure_exception","failure_guard":"final_failure_guard"}],"controllerName":"usecases"},"name":"operational.restart","version":"1.0.0","metadata":{"policy-id":"operational.restart","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:05 2024-02-19T09:37:05.089Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:05 2024-02-19T09:37:05.089Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:05 2024-02-19T09:37:05.184Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policies] 09:37:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"operational.restart":{"type":"onap.policies.controlloop.operational.common.Drools","type_version":"1.0.0","properties":{"id":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","timeout":3600.0,"abatement":true,"trigger":"unique-policy-id-1-restart","operations":[{"id":"unique-policy-id-1-restart","description":"Restart the VM","operation":{"actor":"APPC","operation":"Restart","target":{"targetType":"VNF"}},"timeout":1200.0,"retries":3.0,"success":"final_success","failure":"final_failure","failure_timeout":"final_failure_timeout","failure_retries":"final_failure_retries","failure_exception":"final_failure_exception","failure_guard":"final_failure_guard"}],"controllerName":"usecases"},"name":"operational.restart","version":"1.0.0","metadata":{"policy-id":"operational.restart","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:05 2024-02-19T09:37:05.394Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:05 2024-02-19T09:37:05.395Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:05 2024-02-19T09:37:05.611Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:05 2024-02-19T09:37:05.611Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:05 2024-02-19T09:37:05.854Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:05 2024-02-19T09:37:05.854Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:06 2024-02-19T09:37:05.960Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policies] 09:37:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"operational.restart":{"type":"onap.policies.controlloop.operational.common.Drools","type_version":"1.0.0","properties":{"id":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","timeout":3600.0,"abatement":true,"trigger":"unique-policy-id-1-restart","operations":[{"id":"unique-policy-id-1-restart","description":"Restart the VM","operation":{"actor":"APPC","operation":"Restart","target":{"targetType":"VNF"}},"timeout":1200.0,"retries":3.0,"success":"final_success","failure":"final_failure","failure_timeout":"final_failure_timeout","failure_retries":"final_failure_retries","failure_exception":"final_failure_exception","failure_guard":"final_failure_guard"}],"controllerName":"usecases"},"name":"operational.restart","version":"1.0.0","metadata":{"policy-id":"operational.restart","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:06 2024-02-19T09:37:06.158Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.158Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.357Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:06 2024-02-19T09:37:06.358Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:06 2024-02-19T09:37:06.569Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.570Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.692Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.693Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:06 2024-02-19T09:37:06.800Z WARN 2867 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 09:37:06 2024-02-19T09:37:06.852Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:06 2024-02-19T09:37:06.853Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:06 2024-02-19T09:37:06.964Z WARN 2867 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 09:37:07 2024-02-19T09:37:06.987Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:06.988Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.090Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:07 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:07 2024-02-19T09:37:07.381Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.382Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.476Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:07 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:07 2024-02-19T09:37:07.661Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.662Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.761Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:07 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:07 2024-02-19T09:37:07.944Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:07 2024-02-19T09:37:07.944Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.047Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:08 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:08 2024-02-19T09:37:08.221Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.221Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.319Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:08 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:08 2024-02-19T09:37:08.488Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.489Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.587Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:08 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:08 2024-02-19T09:37:08.765Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.766Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:08 2024-02-19T09:37:08.863Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:08 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:09 2024-02-19T09:37:09.036Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.036Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.132Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:09 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:09 2024-02-19T09:37:09.316Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.317Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.412Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:09 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:09 2024-02-19T09:37:09.604Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.605Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.704Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:09 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:09 2024-02-19T09:37:09.864Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:09 2024-02-19T09:37:09.865Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:09.965Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:10 2024-02-19T09:37:10.160Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.161Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.259Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:10 2024-02-19T09:37:10.463Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.463Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.559Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:10 2024-02-19T09:37:10.729Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.730Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:10 2024-02-19T09:37:10.839Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:11 2024-02-19T09:37:11.012Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.013Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.118Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:11 2024-02-19T09:37:11.296Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.297Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.398Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:11 2024-02-19T09:37:11.557Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.558Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:11 2024-02-19T09:37:11.659Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:11 2024-02-19T09:37:11.837Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:11 2024-02-19T09:37:11.838Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:11 2024-02-19T09:37:11.944Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:12 2024-02-19T09:37:12.126Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:12 2024-02-19T09:37:12.127Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:12 2024-02-19T09:37:12.227Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:12 2024-02-19T09:37:12.385Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:12 2024-02-19T09:37:12.386Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:12 2024-02-19T09:37:12.479Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:12 2024-02-19T09:37:12.639Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:12 2024-02-19T09:37:12.640Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:12 2024-02-19T09:37:12.741Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:12 2024-02-19T09:37:12.920Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:12 2024-02-19T09:37:12.921Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:13 2024-02-19T09:37:13.125Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.125Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.222Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:13 2024-02-19T09:37:13.389Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.390Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.490Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:13 2024-02-19T09:37:13.697Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.698Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:13 2024-02-19T09:37:13.799Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:14 2024-02-19T09:37:13.982Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:13.983Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.078Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:14 2024-02-19T09:37:14.231Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.231Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.327Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:14 2024-02-19T09:37:14.489Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.490Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.590Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:14 2024-02-19T09:37:14.778Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.779Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:14 2024-02-19T09:37:14.886Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:15 2024-02-19T09:37:15.046Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.047Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.144Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:15 2024-02-19T09:37:15.301Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.302Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.393Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:15 2024-02-19T09:37:15.549Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.550Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.642Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:15 2024-02-19T09:37:15.819Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.819Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:15 2024-02-19T09:37:15.915Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:16 2024-02-19T09:37:16.070Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.071Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.168Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:16 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:16 2024-02-19T09:37:16.344Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.344Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.443Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:16 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:16 2024-02-19T09:37:16.609Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.610Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.705Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:16 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:16 2024-02-19T09:37:16.868Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:16 2024-02-19T09:37:16.869Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:16.973Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:17 2024-02-19T09:37:17.129Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:17.129Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:17.228Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:17 2024-02-19T09:37:17.393Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:17.394Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:17.494Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:17 2024-02-19T09:37:17.649Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:17 2024-02-19T09:37:17.650Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:17 2024-02-19T09:37:17.748Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:17 2024-02-19T09:37:17.902Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:17 2024-02-19T09:37:17.903Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.003Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:18 2024-02-19T09:37:18.191Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:18 2024-02-19T09:37:18.192Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:18 2024-02-19T09:37:18.293Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:18 2024-02-19T09:37:18.442Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.442Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.544Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:18 2024-02-19T09:37:18.695Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.696Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.878Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:18 2024-02-19T09:37:18.879Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:18.980Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:19 2024-02-19T09:37:19.155Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.156Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.250Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:19 2024-02-19T09:37:19.403Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.404Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.508Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:19 2024-02-19T09:37:19.672Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.673Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.764Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:19 2024-02-19T09:37:19.929Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:19 2024-02-19T09:37:19.930Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.025Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:20 2024-02-19T09:37:20.176Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.177Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.271Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:20 2024-02-19T09:37:20.419Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.420Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.517Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:20 2024-02-19T09:37:20.674Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.674Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.773Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:20 2024-02-19T09:37:20.949Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:20 2024-02-19T09:37:20.950Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.043Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:21 2024-02-19T09:37:21.226Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.227Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.323Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:21 2024-02-19T09:37:21.477Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.478Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.574Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:21 2024-02-19T09:37:21.724Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.725Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.818Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:21 2024-02-19T09:37:21.968Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:21 2024-02-19T09:37:21.969Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.063Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:22 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:22 2024-02-19T09:37:22.224Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.225Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.320Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:22 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:22 2024-02-19T09:37:22.475Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.476Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.565Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:22 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:22 2024-02-19T09:37:22.714Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.714Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:22 2024-02-19T09:37:22.827Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:22 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:23 2024-02-19T09:37:22.987Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:23 2024-02-19T09:37:22.988Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:23 2024-02-19T09:37:23.080Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:23 2024-02-19T09:37:23.241Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:23 2024-02-19T09:37:23.242Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:23 2024-02-19T09:37:23.335Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:23 2024-02-19T09:37:23.486Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:23 2024-02-19T09:37:23.487Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:23 2024-02-19T09:37:23.588Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:23 2024-02-19T09:37:23.733Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:23 2024-02-19T09:37:23.734Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:23 2024-02-19T09:37:23.823Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:24 2024-02-19T09:37:23.981Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:23.982Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:24.081Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:24 2024-02-19T09:37:24.250Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:24 2024-02-19T09:37:24.251Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:24 2024-02-19T09:37:24.598Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:24.599Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:24.701Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:24 2024-02-19T09:37:24.865Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:24.866Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:24 2024-02-19T09:37:24.964Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:25 2024-02-19T09:37:25.138Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.138Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.230Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:25 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:25 2024-02-19T09:37:25.377Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.378Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.466Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:25 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:25 2024-02-19T09:37:25.638Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.638Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.739Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:25 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:25 2024-02-19T09:37:25.905Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:25 2024-02-19T09:37:25.906Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:25.998Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:26 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:26 2024-02-19T09:37:26.148Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.149Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.248Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:26 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:26 2024-02-19T09:37:26.403Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.403Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.496Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:26 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:26 2024-02-19T09:37:26.648Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.649Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.749Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:26 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:26 2024-02-19T09:37:26.899Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:26 2024-02-19T09:37:26.900Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:26.999Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:27 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:27 2024-02-19T09:37:27.154Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.155Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.258Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:27 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:27 2024-02-19T09:37:27.416Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.416Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.512Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:27 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:27 2024-02-19T09:37:27.666Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.668Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.768Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:27 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:27 2024-02-19T09:37:27.929Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:27 2024-02-19T09:37:27.930Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.027Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:28 2024-02-19T09:37:28.184Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.185Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.279Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:28 2024-02-19T09:37:28.443Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.443Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.538Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:28 2024-02-19T09:37:28.693Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.694Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:28 2024-02-19T09:37:28.792Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:28 2024-02-19T09:37:28.952Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:28 2024-02-19T09:37:28.953Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:29 2024-02-19T09:37:29.055Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:29 2024-02-19T09:37:29.223Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:29 2024-02-19T09:37:29.224Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:29 2024-02-19T09:37:29.334Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:29 2024-02-19T09:37:29.482Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:29 2024-02-19T09:37:29.483Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:29 2024-02-19T09:37:29.584Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:29 2024-02-19T09:37:29.741Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:29 2024-02-19T09:37:29.741Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:29 2024-02-19T09:37:29.840Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:29 2024-02-19T09:37:29.989Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:29 2024-02-19T09:37:29.990Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:30 2024-02-19T09:37:30.355Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:30 2024-02-19T09:37:30.356Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:30 2024-02-19T09:37:30.456Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policies] 09:37:30 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"OSDF_CASABLANCA.Affinity_Default":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":[],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_Default_US":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":["US"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default_US","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default_US","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":[],"geography":["US"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"different","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":["gold"],"services":["vCPE"],"resources":["vGMuxInfra","vG"],"geography":["US","INTERNATIONAL"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"availabilityZone"}},"name":"OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":["platinum"],"services":["vCPE"],"resources":["vGMuxInfra","vG"],"geography":["US","INTERNATIONAL"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"different","category":"availabilityZone"}},"name":"OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Capacity_vG_1":{"type":"onap.policies.optimization.resource.Vim_fit","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"capacity_vG","applicableResources":"any","capacityProperty":{"controller":"multicloud","request":"{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"}},"name":"OSDF_CASABLANCA.Capacity_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Capacity_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Capacity_vG_2":{"type":"onap.policies.optimization.resource.Vim_fit","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"capacity_vG","applicableResources":"any","capacityProperty":{"controller":"multicloud","request":"{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"}},"name":"OSDF_CASABLANCA.Capacity_vG_2","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Capacity_vG_2","policy-version":1.0}}},{"OSDF_CASABLANCA.Distance_vG_1":{"type":"onap.policies.optimization.resource.DistancePolicy","type_version":"1.0.0","properties":{"scope":["platinum"],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"distance-vG","applicableResources":"any","distanceProperties":{"locationInfo":"customer_loc","distance":{"value":1500.0,"operator":"<","unit":"km"}}},"name":"OSDF_CASABLANCA.Distance_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Distance_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.hpa_policy_Default":{"type":"onap.policies.optimization.resource.HpaPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":[],"identity":"hpa-vG","flavorFeatures":[{"id":"vg_1","type":"vnfc","directives":[{"type":"flavor_directives","attributes":[{"attribute_name":"flavor_label_vm_01","attribute_value":""}]}],"flavorProperties":[{"hpa-feature":"basicCapabilities","mandatory":true,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"numVirtualCpu","hpa-attribute-value":8.0,"operator":[">="],"unit":""},{"hpa-attribute-key":"virtualMemSize","hpa-attribute-value":6.0,"operator":["<="],"unit":""}]},{"hpa-feature":"ovsDpdk","mandatory":false,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"dataProcessingAccelerationLibrary","hpa-attribute-value":"ovsDpdk_version","operator":["="],"unit":""}]}]}]},"name":"OSDF_CASABLANCA.hpa_policy_Default","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.hpa_policy_Default","policy-version":1.0}}},{"OSDF_CASABLANCA.hpa_policy_vG_1":{"type":"onap.policies.optimization.resource.HpaPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE","vOtherService"],"resources":["vG"],"geography":[],"identity":"hpa-vG","flavorFeatures":[{"id":"vg_1","type":"vnfc","directives":[{"type":"flavor_directives","attributes":[{"attribute_name":"flavor_label_vm_01","attribute_value":""}]}],"flavorProperties":[{"hpa-feature":"basicCapabilities","mandatory":true,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"numVirtualCpu","hpa-attribute-value":6.0,"operator":[">="],"unit":""},{"hpa-attribute-key":"virtualMemSize","hpa-attribute-value":4.0,"operator":["<="],"unit":""}]},{"hpa-feature":"ovsDpdk","mandatory":false,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"dataProcessingAccelerationLibrary","hpa-attribute-value":"ovsDpdk_version","operator":["="],"unit":""}]}]}]},"name":"OSDF_CASABLANCA.hpa_policy_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.hpa_policy_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.queryPolicy_vCPE":{"type":"onap.policies.optimization.service.QueryPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"geography":["US","INTERNATIONAL"],"identity":"vCPE_Query_Policy","queryProperties":[{"attribute":"locationId","attribute_location":"customerLocation","value":""},{"attribute":"id","attribute_location":"vpnInfo.vpnId","value":""},{"attribute":"upstreamBW","attribute_location":"vpnInfo.upstreamBW","value":""},{"attribute":"customerLatitude","attribute_location":"customerLatitude","value":1.1},{"attribute":"customerLongitude","attribute_location":"customerLongitude","value":2.2}]},"name":"OSDF_CASABLANCA.queryPolicy_vCPE","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.queryPolicy_vCPE","policy-version":1.0}}},{"OSDF_CASABLANCA.SubscriberPolicy_v1":{"type":"onap.policies.optimization.service.SubscriberPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"identity":"subscriber_vCPE","subscriberProperties":{"subscriberName":["subscriber_x","subscriber_y"],"subscriberRole":["platinum"],"provStatus":["CAPPED"]}},"name":"OSDF_CASABLANCA.SubscriberPolicy_v1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.SubscriberPolicy_v1","policy-version":1.0}}},{"OSDF_CASABLANCA.SubscriberPolicy_v2":{"type":"onap.policies.optimization.service.SubscriberPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"identity":"subscriber_vCPE","subscriberProperties":{"subscriberName":["subscriber_a","subscriber_b"],"subscriberRole":["gold"],"provStatus":["CAPPED"]}},"name":"OSDF_CASABLANCA.SubscriberPolicy_v2","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.SubscriberPolicy_v2","policy-version":1.0}}},{"OSDF_CASABLANCA.vnfPolicy_vG":{"type":"onap.policies.optimization.resource.VnfPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"vnf_vG","applicableResources":"any","vnfProperties":[{"inventoryProvider":"aai","serviceType":"","inventoryType":"cloudRegionId","customerId":""}]},"name":"OSDF_CASABLANCA.vnfPolicy_vG","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.vnfPolicy_vG","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:30 2024-02-19T09:37:30.629Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:30 2024-02-19T09:37:30.629Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:30 2024-02-19T09:37:30.728Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policies] 09:37:30 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"OSDF_CASABLANCA.Affinity_Default":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":[],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_Default_US":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":["US"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default_US","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default_US","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":[],"geography":["US"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"different","category":"complex"}},"name":"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_Default_vCPE_US_0","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":["gold"],"services":["vCPE"],"resources":["vGMuxInfra","vG"],"geography":["US","INTERNATIONAL"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"same","category":"availabilityZone"}},"name":"OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_vCPE_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1":{"type":"onap.policies.optimization.resource.AffinityPolicy","type_version":"1.0.0","properties":{"scope":["platinum"],"services":["vCPE"],"resources":["vGMuxInfra","vG"],"geography":["US","INTERNATIONAL"],"identity":"affinity_vCPE","applicableResources":"any","affinityProperties":{"qualifier":"different","category":"availabilityZone"}},"name":"OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Affinity_vCPE_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Capacity_vG_1":{"type":"onap.policies.optimization.resource.Vim_fit","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"capacity_vG","applicableResources":"any","capacityProperty":{"controller":"multicloud","request":"{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"}},"name":"OSDF_CASABLANCA.Capacity_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Capacity_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.Capacity_vG_2":{"type":"onap.policies.optimization.resource.Vim_fit","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"capacity_vG","applicableResources":"any","capacityProperty":{"controller":"multicloud","request":"{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"}},"name":"OSDF_CASABLANCA.Capacity_vG_2","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Capacity_vG_2","policy-version":1.0}}},{"OSDF_CASABLANCA.Distance_vG_1":{"type":"onap.policies.optimization.resource.DistancePolicy","type_version":"1.0.0","properties":{"scope":["platinum"],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"distance-vG","applicableResources":"any","distanceProperties":{"locationInfo":"customer_loc","distance":{"value":1500.0,"operator":"<","unit":"km"}}},"name":"OSDF_CASABLANCA.Distance_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.Distance_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.hpa_policy_Default":{"type":"onap.policies.optimization.resource.HpaPolicy","type_version":"1.0.0","properties":{"scope":[],"services":[],"resources":[],"geography":[],"identity":"hpa-vG","flavorFeatures":[{"id":"vg_1","type":"vnfc","directives":[{"type":"flavor_directives","attributes":[{"attribute_name":"flavor_label_vm_01","attribute_value":""}]}],"flavorProperties":[{"hpa-feature":"basicCapabilities","mandatory":true,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"numVirtualCpu","hpa-attribute-value":8.0,"operator":[">="],"unit":""},{"hpa-attribute-key":"virtualMemSize","hpa-attribute-value":6.0,"operator":["<="],"unit":""}]},{"hpa-feature":"ovsDpdk","mandatory":false,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"dataProcessingAccelerationLibrary","hpa-attribute-value":"ovsDpdk_version","operator":["="],"unit":""}]}]}]},"name":"OSDF_CASABLANCA.hpa_policy_Default","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.hpa_policy_Default","policy-version":1.0}}},{"OSDF_CASABLANCA.hpa_policy_vG_1":{"type":"onap.policies.optimization.resource.HpaPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE","vOtherService"],"resources":["vG"],"geography":[],"identity":"hpa-vG","flavorFeatures":[{"id":"vg_1","type":"vnfc","directives":[{"type":"flavor_directives","attributes":[{"attribute_name":"flavor_label_vm_01","attribute_value":""}]}],"flavorProperties":[{"hpa-feature":"basicCapabilities","mandatory":true,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"numVirtualCpu","hpa-attribute-value":6.0,"operator":[">="],"unit":""},{"hpa-attribute-key":"virtualMemSize","hpa-attribute-value":4.0,"operator":["<="],"unit":""}]},{"hpa-feature":"ovsDpdk","mandatory":false,"architecture":"generic","directives":[],"hpa-feature-attributes":[{"hpa-attribute-key":"dataProcessingAccelerationLibrary","hpa-attribute-value":"ovsDpdk_version","operator":["="],"unit":""}]}]}]},"name":"OSDF_CASABLANCA.hpa_policy_vG_1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.hpa_policy_vG_1","policy-version":1.0}}},{"OSDF_CASABLANCA.queryPolicy_vCPE":{"type":"onap.policies.optimization.service.QueryPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"geography":["US","INTERNATIONAL"],"identity":"vCPE_Query_Policy","queryProperties":[{"attribute":"locationId","attribute_location":"customerLocation","value":""},{"attribute":"id","attribute_location":"vpnInfo.vpnId","value":""},{"attribute":"upstreamBW","attribute_location":"vpnInfo.upstreamBW","value":""},{"attribute":"customerLatitude","attribute_location":"customerLatitude","value":1.1},{"attribute":"customerLongitude","attribute_location":"customerLongitude","value":2.2}]},"name":"OSDF_CASABLANCA.queryPolicy_vCPE","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.queryPolicy_vCPE","policy-version":1.0}}},{"OSDF_CASABLANCA.SubscriberPolicy_v1":{"type":"onap.policies.optimization.service.SubscriberPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"identity":"subscriber_vCPE","subscriberProperties":{"subscriberName":["subscriber_x","subscriber_y"],"subscriberRole":["platinum"],"provStatus":["CAPPED"]}},"name":"OSDF_CASABLANCA.SubscriberPolicy_v1","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.SubscriberPolicy_v1","policy-version":1.0}}},{"OSDF_CASABLANCA.SubscriberPolicy_v2":{"type":"onap.policies.optimization.service.SubscriberPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"identity":"subscriber_vCPE","subscriberProperties":{"subscriberName":["subscriber_a","subscriber_b"],"subscriberRole":["gold"],"provStatus":["CAPPED"]}},"name":"OSDF_CASABLANCA.SubscriberPolicy_v2","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.SubscriberPolicy_v2","policy-version":1.0}}},{"OSDF_CASABLANCA.vnfPolicy_vG":{"type":"onap.policies.optimization.resource.VnfPolicy","type_version":"1.0.0","properties":{"scope":[],"services":["vCPE"],"resources":["vG"],"geography":["US","INTERNATIONAL"],"identity":"vnf_vG","applicableResources":"any","vnfProperties":[{"inventoryProvider":"aai","serviceType":"","inventoryType":"cloudRegionId","customerId":""}]},"name":"OSDF_CASABLANCA.vnfPolicy_vG","version":"1.0.0","metadata":{"policy-id":"OSDF_CASABLANCA.vnfPolicy_vG","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:30 2024-02-19T09:37:30.891Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:30 2024-02-19T09:37:30.892Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:30 2024-02-19T09:37:30.981Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policies] 09:37:30 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca.IDontExist":{"type":"IDontExist","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca.IDontExist","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca.IDontExist","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:31 2024-02-19T09:37:31.066Z WARN 2867 --- [o-auto-2-exec-2] o.o.p.a.main.rest.CommonRestController : POST /policies 09:37:31 2024-02-19T09:37:31.088Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.089Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.188Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:31 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:31 2024-02-19T09:37:31.354Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.355Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.440Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:31 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:31 2024-02-19T09:37:31.591Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.592Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.691Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:31 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:31 2024-02-19T09:37:31.845Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.846Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:31 2024-02-19T09:37:31.941Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:31 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:32 2024-02-19T09:37:32.102Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.103Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.197Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:32 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:32 2024-02-19T09:37:32.352Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.352Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.446Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:32 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:32 2024-02-19T09:37:32.600Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.601Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.687Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:32 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:32 2024-02-19T09:37:32.841Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.842Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:32 2024-02-19T09:37:32.934Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:32 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:33 2024-02-19T09:37:33.105Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.106Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.206Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:33 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:33 2024-02-19T09:37:33.366Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.366Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.464Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:33 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:33 2024-02-19T09:37:33.624Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.624Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.718Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:33 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:33 2024-02-19T09:37:33.882Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.883Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:33 2024-02-19T09:37:33.981Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:33 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:34 2024-02-19T09:37:34.138Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.138Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.233Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:34 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:34 2024-02-19T09:37:34.388Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.388Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.487Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:34 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:34 2024-02-19T09:37:34.647Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.648Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.748Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:34 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:34 2024-02-19T09:37:34.917Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:34 2024-02-19T09:37:34.918Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:35 2024-02-19T09:37:35.013Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:35 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:35 2024-02-19T09:37:35.163Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:35 2024-02-19T09:37:35.164Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:35 2024-02-19T09:37:35.254Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:35 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:35 2024-02-19T09:37:35.410Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:35 2024-02-19T09:37:35.411Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:35 2024-02-19T09:37:35.513Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:35 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:35 2024-02-19T09:37:35.670Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:35 2024-02-19T09:37:35.671Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:35 2024-02-19T09:37:35.763Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:35 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:35 2024-02-19T09:37:35.945Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:35 2024-02-19T09:37:35.946Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.041Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:36 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:36 2024-02-19T09:37:36.199Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:36 2024-02-19T09:37:36.199Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:36 2024-02-19T09:37:36.298Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:36 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:36 2024-02-19T09:37:36.452Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.453Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.638Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.639Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.750Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.751Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.873Z WARN 2867 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : GET /policies/onap.restart.tca/versions/1.0.0 09:37:36 2024-02-19T09:37:36.882Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.882Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:36 2024-02-19T09:37:36.981Z WARN 2867 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : DELETE /policies/onap.restart.tca/versions/1.0.0 09:37:37 2024-02-19T09:37:36.991Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:37 2024-02-19T09:37:36.991Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:37 2024-02-19T09:37:37.088Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:37 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:37 2024-02-19T09:37:37.251Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:37 2024-02-19T09:37:37.251Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:37 2024-02-19T09:37:37.347Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:37 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:37 2024-02-19T09:37:37.513Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:37 2024-02-19T09:37:37.514Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:37 2024-02-19T09:37:37.608Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:37 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:37 2024-02-19T09:37:37.764Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:37 2024-02-19T09:37:37.765Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:37 2024-02-19T09:37:37.867Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:37 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:38 2024-02-19T09:37:38.037Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:38 2024-02-19T09:37:38.037Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:38 2024-02-19T09:37:38.623Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:38 2024-02-19T09:37:38.624Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:38 2024-02-19T09:37:38.800Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:38 2024-02-19T09:37:38.800Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:38.986Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:38.986Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.175Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.176Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.295Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.296Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.388Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:39 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:39 2024-02-19T09:37:39.548Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:39 2024-02-19T09:37:39.548Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:39 2024-02-19T09:37:39.650Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:39 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:39 2024-02-19T09:37:39.808Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.809Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:39 2024-02-19T09:37:39.904Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:39 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:40 2024-02-19T09:37:40.077Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:40 2024-02-19T09:37:40.078Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:40 2024-02-19T09:37:40.175Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:40 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:40 2024-02-19T09:37:40.331Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:40 2024-02-19T09:37:40.332Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:40.918Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:40.919Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.097Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.098Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.274Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.275Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.452Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.452Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:41 2024-02-19T09:37:41.561Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:41 2024-02-19T09:37:41.561Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:41 2024-02-19T09:37:41.764Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:41 2024-02-19T09:37:41.765Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:43 2024-02-19T09:37:43.696Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:43 2024-02-19T09:37:43.697Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:43 2024-02-19T09:37:43.890Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:43 2024-02-19T09:37:43.891Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.056Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.057Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.244Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.245Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.386Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.387Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.524Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.524Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.665Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.666Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.838Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:44 2024-02-19T09:37:44.839Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:45 2024-02-19T09:37:45.006Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:45 2024-02-19T09:37:45.006Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:45 2024-02-19T09:37:45.178Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:45 2024-02-19T09:37:45.179Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:45 2024-02-19T09:37:45.354Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:45 2024-02-19T09:37:45.355Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:45 2024-02-19T09:37:45.566Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:45 2024-02-19T09:37:45.566Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.559Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.559Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.761Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.762Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.929Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:47 2024-02-19T09:37:47.929Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.137Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.138Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.281Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.281Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.433Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.434Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.573Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.573Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.764Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:48 2024-02-19T09:37:48.765Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:48.938Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:48.939Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.110Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.110Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.294Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.295Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.395Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:49 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:49 2024-02-19T09:37:49.579Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.579Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.674Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:49 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:49 2024-02-19T09:37:49.825Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.826Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:49 2024-02-19T09:37:49.928Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:49 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:50 2024-02-19T09:37:50.084Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.085Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.182Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:50 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:50 2024-02-19T09:37:50.339Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.339Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.438Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:50 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:50 2024-02-19T09:37:50.601Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.602Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.701Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:50 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:50 2024-02-19T09:37:50.874Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:50 2024-02-19T09:37:50.875Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:50.977Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:51 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:51 2024-02-19T09:37:51.150Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.151Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.252Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:51 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:51 2024-02-19T09:37:51.414Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.415Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.506Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:51 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:51 2024-02-19T09:37:51.668Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.669Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.766Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:51 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:51 2024-02-19T09:37:51.921Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:51 2024-02-19T09:37:51.921Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.021Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:52 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:52 2024-02-19T09:37:52.200Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.200Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.290Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:52 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:52 2024-02-19T09:37:52.444Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.444Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.542Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:52 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:52 2024-02-19T09:37:52.705Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.706Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:52 2024-02-19T09:37:52.804Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:52 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:53 2024-02-19T09:37:52.958Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:52.959Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:53.055Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:53 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:53 2024-02-19T09:37:53.210Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:53.210Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:53.302Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:53 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:53 2024-02-19T09:37:53.458Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:53.458Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:53 2024-02-19T09:37:53.557Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:53 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:53 2024-02-19T09:37:53.717Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:53 2024-02-19T09:37:53.717Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:53 2024-02-19T09:37:53.816Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:53 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:54 2024-02-19T09:37:53.982Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:54 2024-02-19T09:37:53.982Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:54 2024-02-19T09:37:54.084Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:54 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:54 2024-02-19T09:37:54.245Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:54 2024-02-19T09:37:54.245Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:54 2024-02-19T09:37:54.341Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:54 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:54 2024-02-19T09:37:54.493Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:54 2024-02-19T09:37:54.494Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:54 2024-02-19T09:37:54.589Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:54 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:37:54 2024-02-19T09:37:54.739Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:54 2024-02-19T09:37:54.740Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:55 2024-02-19T09:37:55.332Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.332Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.432Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:55 2024-02-19T09:37:55.594Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.595Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.687Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:37:55 2024-02-19T09:37:55.844Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.845Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:55 2024-02-19T09:37:55.931Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:37:56 2024-02-19T09:37:56.088Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.088Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.182Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:37:56 2024-02-19T09:37:56.340Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.340Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.432Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:37:56 2024-02-19T09:37:56.583Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.583Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.675Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:37:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:37:56 2024-02-19T09:37:56.828Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.828Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:56 2024-02-19T09:37:56.922Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:37:57 2024-02-19T09:37:57.079Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.080Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.177Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:37:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:37:57 2024-02-19T09:37:57.328Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.328Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.416Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:37:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:57 2024-02-19T09:37:57.565Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.566Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.659Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:37:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:57 2024-02-19T09:37:57.816Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.816Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:57 2024-02-19T09:37:57.903Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:58 2024-02-19T09:37:58.058Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.058Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.155Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:37:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:58 2024-02-19T09:37:58.312Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.313Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.406Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:37:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:58 2024-02-19T09:37:58.561Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.562Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.654Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:37:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:58 2024-02-19T09:37:58.808Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.809Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:58 2024-02-19T09:37:58.900Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:37:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:37:59 2024-02-19T09:37:59.052Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.052Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.145Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:37:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:59 2024-02-19T09:37:59.300Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.301Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.390Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:37:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:37:59 2024-02-19T09:37:59.543Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:59 2024-02-19T09:37:59.544Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:37:59 2024-02-19T09:37:59.639Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:37:59 2024-02-19T09:37:59.789Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.790Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:37:59 2024-02-19T09:37:59.883Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:37:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:00 2024-02-19T09:38:00.036Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:00 2024-02-19T09:38:00.037Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:00 2024-02-19T09:38:00.131Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:00 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:00 2024-02-19T09:38:00.281Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:00 2024-02-19T09:38:00.282Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:00 2024-02-19T09:38:00.378Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:00 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:00 2024-02-19T09:38:00.525Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:00 2024-02-19T09:38:00.526Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.117Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.117Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.207Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:01 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"NULL","version":"6.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.cdap.tca.hi.lo.app":{"properties":{"tca_policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"NULL","version":"6.0.1-snapshot","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:01 2024-02-19T09:38:01.366Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.366Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.462Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policies] 09:38:01 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.mytca":{"type":"onap.policies.monitoring.cdap.tca.hi.lo.app","type_version":"6.0.1-snapshot","properties":{"tca_policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"NULL","version":"6.0.1-snapshot","metadata":{"policy-id":"onap.restart.mytca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:01 2024-02-19T09:38:01.619Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:01 2024-02-19T09:38:01.619Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:01 2024-02-19T09:38:01.714Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:01 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:01 2024-02-19T09:38:01.873Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:01 2024-02-19T09:38:01.874Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:01.970Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:02 2024-02-19T09:38:02.122Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:02 2024-02-19T09:38:02.122Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:02 2024-02-19T09:38:02.213Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:02 2024-02-19T09:38:02.365Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.365Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.461Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:02 2024-02-19T09:38:02.616Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.617Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.709Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"IDontExist","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:02 2024-02-19T09:38:02.740Z WARN 2867 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : POST /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 09:38:02 2024-02-19T09:38:02.755Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.756Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:02 2024-02-19T09:38:02.852Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:03 2024-02-19T09:38:03.008Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.008Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.102Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:03 2024-02-19T09:38:03.254Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.255Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.351Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:38:03 2024-02-19T09:38:03.504Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.504Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.599Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:38:03 2024-02-19T09:38:03.748Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.748Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:03 2024-02-19T09:38:03.842Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:38:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:38:04 2024-02-19T09:38:03.991Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:03.992Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.084Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:38:04 2024-02-19T09:38:04.247Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.247Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.345Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:38:04 2024-02-19T09:38:04.504Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.504Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.596Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:38:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:38:04 2024-02-19T09:38:04.749Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.749Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:04 2024-02-19T09:38:04.848Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:05 2024-02-19T09:38:05.019Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.019Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.121Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:05 2024-02-19T09:38:05.281Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.282Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.376Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:05 2024-02-19T09:38:05.530Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.530Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.625Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:05 2024-02-19T09:38:05.781Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.782Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:05 2024-02-19T09:38:05.874Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:06 2024-02-19T09:38:06.025Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.025Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.119Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:38:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:06 2024-02-19T09:38:06.271Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.271Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.360Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:06 2024-02-19T09:38:06.515Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.515Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.609Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:06 2024-02-19T09:38:06.761Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.762Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:06 2024-02-19T09:38:06.855Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:07 2024-02-19T09:38:07.006Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:07 2024-02-19T09:38:07.006Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.002Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.003Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.094Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:38:09 {"name":"NULL","version":"0.0.0"} 09:38:09 2024-02-19T09:38:09.095Z WARN 2867 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : POST /policytypes 09:38:09 2024-02-19T09:38:09.110Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.110Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.222Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:09 2024-02-19T09:38:09.223Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:09 2024-02-19T09:38:09.334Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.334Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.434Z WARN 2867 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 09:38:09 2024-02-19T09:38:09.441Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:09 2024-02-19T09:38:09.441Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:09 2024-02-19T09:38:09.534Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:09 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Test":{"properties":{"scope":{"type":"list","description":"Scope for the policy - could be for a specific release.","required":true,"entry_schema":{"type":"string"},"metadata":{"matchable":"true"}},"geography":{"type":"list","description":"One or more geographic regions","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["US","International"]}]},"metadata":{"matchable":"true"}},"identity":{"type":"string","description":"Used internally for identification","required":true}},"name":"NULL","version":"1.0.0","derived_from":"tosca.policies.Root","description":"The base policy type for all policies that govern optimization"}},"name":"NULL","version":"0.0.0"} 09:38:09 2024-02-19T09:38:09.685Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.685Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.829Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.830Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.940Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:09 2024-02-19T09:38:09.940Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:10 2024-02-19T09:38:10.066Z WARN 2867 --- [o-auto-2-exec-1] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 09:38:10 2024-02-19T09:38:10.080Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.081Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.180Z WARN 2867 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 09:38:10 2024-02-19T09:38:10.189Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.189Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.283Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Test":{"properties":{"scope":{"type":"list","description":"Scope for the policy - could be for a specific release.","required":true,"entry_schema":{"type":"string"},"metadata":{"matchable":"true"}},"geography":{"type":"list","description":"One or more geographic regions","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["US","International"]}]},"metadata":{"matchable":"true"}},"identity":{"type":"string","description":"Used internally for identification","required":true}},"name":"NULL","version":"1.0.0","derived_from":"tosca.policies.Root","description":"The base policy type for all policies that govern optimization"}},"name":"NULL","version":"0.0.0"} 09:38:10 2024-02-19T09:38:10.437Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.437Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.567Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.567Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.679Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.679Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.802Z WARN 2867 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 09:38:10 2024-02-19T09:38:10.817Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.817Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:10 2024-02-19T09:38:10.907Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:10 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:11 2024-02-19T09:38:11.066Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.067Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.163Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:11 2024-02-19T09:38:11.323Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.323Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.410Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:38:11 2024-02-19T09:38:11.563Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.564Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.656Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:38:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:38:11 2024-02-19T09:38:11.816Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.816Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:11 2024-02-19T09:38:11.917Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:11 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:38:12 2024-02-19T09:38:12.069Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.070Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.163Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:38:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:38:12 2024-02-19T09:38:12.324Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.324Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.418Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:38:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:38:12 2024-02-19T09:38:12.570Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.570Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.673Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:38:12 2024-02-19T09:38:12.828Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.829Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:12 2024-02-19T09:38:12.935Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:12 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:13 2024-02-19T09:38:13.086Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.086Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.181Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:13 2024-02-19T09:38:13.340Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.340Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.433Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:38:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:13 2024-02-19T09:38:13.595Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.595Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.695Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:13 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:13 2024-02-19T09:38:13.866Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:13 2024-02-19T09:38:13.867Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:13.964Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:14 2024-02-19T09:38:14.122Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.122Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.208Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:38:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:14 2024-02-19T09:38:14.363Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.363Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.454Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:14 2024-02-19T09:38:14.605Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.605Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.700Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:14 2024-02-19T09:38:14.868Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:14 2024-02-19T09:38:14.868Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:15 2024-02-19T09:38:14.953Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:15 2024-02-19T09:38:15.107Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:15 2024-02-19T09:38:15.107Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:15 2024-02-19T09:38:15.202Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:15 2024-02-19T09:38:15.354Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:15 2024-02-19T09:38:15.355Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:15 2024-02-19T09:38:15.444Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:15 2024-02-19T09:38:15.592Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:15 2024-02-19T09:38:15.592Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:15 2024-02-19T09:38:15.688Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:15 2024-02-19T09:38:15.844Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:15 2024-02-19T09:38:15.845Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:15 2024-02-19T09:38:15.943Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:15 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:16 2024-02-19T09:38:16.104Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.105Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.211Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.212Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.340Z WARN 2867 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 09:38:16 2024-02-19T09:38:16.349Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.349Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.480Z WARN 2867 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 09:38:16 2024-02-19T09:38:16.488Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.489Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:16 2024-02-19T09:38:16.622Z WARN 2867 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 09:38:16 2024-02-19T09:38:16.638Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:16 2024-02-19T09:38:16.639Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:16 2024-02-19T09:38:16.736Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:16 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:16 2024-02-19T09:38:16.918Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:16 2024-02-19T09:38:16.919Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.012Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:38:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 09:38:17 2024-02-19T09:38:17.160Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.160Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.254Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 09:38:17 2024-02-19T09:38:17.406Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.407Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.507Z INFO 2867 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 09:38:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 09:38:17 2024-02-19T09:38:17.669Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.670Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.761Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:17 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 09:38:17 2024-02-19T09:38:17.913Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:17 2024-02-19T09:38:17.913Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.024Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 09:38:18 2024-02-19T09:38:18.175Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.176Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.275Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 09:38:18 2024-02-19T09:38:18.432Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.432Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.526Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 09:38:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 09:38:18 2024-02-19T09:38:18.688Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.688Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.787Z INFO 2867 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 09:38:18 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:18 2024-02-19T09:38:18.952Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:18 2024-02-19T09:38:18.952Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.047Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 09:38:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:19 2024-02-19T09:38:19.221Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.222Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.314Z INFO 2867 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 09:38:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:19 2024-02-19T09:38:19.468Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.468Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.566Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 09:38:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:19 2024-02-19T09:38:19.718Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.718Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:19 2024-02-19T09:38:19.815Z INFO 2867 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 09:38:19 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:20 2024-02-19T09:38:19.976Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:19.976Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.070Z INFO 2867 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 09:38:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:20 2024-02-19T09:38:20.234Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.235Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.327Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 09:38:20 2024-02-19T09:38:20.477Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.477Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.568Z INFO 2867 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 09:38:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:20 2024-02-19T09:38:20.721Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.721Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:20 2024-02-19T09:38:20.821Z INFO 2867 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 09:38:20 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 09:38:21 2024-02-19T09:38:20.974Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:21 2024-02-19T09:38:20.974Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:21 2024-02-19T09:38:21.068Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:21 2024-02-19T09:38:21.255Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:21 2024-02-19T09:38:21.255Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:21 2024-02-19T09:38:21.344Z INFO 2867 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 09:38:21 2024-02-19T09:38:21.503Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:21 2024-02-19T09:38:21.503Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:21 2024-02-19T09:38:21.592Z INFO 2867 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:21 2024-02-19T09:38:21.742Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:21 2024-02-19T09:38:21.743Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:21 2024-02-19T09:38:21.837Z INFO 2867 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 09:38:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 09:38:22 2024-02-19T09:38:21.987Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:21.987Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.101Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.101Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.226Z WARN 2867 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 09:38:22 2024-02-19T09:38:22.233Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.234Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.359Z WARN 2867 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 09:38:22 2024-02-19T09:38:22.367Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.367Z INFO 2867 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 09:38:22 2024-02-19T09:38:22.508Z WARN 2867 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 09:38:22 2024-02-19T09:38:22.522Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:22 2024-02-19T09:38:22.523Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:22 2024-02-19T09:38:22.822Z WARN 2867 --- [o-auto-2-exec-1] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.rest.NodeTemplateController 09:38:23 2024-02-19T09:38:23.515Z WARN 2867 --- [o-auto-2-exec-1] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.rest.ApiRestController 09:38:26 2024-02-19T09:38:25.998Z INFO 2867 --- [o-auto-2-exec-1] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 3375 ms 09:38:26 2024-02-19T09:38:26.044Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 09:38:26 2024-02-19T09:38:26.045Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 09:38:26 2024-02-19T09:38:26.058Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 09:38:26 2024-02-19T09:38:26.059Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 09:38:26 2024-02-19T09:38:26.060Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. 09:38:26 [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.83 s -- in org.onap.policy.api.main.rest.TestApiRestServer 09:38:26 [INFO] Running org.onap.policy.api.main.rest.TestCommonRestController 09:38:26 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in org.onap.policy.api.main.rest.TestCommonRestController 09:38:26 [INFO] Running org.onap.policy.api.main.rest.TestNodeTemplateController 09:38:26 09:38:26 . ____ _ __ _ _ 09:38:26 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 09:38:26 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 09:38:26 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 09:38:26 ' |____| .__|_| |_|_| |_\__, | / / / / 09:38:26 =========|_|==============|___/=/_/_/_/ 09:38:26 :: Spring Boot :: (v3.1.8) 09:38:26 09:38:26 2024-02-19T09:38:26.104Z WARN 2867 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 09:38:26 09:38:26 Found multiple occurrences of org.json.JSONObject on the class path: 09:38:26 09:38:26 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 09:38:26 jar:file:/home/jenkins/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 09:38:26 09:38:26 You may wish to exclude one of them to ensure predictable runtime behavior 09:38:26 09:38:26 2024-02-19T09:38:26.105Z INFO 2867 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Starting TestNodeTemplateController using Java 17.0.4 with PID 2867 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 09:38:26 2024-02-19T09:38:26.105Z INFO 2867 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : The following 2 profiles are active: "test", "default" 09:38:26 2024-02-19T09:38:26.284Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 09:38:26 2024-02-19T09:38:26.292Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 6 JPA repository interfaces. 09:38:26 2024-02-19T09:38:26.323Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:38:26 2024-02-19T09:38:26.324Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:38:26 2024-02-19T09:38:26.380Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 09:38:26 2024-02-19T09:38:26.380Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 09:38:26 2024-02-19T09:38:26.380Z INFO 2867 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 09:38:26 2024-02-19T09:38:26.393Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 09:38:26 2024-02-19T09:38:26.393Z INFO 2867 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 287 ms 09:38:26 2024-02-19T09:38:26.473Z INFO 2867 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 09:38:26 2024-02-19T09:38:26.475Z INFO 2867 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 09:38:26 2024-02-19T09:38:26.478Z INFO 2867 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 09:38:26 2024-02-19T09:38:26.478Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 09:38:26 2024-02-19T09:38:26.480Z INFO 2867 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=POLICY_USER 09:38:26 2024-02-19T09:38:26.480Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 09:38:26 2024-02-19T09:38:26.480Z WARN 2867 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 09:38:26 2024-02-19T09:38:26.851Z INFO 2867 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 09:38:26 2024-02-19T09:38:26.908Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 09:38:27 2024-02-19T09:38:27.152Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 09:38:27 2024-02-19T09:38:27.277Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 09:38:27 2024-02-19T09:38:27.609Z WARN 2867 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : 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 09:38:27 2024-02-19T09:38:27.644Z INFO 2867 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1f264e31, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@471c0bce, org.springframework.security.web.context.SecurityContextHolderFilter@2831d88d, org.springframework.security.web.header.HeaderWriterFilter@2a83ece5, org.springframework.security.web.authentication.logout.LogoutFilter@6b61463d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@42034c2f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7faadc32, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7863259b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@bcd309a, org.springframework.security.web.access.ExceptionTranslationFilter@6f0d1864, org.springframework.security.web.access.intercept.AuthorizationFilter@7e17af60] 09:38:27 2024-02-19T09:38:27.888Z INFO 2867 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 09:38:27 2024-02-19T09:38:27.930Z INFO 2867 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [policy@policy.onap.org] with trust store [null] 09:38:27 2024-02-19T09:38:27.931Z INFO 2867 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 44203 (https) with context path '/policy/api/v1' 09:38:27 2024-02-19T09:38:27.936Z INFO 2867 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Started TestNodeTemplateController in 1.853 seconds (process running for 107.347) 09:38:27 2024-02-19T09:38:27.945Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:27 2024-02-19T09:38:27.950Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:27 2024-02-19T09:38:27.966Z INFO 2867 --- [o-auto-3-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 09:38:27 2024-02-19T09:38:27.966Z INFO 2867 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 09:38:27 2024-02-19T09:38:27.968Z INFO 2867 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 09:38:28 2024-02-19T09:38:28.128Z INFO 2867 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] 09:38:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","node_types":{"org.onap.nodetypes.policy.MetadataSet":{"name":"NULL","version":"1.0.0","derived_from":"tosca.nodetypes.Root"}},"topology_template":{"node_templates":{"apexMetadata_grpc":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"GrpcPolicyModel","version":"1.0.1"}},"threshold":3.14,"state":"active"},"description":"Metadata set for GRPC"},"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.1"}},"radius":1.23,"height":2.13,"length":45.0},"description":"Metadata set for an Adaptive Policy"},"apexMetadata_decisionMaker":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"DecisionMakerPolicyModel","version":"1.0.0"},"keyInformation":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"UUID":"4ea21a2c-5dc7-337f-ba13-f427a4ae79a1","description":"Generated description for concept referred to by key \"AnswerAlbum:0.0.1\""}},{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"UUID":"ce2233b8-bb89-3c5e-a18f-1d13089d2bb6","description":"Generated description for concept referred to by key \"AnswerEvent:0.0.1\""}},{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"UUID":"c8254064-b171-3ccb-85c0-29b5719ee8fc","description":"Generated description for concept referred to by key \"AnswerInitPolicy:0.0.1\""}},{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"UUID":"28fb33d2-a4e0-3046-8302-7baf9a2056d1","description":"Generated description for concept referred to by key \"AnswerInitTask:0.0.1\""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"UUID":"487acc75-b5a1-3285-90cf-98ecd6fb3500","description":"Generated description for concept referred to by key \"DecisionEvent:0.0.1\""}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"UUID":"9e8dda9a-6f85-311d-842b-00b5b5578edd","description":"Generated description for concept referred to by key \"DecisionMakerPolicy:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"UUID":"d7789464-e4d1-382e-8481-fba53fa7b9a9","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"UUID":"e5dfbadd-5229-3ad9-996c-eda030ef5dc1","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Albums:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"UUID":"b4248202-ff8e-3d45-8b3d-0ed0fd2eaed4","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Events:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"UUID":"693b1b29-c4c6-34ba-98e1-bc1a7576f0f8","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_KeyInfo:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"UUID":"2dee1e42-9caa-32b1-9298-784dcdcb9cae","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Policies:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"UUID":"c256f102-2681-3f35-bbbd-1f4948587e15","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Schemas:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"UUID":"660cbdba-687d-3a05-ba26-69daf93a8158","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Tasks:0.0.1\""}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"UUID":"da31cee8-2e84-39d2-9337-9ee3bf347c98","description":"Generated description for concept referred to by key \"DitheringAnswerTask:0.0.1\""}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"UUID":"21399145-3fbe-39a5-b863-8a59a8add4a8","description":"Generated description for concept referred to by key \"LastAnswerAlbum:0.0.1\""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"UUID":"02ec632a-aeae-31fe-8f6d-656e1875749f","description":"Generated description for concept referred to by key \"MakeDecisionEvent:0.0.1\""}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"UUID":"818e6b9e-0109-31f5-a95c-17f6fb016027","description":"Generated description for concept referred to by key \"OptimisticAnswerTask:0.0.1\""}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"UUID":"8f4a707e-0d8b-3e09-b921-332f6f81f302","description":"Generated description for concept referred to by key \"PessimisticAnswerTask:0.0.1\""}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"UUID":"bfb0af88-b454-3b08-911f-7ff2475350bf","description":"Generated description for concept referred to by key \"RandomAnswerTask:0.0.1\""}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"UUID":"eac6fb59-8aca-3011-b7ba-69875f1db4b6","description":"Generated description for concept referred to by key \"RoundRobinAnswerTask:0.0.1\""}},{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"UUID":"ab00a5b8-7edd-340f-8140-4d14f571edfb","description":"Generated description for concept referred to by key \"SimpleIntegerType: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\""}}]}},"policies":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"AnswerInitPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"AnswerInitState","value":{"stateKey":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"AnswerInitState"},"trigger":{"name":"AnswerEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AnswerInitOutput","value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"},"outgoingEvent":{"name":"AnswerEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"AnswerEvent","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":"AnswerInitTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"}}}]}}}]},"firstState":"AnswerInitState"}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"DecisionMakerPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"MakeDecisionState","value":{"stateKey":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"MakeDecisionState"},"trigger":{"name":"MakeDecisionEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"DecisionFinalOutput","value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"},"outgoingEvent":{"name":"DecisionEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"DecisionEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"TaskSelectionLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nif (executor.inFields.get(\"mode\").equals(\"random\")) {\n executor.subject.getTaskKey(\"RandomAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"pessimistic\")) {\n executor.subject.getTaskKey(\"PessimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"optimistic\")) {\n executor.subject.getTaskKey(\"OptimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"dithering\")) {\n executor.subject.getTaskKey(\"DitheringAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"roundrobin\")) {\n executor.subject.getTaskKey(\"RoundRobinAnswerTask\").copyTo(executor.selectedTask);\n}\n\nexecutor.logger.info(\"Answer Selected Task:\" + executor.selectedTask);\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"RandomAnswerTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}}]}}}]},"firstState":"MakeDecisionState"}}]}},"tasks":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"inputEvent":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"AnswerEvent","value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar answerAlbum = executor.getContextAlbum(\"AnswerAlbum\");\n\nanswerAlbum.put(\"a0\", executor.inFields.get(\"a0\"));\nanswerAlbum.put(\"a1\", executor.inFields.get(\"a1\"));\nanswerAlbum.put(\"a2\", executor.inFields.get(\"a2\"));\nanswerAlbum.put(\"a3\", executor.inFields.get(\"a3\"));\nanswerAlbum.put(\"a4\", executor.inFields.get(\"a4\"));\nanswerAlbum.put(\"a5\", executor.inFields.get(\"a5\"));\nanswerAlbum.put(\"a6\", executor.inFields.get(\"a6\"));\n\nvar lastAnswerAlbum = executor.getContextAlbum(\"LastAnswerAlbum\");\nlastAnswerAlbum.put(\"lastAnswer\", answerAlbum.size() - 1);\n\nexecutor.outFields.put(\"a0\", answerAlbum.get(\"a0\"));\nexecutor.outFields.put(\"a1\", answerAlbum.get(\"a1\"));\nexecutor.outFields.put(\"a2\", answerAlbum.get(\"a2\"));\nexecutor.outFields.put(\"a3\", answerAlbum.get(\"a3\"));\nexecutor.outFields.put(\"a4\", answerAlbum.get(\"a4\"));\nexecutor.outFields.put(\"a5\", answerAlbum.get(\"a5\"));\nexecutor.outFields.put(\"a6\", answerAlbum.get(\"a6\"));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = 2 + Math.floor(Math.random() * 3);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = size - Math.floor(Math.random() * size / 2) - 1;\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size / 2);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\nvar lastAnswer = executor.getContextAlbum(\"LastAnswerAlbum\").get(\"lastAnswer\");\n\nexecutor.logger.info(size);\nexecutor.logger.info(lastAnswer);\n\nvar answer = ++lastAnswer;\nif (answer >= size) {\n answer = 0;\n}\n\nexecutor.getContextAlbum(\"LastAnswerAlbum\").put(\"lastAnswer\", answer)\n\nvar selectionA = \"a\" + answer;\n\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}}]}},"events":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]}},"albums":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleStringType","version":"0.0.1"}}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleIntegerType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Integer"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:28 2024-02-19T09:38:28.287Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.287Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.396Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.396Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.503Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.504Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.600Z WARN 2867 --- [o-auto-3-exec-2] o.o.p.a.main.rest.CommonRestController : DELETE /nodetemplates/invalid_template/versions/1.0.0 09:38:28 2024-02-19T09:38:28.628Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.628Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.723Z INFO 2867 --- [o-auto-3-exec-1] network : [IN|REST|/nodetemplates] 09:38:28 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","node_types":{"org.onap.nodetypes.policy.MetadataSet":{"name":"NULL","version":"1.0.0","derived_from":"tosca.nodetypes.Root"}},"topology_template":{"node_templates":{"apexMetadata_grpc":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"GrpcPolicyModel","version":"1.0.1"}},"threshold":3.14,"state":"active"},"description":"Metadata set for GRPC"},"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.1"}},"radius":1.23,"height":2.13,"length":45.0},"description":"Metadata set for an Adaptive Policy"},"apexMetadata_decisionMaker":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"DecisionMakerPolicyModel","version":"1.0.0"},"keyInformation":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"UUID":"4ea21a2c-5dc7-337f-ba13-f427a4ae79a1","description":"Generated description for concept referred to by key \"AnswerAlbum:0.0.1\""}},{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"UUID":"ce2233b8-bb89-3c5e-a18f-1d13089d2bb6","description":"Generated description for concept referred to by key \"AnswerEvent:0.0.1\""}},{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"UUID":"c8254064-b171-3ccb-85c0-29b5719ee8fc","description":"Generated description for concept referred to by key \"AnswerInitPolicy:0.0.1\""}},{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"UUID":"28fb33d2-a4e0-3046-8302-7baf9a2056d1","description":"Generated description for concept referred to by key \"AnswerInitTask:0.0.1\""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"UUID":"487acc75-b5a1-3285-90cf-98ecd6fb3500","description":"Generated description for concept referred to by key \"DecisionEvent:0.0.1\""}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"UUID":"9e8dda9a-6f85-311d-842b-00b5b5578edd","description":"Generated description for concept referred to by key \"DecisionMakerPolicy:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"UUID":"d7789464-e4d1-382e-8481-fba53fa7b9a9","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"UUID":"e5dfbadd-5229-3ad9-996c-eda030ef5dc1","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Albums:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"UUID":"b4248202-ff8e-3d45-8b3d-0ed0fd2eaed4","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Events:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"UUID":"693b1b29-c4c6-34ba-98e1-bc1a7576f0f8","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_KeyInfo:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"UUID":"2dee1e42-9caa-32b1-9298-784dcdcb9cae","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Policies:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"UUID":"c256f102-2681-3f35-bbbd-1f4948587e15","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Schemas:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"UUID":"660cbdba-687d-3a05-ba26-69daf93a8158","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Tasks:0.0.1\""}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"UUID":"da31cee8-2e84-39d2-9337-9ee3bf347c98","description":"Generated description for concept referred to by key \"DitheringAnswerTask:0.0.1\""}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"UUID":"21399145-3fbe-39a5-b863-8a59a8add4a8","description":"Generated description for concept referred to by key \"LastAnswerAlbum:0.0.1\""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"UUID":"02ec632a-aeae-31fe-8f6d-656e1875749f","description":"Generated description for concept referred to by key \"MakeDecisionEvent:0.0.1\""}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"UUID":"818e6b9e-0109-31f5-a95c-17f6fb016027","description":"Generated description for concept referred to by key \"OptimisticAnswerTask:0.0.1\""}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"UUID":"8f4a707e-0d8b-3e09-b921-332f6f81f302","description":"Generated description for concept referred to by key \"PessimisticAnswerTask:0.0.1\""}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"UUID":"bfb0af88-b454-3b08-911f-7ff2475350bf","description":"Generated description for concept referred to by key \"RandomAnswerTask:0.0.1\""}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"UUID":"eac6fb59-8aca-3011-b7ba-69875f1db4b6","description":"Generated description for concept referred to by key \"RoundRobinAnswerTask:0.0.1\""}},{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"UUID":"ab00a5b8-7edd-340f-8140-4d14f571edfb","description":"Generated description for concept referred to by key \"SimpleIntegerType: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\""}}]}},"policies":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"AnswerInitPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"AnswerInitState","value":{"stateKey":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"AnswerInitState"},"trigger":{"name":"AnswerEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AnswerInitOutput","value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"},"outgoingEvent":{"name":"AnswerEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"AnswerEvent","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":"AnswerInitTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"}}}]}}}]},"firstState":"AnswerInitState"}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"DecisionMakerPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"MakeDecisionState","value":{"stateKey":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"MakeDecisionState"},"trigger":{"name":"MakeDecisionEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"DecisionFinalOutput","value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"},"outgoingEvent":{"name":"DecisionEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"DecisionEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"TaskSelectionLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nif (executor.inFields.get(\"mode\").equals(\"random\")) {\n executor.subject.getTaskKey(\"RandomAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"pessimistic\")) {\n executor.subject.getTaskKey(\"PessimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"optimistic\")) {\n executor.subject.getTaskKey(\"OptimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"dithering\")) {\n executor.subject.getTaskKey(\"DitheringAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"roundrobin\")) {\n executor.subject.getTaskKey(\"RoundRobinAnswerTask\").copyTo(executor.selectedTask);\n}\n\nexecutor.logger.info(\"Answer Selected Task:\" + executor.selectedTask);\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"RandomAnswerTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}}]}}}]},"firstState":"MakeDecisionState"}}]}},"tasks":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"inputEvent":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"AnswerEvent","value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar answerAlbum = executor.getContextAlbum(\"AnswerAlbum\");\n\nanswerAlbum.put(\"a0\", executor.inFields.get(\"a0\"));\nanswerAlbum.put(\"a1\", executor.inFields.get(\"a1\"));\nanswerAlbum.put(\"a2\", executor.inFields.get(\"a2\"));\nanswerAlbum.put(\"a3\", executor.inFields.get(\"a3\"));\nanswerAlbum.put(\"a4\", executor.inFields.get(\"a4\"));\nanswerAlbum.put(\"a5\", executor.inFields.get(\"a5\"));\nanswerAlbum.put(\"a6\", executor.inFields.get(\"a6\"));\n\nvar lastAnswerAlbum = executor.getContextAlbum(\"LastAnswerAlbum\");\nlastAnswerAlbum.put(\"lastAnswer\", answerAlbum.size() - 1);\n\nexecutor.outFields.put(\"a0\", answerAlbum.get(\"a0\"));\nexecutor.outFields.put(\"a1\", answerAlbum.get(\"a1\"));\nexecutor.outFields.put(\"a2\", answerAlbum.get(\"a2\"));\nexecutor.outFields.put(\"a3\", answerAlbum.get(\"a3\"));\nexecutor.outFields.put(\"a4\", answerAlbum.get(\"a4\"));\nexecutor.outFields.put(\"a5\", answerAlbum.get(\"a5\"));\nexecutor.outFields.put(\"a6\", answerAlbum.get(\"a6\"));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = 2 + Math.floor(Math.random() * 3);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = size - Math.floor(Math.random() * size / 2) - 1;\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size / 2);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\nvar lastAnswer = executor.getContextAlbum(\"LastAnswerAlbum\").get(\"lastAnswer\");\n\nexecutor.logger.info(size);\nexecutor.logger.info(lastAnswer);\n\nvar answer = ++lastAnswer;\nif (answer >= size) {\n answer = 0;\n}\n\nexecutor.getContextAlbum(\"LastAnswerAlbum\").put(\"lastAnswer\", answer)\n\nvar selectionA = \"a\" + answer;\n\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}}]}},"events":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]}},"albums":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleStringType","version":"0.0.1"}}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleIntegerType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Integer"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:28 2024-02-19T09:38:28.895Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:28 2024-02-19T09:38:28.895Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:28.994Z INFO 2867 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","node_types":{"org.onap.nodetypes.policy.MetadataSet":{"name":"NULL","version":"1.0.0","derived_from":"tosca.nodetypes.Root"}},"topology_template":{"node_templates":{"apexMetadata_grpc":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"GrpcPolicyModel","version":"1.0.2"}},"threshold":3.15,"state":"passive"},"description":"Updated Metadata set for GRPC"}}},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.009Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.010Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.105Z INFO 2867 --- [-auto-3-exec-10] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"node_templates":{"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.invalid","type_version":"1.0.1","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.2"}},"radius":1.23,"height":2.13,"length":46.0},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.108Z WARN 2867 --- [-auto-3-exec-10] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 09:38:29 2024-02-19T09:38:29.114Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.115Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.213Z INFO 2867 --- [o-auto-3-exec-7] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.214Z WARN 2867 --- [o-auto-3-exec-7] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 09:38:29 2024-02-19T09:38:29.236Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.237Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.332Z INFO 2867 --- [o-auto-3-exec-6] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","node_types":{"org.onap.nodetypes.policy.MetadataSet":{"name":"NULL","version":"1.0.0","derived_from":"tosca.nodetypes.Root"}},"topology_template":{"node_templates":{"apexMetadata_grpc":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"GrpcPolicyModel","version":"1.0.1"}},"threshold":3.14,"state":"active"},"description":"Metadata set for GRPC"},"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.1"}},"radius":1.23,"height":2.13,"length":45.0},"description":"Metadata set for an Adaptive Policy"},"apexMetadata_decisionMaker":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"DecisionMakerPolicyModel","version":"1.0.0"},"keyInformation":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"UUID":"4ea21a2c-5dc7-337f-ba13-f427a4ae79a1","description":"Generated description for concept referred to by key \"AnswerAlbum:0.0.1\""}},{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"UUID":"ce2233b8-bb89-3c5e-a18f-1d13089d2bb6","description":"Generated description for concept referred to by key \"AnswerEvent:0.0.1\""}},{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"UUID":"c8254064-b171-3ccb-85c0-29b5719ee8fc","description":"Generated description for concept referred to by key \"AnswerInitPolicy:0.0.1\""}},{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"UUID":"28fb33d2-a4e0-3046-8302-7baf9a2056d1","description":"Generated description for concept referred to by key \"AnswerInitTask:0.0.1\""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"UUID":"487acc75-b5a1-3285-90cf-98ecd6fb3500","description":"Generated description for concept referred to by key \"DecisionEvent:0.0.1\""}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"UUID":"9e8dda9a-6f85-311d-842b-00b5b5578edd","description":"Generated description for concept referred to by key \"DecisionMakerPolicy:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"UUID":"d7789464-e4d1-382e-8481-fba53fa7b9a9","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"UUID":"e5dfbadd-5229-3ad9-996c-eda030ef5dc1","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Albums:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"UUID":"b4248202-ff8e-3d45-8b3d-0ed0fd2eaed4","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Events:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"UUID":"693b1b29-c4c6-34ba-98e1-bc1a7576f0f8","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_KeyInfo:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"UUID":"2dee1e42-9caa-32b1-9298-784dcdcb9cae","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Policies:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"UUID":"c256f102-2681-3f35-bbbd-1f4948587e15","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Schemas:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"UUID":"660cbdba-687d-3a05-ba26-69daf93a8158","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Tasks:0.0.1\""}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"UUID":"da31cee8-2e84-39d2-9337-9ee3bf347c98","description":"Generated description for concept referred to by key \"DitheringAnswerTask:0.0.1\""}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"UUID":"21399145-3fbe-39a5-b863-8a59a8add4a8","description":"Generated description for concept referred to by key \"LastAnswerAlbum:0.0.1\""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"UUID":"02ec632a-aeae-31fe-8f6d-656e1875749f","description":"Generated description for concept referred to by key \"MakeDecisionEvent:0.0.1\""}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"UUID":"818e6b9e-0109-31f5-a95c-17f6fb016027","description":"Generated description for concept referred to by key \"OptimisticAnswerTask:0.0.1\""}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"UUID":"8f4a707e-0d8b-3e09-b921-332f6f81f302","description":"Generated description for concept referred to by key \"PessimisticAnswerTask:0.0.1\""}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"UUID":"bfb0af88-b454-3b08-911f-7ff2475350bf","description":"Generated description for concept referred to by key \"RandomAnswerTask:0.0.1\""}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"UUID":"eac6fb59-8aca-3011-b7ba-69875f1db4b6","description":"Generated description for concept referred to by key \"RoundRobinAnswerTask:0.0.1\""}},{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"UUID":"ab00a5b8-7edd-340f-8140-4d14f571edfb","description":"Generated description for concept referred to by key \"SimpleIntegerType: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\""}}]}},"policies":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"AnswerInitPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"AnswerInitState","value":{"stateKey":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"AnswerInitState"},"trigger":{"name":"AnswerEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AnswerInitOutput","value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"},"outgoingEvent":{"name":"AnswerEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"AnswerEvent","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":"AnswerInitTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"}}}]}}}]},"firstState":"AnswerInitState"}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"DecisionMakerPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"MakeDecisionState","value":{"stateKey":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"MakeDecisionState"},"trigger":{"name":"MakeDecisionEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"DecisionFinalOutput","value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"},"outgoingEvent":{"name":"DecisionEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"DecisionEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"TaskSelectionLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nif (executor.inFields.get(\"mode\").equals(\"random\")) {\n executor.subject.getTaskKey(\"RandomAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"pessimistic\")) {\n executor.subject.getTaskKey(\"PessimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"optimistic\")) {\n executor.subject.getTaskKey(\"OptimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"dithering\")) {\n executor.subject.getTaskKey(\"DitheringAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"roundrobin\")) {\n executor.subject.getTaskKey(\"RoundRobinAnswerTask\").copyTo(executor.selectedTask);\n}\n\nexecutor.logger.info(\"Answer Selected Task:\" + executor.selectedTask);\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"RandomAnswerTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}}]}}}]},"firstState":"MakeDecisionState"}}]}},"tasks":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"inputEvent":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"AnswerEvent","value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar answerAlbum = executor.getContextAlbum(\"AnswerAlbum\");\n\nanswerAlbum.put(\"a0\", executor.inFields.get(\"a0\"));\nanswerAlbum.put(\"a1\", executor.inFields.get(\"a1\"));\nanswerAlbum.put(\"a2\", executor.inFields.get(\"a2\"));\nanswerAlbum.put(\"a3\", executor.inFields.get(\"a3\"));\nanswerAlbum.put(\"a4\", executor.inFields.get(\"a4\"));\nanswerAlbum.put(\"a5\", executor.inFields.get(\"a5\"));\nanswerAlbum.put(\"a6\", executor.inFields.get(\"a6\"));\n\nvar lastAnswerAlbum = executor.getContextAlbum(\"LastAnswerAlbum\");\nlastAnswerAlbum.put(\"lastAnswer\", answerAlbum.size() - 1);\n\nexecutor.outFields.put(\"a0\", answerAlbum.get(\"a0\"));\nexecutor.outFields.put(\"a1\", answerAlbum.get(\"a1\"));\nexecutor.outFields.put(\"a2\", answerAlbum.get(\"a2\"));\nexecutor.outFields.put(\"a3\", answerAlbum.get(\"a3\"));\nexecutor.outFields.put(\"a4\", answerAlbum.get(\"a4\"));\nexecutor.outFields.put(\"a5\", answerAlbum.get(\"a5\"));\nexecutor.outFields.put(\"a6\", answerAlbum.get(\"a6\"));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = 2 + Math.floor(Math.random() * 3);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = size - Math.floor(Math.random() * size / 2) - 1;\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size / 2);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\nvar lastAnswer = executor.getContextAlbum(\"LastAnswerAlbum\").get(\"lastAnswer\");\n\nexecutor.logger.info(size);\nexecutor.logger.info(lastAnswer);\n\nvar answer = ++lastAnswer;\nif (answer >= size) {\n answer = 0;\n}\n\nexecutor.getContextAlbum(\"LastAnswerAlbum\").put(\"lastAnswer\", answer)\n\nvar selectionA = \"a\" + answer;\n\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}}]}},"events":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]}},"albums":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleStringType","version":"0.0.1"}}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleIntegerType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Integer"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.482Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.482Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.575Z INFO 2867 --- [o-auto-3-exec-4] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"node_templates":{"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.invalid","type_version":"1.0.1","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.2"}},"radius":1.23,"height":2.13,"length":46.0},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.577Z WARN 2867 --- [o-auto-3-exec-4] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 09:38:29 2024-02-19T09:38:29.584Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.585Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.678Z INFO 2867 --- [o-auto-3-exec-2] network : [IN|REST|/nodetemplates] 09:38:29 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 09:38:29 2024-02-19T09:38:29.679Z WARN 2867 --- [o-auto-3-exec-2] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 09:38:29 2024-02-19T09:38:29.702Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.703Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.810Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:29 2024-02-19T09:38:29.810Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:30 2024-02-19T09:38:29.904Z INFO 2867 --- [o-auto-3-exec-9] network : [IN|REST|/nodetemplates] 09:38:30 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","node_types":{"org.onap.nodetypes.policy.MetadataSet":{"name":"NULL","version":"1.0.0","derived_from":"tosca.nodetypes.Root"}},"topology_template":{"node_templates":{"apexMetadata_grpc":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"GrpcPolicyModel","version":"1.0.1"}},"threshold":3.14,"state":"active"},"description":"Metadata set for GRPC"},"apexMetadata_adaptive":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"AdaptivePolicyModel","version":"1.2.1"}},"radius":1.23,"height":2.13,"length":45.0},"description":"Metadata set for an Adaptive Policy"},"apexMetadata_decisionMaker":{"type":"org.onap.nodetypes.policy.MetadataSet","type_version":"1.0.0","name":"NULL","version":"1.0.0","metadata":{"policyModel":{"key":{"name":"DecisionMakerPolicyModel","version":"1.0.0"},"keyInformation":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"keyInfoMap":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"UUID":"4ea21a2c-5dc7-337f-ba13-f427a4ae79a1","description":"Generated description for concept referred to by key \"AnswerAlbum:0.0.1\""}},{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"UUID":"ce2233b8-bb89-3c5e-a18f-1d13089d2bb6","description":"Generated description for concept referred to by key \"AnswerEvent:0.0.1\""}},{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"UUID":"c8254064-b171-3ccb-85c0-29b5719ee8fc","description":"Generated description for concept referred to by key \"AnswerInitPolicy:0.0.1\""}},{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"UUID":"28fb33d2-a4e0-3046-8302-7baf9a2056d1","description":"Generated description for concept referred to by key \"AnswerInitTask:0.0.1\""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"UUID":"487acc75-b5a1-3285-90cf-98ecd6fb3500","description":"Generated description for concept referred to by key \"DecisionEvent:0.0.1\""}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"UUID":"9e8dda9a-6f85-311d-842b-00b5b5578edd","description":"Generated description for concept referred to by key \"DecisionMakerPolicy:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel","version":"0.0.1"},"UUID":"d7789464-e4d1-382e-8481-fba53fa7b9a9","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"UUID":"e5dfbadd-5229-3ad9-996c-eda030ef5dc1","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Albums:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"UUID":"b4248202-ff8e-3d45-8b3d-0ed0fd2eaed4","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Events:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_KeyInfo","version":"0.0.1"},"UUID":"693b1b29-c4c6-34ba-98e1-bc1a7576f0f8","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_KeyInfo:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"UUID":"2dee1e42-9caa-32b1-9298-784dcdcb9cae","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Policies:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"UUID":"c256f102-2681-3f35-bbbd-1f4948587e15","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Schemas:0.0.1\""}},{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"value":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"UUID":"660cbdba-687d-3a05-ba26-69daf93a8158","description":"Generated description for concept referred to by key \"DecisionMakerPolicyModel_Tasks:0.0.1\""}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"UUID":"da31cee8-2e84-39d2-9337-9ee3bf347c98","description":"Generated description for concept referred to by key \"DitheringAnswerTask:0.0.1\""}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"UUID":"21399145-3fbe-39a5-b863-8a59a8add4a8","description":"Generated description for concept referred to by key \"LastAnswerAlbum:0.0.1\""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"UUID":"02ec632a-aeae-31fe-8f6d-656e1875749f","description":"Generated description for concept referred to by key \"MakeDecisionEvent:0.0.1\""}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"UUID":"818e6b9e-0109-31f5-a95c-17f6fb016027","description":"Generated description for concept referred to by key \"OptimisticAnswerTask:0.0.1\""}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"UUID":"8f4a707e-0d8b-3e09-b921-332f6f81f302","description":"Generated description for concept referred to by key \"PessimisticAnswerTask:0.0.1\""}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"UUID":"bfb0af88-b454-3b08-911f-7ff2475350bf","description":"Generated description for concept referred to by key \"RandomAnswerTask:0.0.1\""}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"UUID":"eac6fb59-8aca-3011-b7ba-69875f1db4b6","description":"Generated description for concept referred to by key \"RoundRobinAnswerTask:0.0.1\""}},{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"UUID":"ab00a5b8-7edd-340f-8140-4d14f571edfb","description":"Generated description for concept referred to by key \"SimpleIntegerType: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\""}}]}},"policies":{"key":{"name":"DecisionMakerPolicyModel_Policies","version":"0.0.1"},"policyMap":{"entry":[{"key":{"name":"AnswerInitPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"AnswerInitPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"AnswerInitState","value":{"stateKey":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"AnswerInitState"},"trigger":{"name":"AnswerEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"AnswerInitOutput","value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"},"outgoingEvent":{"name":"AnswerEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"AnswerEvent","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":"AnswerInitTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"AnswerInitPolicy","parentKeyVersion":"0.0.1","parentLocalName":"AnswerInitState","localName":"AnswerInitOutput"}}}]}}}]},"firstState":"AnswerInitState"}},{"key":{"name":"DecisionMakerPolicy","version":"0.0.1"},"value":{"policyKey":{"name":"DecisionMakerPolicy","version":"0.0.1"},"template":"freestyle","state":{"entry":[{"key":"MakeDecisionState","value":{"stateKey":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"NULL","localName":"MakeDecisionState"},"trigger":{"name":"MakeDecisionEvent","version":"0.0.1"},"stateOutputs":{"entry":[{"key":"DecisionFinalOutput","value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"},"outgoingEvent":{"name":"DecisionEvent","version":"0.0.1"},"outgoingEventReference":[{"name":"DecisionEvent","version":"0.0.1"}],"nextState":{"parentKeyName":"NULL","parentKeyVersion":"0.0.0","parentLocalName":"NULL","localName":"NULL"}}}]},"contextAlbumReference":[],"taskSelectionLogic":{"key":"TaskSelectionLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nif (executor.inFields.get(\"mode\").equals(\"random\")) {\n executor.subject.getTaskKey(\"RandomAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"pessimistic\")) {\n executor.subject.getTaskKey(\"PessimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"optimistic\")) {\n executor.subject.getTaskKey(\"OptimisticAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"dithering\")) {\n executor.subject.getTaskKey(\"DitheringAnswerTask\").copyTo(executor.selectedTask);\n}\nelse if (executor.inFields.get(\"mode\").equals(\"roundrobin\")) {\n executor.subject.getTaskKey(\"RoundRobinAnswerTask\").copyTo(executor.selectedTask);\n}\n\nexecutor.logger.info(\"Answer Selected Task:\" + executor.selectedTask);\n\ntrue;"},"stateFinalizerLogicMap":{"entry":[]},"defaultTask":{"name":"RandomAnswerTask","version":"0.0.1"},"taskReferences":{"entry":[{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionMakerPolicy"},"outputType":"DIRECT","output":{"parentKeyName":"DecisionMakerPolicy","parentKeyVersion":"0.0.1","parentLocalName":"MakeDecisionState","localName":"DecisionFinalOutput"}}}]}}}]},"firstState":"MakeDecisionState"}}]}},"tasks":{"key":{"name":"DecisionMakerPolicyModel_Tasks","version":"0.0.1"},"taskMap":{"entry":[{"key":{"name":"AnswerInitTask","version":"0.0.1"},"value":{"key":{"name":"AnswerInitTask","version":"0.0.1"},"inputEvent":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"AnswerEvent","value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar answerAlbum = executor.getContextAlbum(\"AnswerAlbum\");\n\nanswerAlbum.put(\"a0\", executor.inFields.get(\"a0\"));\nanswerAlbum.put(\"a1\", executor.inFields.get(\"a1\"));\nanswerAlbum.put(\"a2\", executor.inFields.get(\"a2\"));\nanswerAlbum.put(\"a3\", executor.inFields.get(\"a3\"));\nanswerAlbum.put(\"a4\", executor.inFields.get(\"a4\"));\nanswerAlbum.put(\"a5\", executor.inFields.get(\"a5\"));\nanswerAlbum.put(\"a6\", executor.inFields.get(\"a6\"));\n\nvar lastAnswerAlbum = executor.getContextAlbum(\"LastAnswerAlbum\");\nlastAnswerAlbum.put(\"lastAnswer\", answerAlbum.size() - 1);\n\nexecutor.outFields.put(\"a0\", answerAlbum.get(\"a0\"));\nexecutor.outFields.put(\"a1\", answerAlbum.get(\"a1\"));\nexecutor.outFields.put(\"a2\", answerAlbum.get(\"a2\"));\nexecutor.outFields.put(\"a3\", answerAlbum.get(\"a3\"));\nexecutor.outFields.put(\"a4\", answerAlbum.get(\"a4\"));\nexecutor.outFields.put(\"a5\", answerAlbum.get(\"a5\"));\nexecutor.outFields.put(\"a6\", answerAlbum.get(\"a6\"));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"value":{"key":{"name":"DitheringAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = 2 + Math.floor(Math.random() * 3);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"OptimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = size - Math.floor(Math.random() * size / 2) - 1;\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"value":{"key":{"name":"PessimisticAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size / 2);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RandomAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\n\nvar selection = Math.floor(Math.random() * size);\n\nvar selectionA = \"a\" + selection;\n\nexecutor.logger.info(size);\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}},{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"value":{"key":{"name":"RoundRobinAnswerTask","version":"0.0.1"},"inputEvent":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""},"outputEvents":{"entry":[{"key":"DecisionEvent","value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]},"taskParameters":{"entry":[]},"contextAlbumReference":[{"name":"AnswerAlbum","version":"0.0.1"},{"name":"LastAnswerAlbum","version":"0.0.1"}],"taskLogic":{"key":"TaskLogic","logicFlavour":"JAVASCRIPT","logic":"/*\n * ============LICENSE_START=======================================================\n * Copyright (C) 2016-2018 Ericsson. All rights reserved.\n * Modifications Copyright (C) 2020 Nordix Foundation.\n * ================================================================================\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n * ============LICENSE_END=========================================================\n */\n\nexecutor.logger.info(executor.subject.id);\nexecutor.logger.info(executor.inFields);\n\nvar size = executor.getContextAlbum(\"AnswerAlbum\").size();\nvar lastAnswer = executor.getContextAlbum(\"LastAnswerAlbum\").get(\"lastAnswer\");\n\nexecutor.logger.info(size);\nexecutor.logger.info(lastAnswer);\n\nvar answer = ++lastAnswer;\nif (answer >= size) {\n answer = 0;\n}\n\nexecutor.getContextAlbum(\"LastAnswerAlbum\").put(\"lastAnswer\", answer)\n\nvar selectionA = \"a\" + answer;\n\nexecutor.logger.info(selectionA);\n\nexecutor.outFields.put(\"decision\", executor.getContextAlbum(\"AnswerAlbum\").get(selectionA));\n\nexecutor.logger.info(executor.outFields);\n\ntrue;"}}}]}},"events":{"key":{"name":"DecisionMakerPolicyModel_Events","version":"0.0.1"},"eventMap":{"entry":[{"key":{"name":"AnswerEvent","version":"0.0.1"},"value":{"key":{"name":"AnswerEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"a0","value":{"key":"a0","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a1","value":{"key":"a1","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a2","value":{"key":"a2","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a3","value":{"key":"a3","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a4","value":{"key":"a4","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a5","value":{"key":"a5","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}},{"key":"a6","value":{"key":"a6","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"DecisionEvent","version":"0.0.1"},"value":{"key":{"name":"DecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"decision","value":{"key":"decision","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}},{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"value":{"key":{"name":"MakeDecisionEvent","version":"0.0.1"},"nameSpace":"org.onap.policy.apex.domains.decisionmaker","source":"DCAE","target":"apex","parameter":{"entry":[{"key":"mode","value":{"key":"mode","fieldSchemaKey":{"name":"SimpleStringType","version":"0.0.1"},"optional":false}}]},"toscaPolicyState":""}}]}},"albums":{"key":{"name":"DecisionMakerPolicyModel_Albums","version":"0.0.1"},"albums":{"entry":[{"key":{"name":"AnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"AnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleStringType","version":"0.0.1"}}},{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"value":{"key":{"name":"LastAnswerAlbum","version":"0.0.1"},"scope":"policy","isWritable":true,"itemSchema":{"name":"SimpleIntegerType","version":"0.0.1"}}}]}},"schemas":{"key":{"name":"DecisionMakerPolicyModel_Schemas","version":"0.0.1"},"schemas":{"entry":[{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"value":{"key":{"name":"SimpleIntegerType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.Integer"}},{"key":{"name":"SimpleStringType","version":"0.0.1"},"value":{"key":{"name":"SimpleStringType","version":"0.0.1"},"schemaFlavour":"Java","schemaDefinition":"java.lang.String"}}]}}}},"description":"Metadata set for an Adaptive Policy"}}},"name":"NULL","version":"0.0.0"} 09:38:30 2024-02-19T09:38:30.058Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:30 2024-02-19T09:38:30.059Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:30 2024-02-19T09:38:30.162Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:30 2024-02-19T09:38:30.163Z INFO 2867 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 09:38:30 2024-02-19T09:38:30.278Z INFO 2867 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 09:38:30 2024-02-19T09:38:30.278Z INFO 2867 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 09:38:30 2024-02-19T09:38:30.284Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 09:38:30 2024-02-19T09:38:30.284Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated... 09:38:30 2024-02-19T09:38:30.285Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed. 09:38:30 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.211 s -- in org.onap.policy.api.main.rest.TestNodeTemplateController 09:38:30 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 09:38:32 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.867 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 09:38:32 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 09:38:32 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 09:38:32 [INFO] Running org.onap.policy.api.main.service.TestPdpGroupService 09:38:32 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 s -- in org.onap.policy.api.main.service.TestPdpGroupService 09:38:32 [INFO] Running org.onap.policy.api.main.service.TestPolicyService 09:38:32 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s -- in org.onap.policy.api.main.service.TestPolicyService 09:38:32 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 09:38:33 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.350 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 09:38:33 [INFO] Running org.onap.policy.api.main.service.TestPolicyTypeService 09:38:34 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 s -- in org.onap.policy.api.main.service.TestPolicyTypeService 09:38:34 [INFO] Running org.onap.policy.api.main.service.TestNodeTemplateService 09:38:34 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.190 s -- in org.onap.policy.api.main.service.TestNodeTemplateService 09:38:34 [INFO] Running org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 09:38:34 09:38:34 . ____ _ __ _ _ 09:38:34 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 09:38:34 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 09:38:34 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 09:38:34 ' |____| .__|_| |_|_| |_\__, | / / / / 09:38:34 =========|_|==============|___/=/_/_/_/ 09:38:34 :: Spring Boot :: (v3.1.8) 09:38:34 09:38:34 2024-02-19T09:38:34.362Z WARN 2867 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 09:38:34 09:38:34 Found multiple occurrences of org.json.JSONObject on the class path: 09:38:34 09:38:34 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 09:38:34 jar:file:/home/jenkins/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 09:38:34 09:38:34 You may wish to exclude one of them to ensure predictable runtime behavior 09:38:34 09:38:34 2024-02-19T09:38:34.364Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Starting ApiDatabaseInitializerTest using Java 17.0.4 with PID 2867 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 09:38:34 2024-02-19T09:38:34.364Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : The following 1 profile is active: "test" 09:38:34 2024-02-19T09:38:34.858Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 09:38:34 2024-02-19T09:38:34.879Z INFO 2867 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 6 JPA repository interfaces. 09:38:35 2024-02-19T09:38:34.977Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:38:35 2024-02-19T09:38:34.978Z WARN 2867 --- [ main] ocalVariableTableParameterNameDiscoverer : 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 09:38:35 2024-02-19T09:38:35.162Z INFO 2867 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 09:38:35 2024-02-19T09:38:35.169Z INFO 2867 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 09:38:35 2024-02-19T09:38:35.176Z INFO 2867 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 09:38:35 2024-02-19T09:38:35.178Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting... 09:38:35 2024-02-19T09:38:35.182Z INFO 2867 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection conn30: url=jdbc:h2:mem:testdb user=POLICY_USER 09:38:35 2024-02-19T09:38:35.182Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed. 09:38:35 2024-02-19T09:38:35.183Z WARN 2867 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 09:38:36 2024-02-19T09:38:36.012Z INFO 2867 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 09:38:36 2024-02-19T09:38:36.222Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 09:38:37 2024-02-19T09:38:36.965Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 09:38:37 2024-02-19T09:38:37.480Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 09:38:38 2024-02-19T09:38:38.356Z WARN 2867 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : 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 09:38:38 2024-02-19T09:38:38.467Z INFO 2867 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6414d61d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@720409c4, org.springframework.security.web.context.SecurityContextHolderFilter@2c38cbed, org.springframework.security.web.header.HeaderWriterFilter@4d35414c, org.springframework.security.web.authentication.logout.LogoutFilter@24b0116a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@67ae250e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6b75151f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@29e5d7b2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1bac80dc, org.springframework.security.web.access.ExceptionTranslationFilter@25bcedde, org.springframework.security.web.access.intercept.AuthorizationFilter@408bb427] 09:38:39 2024-02-19T09:38:39.152Z INFO 2867 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 09:38:39 2024-02-19T09:38:39.228Z INFO 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Started ApiDatabaseInitializerTest in 4.935 seconds (process running for 118.639) 09:38:41 2024-02-19T09:38:41.719Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 09:38:43 2024-02-19T09:38:43.749Z WARN 2867 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 09:38:43 2024-02-19T09:38:43.756Z INFO 2867 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 09:38:43 2024-02-19T09:38:43.757Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated... 09:38:43 2024-02-19T09:38:43.759Z INFO 2867 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed. 09:38:43 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.503 s -- in org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 09:38:43 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiException 09:38:43 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in org.onap.policy.api.main.exception.TestPolicyApiException 09:38:43 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 09:38:43 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 09:38:44 [INFO] 09:38:44 [INFO] Results: 09:38:44 [INFO] 09:38:44 [INFO] Tests run: 66, Failures: 0, Errors: 0, Skipped: 0 09:38:44 [INFO] 09:38:44 [INFO] 09:38:44 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-main --- 09:38:44 [INFO] Loading execution data file /w/workspace/policy-api-master-merge-java/main/../target/code-coverage/jacoco-ut.exec 09:38:44 [INFO] Analyzed bundle 'api-main' with 23 classes 09:38:44 [INFO] 09:38:44 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-main --- 09:38:44 [INFO] 09:38:44 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-main --- 09:38:44 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/main/target/api-main-3.1.1-SNAPSHOT.jar 09:38:44 [INFO] 09:38:44 [INFO] --- spring-boot-maven-plugin:3.1.8:repackage (default) @ api-main --- 09:38:45 [INFO] Replacing main artifact /w/workspace/policy-api-master-merge-java/main/target/api-main-3.1.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. 09:38:45 [INFO] The original artifact has been renamed to /w/workspace/policy-api-master-merge-java/main/target/api-main-3.1.1-SNAPSHOT.jar.original 09:38:45 [INFO] 09:38:45 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-main --- 09:38:45 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:45 [INFO] failsafeArgLine set to empty 09:38:45 [INFO] 09:38:45 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-main --- 09:38:45 [INFO] 09:38:45 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-main --- 09:38:45 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:45 [INFO] 09:38:45 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-main --- 09:38:45 [INFO] 09:38:45 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-main --- 09:38:45 [INFO] Installing /w/workspace/policy-api-master-merge-java/main/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-main/3.1.1-SNAPSHOT/api-main-3.1.1-SNAPSHOT.pom 09:38:45 [INFO] Installing /w/workspace/policy-api-master-merge-java/main/target/api-main-3.1.1-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-main/3.1.1-SNAPSHOT/api-main-3.1.1-SNAPSHOT.jar 09:38:45 [INFO] 09:38:45 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-main --- 09:38:48 [INFO] 09:38:48 [INFO] ------------------< org.onap.policy.api:api-packages >------------------ 09:38:48 [INFO] Building api-packages 3.1.1-SNAPSHOT [3/8] 09:38:48 [INFO] --------------------------------[ pom ]--------------------------------- 09:38:48 [INFO] 09:38:48 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-packages --- 09:38:48 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/packages/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:38:48 --add-opens java.base/java.util=ALL-UNNAMED 09:38:48 --add-opens java.sql/java.sql=ALL-UNNAMED 09:38:48 [INFO] 09:38:48 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-packages --- 09:38:48 [INFO] Starting audit... 09:38:48 Audit done. 09:38:48 [INFO] You have 0 Checkstyle violations. 09:38:48 [INFO] 09:38:48 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-packages --- 09:38:48 [INFO] Starting audit... 09:38:48 Audit done. 09:38:48 [INFO] You have 0 Checkstyle violations. 09:38:48 [INFO] 09:38:48 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-packages --- 09:38:48 [INFO] Skipping JaCoCo execution due to missing classes directory. 09:38:48 [INFO] 09:38:48 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-packages --- 09:38:48 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:48 [INFO] failsafeArgLine set to empty 09:38:48 [INFO] 09:38:48 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-packages --- 09:38:48 [INFO] No tests to run. 09:38:48 [INFO] 09:38:48 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-packages --- 09:38:48 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:48 [INFO] 09:38:48 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-packages --- 09:38:48 [INFO] Installing /w/workspace/policy-api-master-merge-java/packages/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-packages/3.1.1-SNAPSHOT/api-packages-3.1.1-SNAPSHOT.pom 09:38:48 [INFO] 09:38:48 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-packages --- 09:38:48 [INFO] 09:38:48 [INFO] ---------------< org.onap.policy.api:policy-api-tarball >--------------- 09:38:48 [INFO] Building policy-api-tarball 3.1.1-SNAPSHOT [4/8] 09:38:48 [INFO] --------------------------------[ jar ]--------------------------------- 09:38:48 [INFO] 09:38:49 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-tarball --- 09:38:49 [INFO] 09:38:49 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-tarball --- 09:38:49 [INFO] 09:38:49 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-tarball --- 09:38:49 [INFO] 09:38:49 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-tarball --- 09:38:49 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:38:49 --add-opens java.base/java.util=ALL-UNNAMED 09:38:49 --add-opens java.sql/java.sql=ALL-UNNAMED 09:38:49 [INFO] 09:38:49 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-tarball --- 09:38:49 [INFO] Starting audit... 09:38:49 Audit done. 09:38:49 [INFO] You have 0 Checkstyle violations. 09:38:49 [INFO] 09:38:49 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-tarball --- 09:38:49 [INFO] Starting audit... 09:38:49 Audit done. 09:38:49 [INFO] You have 0 Checkstyle violations. 09:38:49 [INFO] 09:38:49 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ policy-api-tarball --- 09:38:49 [INFO] Copying 3 resources from src/main/resources to target/classes 09:38:49 [INFO] 09:38:49 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ policy-api-tarball --- 09:38:49 [INFO] No sources to compile 09:38:49 [INFO] 09:38:49 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ policy-api-tarball --- 09:38:49 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/src/test/resources 09:38:49 [INFO] 09:38:49 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ policy-api-tarball --- 09:38:49 [INFO] No sources to compile 09:38:49 [INFO] 09:38:49 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ policy-api-tarball --- 09:38:49 [INFO] No tests to run. 09:38:49 [INFO] 09:38:49 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-tarball --- 09:38:49 [INFO] Skipping JaCoCo execution due to missing execution data file. 09:38:49 [INFO] 09:38:49 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-tarball --- 09:38:49 [INFO] Analyzed bundle 'api-main' with 23 classes 09:38:49 [INFO] 09:38:49 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ policy-api-tarball --- 09:38:49 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT.jar 09:38:49 [INFO] 09:38:49 [INFO] --- maven-assembly-plugin:3.6.0:single (generate-complete-tar) @ policy-api-tarball --- 09:38:49 [INFO] Reading assembly descriptor: src/main/package/tarball/assembly.xml 09:38:49 [INFO] Building tar: /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz 09:38:49 [INFO] 09:38:49 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-tarball --- 09:38:49 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:49 [INFO] failsafeArgLine set to empty 09:38:49 [INFO] 09:38:49 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-tarball --- 09:38:49 [INFO] No tests to run. 09:38:49 [INFO] 09:38:49 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-tarball --- 09:38:49 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:38:49 [INFO] 09:38:49 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-tarball --- 09:38:49 [INFO] 09:38:49 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-tarball --- 09:38:49 [INFO] Installing /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT.pom 09:38:49 [INFO] Installing /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT.jar 09:38:49 [INFO] Installing /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz 09:38:49 [INFO] 09:38:49 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api-tarball --- 09:38:49 [INFO] 09:38:49 [INFO] ---------------< org.onap.policy.api:policy-api-docker >---------------- 09:38:49 [INFO] Building policy-api-docker 3.1.1-SNAPSHOT [5/8] 09:38:49 [INFO] --------------------------------[ pom ]--------------------------------- 09:38:49 [INFO] 09:38:49 [INFO] --- docker-maven-plugin:0.43.4:remove (clean-images) @ policy-api-docker --- 09:38:51 [INFO] 09:38:51 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-docker --- 09:38:51 [INFO] 09:38:51 [INFO] --- groovy-maven-plugin:2.1.1:execute (default) @ policy-api-docker --- 09:38:53 Project version: 3.1.1-SNAPSHOT 09:38:53 New tag for docker: 3.1-SNAPSHOT-latest 09:38:53 [INFO] 09:38:53 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-docker --- 09:38:53 [INFO] 09:38:53 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-docker --- 09:38:53 [INFO] 09:38:53 [INFO] --- git-commit-id-maven-plugin:6.0.0:revision (default) @ policy-api-docker --- 09:38:53 [INFO] 09:38:53 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-docker --- 09:38:53 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/packages/policy-api-docker/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:38:53 --add-opens java.base/java.util=ALL-UNNAMED 09:38:53 --add-opens java.sql/java.sql=ALL-UNNAMED 09:38:53 [INFO] 09:38:53 [INFO] --- docker-maven-plugin:0.43.4:build (generate-images) @ policy-api-docker --- 09:38:54 [WARNING] Cannot include project artifact: org.onap.policy.api:policy-api-docker:pom:3.1.1-SNAPSHOT; it doesn't have an associated file or directory. 09:38:54 [WARNING] Cannot include project artifact: org.onap.policy.api:policy-api-docker:pom:3.1.1-SNAPSHOT; it doesn't have an associated file or directory. 09:38:54 [INFO] Copying files to /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/build/maven 09:38:54 [INFO] Building tar: /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/tmp/docker-build.tar 09:38:54 [INFO] DOCKER> [onap/policy-api:latest]: Created docker-build.tar in 1 second 09:38:55 [INFO] DOCKER> Pulling from busybox 09:38:55 [INFO] DOCKER> Digest: sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74 09:38:55 [INFO] DOCKER> Status: Downloaded newer image for nexus3.onap.org:10001/busybox:latest 09:38:55 [INFO] DOCKER> Pulled busybox:latest in 409 milliseconds 09:38:55 [INFO] DOCKER> Pulling from onap/policy-jre-alpine 09:38:57 [INFO] DOCKER> Digest: sha256:8b4e14747ad80a54fb09bedfdcb47852fbb69f317ffcacdee2af4d72dabed79a 09:38:57 [INFO] DOCKER> Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-jre-alpine:3.1.1 09:38:57 [INFO] DOCKER> Pulled onap/policy-jre-alpine:3.1.1 in 2 seconds 09:38:58 [INFO] DOCKER> Step 1/27 : FROM busybox AS tarball 09:38:58 [INFO] DOCKER> 09:38:58 [INFO] DOCKER> ---> 3f57d9401f8d 09:38:58 [INFO] DOCKER> Step 2/27 : RUN mkdir /packages /extracted 09:38:58 [INFO] DOCKER> 09:39:01 [INFO] DOCKER> ---> Running in 69a2e72536b3 09:39:02 [INFO] DOCKER> Removing intermediate container 69a2e72536b3 09:39:02 [INFO] DOCKER> ---> 681c5821995c 09:39:02 [INFO] DOCKER> Step 3/27 : COPY /maven/lib/policy-api.tar.gz /packages/ 09:39:02 [INFO] DOCKER> 09:39:02 [INFO] DOCKER> ---> 52afa67a8bb9 09:39:02 [INFO] DOCKER> Step 4/27 : RUN tar xvzf /packages/policy-api.tar.gz --directory /extracted/ 09:39:02 [INFO] DOCKER> 09:39:02 [INFO] DOCKER> ---> Running in 8284b8252902 09:39:02 [INFO] DOCKER> etc/logback.xml 09:39:02 etc/apiParameters.yaml 09:39:02 etc/ssl/policy-truststore 09:39:02 [INFO] DOCKER> Removing intermediate container 8284b8252902 09:39:02 [INFO] DOCKER> ---> 8a3a22e3e650 09:39:02 [INFO] DOCKER> Step 5/27 : FROM onap/policy-jre-alpine:3.1.1 09:39:02 [INFO] DOCKER> 09:39:02 [INFO] DOCKER> ---> b2af5808001c 09:39:02 [INFO] DOCKER> Step 6/27 : LABEL maintainer="Policy Team" 09:39:02 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in c1727725d993 09:39:03 [INFO] DOCKER> Removing intermediate container c1727725d993 09:39:03 [INFO] DOCKER> ---> e713f6b34ad6 09:39:03 [INFO] DOCKER> Step 7/27 : LABEL org.opencontainers.image.title="Policy API" 09:39:03 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in efb7137b2c4f 09:39:03 [INFO] DOCKER> Removing intermediate container efb7137b2c4f 09:39:03 [INFO] DOCKER> ---> 5ca421492243 09:39:03 [INFO] DOCKER> Step 8/27 : LABEL org.opencontainers.image.description="Policy API image based on Alpine" 09:39:03 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in 2ee75d5dc870 09:39:03 [INFO] DOCKER> Removing intermediate container 2ee75d5dc870 09:39:03 [INFO] DOCKER> ---> aa66cbcc72d4 09:39:03 [INFO] DOCKER> Step 9/27 : LABEL org.opencontainers.image.url="https://github.com/onap/policy-api" 09:39:03 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in 02fe6f27dd05 09:39:03 [INFO] DOCKER> Removing intermediate container 02fe6f27dd05 09:39:03 [INFO] DOCKER> ---> fd457eaf95d4 09:39:03 [INFO] DOCKER> Step 10/27 : LABEL org.opencontainers.image.vendor="ONAP Policy Team" 09:39:03 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in 124622409ed9 09:39:03 [INFO] DOCKER> Removing intermediate container 124622409ed9 09:39:03 [INFO] DOCKER> ---> a4f26607d8d0 09:39:03 [INFO] DOCKER> Step 11/27 : LABEL org.opencontainers.image.licenses="Apache-2.0" 09:39:03 [INFO] DOCKER> 09:39:03 [INFO] DOCKER> ---> Running in e6cf3553ddba 09:39:04 [INFO] DOCKER> Removing intermediate container e6cf3553ddba 09:39:04 [INFO] DOCKER> ---> d86798e3c68b 09:39:04 [INFO] DOCKER> Step 12/27 : LABEL org.opencontainers.image.created="2024-02-19T09:38:53.642Z" 09:39:04 [INFO] DOCKER> 09:39:04 [INFO] DOCKER> ---> Running in 9157e90af474 09:39:04 [INFO] DOCKER> Removing intermediate container 9157e90af474 09:39:04 [INFO] DOCKER> ---> 54b9013d0aaf 09:39:04 [INFO] DOCKER> Step 13/27 : LABEL org.opencontainers.image.version="3.1.1-SNAPSHOT" 09:39:04 [INFO] DOCKER> 09:39:04 [INFO] DOCKER> ---> Running in 5ee75d7907dd 09:39:04 [INFO] DOCKER> Removing intermediate container 5ee75d7907dd 09:39:04 [INFO] DOCKER> ---> f125a9ba8794 09:39:04 [INFO] DOCKER> Step 14/27 : LABEL org.opencontainers.image.revision="f56a9d9" 09:39:04 [INFO] DOCKER> 09:39:04 [INFO] DOCKER> ---> Running in 77896f1e03f8 09:39:04 [INFO] DOCKER> Removing intermediate container 77896f1e03f8 09:39:04 [INFO] DOCKER> ---> b877398ea14b 09:39:04 [INFO] DOCKER> Step 15/27 : ARG POLICY_LOGS=/var/log/onap/policy/api 09:39:04 [INFO] DOCKER> 09:39:04 [INFO] DOCKER> ---> Running in c296a8867cef 09:39:04 [INFO] DOCKER> Removing intermediate container c296a8867cef 09:39:04 [INFO] DOCKER> ---> 7d618330afe6 09:39:04 [INFO] DOCKER> Step 16/27 : ENV POLICY_LOGS=$POLICY_LOGS 09:39:04 [INFO] DOCKER> 09:39:04 [INFO] DOCKER> ---> Running in ae6f05d519d3 09:39:05 [INFO] DOCKER> Removing intermediate container ae6f05d519d3 09:39:05 [INFO] DOCKER> ---> 3f6b5e8e61f0 09:39:05 [INFO] DOCKER> Step 17/27 : ENV POLICY_HOME=$POLICY_HOME/api 09:39:05 [INFO] DOCKER> 09:39:05 [INFO] DOCKER> ---> Running in 5956e63b47bc 09:39:05 [INFO] DOCKER> Removing intermediate container 5956e63b47bc 09:39:05 [INFO] DOCKER> ---> 7a9f7ac6d158 09:39:05 [INFO] DOCKER> Step 18/27 : USER root 09:39:05 [INFO] DOCKER> 09:39:05 [INFO] DOCKER> ---> Running in daa79b8588f8 09:39:05 [INFO] DOCKER> Removing intermediate container daa79b8588f8 09:39:05 [INFO] DOCKER> ---> 9f159ea5e8c0 09:39:05 [INFO] DOCKER> Step 19/27 : RUN mkdir -p $POLICY_HOME $POLICY_LOGS && chown -R policy:policy $POLICY_HOME $POLICY_LOGS 09:39:05 [INFO] DOCKER> 09:39:05 [INFO] DOCKER> ---> Running in 1d0e0f754a28 09:39:06 [INFO] DOCKER> Removing intermediate container 1d0e0f754a28 09:39:06 [INFO] DOCKER> ---> 80d6ebba6170 09:39:06 [INFO] DOCKER> Step 20/27 : COPY --chown=policy:policy --from=tarball /extracted/ $POLICY_HOME/ 09:39:06 [INFO] DOCKER> 09:39:06 [INFO] DOCKER> ---> 38dd0e68c065 09:39:06 [INFO] DOCKER> Step 21/27 : WORKDIR $POLICY_HOME 09:39:06 [INFO] DOCKER> 09:39:06 [INFO] DOCKER> ---> Running in 99872ff97459 09:39:06 [INFO] DOCKER> Removing intermediate container 99872ff97459 09:39:06 [INFO] DOCKER> ---> d3810dbc7e19 09:39:06 [INFO] DOCKER> Step 22/27 : COPY --chown=policy:policy policy-api.sh bin/ 09:39:06 [INFO] DOCKER> 09:39:06 [INFO] DOCKER> ---> d9bd78242863 09:39:06 [INFO] DOCKER> Step 23/27 : COPY --chown=policy:policy /maven/api.jar /app/ 09:39:06 [INFO] DOCKER> 09:39:08 [INFO] DOCKER> ---> 6507fd58fdf6 09:39:08 [INFO] DOCKER> Step 24/27 : RUN chmod 755 bin/*.sh 09:39:08 [INFO] DOCKER> 09:39:08 [INFO] DOCKER> ---> Running in 0697b7b85b22 09:39:09 [INFO] DOCKER> Removing intermediate container 0697b7b85b22 09:39:09 [INFO] DOCKER> ---> 0bbdf1771146 09:39:09 [INFO] DOCKER> Step 25/27 : USER policy 09:39:09 [INFO] DOCKER> 09:39:09 [INFO] DOCKER> ---> Running in 3f311de577fd 09:39:09 [INFO] DOCKER> Removing intermediate container 3f311de577fd 09:39:09 [INFO] DOCKER> ---> 73a576500299 09:39:09 [INFO] DOCKER> Step 26/27 : WORKDIR $POLICY_HOME/bin 09:39:09 [INFO] DOCKER> 09:39:09 [INFO] DOCKER> ---> Running in b63acf2e3280 09:39:09 [INFO] DOCKER> Removing intermediate container b63acf2e3280 09:39:09 [INFO] DOCKER> ---> ad7b2ce33757 09:39:09 [INFO] DOCKER> Step 27/27 : ENTRYPOINT [ "./policy-api.sh" ] 09:39:09 [INFO] DOCKER> 09:39:09 [INFO] DOCKER> ---> Running in 5fde7013ae67 09:39:09 [INFO] DOCKER> Removing intermediate container 5fde7013ae67 09:39:09 [INFO] DOCKER> ---> 5ede5a5a1cc6 09:39:09 [INFO] DOCKER> Successfully built 5ede5a5a1cc6 09:39:09 [INFO] DOCKER> Successfully tagged onap/policy-api:latest 09:39:09 [INFO] DOCKER> [onap/policy-api:latest]: Built image sha256:5ede5 09:39:09 [INFO] DOCKER> [onap/policy-api:latest]: Tag with 3.1.1-SNAPSHOT,3.1.1-SNAPSHOT-20240219T0936,3.1-SNAPSHOT-latest 09:39:09 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT successful! 09:39:09 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT-20240219T0936 successful! 09:39:09 [INFO] DOCKER> Tagging image onap/policy-api:3.1-SNAPSHOT-latest successful! 09:39:09 [INFO] 09:39:09 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-docker --- 09:39:09 [INFO] Starting audit... 09:39:09 Audit done. 09:39:09 [INFO] You have 0 Checkstyle violations. 09:39:09 [INFO] 09:39:09 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-docker --- 09:39:09 [INFO] Starting audit... 09:39:09 Audit done. 09:39:09 [INFO] You have 0 Checkstyle violations. 09:39:09 [INFO] 09:39:09 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-docker --- 09:39:09 [INFO] Skipping JaCoCo execution due to missing execution data file. 09:39:09 [INFO] 09:39:09 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-docker --- 09:39:09 [INFO] Analyzed bundle 'policy-api-tarball' with 0 classes 09:39:09 [INFO] 09:39:09 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-docker --- 09:39:09 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:09 [INFO] failsafeArgLine set to empty 09:39:09 [INFO] 09:39:09 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-docker --- 09:39:09 [INFO] No tests to run. 09:39:09 [INFO] 09:39:09 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-docker --- 09:39:09 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:09 [INFO] 09:39:09 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-docker --- 09:39:09 [INFO] 09:39:09 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-docker --- 09:39:09 [INFO] Installing /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-docker/3.1.1-SNAPSHOT/policy-api-docker-3.1.1-SNAPSHOT.pom 09:39:09 [INFO] 09:39:09 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api-docker --- 09:39:09 [INFO] Skipping artifact deployment 09:39:09 [INFO] 09:39:09 [INFO] --- docker-maven-plugin:0.43.4:build (push-images) @ policy-api-docker --- 09:39:10 [WARNING] Cannot include project artifact: org.onap.policy.api:policy-api-docker:pom:3.1.1-SNAPSHOT; it doesn't have an associated file or directory. 09:39:10 [WARNING] Cannot include project artifact: org.onap.policy.api:policy-api-docker:pom:3.1.1-SNAPSHOT; it doesn't have an associated file or directory. 09:39:10 [INFO] Copying files to /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/build/maven 09:39:10 [INFO] Building tar: /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/tmp/docker-build.tar 09:39:11 [INFO] DOCKER> [onap/policy-api:latest]: Created docker-build.tar in 1 second 09:39:11 [INFO] DOCKER> Step 1/27 : FROM busybox AS tarball 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> 3f57d9401f8d 09:39:11 [INFO] DOCKER> Step 2/27 : RUN mkdir /packages /extracted 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 681c5821995c 09:39:11 [INFO] DOCKER> Step 3/27 : COPY /maven/lib/policy-api.tar.gz /packages/ 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 52afa67a8bb9 09:39:11 [INFO] DOCKER> Step 4/27 : RUN tar xvzf /packages/policy-api.tar.gz --directory /extracted/ 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 8a3a22e3e650 09:39:11 [INFO] DOCKER> Step 5/27 : FROM onap/policy-jre-alpine:3.1.1 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> b2af5808001c 09:39:11 [INFO] DOCKER> Step 6/27 : LABEL maintainer="Policy Team" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> e713f6b34ad6 09:39:11 [INFO] DOCKER> Step 7/27 : LABEL org.opencontainers.image.title="Policy API" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 5ca421492243 09:39:11 [INFO] DOCKER> Step 8/27 : LABEL org.opencontainers.image.description="Policy API image based on Alpine" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> aa66cbcc72d4 09:39:11 [INFO] DOCKER> Step 9/27 : LABEL org.opencontainers.image.url="https://github.com/onap/policy-api" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> fd457eaf95d4 09:39:11 [INFO] DOCKER> Step 10/27 : LABEL org.opencontainers.image.vendor="ONAP Policy Team" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> a4f26607d8d0 09:39:11 [INFO] DOCKER> Step 11/27 : LABEL org.opencontainers.image.licenses="Apache-2.0" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> d86798e3c68b 09:39:11 [INFO] DOCKER> Step 12/27 : LABEL org.opencontainers.image.created="2024-02-19T09:38:53.642Z" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 54b9013d0aaf 09:39:11 [INFO] DOCKER> Step 13/27 : LABEL org.opencontainers.image.version="3.1.1-SNAPSHOT" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> f125a9ba8794 09:39:11 [INFO] DOCKER> Step 14/27 : LABEL org.opencontainers.image.revision="f56a9d9" 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> b877398ea14b 09:39:11 [INFO] DOCKER> Step 15/27 : ARG POLICY_LOGS=/var/log/onap/policy/api 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 7d618330afe6 09:39:11 [INFO] DOCKER> Step 16/27 : ENV POLICY_LOGS=$POLICY_LOGS 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 3f6b5e8e61f0 09:39:11 [INFO] DOCKER> Step 17/27 : ENV POLICY_HOME=$POLICY_HOME/api 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 7a9f7ac6d158 09:39:11 [INFO] DOCKER> Step 18/27 : USER root 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 9f159ea5e8c0 09:39:11 [INFO] DOCKER> Step 19/27 : RUN mkdir -p $POLICY_HOME $POLICY_LOGS && chown -R policy:policy $POLICY_HOME $POLICY_LOGS 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:11 [INFO] DOCKER> ---> 80d6ebba6170 09:39:11 [INFO] DOCKER> Step 20/27 : COPY --chown=policy:policy --from=tarball /extracted/ $POLICY_HOME/ 09:39:11 [INFO] DOCKER> 09:39:11 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> 38dd0e68c065 09:39:12 [INFO] DOCKER> Step 21/27 : WORKDIR $POLICY_HOME 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> d3810dbc7e19 09:39:12 [INFO] DOCKER> Step 22/27 : COPY --chown=policy:policy policy-api.sh bin/ 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> d9bd78242863 09:39:12 [INFO] DOCKER> Step 23/27 : COPY --chown=policy:policy /maven/api.jar /app/ 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> 6507fd58fdf6 09:39:12 [INFO] DOCKER> Step 24/27 : RUN chmod 755 bin/*.sh 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> 0bbdf1771146 09:39:12 [INFO] DOCKER> Step 25/27 : USER policy 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> 73a576500299 09:39:12 [INFO] DOCKER> Step 26/27 : WORKDIR $POLICY_HOME/bin 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> ad7b2ce33757 09:39:12 [INFO] DOCKER> Step 27/27 : ENTRYPOINT [ "./policy-api.sh" ] 09:39:12 [INFO] DOCKER> 09:39:12 [INFO] DOCKER> ---> Using cache 09:39:12 [INFO] DOCKER> ---> 5ede5a5a1cc6 09:39:12 [INFO] DOCKER> Successfully built 5ede5a5a1cc6 09:39:12 [INFO] DOCKER> Successfully tagged onap/policy-api:latest 09:39:12 [INFO] DOCKER> [onap/policy-api:latest]: Built image sha256:5ede5 09:39:12 [INFO] DOCKER> [onap/policy-api:latest]: Tag with 3.1.1-SNAPSHOT,3.1.1-SNAPSHOT-20240219T0936,3.1-SNAPSHOT-latest 09:39:12 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT successful! 09:39:12 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT-20240219T0936 successful! 09:39:12 [INFO] DOCKER> Tagging image onap/policy-api:3.1-SNAPSHOT-latest successful! 09:39:12 [INFO] 09:39:12 [INFO] --- docker-maven-plugin:0.43.4:push (push-images) @ policy-api-docker --- 09:39:12 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 09:39:22 [INFO] DOCKER> latest: digest: sha256:83ef526db4e13f0a2bb480c243664be5d32f31e0113221dd08f72a39c815ca19 size: 1787 09:39:22 [INFO] DOCKER> Pushed onap/policy-api in 10 seconds 09:39:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 09:39:22 [INFO] DOCKER> 3.1.1-SNAPSHOT: digest: sha256:83ef526db4e13f0a2bb480c243664be5d32f31e0113221dd08f72a39c815ca19 size: 1787 09:39:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 09:39:22 [INFO] DOCKER> 3.1.1-SNAPSHOT-20240219T0936: digest: sha256:83ef526db4e13f0a2bb480c243664be5d32f31e0113221dd08f72a39c815ca19 size: 1787 09:39:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 09:39:23 [INFO] DOCKER> 3.1-SNAPSHOT-latest: digest: sha256:83ef526db4e13f0a2bb480c243664be5d32f31e0113221dd08f72a39c815ca19 size: 1787 09:39:23 [INFO] 09:39:23 [INFO] -----------------< org.onap.policy.api:api-testsuites >----------------- 09:39:23 [INFO] Building api-testsuites 3.1.1-SNAPSHOT [6/8] 09:39:23 [INFO] --------------------------------[ pom ]--------------------------------- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-testsuites --- 09:39:23 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/testsuites/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:39:23 --add-opens java.base/java.util=ALL-UNNAMED 09:39:23 --add-opens java.sql/java.sql=ALL-UNNAMED 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-testsuites --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-testsuites --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-testsuites --- 09:39:23 [INFO] Skipping JaCoCo execution due to missing classes directory. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-testsuites --- 09:39:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:23 [INFO] failsafeArgLine set to empty 09:39:23 [INFO] 09:39:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-testsuites --- 09:39:23 [INFO] No tests to run. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-testsuites --- 09:39:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-testsuites --- 09:39:23 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-testsuites/3.1.1-SNAPSHOT/api-testsuites-3.1.1-SNAPSHOT.pom 09:39:23 [INFO] 09:39:23 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-testsuites --- 09:39:23 [INFO] 09:39:23 [INFO] -----------------< org.onap.policy.api:api-stability >------------------ 09:39:23 [INFO] Building api-stability 3.1.1-SNAPSHOT [7/8] 09:39:23 [INFO] --------------------------------[ jar ]--------------------------------- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-stability --- 09:39:23 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/testsuites/stability/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:39:23 --add-opens java.base/java.util=ALL-UNNAMED 09:39:23 --add-opens java.sql/java.sql=ALL-UNNAMED 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-stability --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-stability --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-stability --- 09:39:23 [INFO] Copying 8 resources from src/main/resources to target/classes 09:39:23 [INFO] 09:39:23 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-stability --- 09:39:23 [INFO] No sources to compile 09:39:23 [INFO] 09:39:23 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-stability --- 09:39:23 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/testsuites/stability/src/test/resources 09:39:23 [INFO] 09:39:23 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-stability --- 09:39:23 [INFO] No sources to compile 09:39:23 [INFO] 09:39:23 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-stability --- 09:39:23 [INFO] No tests to run. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-stability --- 09:39:23 [INFO] Skipping JaCoCo execution due to missing execution data file. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-stability --- 09:39:23 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT.jar 09:39:23 [INFO] 09:39:23 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-stability --- 09:39:23 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 09:39:23 [INFO] Building zip: /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT-stability.zip 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-stability --- 09:39:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:23 [INFO] failsafeArgLine set to empty 09:39:23 [INFO] 09:39:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-stability --- 09:39:23 [INFO] No tests to run. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-stability --- 09:39:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-stability --- 09:39:23 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/stability/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT.pom 09:39:23 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT.jar 09:39:23 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT-stability.zip to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT-stability.zip 09:39:23 [INFO] 09:39:23 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-stability --- 09:39:23 [INFO] 09:39:23 [INFO] ----------------< org.onap.policy.api:api-performance >----------------- 09:39:23 [INFO] Building api-performance 3.1.1-SNAPSHOT [8/8] 09:39:23 [INFO] --------------------------------[ jar ]--------------------------------- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-performance --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-performance --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-performance --- 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-performance --- 09:39:23 [INFO] surefireArgLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-master-merge-java/testsuites/performance/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 09:39:23 --add-opens java.base/java.util=ALL-UNNAMED 09:39:23 --add-opens java.sql/java.sql=ALL-UNNAMED 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-performance --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-performance --- 09:39:23 [INFO] Starting audit... 09:39:23 Audit done. 09:39:23 [INFO] You have 0 Checkstyle violations. 09:39:23 [INFO] 09:39:23 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-performance --- 09:39:23 [INFO] Copying 1 resource from src/main/resources to target/classes 09:39:23 [INFO] 09:39:23 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-performance --- 09:39:23 [INFO] No sources to compile 09:39:23 [INFO] 09:39:23 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-performance --- 09:39:23 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/testsuites/performance/src/test/resources 09:39:23 [INFO] 09:39:23 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-performance --- 09:39:23 [INFO] No sources to compile 09:39:23 [INFO] 09:39:23 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-performance --- 09:39:23 [INFO] No tests to run. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-performance --- 09:39:23 [INFO] Skipping JaCoCo execution due to missing execution data file. 09:39:23 [INFO] 09:39:23 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-performance --- 09:39:23 [INFO] 09:39:23 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-performance --- 09:39:23 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT.jar 09:39:24 [INFO] 09:39:24 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-performance --- 09:39:24 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 09:39:24 [INFO] Building zip: /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT-performance.zip 09:39:24 [INFO] 09:39:24 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-performance --- 09:39:24 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:24 [INFO] failsafeArgLine set to empty 09:39:24 [INFO] 09:39:24 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-performance --- 09:39:24 [INFO] No tests to run. 09:39:24 [INFO] 09:39:24 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-performance --- 09:39:24 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 09:39:24 [INFO] 09:39:24 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-performance --- 09:39:24 [INFO] 09:39:24 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-performance --- 09:39:24 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/performance/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT.pom 09:39:24 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT.jar 09:39:24 [INFO] Installing /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT-performance.zip to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT-performance.zip 09:39:24 [INFO] 09:39:24 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-performance --- 09:39:29 [INFO] ------------------------------------------------------------------------ 09:39:29 [INFO] Reactor Summary for policy-api 3.1.1-SNAPSHOT: 09:39:29 [INFO] 09:39:29 [INFO] policy-api ......................................... SUCCESS [ 13.810 s] 09:39:29 [INFO] api-main ........................................... SUCCESS [02:20 min] 09:39:29 [INFO] api-packages ....................................... SUCCESS [ 0.330 s] 09:39:29 [INFO] policy-api-tarball ................................. SUCCESS [ 0.789 s] 09:39:29 [INFO] policy-api-docker .................................. SUCCESS [ 33.351 s] 09:39:29 [INFO] api-testsuites ..................................... SUCCESS [ 0.232 s] 09:39:29 [INFO] api-stability ...................................... SUCCESS [ 0.625 s] 09:39:29 [INFO] api-performance .................................... SUCCESS [ 5.968 s] 09:39:29 [INFO] ------------------------------------------------------------------------ 09:39:29 [INFO] BUILD SUCCESS 09:39:29 [INFO] ------------------------------------------------------------------------ 09:39:29 [INFO] Total time: 03:16 min 09:39:29 [INFO] Finished at: 2024-02-19T09:39:29Z 09:39:29 [INFO] ------------------------------------------------------------------------ 09:39:29 $ ssh-agent -k 09:39:29 unset SSH_AUTH_SOCK; 09:39:29 unset SSH_AGENT_PID; 09:39:29 echo Agent pid 2058 killed; 09:39:29 [ssh-agent] Stopped. 09:39:30 [PostBuildScript] - [INFO] Executing post build scripts. 09:39:30 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins3658390471591549814.sh 09:39:30 ---> sysstat.sh 09:39:30 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins5549722054614096659.sh 09:39:30 ---> package-listing.sh 09:39:30 ++ facter osfamily 09:39:30 ++ tr '[:upper:]' '[:lower:]' 09:39:30 + OS_FAMILY=debian 09:39:30 + workspace=/w/workspace/policy-api-master-merge-java 09:39:30 + START_PACKAGES=/tmp/packages_start.txt 09:39:30 + END_PACKAGES=/tmp/packages_end.txt 09:39:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:39:30 + PACKAGES=/tmp/packages_start.txt 09:39:30 + '[' /w/workspace/policy-api-master-merge-java ']' 09:39:30 + PACKAGES=/tmp/packages_end.txt 09:39:30 + case "${OS_FAMILY}" in 09:39:30 + dpkg -l 09:39:30 + grep '^ii' 09:39:30 + '[' -f /tmp/packages_start.txt ']' 09:39:30 + '[' -f /tmp/packages_end.txt ']' 09:39:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:39:30 + '[' /w/workspace/policy-api-master-merge-java ']' 09:39:30 + mkdir -p /w/workspace/policy-api-master-merge-java/archives/ 09:39:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-merge-java/archives/ 09:39:30 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins3255332375004615435.sh 09:39:30 ---> capture-instance-metadata.sh 09:39:30 Setup pyenv: 09:39:30 system 09:39:30 3.8.13 09:39:30 3.9.13 09:39:30 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 09:39:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ImJy from file:/tmp/.os_lf_venv 09:39:32 lf-activate-venv(): INFO: Installing: lftools 09:39:42 lf-activate-venv(): INFO: Adding /tmp/venv-ImJy/bin to PATH 09:39:42 INFO: Running in OpenStack, capturing instance metadata 09:39:42 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins5530111962981709187.sh 09:39:42 provisioning config files... 09:39:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config17065255892252838808tmp 09:39:42 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 09:39:42 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 09:39:42 [EnvInject] - Injecting environment variables from a build step. 09:39:42 [EnvInject] - Injecting as environment variables the properties content 09:39:42 SERVER_ID=logs 09:39:42 09:39:42 [EnvInject] - Variables injected successfully. 09:39:42 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins5386796507263088170.sh 09:39:42 ---> create-netrc.sh 09:39:42 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins547353032355303689.sh 09:39:42 ---> python-tools-install.sh 09:39:42 Setup pyenv: 09:39:42 system 09:39:42 3.8.13 09:39:42 3.9.13 09:39:42 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 09:39:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ImJy from file:/tmp/.os_lf_venv 09:39:44 lf-activate-venv(): INFO: Installing: lftools 09:39:51 lf-activate-venv(): INFO: Adding /tmp/venv-ImJy/bin to PATH 09:39:51 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins8071231335847404044.sh 09:39:51 ---> sudo-logs.sh 09:39:51 Archiving 'sudo' log.. 09:39:51 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins5780961707256332515.sh 09:39:51 ---> job-cost.sh 09:39:51 Setup pyenv: 09:39:51 system 09:39:51 3.8.13 09:39:51 3.9.13 09:39:51 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 09:39:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ImJy from file:/tmp/.os_lf_venv 09:39:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 09:39:59 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. 09:39:59 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 09:40:00 lf-activate-venv(): INFO: Adding /tmp/venv-ImJy/bin to PATH 09:40:00 INFO: No Stack... 09:40:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:40:00 INFO: Archiving Costs 09:40:00 [policy-api-master-merge-java] $ /bin/bash -l /tmp/jenkins4764897109963031480.sh 09:40:00 ---> logs-deploy.sh 09:40:00 Setup pyenv: 09:40:00 system 09:40:00 3.8.13 09:40:00 3.9.13 09:40:00 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 09:40:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ImJy from file:/tmp/.os_lf_venv 09:40:02 lf-activate-venv(): INFO: Installing: lftools 09:40:10 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. 09:40:10 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 09:40:11 lf-activate-venv(): INFO: Adding /tmp/venv-ImJy/bin to PATH 09:40:11 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-merge-java/326 09:40:11 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 09:40:12 Archives upload complete. 09:40:12 INFO: archiving logs to Nexus 09:40:13 ---> uname -a: 09:40:13 Linux prd-ubuntu1804-docker-8c-8g-6623 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 09:40:13 09:40:13 09:40:13 ---> lscpu: 09:40:13 Architecture: x86_64 09:40:13 CPU op-mode(s): 32-bit, 64-bit 09:40:13 Byte Order: Little Endian 09:40:13 CPU(s): 8 09:40:13 On-line CPU(s) list: 0-7 09:40:13 Thread(s) per core: 1 09:40:13 Core(s) per socket: 1 09:40:13 Socket(s): 8 09:40:13 NUMA node(s): 1 09:40:13 Vendor ID: AuthenticAMD 09:40:13 CPU family: 23 09:40:13 Model: 49 09:40:13 Model name: AMD EPYC-Rome Processor 09:40:13 Stepping: 0 09:40:13 CPU MHz: 2799.998 09:40:13 BogoMIPS: 5599.99 09:40:13 Virtualization: AMD-V 09:40:13 Hypervisor vendor: KVM 09:40:13 Virtualization type: full 09:40:13 L1d cache: 32K 09:40:13 L1i cache: 32K 09:40:13 L2 cache: 512K 09:40:13 L3 cache: 16384K 09:40:13 NUMA node0 CPU(s): 0-7 09:40:13 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 09:40:13 09:40:13 09:40:13 ---> nproc: 09:40:13 8 09:40:13 09:40:13 09:40:13 ---> df -h: 09:40:13 Filesystem Size Used Avail Use% Mounted on 09:40:13 udev 16G 0 16G 0% /dev 09:40:13 tmpfs 3.2G 708K 3.2G 1% /run 09:40:13 /dev/vda1 155G 11G 144G 8% / 09:40:13 tmpfs 16G 0 16G 0% /dev/shm 09:40:13 tmpfs 5.0M 0 5.0M 0% /run/lock 09:40:13 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:40:13 /dev/vda15 105M 4.4M 100M 5% /boot/efi 09:40:13 tmpfs 3.2G 0 3.2G 0% /run/user/1001 09:40:13 09:40:13 09:40:13 ---> free -m: 09:40:13 total used free shared buff/cache available 09:40:13 Mem: 32167 840 28091 0 3234 30884 09:40:13 Swap: 1023 0 1023 09:40:13 09:40:13 09:40:13 ---> ip addr: 09:40:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 09:40:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:40:13 inet 127.0.0.1/8 scope host lo 09:40:13 valid_lft forever preferred_lft forever 09:40:13 inet6 ::1/128 scope host 09:40:13 valid_lft forever preferred_lft forever 09:40:13 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 09:40:13 link/ether fa:16:3e:45:85:9d brd ff:ff:ff:ff:ff:ff 09:40:13 inet 10.30.107.170/23 brd 10.30.107.255 scope global dynamic ens3 09:40:13 valid_lft 86039sec preferred_lft 86039sec 09:40:13 inet6 fe80::f816:3eff:fe45:859d/64 scope link 09:40:13 valid_lft forever preferred_lft forever 09:40:13 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 09:40:13 link/ether 02:42:e4:e0:ad:3f brd ff:ff:ff:ff:ff:ff 09:40:13 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:40:13 valid_lft forever preferred_lft forever 09:40:13 inet6 fe80::42:e4ff:fee0:ad3f/64 scope link 09:40:13 valid_lft forever preferred_lft forever 09:40:13 09:40:13 09:40:13 ---> sar -b -r -n DEV: 09:40:13 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6623) 02/19/24 _x86_64_ (8 CPU) 09:40:13 09:40:13 09:34:15 LINUX RESTART (8 CPU) 09:40:13 09:40:13 09:35:01 tps rtps wtps bread/s bwrtn/s 09:40:13 09:36:01 131.33 17.58 113.75 1020.36 78777.94 09:40:13 09:37:01 171.95 44.91 127.05 2522.91 48677.75 09:40:13 09:38:01 2.63 0.00 2.63 0.00 174.77 09:40:13 09:39:01 290.55 4.60 285.95 449.39 30239.23 09:40:13 09:40:01 117.95 1.47 116.48 114.78 22179.37 09:40:13 Average: 142.88 13.71 129.17 821.49 36009.81 09:40:13 09:40:13 09:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:40:13 09:36:01 30074748 31697952 2864472 8.70 71440 1860752 1458652 4.29 873500 1693776 149760 09:40:13 09:37:01 28157692 30124416 4781528 14.52 84664 2178296 2830708 8.33 2542616 1912828 2752 09:40:13 09:38:01 27804008 29771144 5135212 15.59 84732 2178628 3150376 9.27 2895716 1912504 272 09:40:13 09:39:01 27730468 30560096 5208752 15.81 89416 3021464 2392036 7.04 2355180 2490972 0 09:40:13 09:40:01 28791728 31649992 4147492 12.59 98320 3039268 1472236 4.33 1292744 2490652 31276 09:40:13 Average: 28511729 30760720 4427491 13.44 85714 2455682 2260802 6.65 1991951 2100146 36812 09:40:13 09:40:13 09:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:40:13 09:36:01 ens3 66.31 44.11 943.65 12.68 0.00 0.00 0.00 0.00 09:40:13 09:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:40:13 09:36:01 lo 1.60 1.60 0.17 0.17 0.00 0.00 0.00 0.00 09:40:13 09:37:01 ens3 433.54 330.84 3429.73 58.66 0.00 0.00 0.00 0.00 09:40:13 09:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:40:13 09:37:01 lo 15.53 15.53 18.13 18.13 0.00 0.00 0.00 0.00 09:40:13 09:38:01 ens3 105.53 69.32 22.83 40.78 0.00 0.00 0.00 0.00 09:40:13 09:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:40:13 09:38:01 lo 108.90 108.90 36.99 36.99 0.00 0.00 0.00 0.00 09:40:13 09:39:01 ens3 413.53 293.65 2346.12 1883.42 0.00 0.00 0.00 0.00 09:40:13 09:39:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 09:40:13 09:39:01 lo 68.87 68.87 22.52 22.52 0.00 0.00 0.00 0.00 09:40:13 09:40:01 ens3 334.26 326.51 117.18 1701.42 0.00 0.00 0.00 0.00 09:40:13 09:40:01 docker0 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 09:40:13 09:40:01 lo 4.53 4.53 0.42 0.42 0.00 0.00 0.00 0.00 09:40:13 Average: ens3 270.63 212.89 1371.90 739.39 0.00 0.00 0.00 0.00 09:40:13 Average: docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 09:40:13 Average: lo 39.89 39.89 15.65 15.65 0.00 0.00 0.00 0.00 09:40:13 09:40:13 09:40:13 ---> sar -P ALL: 09:40:13 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6623) 02/19/24 _x86_64_ (8 CPU) 09:40:13 09:40:13 09:34:15 LINUX RESTART (8 CPU) 09:40:13 09:40:13 09:35:01 CPU %user %nice %system %iowait %steal %idle 09:40:13 09:36:01 all 9.90 0.00 0.71 4.97 0.04 84.38 09:40:13 09:36:01 0 1.24 0.00 0.37 18.73 0.03 79.63 09:40:13 09:36:01 1 4.37 0.00 0.47 0.17 0.02 94.98 09:40:13 09:36:01 2 9.08 0.00 0.68 1.58 0.03 88.62 09:40:13 09:36:01 3 14.37 0.00 0.92 0.77 0.07 83.88 09:40:13 09:36:01 4 23.60 0.00 1.62 2.17 0.05 72.56 09:40:13 09:36:01 5 13.07 0.00 0.69 2.62 0.08 83.54 09:40:13 09:36:01 6 8.73 0.00 0.59 13.71 0.03 76.94 09:40:13 09:36:01 7 4.85 0.00 0.40 0.00 0.02 94.73 09:40:13 09:37:01 all 31.25 0.00 1.18 2.62 0.08 64.88 09:40:13 09:37:01 0 25.99 0.00 0.54 14.57 0.07 58.84 09:40:13 09:37:01 1 32.38 0.00 0.52 0.28 0.08 66.73 09:40:13 09:37:01 2 28.31 0.00 0.92 0.42 0.05 70.30 09:40:13 09:37:01 3 39.85 0.00 2.70 1.01 0.07 56.38 09:40:13 09:37:01 4 32.73 0.00 0.92 0.22 0.07 66.06 09:40:13 09:37:01 5 34.08 0.00 1.46 2.91 0.08 61.46 09:40:13 09:37:01 6 26.70 0.00 1.48 0.96 0.08 70.78 09:40:13 09:37:01 7 29.98 0.00 0.85 0.57 0.07 68.53 09:40:13 09:38:01 all 20.87 0.00 0.30 0.02 0.05 78.75 09:40:13 09:38:01 0 15.86 0.00 0.27 0.02 0.05 83.81 09:40:13 09:38:01 1 28.85 0.00 0.25 0.00 0.07 70.83 09:40:13 09:38:01 2 21.80 0.00 0.37 0.13 0.07 77.63 09:40:13 09:38:01 3 20.98 0.00 0.17 0.00 0.05 78.80 09:40:13 09:38:01 4 24.57 0.00 0.32 0.00 0.05 75.06 09:40:13 09:38:01 5 19.32 0.00 0.27 0.05 0.05 80.31 09:40:13 09:38:01 6 17.61 0.00 0.57 0.00 0.07 81.75 09:40:13 09:38:01 7 17.93 0.00 0.25 0.00 0.05 81.77 09:40:13 09:39:01 all 28.21 0.00 1.18 1.08 0.07 69.45 09:40:13 09:39:01 0 36.35 0.00 1.24 0.00 0.07 62.35 09:40:13 09:39:01 1 26.43 0.00 1.05 0.02 0.08 72.42 09:40:13 09:39:01 2 12.44 0.00 1.12 5.06 0.08 81.29 09:40:13 09:39:01 3 38.22 0.00 0.52 0.07 0.07 61.13 09:40:13 09:39:01 4 45.05 0.00 0.70 0.02 0.07 54.17 09:40:13 09:39:01 5 23.80 0.00 1.07 0.02 0.10 75.01 09:40:13 09:39:01 6 26.83 0.00 1.99 3.38 0.07 67.74 09:40:13 09:39:01 7 16.73 0.00 1.82 0.03 0.05 81.36 09:40:13 09:40:01 all 9.53 0.00 1.22 0.76 0.04 88.44 09:40:13 09:40:01 0 24.63 0.00 1.66 1.52 0.05 72.15 09:40:13 09:40:01 1 5.36 0.00 1.34 1.59 0.05 91.67 09:40:13 09:40:01 2 5.43 0.00 1.43 1.65 0.05 91.44 09:40:13 09:40:01 3 8.34 0.00 1.12 0.02 0.03 90.49 09:40:13 09:40:01 4 7.26 0.00 0.95 0.49 0.03 91.27 09:40:13 09:40:01 5 4.00 0.00 0.82 0.69 0.05 94.44 09:40:13 09:40:01 6 1.40 0.00 0.92 0.02 0.03 97.63 09:40:13 09:40:01 7 19.81 0.00 1.52 0.17 0.03 78.47 09:40:13 Average: all 19.95 0.00 0.92 1.89 0.06 77.18 09:40:13 Average: 0 20.81 0.00 0.81 6.97 0.05 71.36 09:40:13 Average: 1 19.46 0.00 0.72 0.41 0.06 79.34 09:40:13 Average: 2 15.39 0.00 0.91 1.78 0.06 81.87 09:40:13 Average: 3 24.34 0.00 1.08 0.37 0.06 74.15 09:40:13 Average: 4 26.65 0.00 0.90 0.58 0.05 71.82 09:40:13 Average: 5 18.85 0.00 0.86 1.25 0.07 78.96 09:40:13 Average: 6 16.25 0.00 1.11 3.61 0.06 78.98 09:40:13 Average: 7 17.85 0.00 0.97 0.15 0.04 80.98 09:40:13 09:40:13 09:40:13