16:45:57 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/137247 16:45:57 Running as SYSTEM 16:45:57 [EnvInject] - Loading node environment variables. 16:45:57 Building remotely on prd-ubuntu1804-docker-8c-8g-5873 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-merge-java 16:45:57 [ssh-agent] Looking for ssh-agent implementation... 16:45:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:58 $ ssh-agent 16:45:58 SSH_AUTH_SOCK=/tmp/ssh-pjWqV0NaQ03b/agent.2097 16:45:58 SSH_AGENT_PID=2099 16:45:58 [ssh-agent] Started. 16:45:58 Running ssh-add (command line suppressed) 16:45:58 Identity added: /w/workspace/policy-api-master-merge-java@tmp/private_key_3501805592822249341.key (/w/workspace/policy-api-master-merge-java@tmp/private_key_3501805592822249341.key) 16:45:58 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 16:45:58 The recommended git tool is: NONE 16:45:59 using credential onap-jenkins-ssh 16:45:59 Wiping out workspace first. 16:45:59 Cloning the remote Git repository 16:46:00 Cloning repository git://cloud.onap.org/mirror/policy/api.git 16:46:00 > git init /w/workspace/policy-api-master-merge-java # timeout=10 16:46:00 Fetching upstream changes from git://cloud.onap.org/mirror/policy/api.git 16:46:00 > git --version # timeout=10 16:46:00 > git --version # 'git version 2.17.1' 16:46:00 using GIT_SSH to set credentials Gerrit user 16:46:00 Verifying host key using manually-configured host key entries 16:46:00 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/api.git +refs/heads/*:refs/remotes/origin/* # timeout=30 16:46:00 > git config remote.origin.url git://cloud.onap.org/mirror/policy/api.git # timeout=10 16:46:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:46:00 Avoid second fetch 16:46:00 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 16:46:00 Checking out Revision 4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 (refs/remotes/origin/master) 16:46:00 > git config core.sparsecheckout # timeout=10 16:46:01 > git checkout -f 4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 # timeout=30 16:46:01 Commit message: "update references in policy/api pom" 16:46:01 > git rev-list --no-walk 6388f211f164d892820f3a6c0069d2489d9cabc2 # timeout=10 16:46:01 Run condition [Regular expression match] enabling prebuild for step [Execute shell] 16:46:01 provisioning config files... 16:46:01 copy managed file [npmrc] to file:/home/jenkins/.npmrc 16:46:01 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 16:46:01 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins18165181792387889817.sh 16:46:01 ---> python-tools-install.sh 16:46:01 Setup pyenv: 16:46:01 * system (set by /opt/pyenv/version) 16:46:01 * 3.8.13 (set by /opt/pyenv/version) 16:46:01 * 3.9.13 (set by /opt/pyenv/version) 16:46:01 * 3.10.6 (set by /opt/pyenv/version) 16:46:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UFZo 16:46:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 16:46:08 lf-activate-venv(): INFO: Installing: lftools 16:46:39 lf-activate-venv(): INFO: Adding /tmp/venv-UFZo/bin to PATH 16:46:39 Generating Requirements File 16:47:11 Python 3.10.6 16:47:12 pip 24.0 from /tmp/venv-UFZo/lib/python3.10/site-packages/pip (python 3.10) 16:47:12 appdirs==1.4.4 16:47:12 argcomplete==3.2.2 16:47:12 aspy.yaml==1.3.0 16:47:12 attrs==23.2.0 16:47:12 autopage==0.5.2 16:47:12 beautifulsoup4==4.12.3 16:47:12 boto3==1.34.43 16:47:12 botocore==1.34.43 16:47:12 bs4==0.0.2 16:47:12 cachetools==5.3.2 16:47:12 certifi==2024.2.2 16:47:12 cffi==1.16.0 16:47:12 cfgv==3.4.0 16:47:12 chardet==5.2.0 16:47:12 charset-normalizer==3.3.2 16:47:12 click==8.1.7 16:47:12 cliff==4.5.0 16:47:12 cmd2==2.4.3 16:47:12 cryptography==3.3.2 16:47:12 debtcollector==2.5.0 16:47:12 decorator==5.1.1 16:47:12 defusedxml==0.7.1 16:47:12 Deprecated==1.2.14 16:47:12 distlib==0.3.8 16:47:12 dnspython==2.5.0 16:47:12 docker==4.2.2 16:47:12 dogpile.cache==1.3.1 16:47:12 email-validator==2.1.0.post1 16:47:12 filelock==3.13.1 16:47:12 future==0.18.3 16:47:12 gitdb==4.0.11 16:47:12 GitPython==3.1.42 16:47:12 google-auth==2.28.0 16:47:12 httplib2==0.22.0 16:47:12 identify==2.5.34 16:47:12 idna==3.6 16:47:12 importlib-resources==1.5.0 16:47:12 iso8601==2.1.0 16:47:12 Jinja2==3.1.3 16:47:12 jmespath==1.0.1 16:47:12 jsonpatch==1.33 16:47:12 jsonpointer==2.4 16:47:12 jsonschema==4.21.1 16:47:12 jsonschema-specifications==2023.12.1 16:47:12 keystoneauth1==5.5.0 16:47:12 kubernetes==29.0.0 16:47:12 lftools==0.37.8 16:47:12 lxml==5.1.0 16:47:12 MarkupSafe==2.1.5 16:47:12 msgpack==1.0.7 16:47:12 multi_key_dict==2.0.3 16:47:12 munch==4.0.0 16:47:12 netaddr==1.1.0 16:47:12 netifaces==0.11.0 16:47:12 niet==1.4.2 16:47:12 nodeenv==1.8.0 16:47:12 oauth2client==4.1.3 16:47:12 oauthlib==3.2.2 16:47:12 openstacksdk==0.62.0 16:47:12 os-client-config==2.1.0 16:47:12 os-service-types==1.7.0 16:47:12 osc-lib==3.0.0 16:47:12 oslo.config==9.3.0 16:47:12 oslo.context==5.3.0 16:47:12 oslo.i18n==6.2.0 16:47:12 oslo.log==5.4.0 16:47:12 oslo.serialization==5.3.0 16:47:12 oslo.utils==7.0.0 16:47:12 packaging==23.2 16:47:12 pbr==6.0.0 16:47:12 platformdirs==4.2.0 16:47:12 prettytable==3.9.0 16:47:12 pyasn1==0.5.1 16:47:12 pyasn1-modules==0.3.0 16:47:12 pycparser==2.21 16:47:12 pygerrit2==2.0.15 16:47:12 PyGithub==2.2.0 16:47:12 pyinotify==0.9.6 16:47:12 PyJWT==2.8.0 16:47:12 PyNaCl==1.5.0 16:47:12 pyparsing==2.4.7 16:47:12 pyperclip==1.8.2 16:47:12 pyrsistent==0.20.0 16:47:12 python-cinderclient==9.4.0 16:47:12 python-dateutil==2.8.2 16:47:12 python-heatclient==3.4.0 16:47:12 python-jenkins==1.8.2 16:47:12 python-keystoneclient==5.3.0 16:47:12 python-magnumclient==4.3.0 16:47:12 python-novaclient==18.4.0 16:47:12 python-openstackclient==6.0.1 16:47:12 python-swiftclient==4.4.0 16:47:12 pytz==2024.1 16:47:12 PyYAML==6.0.1 16:47:12 referencing==0.33.0 16:47:12 requests==2.31.0 16:47:12 requests-oauthlib==1.3.1 16:47:12 requestsexceptions==1.4.0 16:47:12 rfc3986==2.0.0 16:47:12 rpds-py==0.18.0 16:47:12 rsa==4.9 16:47:12 ruamel.yaml==0.18.6 16:47:12 ruamel.yaml.clib==0.2.8 16:47:12 s3transfer==0.10.0 16:47:12 simplejson==3.19.2 16:47:12 six==1.16.0 16:47:12 smmap==5.0.1 16:47:12 soupsieve==2.5 16:47:12 stevedore==5.1.0 16:47:12 tabulate==0.9.0 16:47:12 toml==0.10.2 16:47:12 tomlkit==0.12.3 16:47:12 tqdm==4.66.2 16:47:12 typing_extensions==4.9.0 16:47:12 tzdata==2024.1 16:47:12 urllib3==1.26.18 16:47:12 virtualenv==20.25.0 16:47:12 wcwidth==0.2.13 16:47:12 websocket-client==1.7.0 16:47:12 wrapt==1.16.0 16:47:12 xdg==6.0.0 16:47:12 xmltodict==0.13.0 16:47:12 yq==3.2.3 16:47:12 [EnvInject] - Injecting environment variables from a build step. 16:47:12 [EnvInject] - Injecting as environment variables the properties content 16:47:12 SET_JDK_VERSION=openjdk17 16:47:12 GIT_URL="git://cloud.onap.org/mirror" 16:47:12 16:47:12 [EnvInject] - Variables injected successfully. 16:47:12 [policy-api-master-merge-java] $ /bin/sh /tmp/jenkins4929772599926411329.sh 16:47:12 ---> update-java-alternatives.sh 16:47:12 ---> Updating Java version 16:47:12 ---> Ubuntu/Debian system detected 16:47:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 16:47:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 16:47:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 16:47:13 openjdk version "17.0.4" 2022-07-19 16:47:13 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 16:47:13 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 16:47:13 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 16:47:13 [EnvInject] - Injecting environment variables from a build step. 16:47:13 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 16:47:13 [EnvInject] - Variables injected successfully. 16:47:13 provisioning config files... 16:47:13 copy managed file [global-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config12528519921627501389tmp 16:47:13 copy managed file [policy-api-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config17099231551591243750tmp 16:47:13 Regular expression run condition: Expression=[.*(amd64|arm64).*], Label=[policy-api] 16:47:13 Run condition [Regular expression match] preventing perform for step [Execute shell] 16:47:13 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-5873 16:47:13 using settings config with name policy-api-settings 16:47:13 Replacing all maven server entries not found in credentials list is true 16:47:13 using global settings config with name global-settings 16:47:13 Replacing all maven server entries not found in credentials list is true 16:47:13 [policy-api-master-merge-java] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -s /tmp/settings11510675696709190231.xml -gs /tmp/global-settings936196122112132355.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 -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/+/137247 -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=137247 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Wayne Dunican\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/47/137247/1 -DGERRIT_NEWREV=4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 "-DGERRIT_PATCHSET_UPLOADER_NAME=Wayne Dunican" '-DGERRIT_CHANGE_OWNER=\"Wayne Dunican\" ' -DPROJECT=policy/api -DGERRIT_CHANGE_COMMIT_MESSAGE=dXBkYXRlIHJlZmVyZW5jZXMgaW4gcG9saWN5L2FwaSBwb20KCnVwZGF0ZWQgcmVmZXJlbmNlcyBpbiB0aGUgcG9saWN5L2FwaSBwb20KCioqKiBUaGlzIGNvbW1pdCBpcyBnZW5lcmF0ZWQgYnkgYSBQRiByZWxlYXNlIHNjcmlwdCAqKioKCklzc3VlLUlEOiBQT0xJQ1ktNDkzMgpDaGFuZ2UtSWQ6IEk1NTU1ODFhZDI3MjlkY2YyOGEyNTBhOGE4Nzk0ODc0ZDJmY2U1NTM1ClNpZ25lZC1vZmYtYnk6IHdheW5lZHVuaWNhbiA8d2F5bmUuZHVuaWNhbkBlc3QudGVjaD4K -DGERRIT_NAME=Primary -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=update references in policy/api pom" '-DGERRIT_EVENT_ACCOUNT=\"Ramesh Murugan Iyer\" ' -DGERRIT_CHANGE_WIP_STATE=false -DGERRIT_CHANGE_ID=I555581ad2729dcf28a250a8a8794874d2fce5535 -DGERRIT_EVENT_HASH=395534728 -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 16:47:14 [INFO] Scanning for projects... 16:47:15 [INFO] ------------------------------------------------------------------------ 16:47:15 [INFO] Reactor Build Order: 16:47:15 [INFO] 16:47:15 [INFO] policy-api [pom] 16:47:15 [INFO] api-main [jar] 16:47:15 [INFO] api-packages [pom] 16:47:15 [INFO] policy-api-tarball [jar] 16:47:15 [INFO] policy-api-docker [pom] 16:47:15 [INFO] api-testsuites [pom] 16:47:15 [INFO] api-stability [jar] 16:47:15 [INFO] api-performance [jar] 16:47:15 [INFO] 16:47:15 [INFO] -------------------< org.onap.policy.api:policy-api >------------------- 16:47:15 [INFO] Building policy-api 3.1.1-SNAPSHOT [1/8] 16:47:15 [INFO] --------------------------------[ pom ]--------------------------------- 16:47:21 [INFO] 16:47:21 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api --- 16:47:21 [INFO] 16:47:21 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api --- 16:47:23 [INFO] 16:47:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api --- 16:47:23 [INFO] 16:47:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api --- 16:47: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/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 16:47:23 --add-opens java.base/java.util=ALL-UNNAMED 16:47:23 --add-opens java.sql/java.sql=ALL-UNNAMED 16:47:23 [INFO] 16:47:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api --- 16:47:25 [INFO] Starting audit... 16:47:25 Audit done. 16:47:25 [INFO] You have 0 Checkstyle violations. 16:47:25 [INFO] 16:47:25 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api --- 16:47:26 [INFO] Starting audit... 16:47:26 Audit done. 16:47:26 [INFO] You have 0 Checkstyle violations. 16:47:26 [INFO] 16:47:26 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api --- 16:47:26 [INFO] Skipping JaCoCo execution due to missing execution data file. 16:47:26 [INFO] 16:47:26 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api --- 16:47:26 [INFO] 16:47:26 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api --- 16:47:26 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:47:26 [INFO] failsafeArgLine set to empty 16:47:26 [INFO] 16:47:26 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api --- 16:47:26 [INFO] No tests to run. 16:47:26 [INFO] 16:47:26 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api --- 16:47:26 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:47:26 [INFO] 16:47:26 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api --- 16:47:26 [INFO] 16:47:26 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api --- 16:47: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 16:47:27 [INFO] 16:47:27 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api --- 16:47:27 [INFO] 16:47:27 [INFO] --------------------< org.onap.policy.api:api-main >-------------------- 16:47:27 [INFO] Building api-main 3.1.1-SNAPSHOT [2/8] 16:47:27 [INFO] --------------------------------[ jar ]--------------------------------- 16:47:30 [INFO] 16:47:30 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-main --- 16:47:30 [INFO] 16:47:30 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-main --- 16:47:30 [INFO] 16:47:30 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-main --- 16:47:30 [INFO] 16:47:30 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-main --- 16:47:30 [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 16:47:30 --add-opens java.base/java.util=ALL-UNNAMED 16:47:30 --add-opens java.sql/java.sql=ALL-UNNAMED 16:47:30 [INFO] 16:47:30 [INFO] --- swagger-codegen-maven-plugin:3.0.52:generate (code-gen) @ api-main --- 16:47:33 [WARNING] Output directory does not exist, or is inaccessible. No file (.swagger-codegen-ignore) will be evaluated. 16:47:33 [INFO] Set base package to invoker package (org.onap.policy.api.main.rest) 16:47:34 [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 16:47:34 [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 16:47:34 [INFO] 16:47:34 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-main --- 16:47:34 [INFO] Starting audit... 16:47:34 Audit done. 16:47:34 [INFO] You have 0 Checkstyle violations. 16:47:34 [INFO] 16:47:34 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-main --- 16:47:35 [INFO] Starting audit... 16:47:35 Audit done. 16:47:35 [INFO] You have 0 Checkstyle violations. 16:47:35 [INFO] 16:47:35 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-main --- 16:47:35 [INFO] Copying 1 resource from src/main/resources to target/classes 16:47:35 [INFO] Copying 4 resources from src/main/resources to target/classes 16:47:35 [INFO] 16:47:35 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-main --- 16:47:35 [INFO] Changes detected - recompiling the module! :dependency 16:47:35 [INFO] Compiling 31 source files with javac [debug release 17] to target/classes 16:47:37 [INFO] 16:47:37 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-main --- 16:47:37 [INFO] Copying 20 resources from src/test/resources to target/test-classes 16:47:37 [INFO] 16:47:37 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-main --- 16:47:37 [INFO] Changes detected - recompiling the module! :dependency 16:47:37 [INFO] Compiling 16 source files with javac [debug release 17] to target/test-classes 16:47:38 [INFO] 16:47:38 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-main --- 16:47:39 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider 16:47:39 [INFO] 16:47:39 [INFO] ------------------------------------------------------- 16:47:39 [INFO] T E S T S 16:47:39 [INFO] ------------------------------------------------------- 16:47:40 [INFO] Running org.onap.policy.api.contract.ApiContractTest 16:47:42 16:47:42 . ____ _ __ _ _ 16:47:42 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:47:42 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:47:42 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:47:42 ' |____| .__|_| |_|_| |_\__, | / / / / 16:47:42 =========|_|==============|___/=/_/_/_/ 16:47:42 :: Spring Boot :: (v3.1.8) 16:47:42 16:47:43 2024-02-16T16:47:42.957Z WARN 2893 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 16:47:43 16:47:43 Found multiple occurrences of org.json.JSONObject on the class path: 16:47:43 16:47:43 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 16:47:43 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 16:47:43 16:47:43 You may wish to exclude one of them to ensure predictable runtime behavior 16:47:43 16:47:43 2024-02-16T16:47:42.976Z INFO 2893 --- [ main] o.o.policy.api.contract.ApiContractTest : Starting ApiContractTest using Java 17.0.4 with PID 2893 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 16:47:43 2024-02-16T16:47:42.977Z INFO 2893 --- [ main] o.o.policy.api.contract.ApiContractTest : The following 2 profiles are active: "test", "stub" 16:47:44 2024-02-16T16:47:44.478Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:47:44 2024-02-16T16:47:44.789Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 302 ms. Found 6 JPA repository interfaces. 16:47:45 2024-02-16T16:47:45.145Z WARN 2893 --- [ 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 16:47:45 2024-02-16T16:47:45.146Z WARN 2893 --- [ 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 16:47:45 2024-02-16T16:47:45.753Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 16:47:45 2024-02-16T16:47:45.772Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 16:47:45 2024-02-16T16:47:45.772Z INFO 2893 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 16:47:45 2024-02-16T16:47:45.854Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 16:47:45 2024-02-16T16:47:45.855Z INFO 2893 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2851 ms 16:47:46 2024-02-16T16:47:46.243Z INFO 2893 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 16:47:46 2024-02-16T16:47:46.299Z INFO 2893 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.3.0.CR1 16:47:46 2024-02-16T16:47:46.301Z INFO 2893 --- [ main] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 16:47:46 2024-02-16T16:47:46.340Z INFO 2893 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 16:47:46 2024-02-16T16:47:46.619Z INFO 2893 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 16:47:46 2024-02-16T16:47:46.642Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 16:47:47 2024-02-16T16:47:46.987Z INFO 2893 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=POLICY_USER 16:47:47 2024-02-16T16:47:46.989Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 16:47:47 2024-02-16T16:47:47.020Z WARN 2893 --- [ 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) 16:47:48 2024-02-16T16:47:48.942Z INFO 2893 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:47:49 2024-02-16T16:47:49.216Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 16:47:50 2024-02-16T16:47:50.195Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:47:50 2024-02-16T16:47:50.904Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:47:51 2024-02-16T16:47:51.917Z WARN 2893 --- [ 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 16:47:52 2024-02-16T16:47:52.088Z INFO 2893 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@22c37b93, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@567634ca, org.springframework.security.web.context.SecurityContextHolderFilter@1f14ebc5, org.springframework.security.web.header.HeaderWriterFilter@edbf280, org.springframework.security.web.authentication.logout.LogoutFilter@105098fc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@10dbb66d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5ac56a19, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@fe7093a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3aefd633, org.springframework.security.web.access.ExceptionTranslationFilter@33d140e3, org.springframework.security.web.access.intercept.AuthorizationFilter@e9c4d2a] 16:47:52 2024-02-16T16:47:52.916Z INFO 2893 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 16:47:53 2024-02-16T16:47:53.281Z INFO 2893 --- [ 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] 16:47:53 2024-02-16T16:47:53.297Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 34247 (https) with context path '/policy/api/v1' 16:47:53 2024-02-16T16:47:53.317Z INFO 2893 --- [ main] o.o.policy.api.contract.ApiContractTest : Started ApiContractTest in 10.802 seconds (process running for 14.014) 16:47:53 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 16:47:54 2024-02-16T16:47:54.164Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.172Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.336Z INFO 2893 --- [o-auto-1-exec-9] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 16:47:54 2024-02-16T16:47:54.337Z INFO 2893 --- [o-auto-1-exec-9] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 16:47:54 2024-02-16T16:47:54.339Z INFO 2893 --- [o-auto-1-exec-9] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 16:47:54 2024-02-16T16:47:54.665Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.667Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.824Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.826Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.958Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:54 2024-02-16T16:47:54.960Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.083Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.085Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.211Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.212Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.350Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.352Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.468Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.470Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.587Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.588Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.703Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.704Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.824Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.826Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.951Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:55 2024-02-16T16:47:55.952Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.108Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.109Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.232Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.234Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.352Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.353Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.461Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.465Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.579Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.581Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.711Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:47:56 2024-02-16T16:47:56.712Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:47:56 2024-02-16T16:47:56.824Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:47:56 2024-02-16T16:47:56.825Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:47:56 2024-02-16T16:47:56.944Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:56 2024-02-16T16:47:56.945Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.056Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.057Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.174Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.176Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.296Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.297Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.418Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.420Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:47:57 2024-02-16T16:47:57.542Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 16:47:57 2024-02-16T16:47:57.543Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 16:47:57 2024-02-16T16:47:57.558Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 16:47:57 2024-02-16T16:47:57.563Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 16:47:57 2024-02-16T16:47:57.566Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 16:47:57 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.34 s -- in org.onap.policy.api.contract.ApiContractTest 16:47:57 [INFO] Running org.onap.policy.api.main.rest.TestApiRestServer 16:47:57 16:47:57 . ____ _ __ _ _ 16:47:57 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:47:57 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:47:57 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:47:57 ' |____| .__|_| |_|_| |_\__, | / / / / 16:47:57 =========|_|==============|___/=/_/_/_/ 16:47:57 :: Spring Boot :: (v3.1.8) 16:47:57 16:47:57 2024-02-16T16:47:57.615Z WARN 2893 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 16:47:57 16:47:57 Found multiple occurrences of org.json.JSONObject on the class path: 16:47:57 16:47:57 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 16:47:57 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 16:47:57 16:47:57 You may wish to exclude one of them to ensure predictable runtime behavior 16:47:57 16:47:57 2024-02-16T16:47:57.617Z INFO 2893 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Starting TestApiRestServer using Java 17.0.4 with PID 2893 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 16:47:57 2024-02-16T16:47:57.618Z INFO 2893 --- [ main] o.o.p.api.main.rest.TestApiRestServer : The following 2 profiles are active: "test", "default" 16:47:57 2024-02-16T16:47:57.874Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:47:57 2024-02-16T16:47:57.886Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 11 ms. Found 6 JPA repository interfaces. 16:47:58 2024-02-16T16:47:57.927Z WARN 2893 --- [ 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 16:47:58 2024-02-16T16:47:57.928Z WARN 2893 --- [ 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 16:47:58 2024-02-16T16:47:58.062Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 16:47:58 2024-02-16T16:47:58.063Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 16:47:58 2024-02-16T16:47:58.064Z INFO 2893 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 16:47:58 2024-02-16T16:47:58.079Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 16:47:58 2024-02-16T16:47:58.079Z INFO 2893 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 460 ms 16:47:58 2024-02-16T16:47:58.194Z INFO 2893 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 16:47:58 2024-02-16T16:47:58.196Z INFO 2893 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 16:47:58 2024-02-16T16:47:58.199Z INFO 2893 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 16:47:58 2024-02-16T16:47:58.200Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 16:47:58 2024-02-16T16:47:58.202Z INFO 2893 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn10: url=jdbc:h2:mem:testdb user=POLICY_USER 16:47:58 2024-02-16T16:47:58.202Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 16:47:58 2024-02-16T16:47:58.203Z WARN 2893 --- [ 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) 16:47:58 2024-02-16T16:47:58.655Z INFO 2893 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:47:58 2024-02-16T16:47:58.753Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 16:47:59 2024-02-16T16:47:59.040Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:47:59 2024-02-16T16:47:59.281Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:47:59 2024-02-16T16:47:59.825Z WARN 2893 --- [ 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 16:47:59 2024-02-16T16:47:59.862Z INFO 2893 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@339a3544, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1355d542, org.springframework.security.web.context.SecurityContextHolderFilter@7e6aa937, org.springframework.security.web.header.HeaderWriterFilter@49af06a8, org.springframework.security.web.authentication.logout.LogoutFilter@73c189c5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@232069fc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@19493f0e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@69626138, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@47887196, org.springframework.security.web.access.ExceptionTranslationFilter@aaf4e99, org.springframework.security.web.access.intercept.AuthorizationFilter@4cea02bd] 16:48:00 2024-02-16T16:48:00.141Z INFO 2893 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 16:48:00 2024-02-16T16:48:00.188Z INFO 2893 --- [ 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] 16:48:00 2024-02-16T16:48:00.190Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 40737 (https) with context path '/policy/api/v1' 16:48:00 2024-02-16T16:48:00.197Z INFO 2893 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Started TestApiRestServer in 2.611 seconds (process running for 20.893) 16:48:00 2024-02-16T16:48:00.209Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:00 2024-02-16T16:48:00.210Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:00 2024-02-16T16:48:00.229Z INFO 2893 --- [o-auto-2-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 16:48:00 2024-02-16T16:48:00.229Z INFO 2893 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 16:48:00 2024-02-16T16:48:00.231Z INFO 2893 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 16:48:00 2024-02-16T16:48:00.538Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:00 2024-02-16T16:48:00.539Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:00 2024-02-16T16:48:00.812Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:00 2024-02-16T16:48:00.814Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.092Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.093Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.360Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.361Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.635Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.636Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.865Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:01 2024-02-16T16:48:01.866Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:02 2024-02-16T16:48:02.102Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:02 2024-02-16T16:48:02.104Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:02 2024-02-16T16:48:02.229Z INFO 2893 --- [o-auto-2-exec-4] o.o.p.c.u.services.OrderedServiceImpl : ***** OrderedServiceImpl implementers: 16:48:02 [] 16:48:02 2024-02-16T16:48:02.230Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:02 {"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"} 16:48:02 2024-02-16T16:48:02.443Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:02 2024-02-16T16:48:02.445Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:02 2024-02-16T16:48:02.692Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:02 2024-02-16T16:48:02.693Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:02 2024-02-16T16:48:02.792Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policies] 16:48:02 {"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"} 16:48:03 2024-02-16T16:48:03.004Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:03 2024-02-16T16:48:03.005Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:03 2024-02-16T16:48:03.102Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policies] 16:48:03 {"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"} 16:48:03 2024-02-16T16:48:03.291Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:03 2024-02-16T16:48:03.292Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:03 2024-02-16T16:48:03.520Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:03 2024-02-16T16:48:03.521Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:03 2024-02-16T16:48:03.774Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:03 2024-02-16T16:48:03.775Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:03 2024-02-16T16:48:03.878Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policies] 16:48:03 {"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"} 16:48:04 2024-02-16T16:48:04.066Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.067Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.277Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:04 2024-02-16T16:48:04.277Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:04 2024-02-16T16:48:04.489Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.490Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.614Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.615Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:04 2024-02-16T16:48:04.719Z WARN 2893 --- [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 16:48:04 2024-02-16T16:48:04.774Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:04 2024-02-16T16:48:04.775Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:04 2024-02-16T16:48:04.878Z WARN 2893 --- [o-auto-2-exec-4] 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 16:48:04 2024-02-16T16:48:04.895Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:04 2024-02-16T16:48:04.896Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:04.998Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:05 {"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"} 16:48:05 2024-02-16T16:48:05.275Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:05.276Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:05.376Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:05 {"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"} 16:48:05 2024-02-16T16:48:05.549Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:05.550Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:05.645Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:05 {"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"} 16:48:05 2024-02-16T16:48:05.821Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:05 2024-02-16T16:48:05.822Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:05.919Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:06 {"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"} 16:48:06 2024-02-16T16:48:06.087Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.088Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.190Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:06 {"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"} 16:48:06 2024-02-16T16:48:06.348Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.349Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.456Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:06 {"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"} 16:48:06 2024-02-16T16:48:06.645Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.645Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:06 2024-02-16T16:48:06.741Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:06 {"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"} 16:48:07 2024-02-16T16:48:06.927Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:06.927Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.029Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:07 {"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"} 16:48:07 2024-02-16T16:48:07.219Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.220Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.326Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:07 {"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"} 16:48:07 2024-02-16T16:48:07.488Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.488Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.586Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:07 {"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"} 16:48:07 2024-02-16T16:48:07.757Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.758Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:07 2024-02-16T16:48:07.857Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:07 {"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"} 16:48:08 2024-02-16T16:48:08.008Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.008Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.106Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:08 {"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"} 16:48:08 2024-02-16T16:48:08.268Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.268Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.368Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:08 {"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"} 16:48:08 2024-02-16T16:48:08.529Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.530Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.628Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:08 {"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"} 16:48:08 2024-02-16T16:48:08.781Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.781Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:08 2024-02-16T16:48:08.879Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:08 {"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"} 16:48:09 2024-02-16T16:48:09.038Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:09 2024-02-16T16:48:09.039Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:09 2024-02-16T16:48:09.135Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:09 {"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"} 16:48:09 2024-02-16T16:48:09.290Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:09 2024-02-16T16:48:09.291Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:09 2024-02-16T16:48:09.392Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:09 {"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"} 16:48:09 2024-02-16T16:48:09.549Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:09 2024-02-16T16:48:09.550Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:09 2024-02-16T16:48:09.660Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:09 {"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"} 16:48:09 2024-02-16T16:48:09.810Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:09 2024-02-16T16:48:09.810Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:10 2024-02-16T16:48:09.929Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:10 {"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"} 16:48:10 2024-02-16T16:48:10.088Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:10 2024-02-16T16:48:10.089Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:10 2024-02-16T16:48:10.190Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:10 {"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"} 16:48:10 2024-02-16T16:48:10.344Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:10 2024-02-16T16:48:10.344Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:10 2024-02-16T16:48:10.460Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:10 {"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"} 16:48:10 2024-02-16T16:48:10.618Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:10 2024-02-16T16:48:10.619Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:10 2024-02-16T16:48:10.815Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:10 2024-02-16T16:48:10.815Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:10 2024-02-16T16:48:10.910Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48: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"} 16:48:11 2024-02-16T16:48:11.063Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.064Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.159Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48: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"} 16:48:11 2024-02-16T16:48:11.313Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.314Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.410Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48: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"} 16:48:11 2024-02-16T16:48:11.558Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.559Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.655Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48: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"} 16:48:11 2024-02-16T16:48:11.810Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.811Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:11 2024-02-16T16:48:11.905Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48: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"} 16:48:12 2024-02-16T16:48:12.061Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.062Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.157Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48: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"} 16:48:12 2024-02-16T16:48:12.307Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.308Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.406Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48: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"} 16:48:12 2024-02-16T16:48:12.553Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.554Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.651Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48: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"} 16:48:12 2024-02-16T16:48:12.804Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.805Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:12 2024-02-16T16:48:12.920Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48: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"} 16:48:13 2024-02-16T16:48:13.069Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.070Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.165Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48: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"} 16:48:13 2024-02-16T16:48:13.307Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.308Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.403Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48: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"} 16:48:13 2024-02-16T16:48:13.555Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.556Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.653Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48: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"} 16:48:13 2024-02-16T16:48:13.814Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.816Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:13 2024-02-16T16:48:13.910Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:13 {"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"} 16:48:14 2024-02-16T16:48:14.067Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.068Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.170Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48: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"} 16:48:14 2024-02-16T16:48:14.327Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.327Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.421Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48: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"} 16:48:14 2024-02-16T16:48:14.574Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.575Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.674Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48: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"} 16:48:14 2024-02-16T16:48:14.829Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.829Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:14 2024-02-16T16:48:14.927Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:14 {"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"} 16:48:15 2024-02-16T16:48:15.077Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:15 2024-02-16T16:48:15.077Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:15 2024-02-16T16:48:15.169Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:15 2024-02-16T16:48:15.313Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:15 2024-02-16T16:48:15.314Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:15 2024-02-16T16:48:15.407Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:15 2024-02-16T16:48:15.550Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:15 2024-02-16T16:48:15.551Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:15 2024-02-16T16:48:15.645Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:15 2024-02-16T16:48:15.807Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:15 2024-02-16T16:48:15.807Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:15 2024-02-16T16:48:15.906Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:16 2024-02-16T16:48:16.052Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.053Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.241Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.242Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.332Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48: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"} 16:48:16 2024-02-16T16:48:16.482Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.482Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.580Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:16 {"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"} 16:48:16 2024-02-16T16:48:16.734Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.735Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:16 2024-02-16T16:48:16.836Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:16 {"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"} 16:48:17 2024-02-16T16:48:16.980Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:16.981Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.073Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48: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"} 16:48:17 2024-02-16T16:48:17.219Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.220Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.316Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48: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"} 16:48:17 2024-02-16T16:48:17.462Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.462Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.566Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:17 {"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"} 16:48:17 2024-02-16T16:48:17.715Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.715Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:17 2024-02-16T16:48:17.814Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:17 {"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"} 16:48:18 2024-02-16T16:48:17.962Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:17.963Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.059Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48: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"} 16:48:18 2024-02-16T16:48:18.216Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.217Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.311Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48: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"} 16:48:18 2024-02-16T16:48:18.463Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.463Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.561Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:18 {"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"} 16:48:18 2024-02-16T16:48:18.707Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.707Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:18 2024-02-16T16:48:18.801Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:18 {"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"} 16:48:19 2024-02-16T16:48:18.959Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:18.960Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.069Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48: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"} 16:48:19 2024-02-16T16:48:19.231Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.232Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.327Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48: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"} 16:48:19 2024-02-16T16:48:19.475Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.476Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.572Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:19 {"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"} 16:48:19 2024-02-16T16:48:19.727Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.728Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:19 2024-02-16T16:48:19.824Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:19 {"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"} 16:48:20 2024-02-16T16:48:19.968Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:19.968Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:20.067Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48: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"} 16:48:20 2024-02-16T16:48:20.216Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:20.217Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:20.311Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48: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"} 16:48:20 2024-02-16T16:48:20.480Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:20 2024-02-16T16:48:20.480Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:20 2024-02-16T16:48:20.575Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:20 {"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"} 16:48:20 2024-02-16T16:48:20.732Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:20.732Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:20 2024-02-16T16:48:20.828Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:20 {"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"} 16:48:21 2024-02-16T16:48:20.970Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:21 2024-02-16T16:48:20.971Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:21 2024-02-16T16:48:21.085Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:21 2024-02-16T16:48:21.230Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:21 2024-02-16T16:48:21.231Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:21 2024-02-16T16:48:21.322Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:21 2024-02-16T16:48:21.479Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:21 2024-02-16T16:48:21.480Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:21 2024-02-16T16:48:21.817Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:21 2024-02-16T16:48:21.817Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:21 2024-02-16T16:48:21.909Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:21 {"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"} 16:48:22 2024-02-16T16:48:22.061Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.062Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.161Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:22 {"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"} 16:48:22 2024-02-16T16:48:22.329Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.329Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.426Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:22 {"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"} 16:48:22 2024-02-16T16:48:22.569Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.569Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.678Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:22 {"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"} 16:48:22 2024-02-16T16:48:22.825Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.826Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:22 2024-02-16T16:48:22.921Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:22 {"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"} 16:48:23 2024-02-16T16:48:23.067Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.068Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.169Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:23 {"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"} 16:48:23 2024-02-16T16:48:23.323Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.324Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.418Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:23 {"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"} 16:48:23 2024-02-16T16:48:23.562Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.562Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.655Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:23 {"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"} 16:48:23 2024-02-16T16:48:23.803Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.803Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:23 2024-02-16T16:48:23.899Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:23 {"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"} 16:48:24 2024-02-16T16:48:24.053Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.054Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.155Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:24 {"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"} 16:48:24 2024-02-16T16:48:24.299Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.300Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.401Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:24 {"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"} 16:48:24 2024-02-16T16:48:24.547Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.548Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.646Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:24 {"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"} 16:48:24 2024-02-16T16:48:24.794Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.795Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:24 2024-02-16T16:48:24.899Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:24 {"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"} 16:48:25 2024-02-16T16:48:25.074Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.075Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.167Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:25 {"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"} 16:48:25 2024-02-16T16:48:25.330Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.331Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.424Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:25 {"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"} 16:48:25 2024-02-16T16:48:25.570Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.571Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.665Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:25 {"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"} 16:48:25 2024-02-16T16:48:25.811Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.812Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:25 2024-02-16T16:48:25.909Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:25 {"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"} 16:48:26 2024-02-16T16:48:26.066Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:26 2024-02-16T16:48:26.067Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:26 2024-02-16T16:48:26.167Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:26 {"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"} 16:48:26 2024-02-16T16:48:26.308Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:26 2024-02-16T16:48:26.308Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:26 2024-02-16T16:48:26.409Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:26 {"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"} 16:48:26 2024-02-16T16:48:26.550Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:26 2024-02-16T16:48:26.551Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:26 2024-02-16T16:48:26.651Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:26 {"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"} 16:48:26 2024-02-16T16:48:26.791Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:26 2024-02-16T16:48:26.791Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:26 2024-02-16T16:48:26.886Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:26 {"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"} 16:48:27 2024-02-16T16:48:27.029Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.030Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.339Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:27 2024-02-16T16:48:27.340Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:27 2024-02-16T16:48:27.433Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policies] 16:48:27 {"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"} 16:48:27 2024-02-16T16:48:27.592Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.592Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.696Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policies] 16:48:27 {"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"} 16:48:27 2024-02-16T16:48:27.877Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.878Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:27 2024-02-16T16:48:27.966Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policies] 16:48:27 {"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"} 16:48:28 2024-02-16T16:48:28.046Z WARN 2893 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : POST /policies 16:48:28 2024-02-16T16:48:28.070Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.070Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.169Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:28 {"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"} 16:48:28 2024-02-16T16:48:28.341Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.341Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.439Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:28 {"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"} 16:48:28 2024-02-16T16:48:28.598Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.599Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.690Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:28 {"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"} 16:48:28 2024-02-16T16:48:28.857Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.858Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:28 2024-02-16T16:48:28.956Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:28 {"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"} 16:48:29 2024-02-16T16:48:29.122Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.122Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.213Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:29 {"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"} 16:48:29 2024-02-16T16:48:29.360Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.361Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.452Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:29 {"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"} 16:48:29 2024-02-16T16:48:29.604Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.604Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.694Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:29 {"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"} 16:48:29 2024-02-16T16:48:29.845Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.845Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:29 2024-02-16T16:48:29.944Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:29 {"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"} 16:48:30 2024-02-16T16:48:30.106Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.106Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.201Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:30 {"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"} 16:48:30 2024-02-16T16:48:30.349Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.350Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.447Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:30 {"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"} 16:48:30 2024-02-16T16:48:30.602Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.603Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.704Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:30 {"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"} 16:48:30 2024-02-16T16:48:30.856Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.858Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:30 2024-02-16T16:48:30.960Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:30 {"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"} 16:48:31 2024-02-16T16:48:31.113Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.114Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.206Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:31 {"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"} 16:48:31 2024-02-16T16:48:31.359Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.360Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.455Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:31 {"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"} 16:48:31 2024-02-16T16:48:31.604Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.605Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.700Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:31 {"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"} 16:48:31 2024-02-16T16:48:31.852Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.853Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:31 2024-02-16T16:48:31.949Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:31 {"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"} 16:48:32 2024-02-16T16:48:32.101Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:32 2024-02-16T16:48:32.101Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:32 2024-02-16T16:48:32.197Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:32 {"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"} 16:48:32 2024-02-16T16:48:32.351Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:32 2024-02-16T16:48:32.352Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:32 2024-02-16T16:48:32.445Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:32 {"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"} 16:48:32 2024-02-16T16:48:32.602Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:32 2024-02-16T16:48:32.603Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:32 2024-02-16T16:48:32.704Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:32 {"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"} 16:48:32 2024-02-16T16:48:32.857Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:32 2024-02-16T16:48:32.858Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:32 2024-02-16T16:48:32.953Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:32 {"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"} 16:48:33 2024-02-16T16:48:33.101Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:33 2024-02-16T16:48:33.102Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:33 2024-02-16T16:48:33.196Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:33 {"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"} 16:48:33 2024-02-16T16:48:33.342Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.342Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.516Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.517Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.626Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.626Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.753Z WARN 2893 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : GET /policies/onap.restart.tca/versions/1.0.0 16:48:33 2024-02-16T16:48:33.767Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.768Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.863Z WARN 2893 --- [o-auto-2-exec-2] o.o.p.a.main.rest.CommonRestController : DELETE /policies/onap.restart.tca/versions/1.0.0 16:48:33 2024-02-16T16:48:33.877Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.878Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:33 2024-02-16T16:48:33.974Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:33 {"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"} 16:48:34 2024-02-16T16:48:34.120Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:34 2024-02-16T16:48:34.121Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:34 2024-02-16T16:48:34.221Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:34 {"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"} 16:48:34 2024-02-16T16:48:34.368Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:34 2024-02-16T16:48:34.369Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:34 2024-02-16T16:48:34.465Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:34 {"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"} 16:48:34 2024-02-16T16:48:34.616Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:34 2024-02-16T16:48:34.616Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:34 2024-02-16T16:48:34.710Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:34 {"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"} 16:48:34 2024-02-16T16:48:34.856Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:34 2024-02-16T16:48:34.857Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.431Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.432Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.620Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.621Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.800Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.800Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.975Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:35 2024-02-16T16:48:35.976Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:36 2024-02-16T16:48:36.087Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:36 2024-02-16T16:48:36.088Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:36 2024-02-16T16:48:36.186Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:36 {"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"} 16:48:36 2024-02-16T16:48:36.345Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:36 2024-02-16T16:48:36.345Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:36 2024-02-16T16:48:36.432Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:36 {"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"} 16:48:36 2024-02-16T16:48:36.579Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:36 2024-02-16T16:48:36.580Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:36 2024-02-16T16:48:36.677Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:36 2024-02-16T16:48:36.826Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:36 2024-02-16T16:48:36.827Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:36.923Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48: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"} 16:48:37 2024-02-16T16:48:37.067Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:37.068Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:37.627Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:37.628Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:37.812Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:37 2024-02-16T16:48:37.813Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:38 2024-02-16T16:48:37.981Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:38 2024-02-16T16:48:37.982Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:38 2024-02-16T16:48:38.156Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:38 2024-02-16T16:48:38.156Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:38 2024-02-16T16:48:38.265Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:38 2024-02-16T16:48:38.265Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:38 2024-02-16T16:48:38.473Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:38 2024-02-16T16:48:38.473Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.282Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.283Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.494Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.495Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.700Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.701Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.892Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:40 2024-02-16T16:48:40.892Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.028Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.029Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.157Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.158Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.283Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.284Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.446Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.447Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.609Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.610Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.768Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:41 2024-02-16T16:48:41.769Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:42 2024-02-16T16:48:41.935Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:42 2024-02-16T16:48:41.936Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:42 2024-02-16T16:48:42.143Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:42 2024-02-16T16:48:42.143Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:43.988Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:43.989Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.191Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.192Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.360Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.360Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.535Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.536Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.664Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.664Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.798Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:44 2024-02-16T16:48:44.798Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:44.938Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:44.939Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.112Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.112Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.279Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.279Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.442Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.442Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.612Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.612Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.707Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:45 {"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"} 16:48:45 2024-02-16T16:48:45.859Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:45 2024-02-16T16:48:45.860Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:45.955Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:46 {"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"} 16:48:46 2024-02-16T16:48:46.099Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.100Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.185Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:46 {"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"} 16:48:46 2024-02-16T16:48:46.331Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.331Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.426Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:46 {"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"} 16:48:46 2024-02-16T16:48:46.581Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.581Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.676Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:46 {"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"} 16:48:46 2024-02-16T16:48:46.825Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:46 2024-02-16T16:48:46.826Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:46.922Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:47 {"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"} 16:48:47 2024-02-16T16:48:47.070Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.070Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.165Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:47 {"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"} 16:48:47 2024-02-16T16:48:47.310Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.310Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.405Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:47 {"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"} 16:48:47 2024-02-16T16:48:47.549Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.550Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.646Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:47 {"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"} 16:48:47 2024-02-16T16:48:47.795Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.795Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:47 2024-02-16T16:48:47.886Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:47 {"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"} 16:48:48 2024-02-16T16:48:48.034Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.035Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.131Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:48 {"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"} 16:48:48 2024-02-16T16:48:48.281Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.282Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.378Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:48 {"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"} 16:48:48 2024-02-16T16:48:48.531Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.532Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.628Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:48 {"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"} 16:48:48 2024-02-16T16:48:48.775Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.776Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:48 2024-02-16T16:48:48.870Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:48 {"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"} 16:48:49 2024-02-16T16:48:49.021Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.021Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.118Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:49 {"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"} 16:48:49 2024-02-16T16:48:49.263Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.264Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.362Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:48:49 {"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"} 16:48:49 2024-02-16T16:48:49.513Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.514Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:49 2024-02-16T16:48:49.608Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:49 {"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"} 16:48:49 2024-02-16T16:48:49.752Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:49 2024-02-16T16:48:49.752Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:49 2024-02-16T16:48:49.841Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:49 {"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"} 16:48:50 2024-02-16T16:48:49.988Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:50 2024-02-16T16:48:49.988Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:50 2024-02-16T16:48:50.093Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:50 {"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"} 16:48:50 2024-02-16T16:48:50.243Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:50 2024-02-16T16:48:50.243Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:50 2024-02-16T16:48:50.338Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:50 {"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"} 16:48:50 2024-02-16T16:48:50.488Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:50 2024-02-16T16:48:50.489Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:50 2024-02-16T16:48:50.584Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:50 {"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"} 16:48:50 2024-02-16T16:48:50.732Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:50 2024-02-16T16:48:50.732Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:51 2024-02-16T16:48:51.307Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.308Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.400Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:51 {"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"} 16:48:51 2024-02-16T16:48:51.556Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.556Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.651Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:51 {"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"} 16:48:51 2024-02-16T16:48:51.823Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.823Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:51 2024-02-16T16:48:51.916Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:51 {"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"} 16:48:52 2024-02-16T16:48:52.061Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.062Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.162Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:52 {"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"} 16:48:52 2024-02-16T16:48:52.326Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.327Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.423Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:52 {"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"} 16:48:52 2024-02-16T16:48:52.566Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.567Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.664Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:52 {"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"} 16:48:52 2024-02-16T16:48:52.821Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.822Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:52 2024-02-16T16:48:52.912Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:52 {"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"} 16:48:53 2024-02-16T16:48:53.057Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.058Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.155Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:53 {"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"} 16:48:53 2024-02-16T16:48:53.300Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.301Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.395Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:48:53 {"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"} 16:48:53 2024-02-16T16:48:53.560Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.561Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.661Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:53 {"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"} 16:48:53 2024-02-16T16:48:53.814Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.814Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:53 2024-02-16T16:48:53.906Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:53 {"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"} 16:48:54 2024-02-16T16:48:54.062Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.063Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.158Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:48:54 {"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"} 16:48:54 2024-02-16T16:48:54.328Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.329Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.426Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:48:54 {"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"} 16:48:54 2024-02-16T16:48:54.588Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.589Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.696Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:54 {"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"} 16:48:54 2024-02-16T16:48:54.846Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:54 2024-02-16T16:48:54.846Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:54.942Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:55 {"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"} 16:48:55 2024-02-16T16:48:55.100Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.100Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.196Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:55 {"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"} 16:48:55 2024-02-16T16:48:55.347Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.347Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.438Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:55 {"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"} 16:48:55 2024-02-16T16:48:55.583Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:55 2024-02-16T16:48:55.584Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:55 2024-02-16T16:48:55.677Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:55 {"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"} 16:48:55 2024-02-16T16:48:55.821Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.822Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:55 2024-02-16T16:48:55.918Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:55 {"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"} 16:48:56 2024-02-16T16:48:56.065Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:56 2024-02-16T16:48:56.066Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:56 2024-02-16T16:48:56.155Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:56 {"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"} 16:48:56 2024-02-16T16:48:56.298Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:56 2024-02-16T16:48:56.298Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:56 2024-02-16T16:48:56.391Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:56 {"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"} 16:48:56 2024-02-16T16:48:56.539Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:56 2024-02-16T16:48:56.539Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.133Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.134Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.225Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:48:57 {"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"} 16:48:57 2024-02-16T16:48:57.386Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.387Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.478Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policies] 16:48:57 {"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"} 16:48:57 2024-02-16T16:48:57.649Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:57 2024-02-16T16:48:57.649Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:57 2024-02-16T16:48:57.743Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:57 {"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"} 16:48:57 2024-02-16T16:48:57.892Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:57 2024-02-16T16:48:57.893Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:57.986Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:58 {"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"} 16:48:58 2024-02-16T16:48:58.132Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:58 2024-02-16T16:48:58.132Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:48:58 2024-02-16T16:48:58.227Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:58 {"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"} 16:48:58 2024-02-16T16:48:58.390Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.390Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.483Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:58 {"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"} 16:48:58 2024-02-16T16:48:58.634Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.634Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.725Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:48:58 {"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"} 16:48:58 2024-02-16T16:48:58.756Z WARN 2893 --- [o-auto-2-exec-4] o.o.p.a.main.rest.CommonRestController : POST /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 16:48:58 2024-02-16T16:48:58.771Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.771Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:58 2024-02-16T16:48:58.866Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:48:58 {"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"} 16:48:59 2024-02-16T16:48:59.016Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.016Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.116Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:48:59 {"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"} 16:48:59 2024-02-16T16:48:59.269Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.269Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.366Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:48:59 {"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"} 16:48:59 2024-02-16T16:48:59.513Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.514Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.611Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:48:59 {"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"} 16:48:59 2024-02-16T16:48:59.760Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.761Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:48:59 2024-02-16T16:48:59.853Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:48:59 {"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"} 16:49:00 2024-02-16T16:49:00.006Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.006Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.097Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:00 {"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"} 16:49:00 2024-02-16T16:49:00.244Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.244Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.339Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:49:00 {"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"} 16:49:00 2024-02-16T16:49:00.492Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.493Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.588Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:49:00 {"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"} 16:49:00 2024-02-16T16:49:00.736Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.737Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:00 2024-02-16T16:49:00.837Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:00 {"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"} 16:49:01 2024-02-16T16:49:00.990Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:00.990Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.087Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:49:01 {"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"} 16:49:01 2024-02-16T16:49:01.242Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.243Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.339Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:01 {"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"} 16:49:01 2024-02-16T16:49:01.488Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.488Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.580Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:01 {"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"} 16:49:01 2024-02-16T16:49:01.742Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.743Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:01 2024-02-16T16:49:01.843Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:49:01 {"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"} 16:49:02 2024-02-16T16:49:01.997Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:01.997Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.090Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:49:02 {"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"} 16:49:02 2024-02-16T16:49:02.244Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.245Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.335Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 16:49:02 {"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"} 16:49:02 2024-02-16T16:49:02.496Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.496Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.594Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:49:02 {"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"} 16:49:02 2024-02-16T16:49:02.741Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.742Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:02 2024-02-16T16:49:02.828Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:49:02 {"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"} 16:49:03 2024-02-16T16:49:02.982Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:03 2024-02-16T16:49:02.983Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:04 2024-02-16T16:49:04.886Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:04 2024-02-16T16:49:04.886Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:04 2024-02-16T16:49:04.979Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:49:04 {"name":"NULL","version":"0.0.0"} 16:49:04 2024-02-16T16:49:04.980Z WARN 2893 --- [o-auto-2-exec-2] o.o.p.a.main.rest.CommonRestController : POST /policytypes 16:49:05 2024-02-16T16:49:04.993Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:04.994Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.110Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:05 2024-02-16T16:49:05.110Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:05 2024-02-16T16:49:05.220Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.220Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.329Z WARN 2893 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 16:49:05 2024-02-16T16:49:05.338Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:05 2024-02-16T16:49:05.339Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:05 2024-02-16T16:49:05.434Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:05 {"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"} 16:49:05 2024-02-16T16:49:05.584Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.585Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.730Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.731Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.842Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.843Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:05 2024-02-16T16:49:05.982Z WARN 2893 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 16:49:06 2024-02-16T16:49:05.995Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:05.995Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.092Z WARN 2893 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 16:49:06 2024-02-16T16:49:06.101Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.101Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.197Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:49:06 {"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"} 16:49:06 2024-02-16T16:49:06.349Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.350Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.485Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.485Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.601Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.601Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.725Z WARN 2893 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 16:49:06 2024-02-16T16:49:06.741Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.741Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:06 2024-02-16T16:49:06.831Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:49:06 {"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"} 16:49:07 2024-02-16T16:49:06.989Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:06.989Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.081Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49: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"} 16:49:07 2024-02-16T16:49:07.229Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.230Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.326Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49: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"} 16:49:07 2024-02-16T16:49:07.474Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.475Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.568Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:49:07 {"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"} 16:49:07 2024-02-16T16:49:07.716Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.716Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:07 2024-02-16T16:49:07.812Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:49:07 {"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"} 16:49:08 2024-02-16T16:49:07.962Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:07.963Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.061Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:49: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"} 16:49:08 2024-02-16T16:49:08.224Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.225Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.321Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:49: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"} 16:49:08 2024-02-16T16:49:08.467Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.467Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.575Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:49:08 {"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"} 16:49:08 2024-02-16T16:49:08.733Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.733Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:08 2024-02-16T16:49:08.829Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:08 {"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"} 16:49:09 2024-02-16T16:49:08.993Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:08.994Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.085Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49: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"} 16:49:09 2024-02-16T16:49:09.234Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.234Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.327Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:09 {"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"} 16:49:09 2024-02-16T16:49:09.480Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.481Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.578Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:09 {"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"} 16:49:09 2024-02-16T16:49:09.726Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.727Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:09 2024-02-16T16:49:09.823Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:49:09 {"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"} 16:49:10 2024-02-16T16:49:09.971Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:09.972Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.068Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:49: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"} 16:49:10 2024-02-16T16:49:10.213Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.214Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.309Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:10 {"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"} 16:49:10 2024-02-16T16:49:10.460Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.461Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.559Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:10 {"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"} 16:49:10 2024-02-16T16:49:10.709Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.710Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:10 2024-02-16T16:49:10.808Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:10 {"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"} 16:49:11 2024-02-16T16:49:10.974Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:11 2024-02-16T16:49:10.974Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:11 2024-02-16T16:49:11.064Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49: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"} 16:49:11 2024-02-16T16:49:11.219Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:11 2024-02-16T16:49:11.220Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:11 2024-02-16T16:49:11.337Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49: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"} 16:49:11 2024-02-16T16:49:11.486Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:11 2024-02-16T16:49:11.487Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:11 2024-02-16T16:49:11.584Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49:11 {"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"} 16:49:11 2024-02-16T16:49:11.744Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:11 2024-02-16T16:49:11.745Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:11 2024-02-16T16:49:11.832Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49:11 {"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"} 16:49:12 2024-02-16T16:49:11.981Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:11.981Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.099Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.100Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.220Z WARN 2893 --- [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/1.0.0 16:49:12 2024-02-16T16:49:12.228Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.229Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.349Z WARN 2893 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 16:49:12 2024-02-16T16:49:12.357Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.358Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:12 2024-02-16T16:49:12.492Z WARN 2893 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 16:49:12 2024-02-16T16:49:12.507Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:12 2024-02-16T16:49:12.507Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:12 2024-02-16T16:49:12.602Z INFO 2893 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 16:49:12 {"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"} 16:49:12 2024-02-16T16:49:12.753Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:12 2024-02-16T16:49:12.753Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:12 2024-02-16T16:49:12.841Z INFO 2893 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 16:49:12 {"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"} 16:49:13 2024-02-16T16:49:12.990Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:12.991Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.085Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49: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"} 16:49:13 2024-02-16T16:49:13.234Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.234Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.330Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:49:13 {"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"} 16:49:13 2024-02-16T16:49:13.480Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.480Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.576Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:49:13 {"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"} 16:49:13 2024-02-16T16:49:13.731Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.732Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:13 2024-02-16T16:49:13.827Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:13 {"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"} 16:49:14 2024-02-16T16:49:13.984Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:13.985Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.083Z INFO 2893 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 16:49: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"} 16:49:14 2024-02-16T16:49:14.230Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.231Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.326Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:14 {"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"} 16:49:14 2024-02-16T16:49:14.475Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.475Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.564Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:14 {"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"} 16:49:14 2024-02-16T16:49:14.715Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.716Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:14 2024-02-16T16:49:14.811Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:14 {"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"} 16:49:15 2024-02-16T16:49:14.961Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:14.962Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.056Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49: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"} 16:49:15 2024-02-16T16:49:15.208Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.209Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.305Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 16:49:15 {"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"} 16:49:15 2024-02-16T16:49:15.451Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.452Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.550Z INFO 2893 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 16:49:15 {"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"} 16:49:15 2024-02-16T16:49:15.702Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.702Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:15 2024-02-16T16:49:15.797Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 16:49:15 {"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"} 16:49:16 2024-02-16T16:49:15.954Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:15.955Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.045Z INFO 2893 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 16:49:16 {"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"} 16:49:16 2024-02-16T16:49:16.199Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.199Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.297Z INFO 2893 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 16:49:16 {"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"} 16:49:16 2024-02-16T16:49:16.447Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.447Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.538Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 16:49:16 {"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"} 16:49:16 2024-02-16T16:49:16.685Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:16 2024-02-16T16:49:16.685Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:16 2024-02-16T16:49:16.781Z INFO 2893 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49:16 {"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"} 16:49:16 2024-02-16T16:49:16.926Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:16 2024-02-16T16:49:16.927Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.024Z INFO 2893 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49: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"} 16:49:17 2024-02-16T16:49:17.171Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:17 2024-02-16T16:49:17.171Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:17 2024-02-16T16:49:17.266Z INFO 2893 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49:17 {"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"} 16:49:17 2024-02-16T16:49:17.443Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.443Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.547Z INFO 2893 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 16:49:17 {"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"} 16:49:17 2024-02-16T16:49:17.695Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.695Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.804Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.805Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.936Z WARN 2893 --- [o-auto-2-exec-7] 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 16:49:17 2024-02-16T16:49:17.941Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:17 2024-02-16T16:49:17.942Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:18 2024-02-16T16:49:18.061Z WARN 2893 --- [o-auto-2-exec-4] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 16:49:18 2024-02-16T16:49:18.067Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:18 2024-02-16T16:49:18.068Z INFO 2893 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 16:49:18 2024-02-16T16:49:18.190Z WARN 2893 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 16:49:18 2024-02-16T16:49:18.201Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:18 2024-02-16T16:49:18.201Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:18 2024-02-16T16:49:18.444Z WARN 2893 --- [-auto-2-exec-10] 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 16:49:19 2024-02-16T16:49:19.062Z WARN 2893 --- [-auto-2-exec-10] 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 16:49:21 2024-02-16T16:49:21.564Z INFO 2893 --- [-auto-2-exec-10] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 3271 ms 16:49:21 2024-02-16T16:49:21.607Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 16:49:21 2024-02-16T16:49:21.608Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 16:49:21 2024-02-16T16:49:21.623Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 16:49:21 2024-02-16T16:49:21.624Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 16:49:21 2024-02-16T16:49:21.625Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. 16:49:21 [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.05 s -- in org.onap.policy.api.main.rest.TestApiRestServer 16:49:21 [INFO] Running org.onap.policy.api.main.rest.TestCommonRestController 16:49:21 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in org.onap.policy.api.main.rest.TestCommonRestController 16:49:21 [INFO] Running org.onap.policy.api.main.rest.TestNodeTemplateController 16:49:21 16:49:21 . ____ _ __ _ _ 16:49:21 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:49:21 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:49:21 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:49:21 ' |____| .__|_| |_|_| |_\__, | / / / / 16:49:21 =========|_|==============|___/=/_/_/_/ 16:49:21 :: Spring Boot :: (v3.1.8) 16:49:21 16:49:21 2024-02-16T16:49:21.695Z WARN 2893 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 16:49:21 16:49:21 Found multiple occurrences of org.json.JSONObject on the class path: 16:49:21 16:49:21 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 16:49:21 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 16:49:21 16:49:21 You may wish to exclude one of them to ensure predictable runtime behavior 16:49:21 16:49:21 2024-02-16T16:49:21.696Z INFO 2893 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Starting TestNodeTemplateController using Java 17.0.4 with PID 2893 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 16:49:21 2024-02-16T16:49:21.697Z INFO 2893 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : The following 2 profiles are active: "test", "default" 16:49:21 2024-02-16T16:49:21.885Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:49:21 2024-02-16T16:49:21.894Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 6 JPA repository interfaces. 16:49:21 2024-02-16T16:49:21.925Z WARN 2893 --- [ 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 16:49:21 2024-02-16T16:49:21.926Z WARN 2893 --- [ 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 16:49:22 2024-02-16T16:49:21.986Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 16:49:22 2024-02-16T16:49:21.987Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 16:49:22 2024-02-16T16:49:21.987Z INFO 2893 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 16:49:22 2024-02-16T16:49:22.000Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 16:49:22 2024-02-16T16:49:22.000Z INFO 2893 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 302 ms 16:49:22 2024-02-16T16:49:22.077Z INFO 2893 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 16:49:22 2024-02-16T16:49:22.079Z INFO 2893 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 16:49:22 2024-02-16T16:49:22.082Z INFO 2893 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 16:49:22 2024-02-16T16:49:22.082Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 16:49:22 2024-02-16T16:49:22.084Z INFO 2893 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=POLICY_USER 16:49:22 2024-02-16T16:49:22.084Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 16:49:22 2024-02-16T16:49:22.084Z WARN 2893 --- [ 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) 16:49:22 2024-02-16T16:49:22.451Z INFO 2893 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:49:22 2024-02-16T16:49:22.511Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 16:49:22 2024-02-16T16:49:22.739Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:49:22 2024-02-16T16:49:22.855Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:49:23 2024-02-16T16:49:23.181Z WARN 2893 --- [ 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 16:49:23 2024-02-16T16:49:23.216Z INFO 2893 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2084a3a8, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4de16678, org.springframework.security.web.context.SecurityContextHolderFilter@20d6fee4, org.springframework.security.web.header.HeaderWriterFilter@427d5fd1, org.springframework.security.web.authentication.logout.LogoutFilter@660f3603, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4d840189, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7ffa9b50, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5912883a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1db1b454, org.springframework.security.web.access.ExceptionTranslationFilter@65186ac7, org.springframework.security.web.access.intercept.AuthorizationFilter@3f243561] 16:49:23 2024-02-16T16:49:23.462Z INFO 2893 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 16:49:23 2024-02-16T16:49:23.505Z INFO 2893 --- [ 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] 16:49:23 2024-02-16T16:49:23.507Z INFO 2893 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 40299 (https) with context path '/policy/api/v1' 16:49:23 2024-02-16T16:49:23.519Z INFO 2893 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Started TestNodeTemplateController in 1.856 seconds (process running for 104.216) 16:49:23 2024-02-16T16:49:23.529Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:23 2024-02-16T16:49:23.534Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:23 2024-02-16T16:49:23.553Z INFO 2893 --- [o-auto-3-exec-9] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 16:49:23 2024-02-16T16:49:23.553Z INFO 2893 --- [o-auto-3-exec-9] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 16:49:23 2024-02-16T16:49:23.554Z INFO 2893 --- [o-auto-3-exec-9] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 16:49:23 2024-02-16T16:49:23.711Z INFO 2893 --- [o-auto-3-exec-9] network : [IN|REST|/nodetemplates] 16:49:23 {"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"} 16:49:23 2024-02-16T16:49:23.855Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:23 2024-02-16T16:49:23.855Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:23 2024-02-16T16:49:23.961Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:23 2024-02-16T16:49:23.961Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.060Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.060Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.159Z WARN 2893 --- [o-auto-3-exec-2] o.o.p.a.main.rest.CommonRestController : DELETE /nodetemplates/invalid_template/versions/1.0.0 16:49:24 2024-02-16T16:49:24.180Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.180Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.275Z INFO 2893 --- [-auto-3-exec-10] network : [IN|REST|/nodetemplates] 16:49:24 {"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"} 16:49:24 2024-02-16T16:49:24.417Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.417Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.510Z INFO 2893 --- [o-auto-3-exec-9] network : [IN|REST|/nodetemplates] 16:49:24 {"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"} 16:49:24 2024-02-16T16:49:24.523Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.524Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.617Z INFO 2893 --- [o-auto-3-exec-5] network : [IN|REST|/nodetemplates] 16:49:24 {"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"} 16:49:24 2024-02-16T16:49:24.619Z WARN 2893 --- [o-auto-3-exec-5] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 16:49:24 2024-02-16T16:49:24.628Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.628Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.723Z INFO 2893 --- [o-auto-3-exec-3] network : [IN|REST|/nodetemplates] 16:49:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 16:49:24 2024-02-16T16:49:24.724Z WARN 2893 --- [o-auto-3-exec-3] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 16:49:24 2024-02-16T16:49:24.746Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.746Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:24 2024-02-16T16:49:24.848Z INFO 2893 --- [o-auto-3-exec-3] network : [IN|REST|/nodetemplates] 16:49:24 {"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"} 16:49:25 2024-02-16T16:49:24.996Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:24.996Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.090Z INFO 2893 --- [o-auto-3-exec-1] network : [IN|REST|/nodetemplates] 16:49:25 {"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"} 16:49:25 2024-02-16T16:49:25.092Z WARN 2893 --- [o-auto-3-exec-1] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 16:49:25 2024-02-16T16:49:25.100Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.101Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.194Z INFO 2893 --- [o-auto-3-exec-7] network : [IN|REST|/nodetemplates] 16:49:25 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 16:49:25 2024-02-16T16:49:25.195Z WARN 2893 --- [o-auto-3-exec-7] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 16:49:25 2024-02-16T16:49:25.217Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.217Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.319Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.320Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.410Z INFO 2893 --- [o-auto-3-exec-5] network : [IN|REST|/nodetemplates] 16:49:25 {"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"} 16:49:25 2024-02-16T16:49:25.550Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.551Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.659Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.659Z INFO 2893 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 16:49:25 2024-02-16T16:49:25.769Z INFO 2893 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 16:49:25 2024-02-16T16:49:25.770Z INFO 2893 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 16:49:25 2024-02-16T16:49:25.775Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 16:49:25 2024-02-16T16:49:25.775Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated... 16:49:25 2024-02-16T16:49:25.776Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed. 16:49:25 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.127 s -- in org.onap.policy.api.main.rest.TestNodeTemplateController 16:49:25 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 16:49:27 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.687 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 16:49:27 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 16:49:27 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 16:49:27 [INFO] Running org.onap.policy.api.main.service.TestPdpGroupService 16:49:27 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 s -- in org.onap.policy.api.main.service.TestPdpGroupService 16:49:27 [INFO] Running org.onap.policy.api.main.service.TestPolicyService 16:49:27 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 s -- in org.onap.policy.api.main.service.TestPolicyService 16:49:27 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 16:49:29 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.156 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 16:49:29 [INFO] Running org.onap.policy.api.main.service.TestPolicyTypeService 16:49:29 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.160 s -- in org.onap.policy.api.main.service.TestPolicyTypeService 16:49:29 [INFO] Running org.onap.policy.api.main.service.TestNodeTemplateService 16:49:29 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 s -- in org.onap.policy.api.main.service.TestNodeTemplateService 16:49:29 [INFO] Running org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 16:49:29 16:49:29 . ____ _ __ _ _ 16:49:29 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 16:49:29 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 16:49:29 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 16:49:29 ' |____| .__|_| |_|_| |_\__, | / / / / 16:49:29 =========|_|==============|___/=/_/_/_/ 16:49:29 :: Spring Boot :: (v3.1.8) 16:49:29 16:49:29 2024-02-16T16:49:29.702Z WARN 2893 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 16:49:29 16:49:29 Found multiple occurrences of org.json.JSONObject on the class path: 16:49:29 16:49:29 jar:file:/home/jenkins/.m2/repository/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class 16:49:29 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 16:49:29 16:49:29 You may wish to exclude one of them to ensure predictable runtime behavior 16:49:29 16:49:29 2024-02-16T16:49:29.704Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Starting ApiDatabaseInitializerTest using Java 17.0.4 with PID 2893 (started by jenkins in /w/workspace/policy-api-master-merge-java/main) 16:49:29 2024-02-16T16:49:29.704Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : The following 1 profile is active: "test" 16:49:30 2024-02-16T16:49:30.245Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 16:49:30 2024-02-16T16:49:30.266Z INFO 2893 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 6 JPA repository interfaces. 16:49:30 2024-02-16T16:49:30.394Z WARN 2893 --- [ 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 16:49:30 2024-02-16T16:49:30.395Z WARN 2893 --- [ 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 16:49:30 2024-02-16T16:49:30.601Z INFO 2893 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 16:49:30 2024-02-16T16:49:30.607Z INFO 2893 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 16:49:30 2024-02-16T16:49:30.614Z INFO 2893 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 16:49:30 2024-02-16T16:49:30.616Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting... 16:49:30 2024-02-16T16:49:30.620Z INFO 2893 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection conn30: url=jdbc:h2:mem:testdb user=POLICY_USER 16:49:30 2024-02-16T16:49:30.620Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed. 16:49:30 2024-02-16T16:49:30.621Z WARN 2893 --- [ 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) 16:49:31 2024-02-16T16:49:31.454Z INFO 2893 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 16:49:31 2024-02-16T16:49:31.673Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 16:49:32 2024-02-16T16:49:32.376Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 16:49:32 2024-02-16T16:49:32.787Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 16:49:33 2024-02-16T16:49:33.677Z WARN 2893 --- [ 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 16:49:33 2024-02-16T16:49:33.787Z INFO 2893 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@68399e42, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@21eef8e0, org.springframework.security.web.context.SecurityContextHolderFilter@16e5d480, org.springframework.security.web.header.HeaderWriterFilter@447dafe2, org.springframework.security.web.authentication.logout.LogoutFilter@278ebadd, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4eb0f5d0, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69b01ce0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@36dc97f1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@31782af5, org.springframework.security.web.access.ExceptionTranslationFilter@61b3502, org.springframework.security.web.access.intercept.AuthorizationFilter@3a33938b] 16:49:34 2024-02-16T16:49:34.424Z INFO 2893 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 16:49:34 2024-02-16T16:49:34.497Z INFO 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Started ApiDatabaseInitializerTest in 4.868 seconds (process running for 115.194) 16:49:37 2024-02-16T16:49:37.013Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 16:49:39 2024-02-16T16:49:38.999Z WARN 2893 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 16:49:39 2024-02-16T16:49:39.006Z INFO 2893 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 16:49:39 2024-02-16T16:49:39.007Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated... 16:49:39 2024-02-16T16:49:39.009Z INFO 2893 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed. 16:49:39 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.410 s -- in org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 16:49:39 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiException 16:49:39 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in org.onap.policy.api.main.exception.TestPolicyApiException 16:49:39 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 16:49:39 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 16:49:39 [INFO] 16:49:39 [INFO] Results: 16:49:39 [INFO] 16:49:39 [INFO] Tests run: 66, Failures: 0, Errors: 0, Skipped: 0 16:49:39 [INFO] 16:49:39 [INFO] 16:49:39 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-main --- 16:49:39 [INFO] Loading execution data file /w/workspace/policy-api-master-merge-java/main/../target/code-coverage/jacoco-ut.exec 16:49:39 [INFO] Analyzed bundle 'api-main' with 23 classes 16:49:39 [INFO] 16:49:39 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-main --- 16:49:39 [INFO] 16:49:39 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-main --- 16:49:40 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/main/target/api-main-3.1.1-SNAPSHOT.jar 16:49:40 [INFO] 16:49:40 [INFO] --- spring-boot-maven-plugin:3.1.8:repackage (default) @ api-main --- 16:49:41 [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/. 16:49:41 [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 16:49:41 [INFO] 16:49:41 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-main --- 16:49:41 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:41 [INFO] failsafeArgLine set to empty 16:49:41 [INFO] 16:49:41 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-main --- 16:49:41 [INFO] 16:49:41 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-main --- 16:49:41 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:41 [INFO] 16:49:41 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-main --- 16:49:41 [INFO] 16:49:41 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-main --- 16:49:41 [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 16:49:41 [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 16:49:41 [INFO] 16:49:41 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-main --- 16:49:43 [INFO] 16:49:43 [INFO] ------------------< org.onap.policy.api:api-packages >------------------ 16:49:43 [INFO] Building api-packages 3.1.1-SNAPSHOT [3/8] 16:49:43 [INFO] --------------------------------[ pom ]--------------------------------- 16:49:43 [INFO] 16:49:43 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-packages --- 16:49:43 [INFO] 16:49:43 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-packages --- 16:49:43 [INFO] 16:49:43 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-packages --- 16:49:43 [INFO] 16:49:43 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-packages --- 16:49:43 [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 16:49:43 --add-opens java.base/java.util=ALL-UNNAMED 16:49:43 --add-opens java.sql/java.sql=ALL-UNNAMED 16:49:43 [INFO] 16:49:43 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-packages --- 16:49:43 [INFO] Starting audit... 16:49:43 Audit done. 16:49:43 [INFO] You have 0 Checkstyle violations. 16:49:43 [INFO] 16:49:43 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-packages --- 16:49:44 [INFO] Starting audit... 16:49:44 Audit done. 16:49:44 [INFO] You have 0 Checkstyle violations. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-packages --- 16:49:44 [INFO] Skipping JaCoCo execution due to missing classes directory. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-packages --- 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-packages --- 16:49:44 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:44 [INFO] failsafeArgLine set to empty 16:49:44 [INFO] 16:49:44 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-packages --- 16:49:44 [INFO] No tests to run. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-packages --- 16:49:44 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:44 [INFO] 16:49:44 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-packages --- 16:49:44 [INFO] 16:49:44 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-packages --- 16:49:44 [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 16:49:44 [INFO] 16:49:44 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-packages --- 16:49:44 [INFO] 16:49:44 [INFO] ---------------< org.onap.policy.api:policy-api-tarball >--------------- 16:49:44 [INFO] Building policy-api-tarball 3.1.1-SNAPSHOT [4/8] 16:49:44 [INFO] --------------------------------[ jar ]--------------------------------- 16:49:44 [INFO] 16:49:44 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-tarball --- 16:49:44 [INFO] 16:49:44 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-tarball --- 16:49:44 [INFO] 16:49:44 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-tarball --- 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-tarball --- 16:49:44 [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 16:49:44 --add-opens java.base/java.util=ALL-UNNAMED 16:49:44 --add-opens java.sql/java.sql=ALL-UNNAMED 16:49:44 [INFO] 16:49:44 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-tarball --- 16:49:44 [INFO] Starting audit... 16:49:44 Audit done. 16:49:44 [INFO] You have 0 Checkstyle violations. 16:49:44 [INFO] 16:49:44 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-tarball --- 16:49:44 [INFO] Starting audit... 16:49:44 Audit done. 16:49:44 [INFO] You have 0 Checkstyle violations. 16:49:44 [INFO] 16:49:44 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ policy-api-tarball --- 16:49:44 [INFO] Copying 3 resources from src/main/resources to target/classes 16:49:44 [INFO] 16:49:44 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ policy-api-tarball --- 16:49:44 [INFO] No sources to compile 16:49:44 [INFO] 16:49:44 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ policy-api-tarball --- 16:49:44 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/src/test/resources 16:49:44 [INFO] 16:49:44 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ policy-api-tarball --- 16:49:44 [INFO] No sources to compile 16:49:44 [INFO] 16:49:44 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ policy-api-tarball --- 16:49:44 [INFO] No tests to run. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-tarball --- 16:49:44 [INFO] Skipping JaCoCo execution due to missing execution data file. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-tarball --- 16:49:44 [INFO] Analyzed bundle 'api-main' with 23 classes 16:49:44 [INFO] 16:49:44 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ policy-api-tarball --- 16:49:44 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT.jar 16:49:44 [INFO] 16:49:44 [INFO] --- maven-assembly-plugin:3.6.0:single (generate-complete-tar) @ policy-api-tarball --- 16:49:44 [INFO] Reading assembly descriptor: src/main/package/tarball/assembly.xml 16:49:44 [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 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-tarball --- 16:49:44 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:44 [INFO] failsafeArgLine set to empty 16:49:44 [INFO] 16:49:44 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-tarball --- 16:49:44 [INFO] No tests to run. 16:49:44 [INFO] 16:49:44 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-tarball --- 16:49:44 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:49:44 [INFO] 16:49:44 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-tarball --- 16:49:44 [INFO] 16:49:44 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-tarball --- 16:49:44 [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 16:49:44 [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 16:49:44 [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 16:49:44 [INFO] 16:49:44 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api-tarball --- 16:49:45 [INFO] 16:49:45 [INFO] ---------------< org.onap.policy.api:policy-api-docker >---------------- 16:49:45 [INFO] Building policy-api-docker 3.1.1-SNAPSHOT [5/8] 16:49:45 [INFO] --------------------------------[ pom ]--------------------------------- 16:49:45 [INFO] 16:49:45 [INFO] --- docker-maven-plugin:0.43.4:remove (clean-images) @ policy-api-docker --- 16:49:47 [INFO] 16:49:47 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-docker --- 16:49:47 [INFO] 16:49:47 [INFO] --- groovy-maven-plugin:2.1.1:execute (default) @ policy-api-docker --- 16:49:48 Project version: 3.1.1-SNAPSHOT 16:49:48 New tag for docker: 3.1-SNAPSHOT-latest 16:49:48 [INFO] 16:49:48 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-docker --- 16:49:48 [INFO] 16:49:48 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-docker --- 16:49:48 [INFO] 16:49:48 [INFO] --- git-commit-id-maven-plugin:6.0.0:revision (default) @ policy-api-docker --- 16:49:48 [INFO] 16:49:48 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-docker --- 16:49: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/policy-api-docker/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 16:49:48 --add-opens java.base/java.util=ALL-UNNAMED 16:49:48 --add-opens java.sql/java.sql=ALL-UNNAMED 16:49:48 [INFO] 16:49:48 [INFO] --- docker-maven-plugin:0.43.4:build (generate-images) @ policy-api-docker --- 16:49:49 [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. 16:49:49 [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. 16:49:49 [INFO] Copying files to /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/build/maven 16:49:50 [INFO] Building tar: /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/tmp/docker-build.tar 16:49:50 [INFO] DOCKER> [onap/policy-api:latest]: Created docker-build.tar in 1 second 16:49:50 [INFO] DOCKER> Pulling from busybox 16:49:50 [INFO] DOCKER> Digest: sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74 16:49:50 [INFO] DOCKER> Status: Downloaded newer image for nexus3.onap.org:10001/busybox:latest 16:49:50 [INFO] DOCKER> Pulled busybox:latest in 493 milliseconds 16:49:50 [INFO] DOCKER> Pulling from onap/policy-jre-alpine 16:49:52 [INFO] DOCKER> Digest: sha256:8b4e14747ad80a54fb09bedfdcb47852fbb69f317ffcacdee2af4d72dabed79a 16:49:52 [INFO] DOCKER> Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-jre-alpine:3.1.1 16:49:52 [INFO] DOCKER> Pulled onap/policy-jre-alpine:3.1.1 in 2 seconds 16:49:53 [INFO] DOCKER> Step 1/27 : FROM busybox AS tarball 16:49:53 [INFO] DOCKER> 16:49:53 [INFO] DOCKER> ---> 3f57d9401f8d 16:49:53 [INFO] DOCKER> Step 2/27 : RUN mkdir /packages /extracted 16:49:53 [INFO] DOCKER> 16:49:58 [INFO] DOCKER> ---> Running in b972c9f9de17 16:49:58 [INFO] DOCKER> Removing intermediate container b972c9f9de17 16:49:58 [INFO] DOCKER> ---> 2831d1b060bc 16:49:58 [INFO] DOCKER> Step 3/27 : COPY /maven/lib/policy-api.tar.gz /packages/ 16:49:58 [INFO] DOCKER> 16:49:59 [INFO] DOCKER> ---> 63568ac52628 16:49:59 [INFO] DOCKER> Step 4/27 : RUN tar xvzf /packages/policy-api.tar.gz --directory /extracted/ 16:49:59 [INFO] DOCKER> 16:49:59 [INFO] DOCKER> ---> Running in 143d9da90c6d 16:49:59 [INFO] DOCKER> etc/logback.xml 16:49:59 etc/apiParameters.yaml 16:49:59 etc/ssl/policy-truststore 16:49:59 [INFO] DOCKER> Removing intermediate container 143d9da90c6d 16:49:59 [INFO] DOCKER> ---> ac3764cf248b 16:49:59 [INFO] DOCKER> Step 5/27 : FROM onap/policy-jre-alpine:3.1.1 16:49:59 [INFO] DOCKER> 16:49:59 [INFO] DOCKER> ---> b2af5808001c 16:49:59 [INFO] DOCKER> Step 6/27 : LABEL maintainer="Policy Team" 16:49:59 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in 29be51014006 16:50:00 [INFO] DOCKER> Removing intermediate container 29be51014006 16:50:00 [INFO] DOCKER> ---> 8ee0a8ae2d5e 16:50:00 [INFO] DOCKER> Step 7/27 : LABEL org.opencontainers.image.title="Policy API" 16:50:00 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in 0e6dc852851b 16:50:00 [INFO] DOCKER> Removing intermediate container 0e6dc852851b 16:50:00 [INFO] DOCKER> ---> 8bfc132fa1de 16:50:00 [INFO] DOCKER> Step 8/27 : LABEL org.opencontainers.image.description="Policy API image based on Alpine" 16:50:00 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in 6d69e463534c 16:50:00 [INFO] DOCKER> Removing intermediate container 6d69e463534c 16:50:00 [INFO] DOCKER> ---> c44f65f50160 16:50:00 [INFO] DOCKER> Step 9/27 : LABEL org.opencontainers.image.url="https://github.com/onap/policy-api" 16:50:00 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in 2a64f1793fe3 16:50:00 [INFO] DOCKER> Removing intermediate container 2a64f1793fe3 16:50:00 [INFO] DOCKER> ---> 23d5d73c15c9 16:50:00 [INFO] DOCKER> Step 10/27 : LABEL org.opencontainers.image.vendor="ONAP Policy Team" 16:50:00 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in f2d3cc0b0a3d 16:50:00 [INFO] DOCKER> Removing intermediate container f2d3cc0b0a3d 16:50:00 [INFO] DOCKER> ---> a72dc7ac058a 16:50:00 [INFO] DOCKER> Step 11/27 : LABEL org.opencontainers.image.licenses="Apache-2.0" 16:50:00 [INFO] DOCKER> 16:50:00 [INFO] DOCKER> ---> Running in a9c030a0a4ac 16:50:01 [INFO] DOCKER> Removing intermediate container a9c030a0a4ac 16:50:01 [INFO] DOCKER> ---> f4cb2d28854b 16:50:01 [INFO] DOCKER> Step 12/27 : LABEL org.opencontainers.image.created="2024-02-16T16:49:48.951Z" 16:50:01 [INFO] DOCKER> 16:50:01 [INFO] DOCKER> ---> Running in 711e18776e29 16:50:01 [INFO] DOCKER> Removing intermediate container 711e18776e29 16:50:01 [INFO] DOCKER> ---> 2ccd13a70ea1 16:50:01 [INFO] DOCKER> Step 13/27 : LABEL org.opencontainers.image.version="3.1.1-SNAPSHOT" 16:50:01 [INFO] DOCKER> 16:50:01 [INFO] DOCKER> ---> Running in a61b65003f7f 16:50:01 [INFO] DOCKER> Removing intermediate container a61b65003f7f 16:50:01 [INFO] DOCKER> ---> 0f0466e51988 16:50:01 [INFO] DOCKER> Step 14/27 : LABEL org.opencontainers.image.revision="4447ad9" 16:50:01 [INFO] DOCKER> 16:50:01 [INFO] DOCKER> ---> Running in 063dfac1d020 16:50:01 [INFO] DOCKER> Removing intermediate container 063dfac1d020 16:50:01 [INFO] DOCKER> ---> 223ceeefc1b7 16:50:01 [INFO] DOCKER> Step 15/27 : ARG POLICY_LOGS=/var/log/onap/policy/api 16:50:01 [INFO] DOCKER> 16:50:01 [INFO] DOCKER> ---> Running in 8b1152f334a9 16:50:01 [INFO] DOCKER> Removing intermediate container 8b1152f334a9 16:50:01 [INFO] DOCKER> ---> 1a7f010be083 16:50:01 [INFO] DOCKER> Step 16/27 : ENV POLICY_LOGS=$POLICY_LOGS 16:50:01 [INFO] DOCKER> 16:50:01 [INFO] DOCKER> ---> Running in f247ec56ae85 16:50:02 [INFO] DOCKER> Removing intermediate container f247ec56ae85 16:50:02 [INFO] DOCKER> ---> fbf04c8706d3 16:50:02 [INFO] DOCKER> Step 17/27 : ENV POLICY_HOME=$POLICY_HOME/api 16:50:02 [INFO] DOCKER> 16:50:02 [INFO] DOCKER> ---> Running in 17553ea54929 16:50:02 [INFO] DOCKER> Removing intermediate container 17553ea54929 16:50:02 [INFO] DOCKER> ---> 82be234de010 16:50:02 [INFO] DOCKER> Step 18/27 : USER root 16:50:02 [INFO] DOCKER> 16:50:02 [INFO] DOCKER> ---> Running in 9b98a4eddd29 16:50:02 [INFO] DOCKER> Removing intermediate container 9b98a4eddd29 16:50:02 [INFO] DOCKER> ---> 0e72543eb4d5 16:50:02 [INFO] DOCKER> Step 19/27 : RUN mkdir -p $POLICY_HOME $POLICY_LOGS && chown -R policy:policy $POLICY_HOME $POLICY_LOGS 16:50:02 [INFO] DOCKER> 16:50:02 [INFO] DOCKER> ---> Running in 186efd978ed5 16:50:03 [INFO] DOCKER> Removing intermediate container 186efd978ed5 16:50:03 [INFO] DOCKER> ---> 56bdb8ed7ec6 16:50:03 [INFO] DOCKER> Step 20/27 : COPY --chown=policy:policy --from=tarball /extracted/ $POLICY_HOME/ 16:50:03 [INFO] DOCKER> 16:50:03 [INFO] DOCKER> ---> 3078061f77f7 16:50:03 [INFO] DOCKER> Step 21/27 : WORKDIR $POLICY_HOME 16:50:03 [INFO] DOCKER> 16:50:03 [INFO] DOCKER> ---> Running in 22f129a8547a 16:50:03 [INFO] DOCKER> Removing intermediate container 22f129a8547a 16:50:03 [INFO] DOCKER> ---> f574e5f33da4 16:50:03 [INFO] DOCKER> Step 22/27 : COPY --chown=policy:policy policy-api.sh bin/ 16:50:03 [INFO] DOCKER> 16:50:03 [INFO] DOCKER> ---> 17e9037b850b 16:50:03 [INFO] DOCKER> Step 23/27 : COPY --chown=policy:policy /maven/api.jar /app/ 16:50:03 [INFO] DOCKER> 16:50:06 [INFO] DOCKER> ---> 76175768ee96 16:50:06 [INFO] DOCKER> Step 24/27 : RUN chmod 755 bin/*.sh 16:50:06 [INFO] DOCKER> 16:50:06 [INFO] DOCKER> ---> Running in f5964e04c58b 16:50:06 [INFO] DOCKER> Removing intermediate container f5964e04c58b 16:50:06 [INFO] DOCKER> ---> 141fc223d38e 16:50:06 [INFO] DOCKER> Step 25/27 : USER policy 16:50:06 [INFO] DOCKER> 16:50:06 [INFO] DOCKER> ---> Running in 17aa47c4d361 16:50:07 [INFO] DOCKER> Removing intermediate container 17aa47c4d361 16:50:07 [INFO] DOCKER> ---> b55e88b7ab80 16:50:07 [INFO] DOCKER> Step 26/27 : WORKDIR $POLICY_HOME/bin 16:50:07 [INFO] DOCKER> 16:50:07 [INFO] DOCKER> ---> Running in 31d9488a348a 16:50:07 [INFO] DOCKER> Removing intermediate container 31d9488a348a 16:50:07 [INFO] DOCKER> ---> 0d7c07ec2f29 16:50:07 [INFO] DOCKER> Step 27/27 : ENTRYPOINT [ "./policy-api.sh" ] 16:50:07 [INFO] DOCKER> 16:50:07 [INFO] DOCKER> ---> Running in 870e3ff1e296 16:50:07 [INFO] DOCKER> Removing intermediate container 870e3ff1e296 16:50:07 [INFO] DOCKER> ---> 92a96a39afbc 16:50:07 [INFO] DOCKER> Successfully built 92a96a39afbc 16:50:07 [INFO] DOCKER> Successfully tagged onap/policy-api:latest 16:50:07 [INFO] DOCKER> [onap/policy-api:latest]: Built image sha256:92a96 16:50:07 [INFO] DOCKER> [onap/policy-api:latest]: Tag with 3.1.1-SNAPSHOT,3.1.1-SNAPSHOT-20240216T1647,3.1-SNAPSHOT-latest 16:50:07 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT successful! 16:50:07 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT-20240216T1647 successful! 16:50:07 [INFO] DOCKER> Tagging image onap/policy-api:3.1-SNAPSHOT-latest successful! 16:50:07 [INFO] 16:50:07 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-docker --- 16:50:07 [INFO] Starting audit... 16:50:07 Audit done. 16:50:07 [INFO] You have 0 Checkstyle violations. 16:50:07 [INFO] 16:50:07 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-docker --- 16:50:07 [INFO] Starting audit... 16:50:07 Audit done. 16:50:07 [INFO] You have 0 Checkstyle violations. 16:50:07 [INFO] 16:50:07 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-docker --- 16:50:07 [INFO] Skipping JaCoCo execution due to missing execution data file. 16:50:07 [INFO] 16:50:07 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-docker --- 16:50:07 [INFO] Analyzed bundle 'policy-api-tarball' with 0 classes 16:50:07 [INFO] 16:50:07 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-docker --- 16:50:07 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:07 [INFO] failsafeArgLine set to empty 16:50:07 [INFO] 16:50:07 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-docker --- 16:50:07 [INFO] No tests to run. 16:50:07 [INFO] 16:50:07 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-docker --- 16:50:07 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:07 [INFO] 16:50:07 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-docker --- 16:50:07 [INFO] 16:50:07 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-docker --- 16:50:07 [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 16:50:07 [INFO] 16:50:07 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ policy-api-docker --- 16:50:07 [INFO] Skipping artifact deployment 16:50:07 [INFO] 16:50:07 [INFO] --- docker-maven-plugin:0.43.4:build (push-images) @ policy-api-docker --- 16:50:07 [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. 16:50:07 [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. 16:50:07 [INFO] Copying files to /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/build/maven 16:50:08 [INFO] Building tar: /w/workspace/policy-api-master-merge-java/packages/policy-api-docker/target/docker/onap/policy-api/tmp/docker-build.tar 16:50:09 [INFO] DOCKER> [onap/policy-api:latest]: Created docker-build.tar in 1 second 16:50:10 [INFO] DOCKER> Step 1/27 : FROM busybox AS tarball 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> 3f57d9401f8d 16:50:10 [INFO] DOCKER> Step 2/27 : RUN mkdir /packages /extracted 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 2831d1b060bc 16:50:10 [INFO] DOCKER> Step 3/27 : COPY /maven/lib/policy-api.tar.gz /packages/ 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 63568ac52628 16:50:10 [INFO] DOCKER> Step 4/27 : RUN tar xvzf /packages/policy-api.tar.gz --directory /extracted/ 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> ac3764cf248b 16:50:10 [INFO] DOCKER> Step 5/27 : FROM onap/policy-jre-alpine:3.1.1 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> b2af5808001c 16:50:10 [INFO] DOCKER> Step 6/27 : LABEL maintainer="Policy Team" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 8ee0a8ae2d5e 16:50:10 [INFO] DOCKER> Step 7/27 : LABEL org.opencontainers.image.title="Policy API" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 8bfc132fa1de 16:50:10 [INFO] DOCKER> Step 8/27 : LABEL org.opencontainers.image.description="Policy API image based on Alpine" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> c44f65f50160 16:50:10 [INFO] DOCKER> Step 9/27 : LABEL org.opencontainers.image.url="https://github.com/onap/policy-api" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 23d5d73c15c9 16:50:10 [INFO] DOCKER> Step 10/27 : LABEL org.opencontainers.image.vendor="ONAP Policy Team" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> a72dc7ac058a 16:50:10 [INFO] DOCKER> Step 11/27 : LABEL org.opencontainers.image.licenses="Apache-2.0" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> f4cb2d28854b 16:50:10 [INFO] DOCKER> Step 12/27 : LABEL org.opencontainers.image.created="2024-02-16T16:49:48.951Z" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 2ccd13a70ea1 16:50:10 [INFO] DOCKER> Step 13/27 : LABEL org.opencontainers.image.version="3.1.1-SNAPSHOT" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 0f0466e51988 16:50:10 [INFO] DOCKER> Step 14/27 : LABEL org.opencontainers.image.revision="4447ad9" 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 223ceeefc1b7 16:50:10 [INFO] DOCKER> Step 15/27 : ARG POLICY_LOGS=/var/log/onap/policy/api 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 1a7f010be083 16:50:10 [INFO] DOCKER> Step 16/27 : ENV POLICY_LOGS=$POLICY_LOGS 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> fbf04c8706d3 16:50:10 [INFO] DOCKER> Step 17/27 : ENV POLICY_HOME=$POLICY_HOME/api 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 82be234de010 16:50:10 [INFO] DOCKER> Step 18/27 : USER root 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 0e72543eb4d5 16:50:10 [INFO] DOCKER> Step 19/27 : RUN mkdir -p $POLICY_HOME $POLICY_LOGS && chown -R policy:policy $POLICY_HOME $POLICY_LOGS 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 56bdb8ed7ec6 16:50:10 [INFO] DOCKER> Step 20/27 : COPY --chown=policy:policy --from=tarball /extracted/ $POLICY_HOME/ 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 3078061f77f7 16:50:10 [INFO] DOCKER> Step 21/27 : WORKDIR $POLICY_HOME 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> f574e5f33da4 16:50:10 [INFO] DOCKER> Step 22/27 : COPY --chown=policy:policy policy-api.sh bin/ 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 17e9037b850b 16:50:10 [INFO] DOCKER> Step 23/27 : COPY --chown=policy:policy /maven/api.jar /app/ 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 76175768ee96 16:50:10 [INFO] DOCKER> Step 24/27 : RUN chmod 755 bin/*.sh 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 141fc223d38e 16:50:10 [INFO] DOCKER> Step 25/27 : USER policy 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> b55e88b7ab80 16:50:10 [INFO] DOCKER> Step 26/27 : WORKDIR $POLICY_HOME/bin 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 0d7c07ec2f29 16:50:10 [INFO] DOCKER> Step 27/27 : ENTRYPOINT [ "./policy-api.sh" ] 16:50:10 [INFO] DOCKER> 16:50:10 [INFO] DOCKER> ---> Using cache 16:50:10 [INFO] DOCKER> ---> 92a96a39afbc 16:50:10 [INFO] DOCKER> Successfully built 92a96a39afbc 16:50:10 [INFO] DOCKER> Successfully tagged onap/policy-api:latest 16:50:10 [INFO] DOCKER> [onap/policy-api:latest]: Built image sha256:92a96 16:50:10 [INFO] DOCKER> [onap/policy-api:latest]: Tag with 3.1.1-SNAPSHOT,3.1.1-SNAPSHOT-20240216T1647,3.1-SNAPSHOT-latest 16:50:10 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT successful! 16:50:10 [INFO] DOCKER> Tagging image onap/policy-api:3.1.1-SNAPSHOT-20240216T1647 successful! 16:50:10 [INFO] DOCKER> Tagging image onap/policy-api:3.1-SNAPSHOT-latest successful! 16:50:10 [INFO] 16:50:10 [INFO] --- docker-maven-plugin:0.43.4:push (push-images) @ policy-api-docker --- 16:50:10 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 16:50:22 [INFO] DOCKER> latest: digest: sha256:eb5d7fea250b871a2b19a735fdda30ee8abdd061ba9bd10eaf9a1e0174cfa7b2 size: 1787 16:50:22 [INFO] DOCKER> Pushed onap/policy-api in 11 seconds 16:50:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 16:50:22 [INFO] DOCKER> 3.1.1-SNAPSHOT: digest: sha256:eb5d7fea250b871a2b19a735fdda30ee8abdd061ba9bd10eaf9a1e0174cfa7b2 size: 1787 16:50:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 16:50:22 [INFO] DOCKER> 3.1.1-SNAPSHOT-20240216T1647: digest: sha256:eb5d7fea250b871a2b19a735fdda30ee8abdd061ba9bd10eaf9a1e0174cfa7b2 size: 1787 16:50:22 [INFO] DOCKER> The push refers to repository [nexus3.onap.org:10003/onap/policy-api] 16:50:22 [INFO] DOCKER> 3.1-SNAPSHOT-latest: digest: sha256:eb5d7fea250b871a2b19a735fdda30ee8abdd061ba9bd10eaf9a1e0174cfa7b2 size: 1787 16:50:22 [INFO] 16:50:22 [INFO] -----------------< org.onap.policy.api:api-testsuites >----------------- 16:50:22 [INFO] Building api-testsuites 3.1.1-SNAPSHOT [6/8] 16:50:22 [INFO] --------------------------------[ pom ]--------------------------------- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-testsuites --- 16:50:22 [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 16:50:22 --add-opens java.base/java.util=ALL-UNNAMED 16:50:22 --add-opens java.sql/java.sql=ALL-UNNAMED 16:50:22 [INFO] 16:50:22 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-testsuites --- 16:50:22 [INFO] Starting audit... 16:50:22 Audit done. 16:50:22 [INFO] You have 0 Checkstyle violations. 16:50:22 [INFO] 16:50:22 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-testsuites --- 16:50:22 [INFO] Starting audit... 16:50:22 Audit done. 16:50:22 [INFO] You have 0 Checkstyle violations. 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-testsuites --- 16:50:22 [INFO] Skipping JaCoCo execution due to missing classes directory. 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-testsuites --- 16:50:22 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:22 [INFO] failsafeArgLine set to empty 16:50:22 [INFO] 16:50:22 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-testsuites --- 16:50:22 [INFO] No tests to run. 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-testsuites --- 16:50:22 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:22 [INFO] 16:50:22 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-testsuites --- 16:50:22 [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 16:50:22 [INFO] 16:50:22 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-testsuites --- 16:50:22 [INFO] 16:50:22 [INFO] -----------------< org.onap.policy.api:api-stability >------------------ 16:50:22 [INFO] Building api-stability 3.1.1-SNAPSHOT [7/8] 16:50:22 [INFO] --------------------------------[ jar ]--------------------------------- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-stability --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-stability --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-stability --- 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-stability --- 16:50:22 [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 16:50:22 --add-opens java.base/java.util=ALL-UNNAMED 16:50:22 --add-opens java.sql/java.sql=ALL-UNNAMED 16:50:22 [INFO] 16:50:22 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-stability --- 16:50:22 [INFO] Starting audit... 16:50:22 Audit done. 16:50:22 [INFO] You have 0 Checkstyle violations. 16:50:22 [INFO] 16:50:22 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-stability --- 16:50:22 [INFO] Starting audit... 16:50:22 Audit done. 16:50:22 [INFO] You have 0 Checkstyle violations. 16:50:22 [INFO] 16:50:22 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-stability --- 16:50:22 [INFO] Copying 8 resources from src/main/resources to target/classes 16:50:22 [INFO] 16:50:22 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-stability --- 16:50:22 [INFO] No sources to compile 16:50:22 [INFO] 16:50:22 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-stability --- 16:50:22 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/testsuites/stability/src/test/resources 16:50:22 [INFO] 16:50:22 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-stability --- 16:50:22 [INFO] No sources to compile 16:50:22 [INFO] 16:50:22 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-stability --- 16:50:22 [INFO] No tests to run. 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-stability --- 16:50:22 [INFO] Skipping JaCoCo execution due to missing execution data file. 16:50:22 [INFO] 16:50:22 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-stability --- 16:50:22 [INFO] 16:50:22 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-stability --- 16:50:22 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT.jar 16:50:23 [INFO] 16:50:23 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-stability --- 16:50:23 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 16:50:23 [INFO] Building zip: /w/workspace/policy-api-master-merge-java/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT-stability.zip 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-stability --- 16:50:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:23 [INFO] failsafeArgLine set to empty 16:50:23 [INFO] 16:50:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-stability --- 16:50:23 [INFO] No tests to run. 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-stability --- 16:50:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:23 [INFO] 16:50:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-stability --- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-stability --- 16:50: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 16:50: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 16:50: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 16:50:23 [INFO] 16:50:23 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-stability --- 16:50:23 [INFO] 16:50:23 [INFO] ----------------< org.onap.policy.api:api-performance >----------------- 16:50:23 [INFO] Building api-performance 3.1.1-SNAPSHOT [8/8] 16:50:23 [INFO] --------------------------------[ jar ]--------------------------------- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-performance --- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-performance --- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-performance --- 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-performance --- 16:50: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 16:50:23 --add-opens java.base/java.util=ALL-UNNAMED 16:50:23 --add-opens java.sql/java.sql=ALL-UNNAMED 16:50:23 [INFO] 16:50:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-performance --- 16:50:23 [INFO] Starting audit... 16:50:23 Audit done. 16:50:23 [INFO] You have 0 Checkstyle violations. 16:50:23 [INFO] 16:50:23 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-performance --- 16:50:23 [INFO] Starting audit... 16:50:23 Audit done. 16:50:23 [INFO] You have 0 Checkstyle violations. 16:50:23 [INFO] 16:50:23 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-performance --- 16:50:23 [INFO] Copying 1 resource from src/main/resources to target/classes 16:50:23 [INFO] 16:50:23 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-performance --- 16:50:23 [INFO] No sources to compile 16:50:23 [INFO] 16:50:23 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-performance --- 16:50:23 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-merge-java/testsuites/performance/src/test/resources 16:50:23 [INFO] 16:50:23 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-performance --- 16:50:23 [INFO] No sources to compile 16:50:23 [INFO] 16:50:23 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-performance --- 16:50:23 [INFO] No tests to run. 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-performance --- 16:50:23 [INFO] Skipping JaCoCo execution due to missing execution data file. 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-performance --- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-performance --- 16:50:23 [INFO] Building jar: /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT.jar 16:50:23 [INFO] 16:50:23 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-performance --- 16:50:23 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 16:50:23 [INFO] Building zip: /w/workspace/policy-api-master-merge-java/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT-performance.zip 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-performance --- 16:50:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:23 [INFO] failsafeArgLine set to empty 16:50:23 [INFO] 16:50:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-performance --- 16:50:23 [INFO] No tests to run. 16:50:23 [INFO] 16:50:23 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-performance --- 16:50:23 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 16:50:23 [INFO] 16:50:23 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-performance --- 16:50:23 [INFO] 16:50:23 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-performance --- 16:50:23 [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 16:50:23 [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 16:50:23 [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 16:50:23 [INFO] 16:50:23 [INFO] --- maven-deploy-plugin:2.8:deploy (default-deploy) @ api-performance --- 16:50:23 [INFO] ------------------------------------------------------------------------ 16:50:23 [INFO] Reactor Summary for policy-api 3.1.1-SNAPSHOT: 16:50:23 [INFO] 16:50:23 [INFO] policy-api ......................................... SUCCESS [ 11.440 s] 16:50:23 [INFO] api-main ........................................... SUCCESS [02:16 min] 16:50:23 [INFO] api-packages ....................................... SUCCESS [ 0.310 s] 16:50:23 [INFO] policy-api-tarball ................................. SUCCESS [ 0.898 s] 16:50:23 [INFO] policy-api-docker .................................. SUCCESS [ 37.555 s] 16:50:23 [INFO] api-testsuites ..................................... SUCCESS [ 0.253 s] 16:50:23 [INFO] api-stability ...................................... SUCCESS [ 0.590 s] 16:50:23 [INFO] api-performance .................................... SUCCESS [ 0.506 s] 16:50:23 [INFO] ------------------------------------------------------------------------ 16:50:23 [INFO] BUILD SUCCESS 16:50:23 [INFO] ------------------------------------------------------------------------ 16:50:23 [INFO] Total time: 03:09 min 16:50:23 [INFO] Finished at: 2024-02-16T16:50:23Z 16:50:23 [INFO] ------------------------------------------------------------------------ 16:50:24 $ ssh-agent -k 16:50:24 unset SSH_AUTH_SOCK; 16:50:24 unset SSH_AGENT_PID; 16:50:24 echo Agent pid 2099 killed; 16:50:24 [ssh-agent] Stopped. 16:50:24 [PostBuildScript] - [INFO] Executing post build scripts. 16:50:24 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins7585510803073174638.sh 16:50:24 ---> sysstat.sh 16:50:24 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins6406248818855235964.sh 16:50:24 ---> package-listing.sh 16:50:24 ++ facter osfamily 16:50:24 ++ tr '[:upper:]' '[:lower:]' 16:50:24 + OS_FAMILY=debian 16:50:24 + workspace=/w/workspace/policy-api-master-merge-java 16:50:24 + START_PACKAGES=/tmp/packages_start.txt 16:50:24 + END_PACKAGES=/tmp/packages_end.txt 16:50:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:50:24 + PACKAGES=/tmp/packages_start.txt 16:50:24 + '[' /w/workspace/policy-api-master-merge-java ']' 16:50:24 + PACKAGES=/tmp/packages_end.txt 16:50:24 + case "${OS_FAMILY}" in 16:50:24 + dpkg -l 16:50:24 + grep '^ii' 16:50:24 + '[' -f /tmp/packages_start.txt ']' 16:50:24 + '[' -f /tmp/packages_end.txt ']' 16:50:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:50:24 + '[' /w/workspace/policy-api-master-merge-java ']' 16:50:24 + mkdir -p /w/workspace/policy-api-master-merge-java/archives/ 16:50:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-merge-java/archives/ 16:50:24 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins6651039328761183248.sh 16:50:24 ---> capture-instance-metadata.sh 16:50:24 Setup pyenv: 16:50:24 system 16:50:24 3.8.13 16:50:24 3.9.13 16:50:24 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 16:50:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UFZo from file:/tmp/.os_lf_venv 16:50:26 lf-activate-venv(): INFO: Installing: lftools 16:50:36 lf-activate-venv(): INFO: Adding /tmp/venv-UFZo/bin to PATH 16:50:36 INFO: Running in OpenStack, capturing instance metadata 16:50:36 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins8457442023570754218.sh 16:50:36 provisioning config files... 16:50:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-merge-java@tmp/config8813233296849306693tmp 16:50:36 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 16:50:36 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 16:50:36 [EnvInject] - Injecting environment variables from a build step. 16:50:36 [EnvInject] - Injecting as environment variables the properties content 16:50:36 SERVER_ID=logs 16:50:36 16:50:36 [EnvInject] - Variables injected successfully. 16:50:36 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins4573276835776380488.sh 16:50:36 ---> create-netrc.sh 16:50:36 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins10293942350453343064.sh 16:50:36 ---> python-tools-install.sh 16:50:36 Setup pyenv: 16:50:36 system 16:50:36 3.8.13 16:50:36 3.9.13 16:50:36 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 16:50:37 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UFZo from file:/tmp/.os_lf_venv 16:50:38 lf-activate-venv(): INFO: Installing: lftools 16:50:46 lf-activate-venv(): INFO: Adding /tmp/venv-UFZo/bin to PATH 16:50:46 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins12567019001088367136.sh 16:50:46 ---> sudo-logs.sh 16:50:46 Archiving 'sudo' log.. 16:50:46 [policy-api-master-merge-java] $ /bin/bash /tmp/jenkins8706277371596294921.sh 16:50:46 ---> job-cost.sh 16:50:46 Setup pyenv: 16:50:46 system 16:50:46 3.8.13 16:50:46 3.9.13 16:50:46 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 16:50:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UFZo from file:/tmp/.os_lf_venv 16:50:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 16:50:54 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. 16:50:54 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 16:50:55 lf-activate-venv(): INFO: Adding /tmp/venv-UFZo/bin to PATH 16:50:55 INFO: No Stack... 16:50:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:55 INFO: Archiving Costs 16:50:55 [policy-api-master-merge-java] $ /bin/bash -l /tmp/jenkins10867866452037583713.sh 16:50:55 ---> logs-deploy.sh 16:50:55 Setup pyenv: 16:50:55 system 16:50:55 3.8.13 16:50:55 3.9.13 16:50:55 * 3.10.6 (set by /w/workspace/policy-api-master-merge-java/.python-version) 16:50:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UFZo from file:/tmp/.os_lf_venv 16:50:57 lf-activate-venv(): INFO: Installing: lftools 16:51:06 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 16:51:06 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 16:51:06 lf-activate-venv(): INFO: Adding /tmp/venv-UFZo/bin to PATH 16:51:06 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-merge-java/324 16:51:06 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 16:51:07 Archives upload complete. 16:51:07 INFO: archiving logs to Nexus 16:51:08 ---> uname -a: 16:51:08 Linux prd-ubuntu1804-docker-8c-8g-5873 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 16:51:08 16:51:08 16:51:08 ---> lscpu: 16:51:08 Architecture: x86_64 16:51:08 CPU op-mode(s): 32-bit, 64-bit 16:51:08 Byte Order: Little Endian 16:51:08 CPU(s): 8 16:51:08 On-line CPU(s) list: 0-7 16:51:08 Thread(s) per core: 1 16:51:08 Core(s) per socket: 1 16:51:08 Socket(s): 8 16:51:08 NUMA node(s): 1 16:51:08 Vendor ID: AuthenticAMD 16:51:08 CPU family: 23 16:51:08 Model: 49 16:51:08 Model name: AMD EPYC-Rome Processor 16:51:08 Stepping: 0 16:51:08 CPU MHz: 2800.000 16:51:08 BogoMIPS: 5600.00 16:51:08 Virtualization: AMD-V 16:51:08 Hypervisor vendor: KVM 16:51:08 Virtualization type: full 16:51:08 L1d cache: 32K 16:51:08 L1i cache: 32K 16:51:08 L2 cache: 512K 16:51:08 L3 cache: 16384K 16:51:08 NUMA node0 CPU(s): 0-7 16:51:08 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 16:51:08 16:51:08 16:51:08 ---> nproc: 16:51:08 8 16:51:08 16:51:08 16:51:08 ---> df -h: 16:51:08 Filesystem Size Used Avail Use% Mounted on 16:51:08 udev 16G 0 16G 0% /dev 16:51:08 tmpfs 3.2G 708K 3.2G 1% /run 16:51:08 /dev/vda1 155G 11G 144G 8% / 16:51:08 tmpfs 16G 0 16G 0% /dev/shm 16:51:08 tmpfs 5.0M 0 5.0M 0% /run/lock 16:51:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:51:08 /dev/vda15 105M 4.4M 100M 5% /boot/efi 16:51:08 tmpfs 3.2G 0 3.2G 0% /run/user/1001 16:51:08 16:51:08 16:51:08 ---> free -m: 16:51:08 total used free shared buff/cache available 16:51:08 Mem: 32167 869 28056 0 3240 30853 16:51:08 Swap: 1023 0 1023 16:51:08 16:51:08 16:51:08 ---> ip addr: 16:51:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 16:51:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:51:08 inet 127.0.0.1/8 scope host lo 16:51:08 valid_lft forever preferred_lft forever 16:51:08 inet6 ::1/128 scope host 16:51:08 valid_lft forever preferred_lft forever 16:51:08 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 16:51:08 link/ether fa:16:3e:e2:71:6a brd ff:ff:ff:ff:ff:ff 16:51:08 inet 10.30.107.242/23 brd 10.30.107.255 scope global dynamic ens3 16:51:08 valid_lft 86052sec preferred_lft 86052sec 16:51:08 inet6 fe80::f816:3eff:fee2:716a/64 scope link 16:51:08 valid_lft forever preferred_lft forever 16:51:08 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 16:51:08 link/ether 02:42:e4:97:93:d2 brd ff:ff:ff:ff:ff:ff 16:51:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:51:08 valid_lft forever preferred_lft forever 16:51:08 inet6 fe80::42:e4ff:fe97:93d2/64 scope link 16:51:08 valid_lft forever preferred_lft forever 16:51:08 16:51:08 16:51:08 ---> sar -b -r -n DEV: 16:51:08 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5873) 02/16/24 _x86_64_ (8 CPU) 16:51:08 16:51:08 16:45:23 LINUX RESTART (8 CPU) 16:51:08 16:51:08 16:46:01 tps rtps wtps bread/s bwrtn/s 16:51:08 16:47:01 100.43 23.81 76.62 1254.99 27441.96 16:51:08 16:48:01 170.18 44.85 125.32 2526.49 36625.79 16:51:08 16:49:02 18.85 0.00 18.85 0.00 21334.44 16:51:08 16:50:01 323.03 5.19 317.84 484.26 51289.61 16:51:08 16:51:01 110.90 1.42 109.48 101.05 42256.96 16:51:08 Average: 144.08 15.09 128.99 874.71 35737.95 16:51:08 16:51:08 16:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:51:08 16:47:01 30084000 31699076 2855220 8.67 70440 1854132 1372964 4.04 871772 1689304 178016 16:51:08 16:48:01 28272052 30243184 4667168 14.17 84588 2182460 3033892 8.93 2425880 1916792 8896 16:51:08 16:49:02 27853692 29825288 5085528 15.44 84664 2182812 3387880 9.97 2841876 1916532 112 16:51:08 16:50:01 27682232 30519500 5256988 15.96 90512 3026920 2555512 7.52 2402212 2491536 72 16:51:08 16:51:01 28724128 31588052 4215092 12.80 98900 3043892 1470344 4.33 1357028 2493908 31600 16:51:08 Average: 28523221 30775020 4415999 13.41 85821 2458043 2364118 6.96 1979754 2101614 43739 16:51:08 16:51:08 16:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:51:08 16:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:08 16:47:01 ens3 56.44 38.74 986.75 7.15 0.00 0.00 0.00 0.00 16:51:08 16:47:01 lo 1.80 1.80 0.19 0.19 0.00 0.00 0.00 0.00 16:51:08 16:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:08 16:48:01 ens3 421.21 322.23 3519.15 57.16 0.00 0.00 0.00 0.00 16:51:08 16:48:01 lo 18.46 18.46 19.09 19.09 0.00 0.00 0.00 0.00 16:51:08 16:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:08 16:49:02 ens3 234.74 152.34 55.24 64.62 0.00 0.00 0.00 0.00 16:51:08 16:49:02 lo 113.86 113.86 38.64 38.64 0.00 0.00 0.00 0.00 16:51:08 16:50:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 16:51:08 16:50:01 ens3 563.06 398.90 2437.11 1958.33 0.00 0.00 0.00 0.00 16:51:08 16:50:01 lo 62.16 62.16 20.42 20.42 0.00 0.00 0.00 0.00 16:51:08 16:51:01 docker0 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 16:51:08 16:51:01 ens3 320.18 312.93 119.40 1700.65 0.00 0.00 0.00 0.00 16:51:08 16:51:01 lo 4.60 4.60 0.43 0.43 0.00 0.00 0.00 0.00 16:51:08 Average: docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:51:08 Average: ens3 318.31 244.52 1420.21 753.54 0.00 0.00 0.00 0.00 16:51:08 Average: lo 40.10 40.10 15.74 15.74 0.00 0.00 0.00 0.00 16:51:08 16:51:08 16:51:08 ---> sar -P ALL: 16:51:08 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5873) 02/16/24 _x86_64_ (8 CPU) 16:51:08 16:51:08 16:45:23 LINUX RESTART (8 CPU) 16:51:08 16:51:08 16:46:01 CPU %user %nice %system %iowait %steal %idle 16:51:08 16:47:01 all 10.23 0.00 0.68 2.17 0.03 86.88 16:51:08 16:47:01 0 9.37 0.00 0.67 0.30 0.03 89.63 16:51:08 16:47:01 1 0.17 0.00 0.12 1.25 0.07 98.40 16:51:08 16:47:01 2 0.92 0.00 0.20 0.47 0.02 98.39 16:51:08 16:47:01 3 0.45 0.00 0.20 0.02 0.00 99.33 16:51:08 16:47:01 4 11.65 0.00 0.77 0.40 0.02 87.16 16:51:08 16:47:01 5 39.42 0.00 2.22 1.95 0.07 56.34 16:51:08 16:47:01 6 19.75 0.00 1.09 0.33 0.03 78.80 16:51:08 16:47:01 7 0.08 0.00 0.20 12.64 0.02 87.06 16:51:08 16:48:01 all 31.97 0.00 1.15 2.00 0.08 64.80 16:51:08 16:48:01 0 22.19 0.00 0.97 4.46 0.07 72.31 16:51:08 16:48:01 1 30.71 0.00 1.21 1.69 0.08 66.31 16:51:08 16:48:01 2 20.45 0.00 0.58 0.20 0.08 78.68 16:51:08 16:48:01 3 37.34 0.00 0.62 0.25 0.10 61.69 16:51:08 16:48:01 4 22.69 0.00 1.07 1.42 0.07 74.76 16:51:08 16:48:01 5 59.23 0.00 3.11 1.24 0.10 36.32 16:51:08 16:48:01 6 34.67 0.00 1.14 0.65 0.07 63.47 16:51:08 16:48:01 7 28.53 0.00 0.55 6.09 0.07 64.76 16:51:08 16:49:02 all 19.72 0.00 0.34 0.93 0.06 78.95 16:51:08 16:49:02 0 11.31 0.00 0.85 7.39 0.05 80.40 16:51:08 16:49:02 1 18.96 0.00 0.23 0.00 0.07 80.74 16:51:08 16:49:02 2 23.08 0.00 0.30 0.00 0.05 76.57 16:51:08 16:49:02 3 40.36 0.00 0.43 0.00 0.05 59.16 16:51:08 16:49:02 4 11.00 0.00 0.12 0.05 0.03 88.80 16:51:08 16:49:02 5 19.11 0.00 0.28 0.00 0.08 80.52 16:51:08 16:49:02 6 21.67 0.00 0.30 0.00 0.05 77.98 16:51:08 16:49:02 7 12.28 0.00 0.17 0.00 0.03 87.52 16:51:08 16:50:01 all 27.02 0.00 1.35 2.57 0.06 69.00 16:51:08 16:50:01 0 19.01 0.00 2.71 9.26 0.09 68.95 16:51:08 16:50:01 1 13.54 0.00 1.80 7.33 0.03 77.29 16:51:08 16:50:01 2 27.69 0.00 0.70 0.36 0.09 71.17 16:51:08 16:50:01 3 32.96 0.00 1.21 0.07 0.07 65.70 16:51:08 16:50:01 4 28.13 0.00 1.24 0.27 0.05 70.31 16:51:08 16:50:01 5 24.53 0.00 0.59 0.05 0.05 74.78 16:51:08 16:50:01 6 32.23 0.00 1.72 3.17 0.07 62.82 16:51:08 16:50:01 7 38.08 0.00 0.82 0.10 0.07 60.93 16:51:08 16:51:01 all 10.62 0.00 1.07 2.00 0.05 86.26 16:51:08 16:51:01 0 14.39 0.00 0.85 10.34 0.05 74.37 16:51:08 16:51:01 1 6.98 0.00 1.71 2.08 0.03 89.20 16:51:08 16:51:01 2 6.85 0.00 0.74 1.91 0.03 90.48 16:51:08 16:51:01 3 18.94 0.00 1.64 0.75 0.07 78.60 16:51:08 16:51:01 4 8.78 0.00 1.05 0.53 0.03 89.60 16:51:08 16:51:01 5 4.10 0.00 0.57 0.00 0.05 95.28 16:51:08 16:51:01 6 14.15 0.00 1.12 0.34 0.05 84.34 16:51:08 16:51:01 7 10.82 0.00 0.85 0.08 0.05 88.19 16:51:08 Average: all 19.89 0.00 0.92 1.93 0.05 77.21 16:51:08 Average: 0 15.24 0.00 1.20 6.34 0.06 77.16 16:51:08 Average: 1 14.07 0.00 1.01 2.46 0.06 82.41 16:51:08 Average: 2 15.76 0.00 0.50 0.59 0.05 83.10 16:51:08 Average: 3 25.98 0.00 0.82 0.22 0.06 72.93 16:51:08 Average: 4 16.40 0.00 0.85 0.54 0.04 82.17 16:51:08 Average: 5 29.28 0.00 1.36 0.65 0.07 68.65 16:51:08 Average: 6 24.47 0.00 1.07 0.89 0.05 73.52 16:51:08 Average: 7 17.88 0.00 0.52 3.80 0.05 77.76 16:51:08 16:51:08 16:51:08