11:19:22 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/137329 11:19:22 Running as SYSTEM 11:19:22 [EnvInject] - Loading node environment variables. 11:19:22 Building remotely on prd-ubuntu1804-builder-4c-4g-7293 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/policy-api-master-verify-java 11:19:22 [ssh-agent] Looking for ssh-agent implementation... 11:19:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:19:22 $ ssh-agent 11:19:22 SSH_AUTH_SOCK=/tmp/ssh-r5WCa4TZQdcz/agent.1656 11:19:22 SSH_AGENT_PID=1658 11:19:22 [ssh-agent] Started. 11:19:22 Running ssh-add (command line suppressed) 11:19:22 Identity added: /w/workspace/policy-api-master-verify-java@tmp/private_key_7957613817566845997.key (/w/workspace/policy-api-master-verify-java@tmp/private_key_7957613817566845997.key) 11:19:22 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 11:19:22 The recommended git tool is: NONE 11:19:24 using credential onap-jenkins-ssh 11:19:24 Wiping out workspace first. 11:19:24 Cloning the remote Git repository 11:19:24 Cloning repository git://cloud.onap.org/mirror/policy/api.git 11:19:24 > git init /w/workspace/policy-api-master-verify-java # timeout=10 11:19:24 Fetching upstream changes from git://cloud.onap.org/mirror/policy/api.git 11:19:24 > git --version # timeout=10 11:19:24 > git --version # 'git version 2.17.1' 11:19:24 using GIT_SSH to set credentials Gerrit user 11:19:24 Verifying host key using manually-configured host key entries 11:19:24 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/api.git +refs/heads/*:refs/remotes/origin/* # timeout=30 11:19:31 > git config remote.origin.url git://cloud.onap.org/mirror/policy/api.git # timeout=10 11:19:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:32 > git config remote.origin.url git://cloud.onap.org/mirror/policy/api.git # timeout=10 11:19:32 Fetching upstream changes from git://cloud.onap.org/mirror/policy/api.git 11:19:32 using GIT_SSH to set credentials Gerrit user 11:19:32 Verifying host key using manually-configured host key entries 11:19:32 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/api.git refs/changes/29/137329/1 # timeout=30 11:19:32 > git rev-parse b824255ebe9336063b70be668a56995beb1d972f^{commit} # timeout=10 11:19:32 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 11:19:32 Checking out Revision b824255ebe9336063b70be668a56995beb1d972f (refs/changes/29/137329/1) 11:19:32 > git config core.sparsecheckout # timeout=10 11:19:32 > git checkout -f b824255ebe9336063b70be668a56995beb1d972f # timeout=30 11:19:35 Commit message: "Fix config files to remove outdated hibernate configuration" 11:19:35 > git rev-parse FETCH_HEAD^{commit} # timeout=10 11:19:35 > git rev-list --no-walk e7970814335ef4ec3cbf9f01c84684330f03d9ab # timeout=10 11:19:35 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins10109037524877987486.sh 11:19:35 ---> python-tools-install.sh 11:19:35 Setup pyenv: 11:19:35 * system (set by /opt/pyenv/version) 11:19:35 * 3.8.13 (set by /opt/pyenv/version) 11:19:35 * 3.9.13 (set by /opt/pyenv/version) 11:19:35 * 3.10.6 (set by /opt/pyenv/version) 11:19:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SWkM 11:19:40 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 11:19:43 lf-activate-venv(): INFO: Installing: lftools 11:20:14 lf-activate-venv(): INFO: Adding /tmp/venv-SWkM/bin to PATH 11:20:14 Generating Requirements File 11:20:47 Python 3.10.6 11:20:47 pip 24.0 from /tmp/venv-SWkM/lib/python3.10/site-packages/pip (python 3.10) 11:20:48 appdirs==1.4.4 11:20:48 argcomplete==3.2.2 11:20:48 aspy.yaml==1.3.0 11:20:48 attrs==23.2.0 11:20:48 autopage==0.5.2 11:20:48 beautifulsoup4==4.12.3 11:20:48 boto3==1.34.46 11:20:48 botocore==1.34.46 11:20:48 bs4==0.0.2 11:20:48 cachetools==5.3.2 11:20:48 certifi==2024.2.2 11:20:48 cffi==1.16.0 11:20:48 cfgv==3.4.0 11:20:48 chardet==5.2.0 11:20:48 charset-normalizer==3.3.2 11:20:48 click==8.1.7 11:20:48 cliff==4.5.0 11:20:48 cmd2==2.4.3 11:20:48 cryptography==3.3.2 11:20:48 debtcollector==2.5.0 11:20:48 decorator==5.1.1 11:20:48 defusedxml==0.7.1 11:20:48 Deprecated==1.2.14 11:20:48 distlib==0.3.8 11:20:48 dnspython==2.6.1 11:20:48 docker==4.2.2 11:20:48 dogpile.cache==1.3.1 11:20:48 email-validator==2.1.0.post1 11:20:48 filelock==3.13.1 11:20:48 future==0.18.3 11:20:48 gitdb==4.0.11 11:20:48 GitPython==3.1.42 11:20:48 google-auth==2.28.0 11:20:48 httplib2==0.22.0 11:20:48 identify==2.5.35 11:20:48 idna==3.6 11:20:48 importlib-resources==1.5.0 11:20:48 iso8601==2.1.0 11:20:48 Jinja2==3.1.3 11:20:48 jmespath==1.0.1 11:20:48 jsonpatch==1.33 11:20:48 jsonpointer==2.4 11:20:48 jsonschema==4.21.1 11:20:48 jsonschema-specifications==2023.12.1 11:20:48 keystoneauth1==5.5.0 11:20:48 kubernetes==29.0.0 11:20:48 lftools==0.37.8 11:20:48 lxml==5.1.0 11:20:48 MarkupSafe==2.1.5 11:20:48 msgpack==1.0.7 11:20:48 multi_key_dict==2.0.3 11:20:48 munch==4.0.0 11:20:48 netaddr==1.2.1 11:20:48 netifaces==0.11.0 11:20:48 niet==1.4.2 11:20:48 nodeenv==1.8.0 11:20:48 oauth2client==4.1.3 11:20:48 oauthlib==3.2.2 11:20:48 openstacksdk==0.62.0 11:20:48 os-client-config==2.1.0 11:20:48 os-service-types==1.7.0 11:20:48 osc-lib==3.0.0 11:20:48 oslo.config==9.3.0 11:20:48 oslo.context==5.3.0 11:20:48 oslo.i18n==6.2.0 11:20:48 oslo.log==5.4.0 11:20:48 oslo.serialization==5.3.0 11:20:48 oslo.utils==7.0.0 11:20:48 packaging==23.2 11:20:48 pbr==6.0.0 11:20:48 platformdirs==4.2.0 11:20:48 prettytable==3.10.0 11:20:48 pyasn1==0.5.1 11:20:48 pyasn1-modules==0.3.0 11:20:48 pycparser==2.21 11:20:48 pygerrit2==2.0.15 11:20:48 PyGithub==2.2.0 11:20:48 pyinotify==0.9.6 11:20:48 PyJWT==2.8.0 11:20:48 PyNaCl==1.5.0 11:20:48 pyparsing==2.4.7 11:20:48 pyperclip==1.8.2 11:20:48 pyrsistent==0.20.0 11:20:48 python-cinderclient==9.4.0 11:20:48 python-dateutil==2.8.2 11:20:48 python-heatclient==3.4.0 11:20:48 python-jenkins==1.8.2 11:20:48 python-keystoneclient==5.3.0 11:20:48 python-magnumclient==4.3.0 11:20:48 python-novaclient==18.4.0 11:20:48 python-openstackclient==6.0.1 11:20:48 python-swiftclient==4.4.0 11:20:48 pytz==2024.1 11:20:48 PyYAML==6.0.1 11:20:48 referencing==0.33.0 11:20:48 requests==2.31.0 11:20:48 requests-oauthlib==1.3.1 11:20:48 requestsexceptions==1.4.0 11:20:48 rfc3986==2.0.0 11:20:48 rpds-py==0.18.0 11:20:48 rsa==4.9 11:20:48 ruamel.yaml==0.18.6 11:20:48 ruamel.yaml.clib==0.2.8 11:20:48 s3transfer==0.10.0 11:20:48 simplejson==3.19.2 11:20:48 six==1.16.0 11:20:48 smmap==5.0.1 11:20:48 soupsieve==2.5 11:20:48 stevedore==5.1.0 11:20:48 tabulate==0.9.0 11:20:48 toml==0.10.2 11:20:48 tomlkit==0.12.3 11:20:48 tqdm==4.66.2 11:20:48 typing_extensions==4.9.0 11:20:48 tzdata==2024.1 11:20:48 urllib3==1.26.18 11:20:48 virtualenv==20.25.0 11:20:48 wcwidth==0.2.13 11:20:48 websocket-client==1.7.0 11:20:48 wrapt==1.16.0 11:20:48 xdg==6.0.0 11:20:48 xmltodict==0.13.0 11:20:48 yq==3.2.3 11:20:48 [EnvInject] - Injecting environment variables from a build step. 11:20:48 [EnvInject] - Injecting as environment variables the properties content 11:20:48 SET_JDK_VERSION=openjdk17 11:20:48 GIT_URL="git://cloud.onap.org/mirror" 11:20:48 11:20:48 [EnvInject] - Variables injected successfully. 11:20:48 [policy-api-master-verify-java] $ /bin/sh /tmp/jenkins16854621949653344711.sh 11:20:48 ---> update-java-alternatives.sh 11:20:48 ---> Updating Java version 11:20:48 ---> Ubuntu/Debian system detected 11:20:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 11:20:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 11:20:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 11:20:48 openjdk version "17.0.4" 2022-07-19 11:20:48 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 11:20:48 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 11:20:48 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 11:20:48 [EnvInject] - Injecting environment variables from a build step. 11:20:48 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 11:20:48 [EnvInject] - Variables injected successfully. 11:20:48 provisioning config files... 11:20:48 copy managed file [global-settings] to file:/w/workspace/policy-api-master-verify-java@tmp/config2261017151246765449tmp 11:20:48 copy managed file [policy-api-settings] to file:/w/workspace/policy-api-master-verify-java@tmp/config11995010705911936661tmp 11:20:48 [EnvInject] - Injecting environment variables from a build step. 11:20:48 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-builder-4c-4g-7293 11:20:49 using settings config with name policy-api-settings 11:20:49 Replacing all maven server entries not found in credentials list is true 11:20:49 using global settings config with name global-settings 11:20:49 Replacing all maven server entries not found in credentials list is true 11:20:49 [policy-api-master-verify-java] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -s /tmp/settings18064260366833490490.xml -gs /tmp/global-settings5487095676092285.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=b824255ebe9336063b70be668a56995beb1d972f -DGERRIT_HOST=gerrit.onap.org -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_CHANGE_OWNER_EMAIL=adheli.tavares@est.tech "-DGERRIT_EVENT_ACCOUNT_NAME=Adheli Tavares" -DGERRIT_CHANGE_URL=https://gerrit.onap.org/r/c/policy/api/+/137329 -DGERRIT_PATCHSET_UPLOADER_EMAIL=adheli.tavares@est.tech "-DARCHIVE_ARTIFACTS= **/target/surefire-reports/*-output.txt" -DGERRIT_EVENT_TYPE=patchset-created -DSTACK_NAME=$JOB_NAME-$BUILD_NUMBER -DGERRIT_PROJECT=policy/api -DGERRIT_CHANGE_NUMBER=137329 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Adheli Tavares\" ' -DGERRIT_PORT=29418 -DGERRIT_CHANGE_PRIVATE_STATE=false -DGERRIT_REFSPEC=refs/changes/29/137329/1 "-DGERRIT_PATCHSET_UPLOADER_NAME=Adheli Tavares" '-DGERRIT_CHANGE_OWNER=\"Adheli Tavares\" ' -DPROJECT=policy/api -DGERRIT_CHANGE_COMMIT_MESSAGE=Rml4IGNvbmZpZyBmaWxlcyB0byByZW1vdmUgb3V0ZGF0ZWQgaGliZXJuYXRlIGNvbmZpZ3VyYXRpb24KCklzc3VlLUlEOiBQT0xJQ1ktNDkyOQpDaGFuZ2UtSWQ6IEkyMThiNmYwYmMwOTVkMjY5M2Y4ZmEyNzhhMjU1ZGFjMGFkMTQ1NTg4ClNpZ25lZC1vZmYtYnk6IGFkaGVsaS50YXZhcmVzIDxhZGhlbGkudGF2YXJlc0Blc3QudGVjaD4K -DGERRIT_NAME=Primary -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=Fix config files to remove outdated hibernate configuration" '-DGERRIT_EVENT_ACCOUNT=\"Adheli Tavares\" ' -DGERRIT_CHANGE_WIP_STATE=false -DGERRIT_CHANGE_ID=I218b6f0bc095d2693f8fa278a255dac0ad145588 -DGERRIT_EVENT_HASH=411881729 -DGERRIT_VERSION=3.7.2 -DGERRIT_EVENT_ACCOUNT_EMAIL=adheli.tavares@est.tech -DGERRIT_PATCHSET_NUMBER=1 -DMAVEN_PARAMS= "-DGERRIT_CHANGE_OWNER_NAME=Adheli Tavares" -DMAVEN_OPTS='' clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn 11:20:50 [INFO] Scanning for projects... 11:20:51 [INFO] ------------------------------------------------------------------------ 11:20:51 [INFO] Reactor Build Order: 11:20:51 [INFO] 11:20:51 [INFO] policy-api [pom] 11:20:51 [INFO] api-main [jar] 11:20:51 [INFO] api-packages [pom] 11:20:51 [INFO] policy-api-tarball [jar] 11:20:51 [INFO] api-testsuites [pom] 11:20:51 [INFO] api-stability [jar] 11:20:51 [INFO] api-performance [jar] 11:20:51 [INFO] 11:20:51 [INFO] -------------------< org.onap.policy.api:policy-api >------------------- 11:20:51 [INFO] Building policy-api 3.1.2-SNAPSHOT [1/7] 11:20:51 [INFO] --------------------------------[ pom ]--------------------------------- 11:20:58 [INFO] 11:20:58 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api --- 11:20:58 [INFO] 11:20:58 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api --- 11:21:00 [INFO] 11:21:00 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api --- 11:21:00 [INFO] 11:21:00 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api --- 11:21:00 [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-verify-java/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:21:00 --add-opens java.base/java.util=ALL-UNNAMED 11:21:00 --add-opens java.sql/java.sql=ALL-UNNAMED 11:21:00 [INFO] 11:21:00 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api --- 11:21:04 [INFO] Starting audit... 11:21:04 Audit done. 11:21:04 [INFO] You have 0 Checkstyle violations. 11:21:04 [INFO] 11:21:04 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api --- 11:21:04 [INFO] Starting audit... 11:21:04 Audit done. 11:21:04 [INFO] You have 0 Checkstyle violations. 11:21:04 [INFO] 11:21:04 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api --- 11:21:04 [INFO] Skipping JaCoCo execution due to missing execution data file. 11:21:04 [INFO] 11:21:04 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api --- 11:21:04 [INFO] 11:21:04 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api --- 11:21:04 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:21:04 [INFO] failsafeArgLine set to empty 11:21:04 [INFO] 11:21:04 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api --- 11:21:05 [INFO] No tests to run. 11:21:05 [INFO] 11:21:05 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api --- 11:21:05 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:21:05 [INFO] 11:21:05 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api --- 11:21:05 [INFO] 11:21:05 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api --- 11:21:05 [INFO] Installing /w/workspace/policy-api-master-verify-java/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api/3.1.2-SNAPSHOT/policy-api-3.1.2-SNAPSHOT.pom 11:21:05 [INFO] 11:21:05 [INFO] --------------------< org.onap.policy.api:api-main >-------------------- 11:21:05 [INFO] Building api-main 3.1.2-SNAPSHOT [2/7] 11:21:05 [INFO] --------------------------------[ jar ]--------------------------------- 11:21:09 [INFO] 11:21:09 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-main --- 11:21:09 [INFO] 11:21:09 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-main --- 11:21:09 [INFO] 11:21:09 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-main --- 11:21:09 [INFO] 11:21:09 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-main --- 11:21:09 [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-verify-java/main/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:21:09 --add-opens java.base/java.util=ALL-UNNAMED 11:21:09 --add-opens java.sql/java.sql=ALL-UNNAMED 11:21:09 [INFO] 11:21:09 [INFO] --- swagger-codegen-maven-plugin:3.0.52:generate (code-gen) @ api-main --- 11:21:18 [WARNING] Output directory does not exist, or is inaccessible. No file (.swagger-codegen-ignore) will be evaluated. 11:21:18 [INFO] Set base package to invoker package (org.onap.policy.api.main.rest) 11:21:19 [INFO] writing file /w/workspace/policy-api-master-verify-java/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/PolicyDesignApi.java 11:21:19 [INFO] writing file /w/workspace/policy-api-master-verify-java/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/ToscaNodeTemplateDesignApi.java 11:21:19 [INFO] 11:21:19 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-main --- 11:21:19 [INFO] Starting audit... 11:21:19 Audit done. 11:21:19 [INFO] You have 0 Checkstyle violations. 11:21:19 [INFO] 11:21:19 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-main --- 11:21:19 [INFO] Starting audit... 11:21:19 Audit done. 11:21:19 [INFO] You have 0 Checkstyle violations. 11:21:19 [INFO] 11:21:19 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-main --- 11:21:19 [INFO] Copying 1 resource from src/main/resources to target/classes 11:21:20 [INFO] Copying 4 resources from src/main/resources to target/classes 11:21:20 [INFO] 11:21:20 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-main --- 11:21:20 [INFO] Changes detected - recompiling the module! :dependency 11:21:20 [INFO] Compiling 31 source files with javac [debug release 17] to target/classes 11:21:22 [INFO] 11:21:22 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-main --- 11:21:22 [INFO] Copying 20 resources from src/test/resources to target/test-classes 11:21:22 [INFO] 11:21:22 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-main --- 11:21:22 [INFO] Changes detected - recompiling the module! :dependency 11:21:22 [INFO] Compiling 16 source files with javac [debug release 17] to target/test-classes 11:21:23 [INFO] 11:21:23 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-main --- 11:21:24 [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider 11:21:24 [INFO] 11:21:24 [INFO] ------------------------------------------------------- 11:21:24 [INFO] T E S T S 11:21:24 [INFO] ------------------------------------------------------- 11:21:25 [INFO] Running org.onap.policy.api.contract.ApiContractTest 11:21:28 11:21:28 . ____ _ __ _ _ 11:21:28 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:21:28 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:21:28 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:21:28 ' |____| .__|_| |_|_| |_\__, | / / / / 11:21:28 =========|_|==============|___/=/_/_/_/ 11:21:28 :: Spring Boot :: (v3.1.8) 11:21:28 11:21:28 2024-02-21T11:21:28.539Z INFO 2545 --- [ main] o.o.policy.api.contract.ApiContractTest : Starting ApiContractTest using Java 17.0.4 with PID 2545 (started by jenkins in /w/workspace/policy-api-master-verify-java/main) 11:21:28 2024-02-21T11:21:28.542Z INFO 2545 --- [ main] o.o.policy.api.contract.ApiContractTest : The following 2 profiles are active: "test", "stub" 11:21:30 2024-02-21T11:21:30.166Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:21:30 2024-02-21T11:21:30.239Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 64 ms. Found 6 JPA repository interfaces. 11:21:30 2024-02-21T11:21:30.583Z WARN 2545 --- [ 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 11:21:30 2024-02-21T11:21:30.584Z WARN 2545 --- [ 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 11:21:31 2024-02-21T11:21:31.198Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 11:21:31 2024-02-21T11:21:31.237Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 11:21:31 2024-02-21T11:21:31.237Z INFO 2545 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 11:21:31 2024-02-21T11:21:31.320Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 11:21:31 2024-02-21T11:21:31.321Z INFO 2545 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2749 ms 11:21:31 2024-02-21T11:21:31.748Z INFO 2545 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 11:21:31 2024-02-21T11:21:31.805Z INFO 2545 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.3.0.CR1 11:21:31 2024-02-21T11:21:31.808Z INFO 2545 --- [ main] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 11:21:31 2024-02-21T11:21:31.846Z INFO 2545 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 11:21:32 2024-02-21T11:21:32.113Z INFO 2545 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 11:21:32 2024-02-21T11:21:32.133Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 11:21:32 2024-02-21T11:21:32.414Z INFO 2545 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=POLICY_USER 11:21:32 2024-02-21T11:21:32.416Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 11:21:34 2024-02-21T11:21:34.356Z INFO 2545 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:21:34 2024-02-21T11:21:34.657Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 11:21:35 2024-02-21T11:21:35.678Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:21:36 2024-02-21T11:21:36.399Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:21:37 2024-02-21T11:21:37.647Z INFO 2545 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@16a6b632, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@71f9db1d, org.springframework.security.web.context.SecurityContextHolderFilter@65b6c1dc, org.springframework.security.web.header.HeaderWriterFilter@6c7d7d17, org.springframework.security.web.authentication.logout.LogoutFilter@bdd7acf, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6b5a2c92, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2e79af11, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6537937f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@247a9491, org.springframework.security.web.access.ExceptionTranslationFilter@1fcc44ee, org.springframework.security.web.access.intercept.AuthorizationFilter@86ba7b4] 11:21:38 2024-02-21T11:21:38.559Z INFO 2545 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 11:21:39 2024-02-21T11:21:39.069Z INFO 2545 --- [ 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] 11:21:39 2024-02-21T11:21:39.092Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 45409 (https) with context path '/policy/api/v1' 11:21:39 2024-02-21T11:21:39.111Z INFO 2545 --- [ main] o.o.policy.api.contract.ApiContractTest : Started ApiContractTest in 11.068 seconds (process running for 14.667) 11:21:39 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 11:21:40 2024-02-21T11:21:40.065Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.073Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.214Z INFO 2545 --- [o-auto-1-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 11:21:40 2024-02-21T11:21:40.214Z INFO 2545 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 11:21:40 2024-02-21T11:21:40.216Z INFO 2545 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 11:21:40 2024-02-21T11:21:40.536Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.539Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.687Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.689Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.804Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.806Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.928Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:40 2024-02-21T11:21:40.929Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.052Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.055Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.169Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.173Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.302Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.304Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.452Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.453Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.568Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.570Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.691Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.693Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.811Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:41 2024-02-21T11:21:41.813Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:41.965Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:41.966Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.098Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.100Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.216Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.217Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.323Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.327Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.437Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.438Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.572Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:42 2024-02-21T11:21:42.573Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:42 2024-02-21T11:21:42.680Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:42 2024-02-21T11:21:42.681Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:42 2024-02-21T11:21:42.793Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.794Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.896Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:42 2024-02-21T11:21:42.897Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.024Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.025Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.138Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.140Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.258Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.260Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:43 2024-02-21T11:21:43.378Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 11:21:43 2024-02-21T11:21:43.380Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 11:21:43 2024-02-21T11:21:43.394Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 11:21:43 2024-02-21T11:21:43.397Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 11:21:43 2024-02-21T11:21:43.402Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 11:21:43 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.63 s -- in org.onap.policy.api.contract.ApiContractTest 11:21:43 [INFO] Running org.onap.policy.api.main.rest.TestApiRestServer 11:21:43 11:21:43 . ____ _ __ _ _ 11:21:43 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:21:43 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:21:43 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:21:43 ' |____| .__|_| |_|_| |_\__, | / / / / 11:21:43 =========|_|==============|___/=/_/_/_/ 11:21:43 :: Spring Boot :: (v3.1.8) 11:21:43 11:21:43 2024-02-21T11:21:43.473Z INFO 2545 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Starting TestApiRestServer using Java 17.0.4 with PID 2545 (started by jenkins in /w/workspace/policy-api-master-verify-java/main) 11:21:43 2024-02-21T11:21:43.473Z INFO 2545 --- [ main] o.o.p.api.main.rest.TestApiRestServer : The following 2 profiles are active: "test", "default" 11:21:43 2024-02-21T11:21:43.741Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:21:43 2024-02-21T11:21:43.753Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 11 ms. Found 6 JPA repository interfaces. 11:21:43 2024-02-21T11:21:43.802Z WARN 2545 --- [ 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 11:21:43 2024-02-21T11:21:43.802Z WARN 2545 --- [ 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 11:21:43 2024-02-21T11:21:43.916Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 11:21:43 2024-02-21T11:21:43.917Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 11:21:43 2024-02-21T11:21:43.917Z INFO 2545 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 11:21:43 2024-02-21T11:21:43.933Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 11:21:43 2024-02-21T11:21:43.933Z INFO 2545 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 458 ms 11:21:44 2024-02-21T11:21:44.089Z INFO 2545 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 11:21:44 2024-02-21T11:21:44.091Z INFO 2545 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 11:21:44 2024-02-21T11:21:44.094Z INFO 2545 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 11:21:44 2024-02-21T11:21:44.095Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 11:21:44 2024-02-21T11:21:44.097Z INFO 2545 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn10: url=jdbc:h2:mem:testdb user=POLICY_USER 11:21:44 2024-02-21T11:21:44.097Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 11:21:44 2024-02-21T11:21:44.541Z INFO 2545 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:21:44 2024-02-21T11:21:44.633Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 11:21:45 2024-02-21T11:21:44.964Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:21:45 2024-02-21T11:21:45.211Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:21:45 2024-02-21T11:21:45.850Z INFO 2545 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1b4ce895, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@24742e82, org.springframework.security.web.context.SecurityContextHolderFilter@13290df4, org.springframework.security.web.header.HeaderWriterFilter@3e9bbd53, org.springframework.security.web.authentication.logout.LogoutFilter@128e4bd6, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@a96a23c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6b5e7bc0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2a81f89b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3d2d14b7, org.springframework.security.web.access.ExceptionTranslationFilter@1d9b90a0, org.springframework.security.web.access.intercept.AuthorizationFilter@7b7cdcd7] 11:21:46 2024-02-21T11:21:46.156Z INFO 2545 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 11:21:46 2024-02-21T11:21:46.206Z INFO 2545 --- [ 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] 11:21:46 2024-02-21T11:21:46.214Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 46879 (https) with context path '/policy/api/v1' 11:21:46 2024-02-21T11:21:46.226Z INFO 2545 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Started TestApiRestServer in 2.797 seconds (process running for 21.782) 11:21:46 2024-02-21T11:21:46.238Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:46 2024-02-21T11:21:46.239Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:46 2024-02-21T11:21:46.252Z INFO 2545 --- [o-auto-2-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 11:21:46 2024-02-21T11:21:46.252Z INFO 2545 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 11:21:46 2024-02-21T11:21:46.253Z INFO 2545 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 11:21:46 2024-02-21T11:21:46.572Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:46 2024-02-21T11:21:46.573Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:46 2024-02-21T11:21:46.849Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:46 2024-02-21T11:21:46.851Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.105Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.106Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.365Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.366Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.611Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.612Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.879Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:47 2024-02-21T11:21:47.881Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:48 2024-02-21T11:21:48.116Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:48 2024-02-21T11:21:48.117Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:48 2024-02-21T11:21:48.234Z INFO 2545 --- [o-auto-2-exec-1] o.o.p.c.u.services.OrderedServiceImpl : ***** OrderedServiceImpl implementers: 11:21:48 [] 11:21:48 2024-02-21T11:21:48.235Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:21:48 {"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"} 11:21:48 2024-02-21T11:21:48.483Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:48 2024-02-21T11:21:48.484Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:48 2024-02-21T11:21:48.675Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:48 2024-02-21T11:21:48.676Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:48 2024-02-21T11:21:48.775Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policies] 11:21:48 {"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"} 11:21:49 2024-02-21T11:21:49.016Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:49 2024-02-21T11:21:49.016Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:49 2024-02-21T11:21:49.143Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policies] 11:21:49 {"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"} 11:21:49 2024-02-21T11:21:49.322Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:49 2024-02-21T11:21:49.323Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:49 2024-02-21T11:21:49.533Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:49 2024-02-21T11:21:49.533Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:49 2024-02-21T11:21:49.795Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:49 2024-02-21T11:21:49.796Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:49 2024-02-21T11:21:49.907Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policies] 11:21:49 {"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"} 11:21:50 2024-02-21T11:21:50.128Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.130Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.345Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:50 2024-02-21T11:21:50.346Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:50 2024-02-21T11:21:50.570Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.571Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.686Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.687Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:50 2024-02-21T11:21:50.788Z WARN 2545 --- [o-auto-2-exec-9] 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 11:21:50 2024-02-21T11:21:50.839Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:50 2024-02-21T11:21:50.840Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:50 2024-02-21T11:21:50.943Z WARN 2545 --- [o-auto-2-exec-8] 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 11:21:50 2024-02-21T11:21:50.963Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:50 2024-02-21T11:21:50.964Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.060Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:21: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"} 11:21:51 2024-02-21T11:21:51.334Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.335Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.431Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:21: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"} 11:21:51 2024-02-21T11:21:51.607Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.607Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.702Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:21: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"} 11:21:51 2024-02-21T11:21:51.881Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.881Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:51 2024-02-21T11:21:51.972Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:21:51 {"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"} 11:21:52 2024-02-21T11:21:52.171Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.172Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.269Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:21: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"} 11:21:52 2024-02-21T11:21:52.449Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.449Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.549Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:21: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"} 11:21:52 2024-02-21T11:21:52.737Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.745Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:52 2024-02-21T11:21:52.835Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:21: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"} 11:21:53 2024-02-21T11:21:53.021Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.021Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.120Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:21: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"} 11:21:53 2024-02-21T11:21:53.320Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.321Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.418Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:21: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"} 11:21:53 2024-02-21T11:21:53.620Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.621Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:53 2024-02-21T11:21:53.715Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:21: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"} 11:21:54 2024-02-21T11:21:53.892Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:53.893Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.000Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:21:54 {"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"} 11:21:54 2024-02-21T11:21:54.185Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.186Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.281Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:21: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"} 11:21:54 2024-02-21T11:21:54.477Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.478Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.580Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:21: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"} 11:21:54 2024-02-21T11:21:54.758Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.759Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:54 2024-02-21T11:21:54.858Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:21: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"} 11:21:55 2024-02-21T11:21:55.048Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.048Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.143Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:21: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"} 11:21:55 2024-02-21T11:21:55.358Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.359Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.456Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:21: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"} 11:21:55 2024-02-21T11:21:55.629Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.630Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:55 2024-02-21T11:21:55.725Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:21: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"} 11:21:56 2024-02-21T11:21:55.902Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:56 2024-02-21T11:21:55.903Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:56 2024-02-21T11:21:56.022Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:21:56 {"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"} 11:21:56 2024-02-21T11:21:56.196Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:56 2024-02-21T11:21:56.197Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:56 2024-02-21T11:21:56.288Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:21:56 {"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"} 11:21:56 2024-02-21T11:21:56.454Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:56 2024-02-21T11:21:56.455Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:56 2024-02-21T11:21:56.551Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:21: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"} 11:21:56 2024-02-21T11:21:56.739Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:56 2024-02-21T11:21:56.739Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:56 2024-02-21T11:21:56.829Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:21: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"} 11:21:57 2024-02-21T11:21:57.000Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:57 2024-02-21T11:21:57.001Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:21:57 2024-02-21T11:21:57.200Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.201Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.293Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:21: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":"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"} 11:21:57 2024-02-21T11:21:57.487Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.488Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.580Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:21:57 {"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"} 11:21:57 2024-02-21T11:21:57.742Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.743Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:57 2024-02-21T11:21:57.850Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:21:57 {"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"} 11:21:58 2024-02-21T11:21:58.013Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.013Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.101Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:21:58 {"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"} 11:21:58 2024-02-21T11:21:58.271Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.272Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.360Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:21:58 {"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"} 11:21:58 2024-02-21T11:21:58.526Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.526Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.619Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:21:58 {"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"} 11:21:58 2024-02-21T11:21:58.785Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.786Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:58 2024-02-21T11:21:58.881Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:21:58 {"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"} 11:21:59 2024-02-21T11:21:59.057Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.058Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.149Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:21:59 {"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"} 11:21:59 2024-02-21T11:21:59.319Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.320Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.414Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:21:59 {"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"} 11:21:59 2024-02-21T11:21:59.568Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.569Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.657Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:21:59 {"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"} 11:21:59 2024-02-21T11:21:59.825Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:21:59 2024-02-21T11:21:59.826Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:21:59.921Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:00 {"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"} 11:22:00 2024-02-21T11:22:00.079Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.080Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.182Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:00 {"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"} 11:22:00 2024-02-21T11:22:00.345Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.346Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.437Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:00 {"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"} 11:22:00 2024-02-21T11:22:00.590Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.591Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.684Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:00 {"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"} 11:22:00 2024-02-21T11:22:00.848Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:00 2024-02-21T11:22:00.849Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:01 2024-02-21T11:22:00.959Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:01 {"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"} 11:22:01 2024-02-21T11:22:01.119Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:01 2024-02-21T11:22:01.120Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:01 2024-02-21T11:22:01.224Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:01 {"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"} 11:22:01 2024-02-21T11:22:01.389Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:01 2024-02-21T11:22:01.389Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:01 2024-02-21T11:22:01.492Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:01 {"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"} 11:22:01 2024-02-21T11:22:01.647Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:01 2024-02-21T11:22:01.648Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:01 2024-02-21T11:22:01.749Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:01 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:02 2024-02-21T11:22:01.932Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:01.933Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.023Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:02 2024-02-21T11:22:02.198Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:02 2024-02-21T11:22:02.198Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:02 2024-02-21T11:22:02.294Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 11:22:02 2024-02-21T11:22:02.443Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.444Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.534Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:02 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 11:22:02 2024-02-21T11:22:02.694Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.695Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.886Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:02 2024-02-21T11:22:02.886Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:02.996Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:03 {"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"} 11:22:03 2024-02-21T11:22:03.159Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.159Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.258Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 11:22:03 2024-02-21T11:22:03.413Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.413Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.510Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 11:22:03 2024-02-21T11:22:03.669Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.670Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:03 2024-02-21T11:22:03.766Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:03 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 11:22:04 2024-02-21T11:22:03.927Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:03.928Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.017Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:04 {"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"} 11:22:04 2024-02-21T11:22:04.166Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.166Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.272Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 11:22:04 2024-02-21T11:22:04.448Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.449Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.543Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 11:22:04 2024-02-21T11:22:04.702Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.702Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:04 2024-02-21T11:22:04.799Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:04 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 11:22:05 2024-02-21T11:22:04.951Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:04.952Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.043Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:05 {"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"} 11:22:05 2024-02-21T11:22:05.210Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.211Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.302Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:05 2024-02-21T11:22:05.461Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.462Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.560Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:05 2024-02-21T11:22:05.724Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.725Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:05 2024-02-21T11:22:05.828Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:05 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:06 2024-02-21T11:22:05.980Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:05.981Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.067Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:06 {"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"} 11:22:06 2024-02-21T11:22:06.231Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.231Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.322Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 11:22:06 2024-02-21T11:22:06.564Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.565Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.656Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.subscriberProperties_properties":{"properties":{"subscriberName":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextProvider":"true"}},"subscriberRole":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextMatchable":"scope"}},"provStatus":{"type":"list","required":true,"entry_schema":{"type":"string"},"metadata":{"contextAttribute":"true"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.SubscriberPolicy":{"properties":{"subscriberProperties":{"type":"policy.data.subscriberProperties_properties","required":true}},"name":"onap.policies.optimization.service.SubscriberPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 11:22:06 2024-02-21T11:22:06.814Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.814Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:06 2024-02-21T11:22:06.907Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:06 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:07 2024-02-21T11:22:07.057Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:07 2024-02-21T11:22:07.058Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:07 2024-02-21T11:22:07.145Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:07 {"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"} 11:22:07 2024-02-21T11:22:07.295Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:07 2024-02-21T11:22:07.295Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:07 2024-02-21T11:22:07.391Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:07 {"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"} 11:22:07 2024-02-21T11:22:07.559Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:07 2024-02-21T11:22:07.560Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:07 2024-02-21T11:22:07.654Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:07 {"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"} 11:22:07 2024-02-21T11:22:07.806Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:07 2024-02-21T11:22:07.807Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:07 2024-02-21T11:22:07.900Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:07 {"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"} 11:22:08 2024-02-21T11:22:08.062Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:08 2024-02-21T11:22:08.063Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:08 2024-02-21T11:22:08.169Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:08 {"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"} 11:22:08 2024-02-21T11:22:08.327Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:08 2024-02-21T11:22:08.328Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:08 2024-02-21T11:22:08.678Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:08 2024-02-21T11:22:08.678Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:08 2024-02-21T11:22:08.779Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:08 {"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"} 11:22:09 2024-02-21T11:22:08.941Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:08.941Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.038Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:09 {"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"} 11:22:09 2024-02-21T11:22:09.195Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.195Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.287Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:09 {"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"} 11:22:09 2024-02-21T11:22:09.446Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.447Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.548Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:09 {"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"} 11:22:09 2024-02-21T11:22:09.709Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.711Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:09 2024-02-21T11:22:09.798Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:09 {"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"} 11:22:10 2024-02-21T11:22:09.948Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:09.949Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.046Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:10 {"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"} 11:22:10 2024-02-21T11:22:10.199Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.200Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.290Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:10 {"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"} 11:22:10 2024-02-21T11:22:10.437Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.437Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.531Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:10 {"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"} 11:22:10 2024-02-21T11:22:10.683Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.684Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:10 2024-02-21T11:22:10.776Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:10 {"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"} 11:22:11 2024-02-21T11:22:10.932Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:10.932Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.025Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:11 {"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"} 11:22:11 2024-02-21T11:22:11.186Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.187Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.277Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:11 {"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"} 11:22:11 2024-02-21T11:22:11.431Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.432Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.529Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:11 {"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"} 11:22:11 2024-02-21T11:22:11.685Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.685Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:11 2024-02-21T11:22:11.781Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:11 {"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"} 11:22:12 2024-02-21T11:22:11.934Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:11.934Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.029Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:12 {"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"} 11:22:12 2024-02-21T11:22:12.178Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.179Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.276Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:12 {"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"} 11:22:12 2024-02-21T11:22:12.445Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.445Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.540Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:12 {"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"} 11:22:12 2024-02-21T11:22:12.686Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.687Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:12 2024-02-21T11:22:12.789Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:12 {"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"} 11:22:13 2024-02-21T11:22:12.949Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:13 2024-02-21T11:22:12.949Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:13 2024-02-21T11:22:13.040Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:13 {"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"} 11:22:13 2024-02-21T11:22:13.192Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:13 2024-02-21T11:22:13.192Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:13 2024-02-21T11:22:13.286Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:13 {"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"} 11:22:13 2024-02-21T11:22:13.434Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:13 2024-02-21T11:22:13.435Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:13 2024-02-21T11:22:13.535Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:13 {"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"} 11:22:13 2024-02-21T11:22:13.702Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:13 2024-02-21T11:22:13.703Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:13 2024-02-21T11:22:13.797Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:13 {"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"} 11:22:13 2024-02-21T11:22:13.952Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:13 2024-02-21T11:22:13.953Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:14 2024-02-21T11:22:14.281Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:14 2024-02-21T11:22:14.282Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:14 2024-02-21T11:22:14.369Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policies] 11:22:14 {"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"} 11:22:14 2024-02-21T11:22:14.530Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:14 2024-02-21T11:22:14.530Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:14 2024-02-21T11:22:14.631Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policies] 11:22:14 {"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"} 11:22:14 2024-02-21T11:22:14.799Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:14 2024-02-21T11:22:14.799Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:14 2024-02-21T11:22:14.891Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policies] 11:22:14 {"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"} 11:22:15 2024-02-21T11:22:14.991Z WARN 2545 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : POST /policies 11:22:15 2024-02-21T11:22:15.012Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.013Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.114Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:15 {"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"} 11:22:15 2024-02-21T11:22:15.275Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.276Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.363Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:15 {"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"} 11:22:15 2024-02-21T11:22:15.520Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.521Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.617Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:15 {"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"} 11:22:15 2024-02-21T11:22:15.779Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.779Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:15 2024-02-21T11:22:15.873Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:15 {"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"} 11:22:16 2024-02-21T11:22:16.032Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.033Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.124Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:16 {"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"} 11:22:16 2024-02-21T11:22:16.287Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.287Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.382Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:16 {"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"} 11:22:16 2024-02-21T11:22:16.539Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.539Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.628Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:16 {"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"} 11:22:16 2024-02-21T11:22:16.788Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.789Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:16 2024-02-21T11:22:16.879Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:16 {"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"} 11:22:17 2024-02-21T11:22:17.049Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.050Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.146Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:17 {"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"} 11:22:17 2024-02-21T11:22:17.314Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.315Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.419Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:17 {"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"} 11:22:17 2024-02-21T11:22:17.591Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.592Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.694Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:17 {"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"} 11:22:17 2024-02-21T11:22:17.863Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.863Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:17 2024-02-21T11:22:17.954Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:17 {"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"} 11:22:18 2024-02-21T11:22:18.108Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.108Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.201Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:18 {"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"} 11:22:18 2024-02-21T11:22:18.366Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.367Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.459Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:18 {"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"} 11:22:18 2024-02-21T11:22:18.616Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.617Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.714Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:18 {"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"} 11:22:18 2024-02-21T11:22:18.905Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:18 2024-02-21T11:22:18.906Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:19 2024-02-21T11:22:18.995Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:19 {"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"} 11:22:19 2024-02-21T11:22:19.155Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:19 2024-02-21T11:22:19.156Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:19 2024-02-21T11:22:19.250Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:19 {"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"} 11:22:19 2024-02-21T11:22:19.412Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:19 2024-02-21T11:22:19.412Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:19 2024-02-21T11:22:19.508Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:19 {"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"} 11:22:19 2024-02-21T11:22:19.673Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:19 2024-02-21T11:22:19.674Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:19 2024-02-21T11:22:19.769Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:19 {"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"} 11:22:19 2024-02-21T11:22:19.928Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:19 2024-02-21T11:22:19.929Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.031Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:20 {"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"} 11:22:20 2024-02-21T11:22:20.190Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:20 2024-02-21T11:22:20.191Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:20 2024-02-21T11:22:20.284Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:20 {"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"} 11:22:20 2024-02-21T11:22:20.451Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.451Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.640Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.641Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.748Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.748Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.868Z WARN 2545 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : GET /policies/onap.restart.tca/versions/1.0.0 11:22:20 2024-02-21T11:22:20.880Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.880Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:20 2024-02-21T11:22:20.978Z WARN 2545 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /policies/onap.restart.tca/versions/1.0.0 11:22:21 2024-02-21T11:22:20.997Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:21 2024-02-21T11:22:20.998Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:21 2024-02-21T11:22:21.095Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:21 2024-02-21T11:22:21.258Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:21 2024-02-21T11:22:21.258Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:21 2024-02-21T11:22:21.352Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:21 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:21 2024-02-21T11:22:21.540Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:21 2024-02-21T11:22:21.541Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:21 2024-02-21T11:22:21.633Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22: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"} 11:22:21 2024-02-21T11:22:21.803Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:21 2024-02-21T11:22:21.803Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:21 2024-02-21T11:22:21.898Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22: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"} 11:22:22 2024-02-21T11:22:22.066Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:22 2024-02-21T11:22:22.066Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:22 2024-02-21T11:22:22.665Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:22 2024-02-21T11:22:22.666Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:22 2024-02-21T11:22:22.867Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:22 2024-02-21T11:22:22.868Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.061Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.061Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.242Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.243Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.364Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.364Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.462Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:23 2024-02-21T11:22:23.630Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:23 2024-02-21T11:22:23.631Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:23 2024-02-21T11:22:23.724Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:23 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:23 2024-02-21T11:22:23.895Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:23 2024-02-21T11:22:23.896Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:24 2024-02-21T11:22:23.987Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"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"} 11:22:24 2024-02-21T11:22:24.155Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:24 2024-02-21T11:22:24.155Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:24 2024-02-21T11:22:24.245Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:24 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 11:22:24 2024-02-21T11:22:24.400Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:24 2024-02-21T11:22:24.401Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.003Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.004Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.184Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.184Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.367Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.367Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.566Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.566Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:25 2024-02-21T11:22:25.672Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:25 2024-02-21T11:22:25.673Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:25 2024-02-21T11:22:25.876Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:25 2024-02-21T11:22:25.876Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:27 2024-02-21T11:22:27.836Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:27 2024-02-21T11:22:27.837Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.035Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.036Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.204Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.205Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.395Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.395Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.528Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.528Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.661Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.662Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.794Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.794Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.959Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:28 2024-02-21T11:22:28.960Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:29 2024-02-21T11:22:29.126Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:29 2024-02-21T11:22:29.127Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:29 2024-02-21T11:22:29.293Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:29 2024-02-21T11:22:29.293Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:29 2024-02-21T11:22:29.461Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:29 2024-02-21T11:22:29.462Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:29 2024-02-21T11:22:29.681Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:29 2024-02-21T11:22:29.681Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:31 2024-02-21T11:22:31.632Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:31 2024-02-21T11:22:31.633Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:31 2024-02-21T11:22:31.824Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:31 2024-02-21T11:22:31.825Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.002Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.002Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.183Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.184Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.322Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.322Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.462Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.463Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.603Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.604Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.773Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:32 2024-02-21T11:22:32.774Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:32.957Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:32.958Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.131Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.131Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.296Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.297Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.392Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:33 {"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"} 11:22:33 2024-02-21T11:22:33.550Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.551Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.644Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:33 {"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"} 11:22:33 2024-02-21T11:22:33.810Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.811Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:33 2024-02-21T11:22:33.904Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:33 {"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"} 11:22:34 2024-02-21T11:22:34.059Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.060Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.147Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:34 {"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"} 11:22:34 2024-02-21T11:22:34.307Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.307Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.398Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:34 {"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"} 11:22:34 2024-02-21T11:22:34.552Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.552Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.645Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:34 {"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"} 11:22:34 2024-02-21T11:22:34.795Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.796Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:34 2024-02-21T11:22:34.884Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:34 {"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"} 11:22:35 2024-02-21T11:22:35.044Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.045Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.133Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:35 {"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"} 11:22:35 2024-02-21T11:22:35.301Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.301Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.398Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:35 {"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"} 11:22:35 2024-02-21T11:22:35.552Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.553Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.646Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:35 {"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"} 11:22:35 2024-02-21T11:22:35.806Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.806Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:35 2024-02-21T11:22:35.901Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:35 {"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"} 11:22:36 2024-02-21T11:22:36.059Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.060Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.152Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:36 {"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"} 11:22:36 2024-02-21T11:22:36.315Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.315Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.412Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:36 {"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"} 11:22:36 2024-02-21T11:22:36.569Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.570Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:36 2024-02-21T11:22:36.664Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:36 {"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"} 11:22:37 2024-02-21T11:22:36.817Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:36.817Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:36.906Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:37 {"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"} 11:22:37 2024-02-21T11:22:37.069Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:37.069Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:37.166Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:37 {"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"} 11:22:37 2024-02-21T11:22:37.321Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:37.322Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:37.425Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:37 {"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"} 11:22:37 2024-02-21T11:22:37.585Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:37 2024-02-21T11:22:37.585Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:37 2024-02-21T11:22:37.682Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:37 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:37 2024-02-21T11:22:37.847Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:37 2024-02-21T11:22:37.847Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:38 2024-02-21T11:22:37.940Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:38 {"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"} 11:22:38 2024-02-21T11:22:38.097Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:38 2024-02-21T11:22:38.098Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:38 2024-02-21T11:22:38.195Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:38 {"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"} 11:22:38 2024-02-21T11:22:38.354Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:38 2024-02-21T11:22:38.355Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:38 2024-02-21T11:22:38.445Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:38 {"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"} 11:22:38 2024-02-21T11:22:38.597Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:38 2024-02-21T11:22:38.598Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:39 2024-02-21T11:22:39.186Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.187Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.278Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:39 {"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"} 11:22:39 2024-02-21T11:22:39.436Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.436Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.525Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:39 {"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"} 11:22:39 2024-02-21T11:22:39.683Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.683Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:39 2024-02-21T11:22:39.773Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:39 {"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"} 11:22:40 2024-02-21T11:22:39.942Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:39.943Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.035Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:40 {"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"} 11:22:40 2024-02-21T11:22:40.189Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.190Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.281Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:40 {"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"} 11:22:40 2024-02-21T11:22:40.434Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.435Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.529Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:40 {"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"} 11:22:40 2024-02-21T11:22:40.688Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.689Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:40 2024-02-21T11:22:40.784Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:40 {"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"} 11:22:41 2024-02-21T11:22:40.936Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:40.937Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.025Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:41 {"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"} 11:22:41 2024-02-21T11:22:41.184Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.185Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.275Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:41 {"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"} 11:22:41 2024-02-21T11:22:41.428Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.429Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.524Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:41 {"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"} 11:22:41 2024-02-21T11:22:41.686Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.686Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:41 2024-02-21T11:22:41.775Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:41 {"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"} 11:22:42 2024-02-21T11:22:41.938Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:41.939Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.039Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:42 {"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"} 11:22:42 2024-02-21T11:22:42.196Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.196Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.281Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:42 {"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"} 11:22:42 2024-02-21T11:22:42.441Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.441Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.532Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:42 {"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"} 11:22:42 2024-02-21T11:22:42.696Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.697Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:42 2024-02-21T11:22:42.787Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:42 {"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"} 11:22:43 2024-02-21T11:22:42.960Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:42.960Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:43.049Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:43 {"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"} 11:22:43 2024-02-21T11:22:43.222Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:43.222Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:43.318Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:43 {"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"} 11:22:43 2024-02-21T11:22:43.482Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:43 2024-02-21T11:22:43.483Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:43 2024-02-21T11:22:43.569Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:43 {"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"} 11:22:43 2024-02-21T11:22:43.741Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:43.741Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:43 2024-02-21T11:22:43.831Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:43 {"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"} 11:22:44 2024-02-21T11:22:44.000Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:44 2024-02-21T11:22:44.001Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:44 2024-02-21T11:22:44.092Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:44 {"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"} 11:22:44 2024-02-21T11:22:44.247Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:44 2024-02-21T11:22:44.248Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:44 2024-02-21T11:22:44.341Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:44 {"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"} 11:22:44 2024-02-21T11:22:44.501Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:44 2024-02-21T11:22:44.501Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.114Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.115Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.217Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22: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":"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"} 11:22:45 2024-02-21T11:22:45.407Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.408Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.497Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policies] 11:22:45 {"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"} 11:22:45 2024-02-21T11:22:45.661Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:45 2024-02-21T11:22:45.661Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:45 2024-02-21T11:22:45.756Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:45 {"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"} 11:22:45 2024-02-21T11:22:45.920Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:45 2024-02-21T11:22:45.921Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.017Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:46 {"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"} 11:22:46 2024-02-21T11:22:46.178Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:46 2024-02-21T11:22:46.179Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:46 2024-02-21T11:22:46.275Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:46 {"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"} 11:22:46 2024-02-21T11:22:46.435Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.436Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.532Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:46 {"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"} 11:22:46 2024-02-21T11:22:46.694Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.694Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.786Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:46 {"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"} 11:22:46 2024-02-21T11:22:46.826Z WARN 2545 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : POST /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 11:22:46 2024-02-21T11:22:46.840Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:46 2024-02-21T11:22:46.840Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:46.942Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:47 {"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"} 11:22:47 2024-02-21T11:22:47.113Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.114Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.200Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:47 {"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"} 11:22:47 2024-02-21T11:22:47.356Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.356Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.448Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:47 {"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"} 11:22:47 2024-02-21T11:22:47.623Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.624Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.712Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:47 {"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"} 11:22:47 2024-02-21T11:22:47.867Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:47 2024-02-21T11:22:47.867Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:47.961Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:48 {"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"} 11:22:48 2024-02-21T11:22:48.120Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.121Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.214Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:48 {"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"} 11:22:48 2024-02-21T11:22:48.371Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.371Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.464Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:48 {"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"} 11:22:48 2024-02-21T11:22:48.625Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.626Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.718Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:48 {"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"} 11:22:48 2024-02-21T11:22:48.884Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:48 2024-02-21T11:22:48.885Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:48.983Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:49 {"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"} 11:22:49 2024-02-21T11:22:49.149Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.150Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.242Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:49 {"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"} 11:22:49 2024-02-21T11:22:49.415Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.416Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.506Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:49 {"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"} 11:22:49 2024-02-21T11:22:49.670Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.670Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.762Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:49 {"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"} 11:22:49 2024-02-21T11:22:49.922Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:49 2024-02-21T11:22:49.923Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.021Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:50 {"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"} 11:22:50 2024-02-21T11:22:50.188Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.188Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.283Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:50 {"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"} 11:22:50 2024-02-21T11:22:50.439Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.439Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.537Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:50 {"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"} 11:22:50 2024-02-21T11:22:50.721Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.722Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:50 2024-02-21T11:22:50.814Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:22:50 {"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"} 11:22:51 2024-02-21T11:22:50.987Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:51 2024-02-21T11:22:50.987Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:51 2024-02-21T11:22:51.086Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:51 {"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"} 11:22:51 2024-02-21T11:22:51.262Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:51 2024-02-21T11:22:51.262Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.372Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.373Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.466Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:53 {"name":"NULL","version":"0.0.0"} 11:22:53 2024-02-21T11:22:53.467Z WARN 2545 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : POST /policytypes 11:22:53 2024-02-21T11:22:53.478Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.479Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.593Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:53 2024-02-21T11:22:53.593Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:53 2024-02-21T11:22:53.705Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.705Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:53 2024-02-21T11:22:53.802Z WARN 2545 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 11:22:53 2024-02-21T11:22:53.811Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:53 2024-02-21T11:22:53.812Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:53 2024-02-21T11:22:53.910Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:53 {"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"} 11:22:54 2024-02-21T11:22:54.084Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.085Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.220Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.221Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.340Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.341Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:54 2024-02-21T11:22:54.467Z WARN 2545 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 11:22:54 2024-02-21T11:22:54.481Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:54 2024-02-21T11:22:54.481Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:54 2024-02-21T11:22:54.582Z WARN 2545 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 11:22:54 2024-02-21T11:22:54.591Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:54 2024-02-21T11:22:54.591Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:54 2024-02-21T11:22:54.684Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:54 {"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"} 11:22:54 2024-02-21T11:22:54.850Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:54 2024-02-21T11:22:54.851Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:54.990Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:54.990Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.103Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.103Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.228Z WARN 2545 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 11:22:55 2024-02-21T11:22:55.242Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.242Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.339Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.tcagen2":{"properties":{"tca.policy":{"type":"onap.datatypes.monitoring.tca_policy","description":"TCA Policy JSON","required":true}},"name":"onap.policies.monitoring.tcagen2","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 11:22:55 2024-02-21T11:22:55.508Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.509Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.602Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:22:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.Monitoring":{"name":"onap.policies.Monitoring","version":"1.0.0","derived_from":"tosca.policies.Root","description":"a base policy type for all policies that govern monitoring provisioning"},"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server":{"properties":{"buscontroller_feed_publishing_endpoint":{"type":"string","description":"Bus Controller feed endpoint","required":false},"datafile.policy":{"type":"string","description":"datafile Policy JSON as string","required":false}},"name":"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server","version":"1.0.0","derived_from":"onap.policies.Monitoring"}},"name":"NULL","version":"0.0.0"} 11:22:55 2024-02-21T11:22:55.758Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.758Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:55 2024-02-21T11:22:55.854Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:55 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.operational.common.Drools":{"properties":{"controllerName":{"type":"string","description":"Drools controller properties","required":false}},"name":"onap.policies.controlloop.operational.common.Drools","version":"1.0.0","derived_from":"onap.policies.controlloop.operational.Common","description":"Operational policies for Drools PDP"}},"name":"NULL","version":"0.0.0"} 11:22:56 2024-02-21T11:22:56.020Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.020Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.112Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.Common":{"properties":{"actor":{"type":"string","description":"Specifies the Actor the guard applies to.","required":true},"operation":{"type":"string","description":"Specified the operation that the actor is performing the guard applies to.","required":true},"timeRange":{"type":"tosca.datatypes.TimeInterval","description":"An optional range of time during the day the guard policy is valid for.\n","required":false},"id":{"type":"string","description":"The Control Loop id this applies to.","required":false}},"name":"onap.policies.controlloop.guard.Common","version":"1.0.0","derived_from":"tosca.policies.Root","description":"This is the base Policy Type for Guard policies that guard the execution of Operational\nPolicies.\n"}},"name":"NULL","version":"0.0.0"} 11:22:56 2024-02-21T11:22:56.271Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.272Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.367Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.Blacklist":{"properties":{"blacklist":{"type":"list","description":"List of entity id's not allowed to have control loop operations on.","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.common.Blacklist","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports blacklist of entity id's from performing control loop actions on."}},"name":"NULL","version":"0.0.0"} 11:22:56 2024-02-21T11:22:56.532Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.532Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.626Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.FrequencyLimiter":{"properties":{"timeWindow":{"type":"integer","description":"The time window to count the actions against.","required":true},"timeUnits":{"type":"string","description":"The units of time the window is counting.","required":true,"constraints":[{"valid_values":["second","minute","hour","day","week","month","year"]}]},"limit":{"type":"integer","description":"The limit","required":true,"constraints":[{"greater_than":"0"}]}},"name":"onap.policies.controlloop.guard.common.FrequencyLimiter","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports limiting the frequency of actions being taken by a Actor."}},"name":"NULL","version":"0.0.0"} 11:22:56 2024-02-21T11:22:56.785Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.786Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:56 2024-02-21T11:22:56.885Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:22:56 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.guard.common.MinMax":{"properties":{"target":{"type":"string","description":"The target entity that has scaling restricted","required":true},"min":{"type":"integer","description":"The minimum instances of this entity","required":false},"max":{"type":"integer","description":"The maximum instances of this entity","required":false}},"name":"onap.policies.controlloop.guard.common.MinMax","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Common","description":"Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not\nrequired, you need to have at least one or the other.\n"}},"name":"NULL","version":"0.0.0"} 11:22:57 2024-02-21T11:22:57.050Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.051Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.146Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","policy_types":{"onap.policies.controlloop.Guard":{"name":"onap.policies.controlloop.Guard","version":"1.0.0","derived_from":"tosca.policies.Root","description":"Guard Policies for Control Loop Operational Policies"},"onap.policies.controlloop.guard.Coordination":{"name":"onap.policies.controlloop.guard.Coordination","version":"1.0.0","derived_from":"onap.policies.controlloop.Guard","description":"Guard Policies for Control Loop Coordination"},"onap.policies.controlloop.guard.coordination.FirstBlocksSecond":{"properties":{"controlLoop":{"type":"list","description":"Specific Control Loops to which to apply this guard","required":true,"entry_schema":{"type":"string"}}},"name":"onap.policies.controlloop.guard.coordination.FirstBlocksSecond","version":"1.0.0","derived_from":"onap.policies.controlloop.guard.Coordination","description":"Supports one Control Loop blocking another"}},"name":"NULL","version":"0.0.0"} 11:22:57 2024-02-21T11:22:57.309Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.310Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.404Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:22:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.affinityProperties_properties":{"properties":{"qualifier":{"type":"string","required":false,"constraints":[{"valid_values":["same","different"]}]},"category":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.AffinityPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"affinityProperties":{"type":"policy.data.affinityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.AffinityPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:57 2024-02-21T11:22:57.568Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.568Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.665Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:22:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.distanceProperties_properties":{"properties":{"locationInfo":{"type":"string","required":true},"distance":{"type":"policy.data.distance_properties","required":true,"entry_schema":{"type":"policy.data.distance_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.distance_properties":{"properties":{"value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","="]}]}},"unit":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["km"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.DistancePolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"distanceProperties":{"type":"policy.data.distanceProperties_properties","required":true}},"name":"onap.policies.optimization.resource.DistancePolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:57 2024-02-21T11:22:57.842Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.842Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:57 2024-02-21T11:22:57.938Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:57 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.flavorFeatures_properties":{"properties":{"id":{"type":"string","required":true},"type":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"flavorProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorProperties_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_properties":{"properties":{"type":{"type":"string","required":false},"attributes":{"type":"list","required":false,"entry_schema":{"type":"policy.data.directives_attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.directives_attributes_properties":{"properties":{"attribute_name":{"type":"string","required":false},"attribute_value":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.flavorProperties_properties":{"properties":{"hpa-feature":{"type":"string","required":true},"mandatory":{"type":"string","required":true},"score":{"type":"string","required":false},"architecture":{"type":"string","required":true},"hpa-version":{"type":"string","required":true},"directives":{"type":"list","required":true,"entry_schema":{"type":"policy.data.directives_properties"}},"hpa-feature-attributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.hpa-feature-attributes_properties"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.hpa-feature-attributes_properties":{"properties":{"hpa-attribute-key":{"type":"string","required":true},"hpa-attribute-value":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["<","<=",">",">=","=","!=","any","all","subset"]}]}},"unit":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.HpaPolicy":{"properties":{"flavorFeatures":{"type":"list","required":true,"entry_schema":{"type":"policy.data.flavorFeatures_properties"}}},"name":"onap.policies.optimization.resource.HpaPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:58 2024-02-21T11:22:58.108Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.108Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.201Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.objectiveParameter_properties":{"properties":{"parameterAttributes":{"type":"list","required":true,"entry_schema":{"type":"policy.data.parameterAttributes_properties"}},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"},"policy.data.parameterAttributes_properties":{"properties":{"resources":{"type":"string","required":true},"customerLocationInfo":{"type":"string","required":true},"parameter":{"type":"string","required":true},"weight":{"type":"string","required":true},"operator":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["*","+","-","/","%"]}]}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.OptimizationPolicy":{"properties":{"objective":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["minimize","maximize"]}]}},"objectiveParameter":{"type":"policy.data.objectiveParameter_properties","required":true}},"name":"onap.policies.optimization.resource.OptimizationPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:58 2024-02-21T11:22:58.358Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.359Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.456Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:22:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.pciProperties_properties":{"properties":{"algoCategory":{"type":"string","required":false},"pciOptmizationAlgoName":{"type":"string","required":false},"pciOptimizationNwConstraint":{"type":"string","required":false},"pciOptimizationPriority":{"type":"string","required":false},"pciOptimizationTimeConstraint":{"type":"string","required":false}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.PciPolicy":{"properties":{"pciProperties":{"type":"list","required":false,"entry_schema":{"type":"policy.data.pciProperties_properties"}}},"name":"onap.policies.optimization.resource.PciPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:58 2024-02-21T11:22:58.613Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.613Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.709Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:22:58 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.queryProperties_properties":{"properties":{"attribute":{"type":"string","required":true},"value":{"type":"string","required":true},"attribute_location":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.service.QueryPolicy":{"properties":{"queryProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.queryProperties_properties"}}},"name":"onap.policies.optimization.service.QueryPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Service"}},"name":"NULL","version":"0.0.0"} 11:22:58 2024-02-21T11:22:58.874Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:58 2024-02-21T11:22:58.874Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:58.971Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:22:59 {"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"} 11:22:59 2024-02-21T11:22:59.129Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:59.129Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:59.217Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] 11:22:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.capacityProperties_properties":{"properties":{"controller":{"type":"string","required":true},"request":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.Vim_fit":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"capacityProperties":{"type":"policy.data.capacityProperties_properties","required":true}},"name":"onap.policies.optimization.resource.Vim_fit","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:59 2024-02-21T11:22:59.380Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:59.381Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:59.477Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:22:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"policy.data.vnfProperties_properties":{"properties":{"inventoryProvider":{"type":"string","required":true},"serviceType":{"type":"string","required":true},"inventoryType":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["serviceInstanceId","vnfName","cloudRegionId","vimId"]}]}},"customerId":{"type":"string","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.nodes.Root"}},"policy_types":{"onap.policies.optimization.resource.VnfPolicy":{"properties":{"applicableResources":{"type":"list","required":true,"entry_schema":{"type":"string","constraints":[{"valid_values":["any","all"]}]}},"vnfProperties":{"type":"list","required":true,"entry_schema":{"type":"policy.data.vnfProperties_properties"}}},"name":"onap.policies.optimization.resource.VnfPolicy","version":"1.0.0","derived_from":"onap.policies.optimization.Resource"}},"name":"NULL","version":"0.0.0"} 11:22:59 2024-02-21T11:22:59.633Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:59 2024-02-21T11:22:59.634Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:22:59 2024-02-21T11:22:59.730Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:22:59 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.restart.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0.0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.restart.tca","version":"1.0.0","metadata":{"policy-id":"onap.restart.tca","policy-version":1.0}}}]},"name":"NULL","version":"0.0.0"} 11:22:59 2024-02-21T11:22:59.892Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:22:59 2024-02-21T11:22:59.893Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:00 2024-02-21T11:22:59.977Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:00 {"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"} 11:23:00 2024-02-21T11:23:00.133Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.133Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.226Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:00 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"onap.scaleout.tca","version":"1.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 11:23:00 2024-02-21T11:23:00.388Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:00 2024-02-21T11:23:00.389Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:00 2024-02-21T11:23:00.484Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:00 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{"policies":[{"onap.scaleout.tca":{"type":"onap.policies.monitoring.tcagen2","type_version":"1.0.0","properties":{"tca.policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vLoadBalancer","controlLoopSchemaType":"VNF","policyScope":"type=configuration","policyName":"onap.scaleout.tca","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":500.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR"},{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","closedLoopEventStatus":"ONSET","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","thresholdValue":5000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL"}]}]}},"name":"NULL","version":"2.0.0","metadata":{"policy-id":"onap.scaleout.tca"}}}]},"name":"NULL","version":"0.0.0"} 11:23:00 2024-02-21T11:23:00.655Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.656Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.763Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.763Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.888Z WARN 2545 --- [o-auto-2-exec-9] 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 11:23:00 2024-02-21T11:23:00.897Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:00 2024-02-21T11:23:00.898Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:01 2024-02-21T11:23:01.024Z WARN 2545 --- [o-auto-2-exec-2] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 11:23:01 2024-02-21T11:23:01.033Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:01 2024-02-21T11:23:01.036Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:01 2024-02-21T11:23:01.166Z WARN 2545 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 11:23:01 2024-02-21T11:23:01.181Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.181Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.273Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:23:01 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","data_types":{"onap.datatypes.monitoring.metricsPerEventName":{"properties":{"controlLoopSchemaType":{"type":"string","description":"Specifies Control Loop Schema Type for the event Name e.g. VNF, VM","required":true,"constraints":[{"valid_values":["VM","VNF"]}]},"eventName":{"type":"string","description":"Event name to which thresholds need to be applied","required":true},"policyName":{"type":"string","description":"TCA Policy Scope Name","required":true},"policyScope":{"type":"string","description":"TCA Policy Scope","required":true},"policyVersion":{"type":"string","description":"TCA Policy Scope Version","required":true},"thresholds":{"type":"list","description":"Thresholds associated with eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.thresholds"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.tca_policy":{"properties":{"domain":{"type":"string","description":"Domain name to which TCA needs to be applied","default":"measurementsForVfScaling","required":true,"constraints":[{"equal":"measurementsForVfScaling"}]},"metricsPerEventName":{"type":"list","description":"Contains eventName and threshold details that need to be applied to given eventName","required":true,"entry_schema":{"type":"onap.datatypes.monitoring.metricsPerEventName"}}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"},"onap.datatypes.monitoring.thresholds":{"properties":{"closedLoopControlName":{"type":"string","description":"Closed Loop Control Name associated with the threshold","required":true},"closedLoopEventStatus":{"type":"string","description":"Closed Loop Event Status of the threshold","required":true,"constraints":[{"valid_values":["ONSET","ABATED"]}]},"direction":{"type":"string","description":"Direction of the threshold","required":true,"constraints":[{"valid_values":["LESS","LESS_OR_EQUAL","GREATER","GREATER_OR_EQUAL","EQUAL"]}]},"fieldPath":{"type":"string","description":"Json field Path as per CEF message which needs to be analyzed for TCA","required":true,"constraints":[{"valid_values":["$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated","$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem","$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait","$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage","$.event.measurementsForVfScalingFields.meanRequestLatency","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree","$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed","$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value"]}]},"severity":{"type":"string","description":"Threshold Event Severity","required":true,"constraints":[{"valid_values":["CRITICAL","MAJOR","MINOR","WARNING","NORMAL"]}]},"thresholdValue":{"type":"integer","description":"Threshold value for the field Path inside CEF message","required":true},"version":{"type":"string","description":"Version number associated with the threshold","required":true}},"name":"NULL","version":"0.0.0","derived_from":"tosca.datatypes.Root"}},"policy_types":{"onap.policies.Monitoring":{"name":"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"} 11:23:01 2024-02-21T11:23:01.434Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.434Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.524Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:23:01 {"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"} 11:23:01 2024-02-21T11:23:01.685Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.685Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.775Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:23:01 {"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"} 11:23:01 2024-02-21T11:23:01.935Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:01 2024-02-21T11:23:01.935Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.031Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:23:02 {"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"} 11:23:02 2024-02-21T11:23:02.186Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.186Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.285Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:23:02 {"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"} 11:23:02 2024-02-21T11:23:02.448Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.449Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.546Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:23:02 {"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"} 11:23:02 2024-02-21T11:23:02.718Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.719Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:02 2024-02-21T11:23:02.807Z INFO 2545 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] 11:23:02 {"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"} 11:23:03 2024-02-21T11:23:02.960Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:02.960Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.053Z INFO 2545 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] 11:23:03 {"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"} 11:23:03 2024-02-21T11:23:03.225Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.226Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.319Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:23:03 {"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"} 11:23:03 2024-02-21T11:23:03.490Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.491Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.581Z INFO 2545 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] 11:23:03 {"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"} 11:23:03 2024-02-21T11:23:03.745Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.746Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:03 2024-02-21T11:23:03.843Z INFO 2545 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] 11:23:03 {"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"} 11:23:04 2024-02-21T11:23:04.000Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.001Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.088Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:23:04 {"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"} 11:23:04 2024-02-21T11:23:04.247Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.248Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.344Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] 11:23:04 {"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"} 11:23:04 2024-02-21T11:23:04.510Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.511Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.606Z INFO 2545 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] 11:23:04 {"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"} 11:23:04 2024-02-21T11:23:04.767Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.767Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:04 2024-02-21T11:23:04.859Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] 11:23:04 {"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"} 11:23:05 2024-02-21T11:23:05.019Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.019Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.114Z INFO 2545 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] 11:23:05 {"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"} 11:23:05 2024-02-21T11:23:05.274Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.275Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.374Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] 11:23:05 {"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"} 11:23:05 2024-02-21T11:23:05.556Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:05 2024-02-21T11:23:05.556Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:05 2024-02-21T11:23:05.652Z INFO 2545 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:05 {"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"} 11:23:05 2024-02-21T11:23:05.818Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.818Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:05 2024-02-21T11:23:05.914Z INFO 2545 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:05 {"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"} 11:23:06 2024-02-21T11:23:06.067Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:06 2024-02-21T11:23:06.070Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:06 2024-02-21T11:23:06.165Z INFO 2545 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:06 {"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"} 11:23:06 2024-02-21T11:23:06.330Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.330Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.428Z INFO 2545 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] 11:23:06 {"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"} 11:23:06 2024-02-21T11:23:06.581Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.581Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.682Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.682Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.802Z WARN 2545 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 11:23:06 2024-02-21T11:23:06.811Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.812Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.934Z WARN 2545 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 11:23:06 2024-02-21T11:23:06.943Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:06 2024-02-21T11:23:06.943Z INFO 2545 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 11:23:07 2024-02-21T11:23:07.063Z WARN 2545 --- [o-auto-2-exec-1] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 11:23:07 2024-02-21T11:23:07.078Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:07 2024-02-21T11:23:07.078Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:07 2024-02-21T11:23:07.336Z WARN 2545 --- [o-auto-2-exec-4] 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 11:23:08 2024-02-21T11:23:07.981Z WARN 2545 --- [o-auto-2-exec-4] 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 11:23:10 2024-02-21T11:23:10.766Z INFO 2545 --- [o-auto-2-exec-4] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 3580 ms 11:23:10 2024-02-21T11:23:10.860Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 11:23:10 2024-02-21T11:23:10.860Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 11:23:10 2024-02-21T11:23:10.874Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 11:23:10 2024-02-21T11:23:10.875Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 11:23:10 2024-02-21T11:23:10.876Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. 11:23:10 [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.46 s -- in org.onap.policy.api.main.rest.TestApiRestServer 11:23:10 [INFO] Running org.onap.policy.api.main.rest.TestCommonRestController 11:23:10 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.onap.policy.api.main.rest.TestCommonRestController 11:23:10 [INFO] Running org.onap.policy.api.main.rest.TestNodeTemplateController 11:23:11 11:23:11 . ____ _ __ _ _ 11:23:11 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:23:11 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:23:11 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:23:11 ' |____| .__|_| |_|_| |_\__, | / / / / 11:23:11 =========|_|==============|___/=/_/_/_/ 11:23:11 :: Spring Boot :: (v3.1.8) 11:23:11 11:23:11 2024-02-21T11:23:10.913Z INFO 2545 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Starting TestNodeTemplateController using Java 17.0.4 with PID 2545 (started by jenkins in /w/workspace/policy-api-master-verify-java/main) 11:23:11 2024-02-21T11:23:10.913Z INFO 2545 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : The following 2 profiles are active: "test", "default" 11:23:11 2024-02-21T11:23:11.126Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:23:11 2024-02-21T11:23:11.135Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 6 JPA repository interfaces. 11:23:11 2024-02-21T11:23:11.170Z WARN 2545 --- [ 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 11:23:11 2024-02-21T11:23:11.170Z WARN 2545 --- [ 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 11:23:11 2024-02-21T11:23:11.244Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 11:23:11 2024-02-21T11:23:11.245Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 11:23:11 2024-02-21T11:23:11.245Z INFO 2545 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 11:23:11 2024-02-21T11:23:11.259Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 11:23:11 2024-02-21T11:23:11.259Z INFO 2545 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 345 ms 11:23:11 2024-02-21T11:23:11.368Z INFO 2545 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 11:23:11 2024-02-21T11:23:11.370Z INFO 2545 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 11:23:11 2024-02-21T11:23:11.373Z INFO 2545 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 11:23:11 2024-02-21T11:23:11.374Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 11:23:11 2024-02-21T11:23:11.376Z INFO 2545 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=POLICY_USER 11:23:11 2024-02-21T11:23:11.376Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 11:23:11 2024-02-21T11:23:11.784Z INFO 2545 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:23:11 2024-02-21T11:23:11.845Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 11:23:12 2024-02-21T11:23:12.127Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:23:12 2024-02-21T11:23:12.250Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:23:12 2024-02-21T11:23:12.635Z INFO 2545 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4c249642, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@e4b28b4, org.springframework.security.web.context.SecurityContextHolderFilter@39a571ae, org.springframework.security.web.header.HeaderWriterFilter@24f28b10, org.springframework.security.web.authentication.logout.LogoutFilter@1b60dd20, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@34feca78, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46dd2d91, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@39c05387, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4ecacbd5, org.springframework.security.web.access.ExceptionTranslationFilter@7980cc49, org.springframework.security.web.access.intercept.AuthorizationFilter@51b0d889] 11:23:12 2024-02-21T11:23:12.899Z INFO 2545 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 11:23:13 2024-02-21T11:23:12.988Z INFO 2545 --- [ 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] 11:23:13 2024-02-21T11:23:12.994Z INFO 2545 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 36527 (https) with context path '/policy/api/v1' 11:23:13 2024-02-21T11:23:12.999Z INFO 2545 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Started TestNodeTemplateController in 2.107 seconds (process running for 108.555) 11:23:13 2024-02-21T11:23:13.013Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.018Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.033Z INFO 2545 --- [o-auto-3-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 11:23:13 2024-02-21T11:23:13.033Z INFO 2545 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 11:23:13 2024-02-21T11:23:13.035Z INFO 2545 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 11:23:13 2024-02-21T11:23:13.194Z INFO 2545 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] 11:23:13 {"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"} 11:23:13 2024-02-21T11:23:13.388Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.388Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.499Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.500Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.627Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.627Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.721Z WARN 2545 --- [o-auto-3-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /nodetemplates/invalid_template/versions/1.0.0 11:23:13 2024-02-21T11:23:13.748Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.748Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:13 2024-02-21T11:23:13.837Z INFO 2545 --- [o-auto-3-exec-2] network : [IN|REST|/nodetemplates] 11:23:14 {"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"} 11:23:14 2024-02-21T11:23:14.001Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.001Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.094Z INFO 2545 --- [o-auto-3-exec-9] network : [IN|REST|/nodetemplates] 11:23:14 {"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"} 11:23:14 2024-02-21T11:23:14.107Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.107Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.204Z INFO 2545 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] 11:23:14 {"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"} 11:23:14 2024-02-21T11:23:14.207Z WARN 2545 --- [o-auto-3-exec-8] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 11:23:14 2024-02-21T11:23:14.214Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.214Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.310Z INFO 2545 --- [o-auto-3-exec-6] network : [IN|REST|/nodetemplates] 11:23:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 11:23:14 2024-02-21T11:23:14.311Z WARN 2545 --- [o-auto-3-exec-6] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 11:23:14 2024-02-21T11:23:14.336Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.336Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.437Z INFO 2545 --- [o-auto-3-exec-4] network : [IN|REST|/nodetemplates] 11:23:14 {"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"} 11:23:14 2024-02-21T11:23:14.655Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.655Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.745Z INFO 2545 --- [o-auto-3-exec-5] network : [IN|REST|/nodetemplates] 11:23:14 {"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"} 11:23:14 2024-02-21T11:23:14.746Z WARN 2545 --- [o-auto-3-exec-5] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 11:23:14 2024-02-21T11:23:14.755Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.756Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.851Z INFO 2545 --- [o-auto-3-exec-1] network : [IN|REST|/nodetemplates] 11:23:14 {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 11:23:14 2024-02-21T11:23:14.851Z WARN 2545 --- [o-auto-3-exec-1] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 11:23:14 2024-02-21T11:23:14.879Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:14 2024-02-21T11:23:14.879Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:14.976Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:14.976Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:15.066Z INFO 2545 --- [o-auto-3-exec-7] network : [IN|REST|/nodetemplates] 11:23:15 {"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"} 11:23:15 2024-02-21T11:23:15.218Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:15.218Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:15.323Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:15.323Z INFO 2545 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 11:23:15 2024-02-21T11:23:15.437Z INFO 2545 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 11:23:15 2024-02-21T11:23:15.438Z INFO 2545 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 11:23:15 2024-02-21T11:23:15.443Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 11:23:15 2024-02-21T11:23:15.443Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated... 11:23:15 2024-02-21T11:23:15.444Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed. 11:23:15 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.560 s -- in org.onap.policy.api.main.rest.TestNodeTemplateController 11:23:15 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 11:23:17 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.714 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud 11:23:17 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 11:23:17 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate 11:23:17 [INFO] Running org.onap.policy.api.main.service.TestPdpGroupService 11:23:17 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 s -- in org.onap.policy.api.main.service.TestPdpGroupService 11:23:17 [INFO] Running org.onap.policy.api.main.service.TestPolicyService 11:23:17 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s -- in org.onap.policy.api.main.service.TestPolicyService 11:23:17 [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 11:23:18 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.303 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud 11:23:18 [INFO] Running org.onap.policy.api.main.service.TestPolicyTypeService 11:23:18 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.090 s -- in org.onap.policy.api.main.service.TestPolicyTypeService 11:23:18 [INFO] Running org.onap.policy.api.main.service.TestNodeTemplateService 11:23:19 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 s -- in org.onap.policy.api.main.service.TestNodeTemplateService 11:23:19 [INFO] Running org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 11:23:19 11:23:19 . ____ _ __ _ _ 11:23:19 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:23:19 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:23:19 \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:23:19 ' |____| .__|_| |_|_| |_\__, | / / / / 11:23:19 =========|_|==============|___/=/_/_/_/ 11:23:19 :: Spring Boot :: (v3.1.8) 11:23:19 11:23:19 2024-02-21T11:23:19.240Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Starting ApiDatabaseInitializerTest using Java 17.0.4 with PID 2545 (started by jenkins in /w/workspace/policy-api-master-verify-java/main) 11:23:19 2024-02-21T11:23:19.240Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : The following 1 profile is active: "test" 11:23:19 2024-02-21T11:23:19.821Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 11:23:19 2024-02-21T11:23:19.847Z INFO 2545 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 6 JPA repository interfaces. 11:23:20 2024-02-21T11:23:19.992Z WARN 2545 --- [ 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 11:23:20 2024-02-21T11:23:19.992Z WARN 2545 --- [ 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 11:23:20 2024-02-21T11:23:20.211Z INFO 2545 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 11:23:20 2024-02-21T11:23:20.218Z INFO 2545 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 11:23:20 2024-02-21T11:23:20.225Z INFO 2545 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 11:23:20 2024-02-21T11:23:20.227Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting... 11:23:20 2024-02-21T11:23:20.233Z INFO 2545 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection conn30: url=jdbc:h2:mem:testdb user=POLICY_USER 11:23:20 2024-02-21T11:23:20.233Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed. 11:23:21 2024-02-21T11:23:21.248Z INFO 2545 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 11:23:21 2024-02-21T11:23:21.453Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 11:23:22 2024-02-21T11:23:22.418Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 11:23:22 2024-02-21T11:23:22.901Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 11:23:24 2024-02-21T11:23:24.163Z INFO 2545 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@e5e901d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@78b047c1, org.springframework.security.web.context.SecurityContextHolderFilter@41dca13, org.springframework.security.web.header.HeaderWriterFilter@241696fc, org.springframework.security.web.authentication.logout.LogoutFilter@60de56bf, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2ae96c9, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5ca7d6a3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1ac88c72, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7d613d84, org.springframework.security.web.access.ExceptionTranslationFilter@2a8903d, org.springframework.security.web.access.intercept.AuthorizationFilter@1c274688] 11:23:25 2024-02-21T11:23:25.033Z INFO 2545 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 11:23:25 2024-02-21T11:23:25.113Z INFO 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Started ApiDatabaseInitializerTest in 5.946 seconds (process running for 120.668) 11:23:27 2024-02-21T11:23:27.934Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 11:23:30 2024-02-21T11:23:30.014Z WARN 2545 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 11:23:30 2024-02-21T11:23:30.022Z INFO 2545 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 11:23:30 2024-02-21T11:23:30.022Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated... 11:23:30 2024-02-21T11:23:30.025Z INFO 2545 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed. 11:23:30 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.89 s -- in org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest 11:23:30 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiException 11:23:30 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in org.onap.policy.api.main.exception.TestPolicyApiException 11:23:30 [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 11:23:30 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.onap.policy.api.main.exception.TestPolicyApiRuntimeException 11:23:30 [INFO] 11:23:30 [INFO] Results: 11:23:30 [INFO] 11:23:30 [INFO] Tests run: 66, Failures: 0, Errors: 0, Skipped: 0 11:23:30 [INFO] 11:23:30 [INFO] 11:23:30 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-main --- 11:23:30 [INFO] Loading execution data file /w/workspace/policy-api-master-verify-java/main/../target/code-coverage/jacoco-ut.exec 11:23:30 [INFO] Analyzed bundle 'api-main' with 23 classes 11:23:30 [INFO] 11:23:30 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-main --- 11:23:30 [INFO] 11:23:30 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-main --- 11:23:31 [INFO] Building jar: /w/workspace/policy-api-master-verify-java/main/target/api-main-3.1.2-SNAPSHOT.jar 11:23:31 [INFO] 11:23:31 [INFO] --- spring-boot-maven-plugin:3.1.8:repackage (default) @ api-main --- 11:23:32 [INFO] Replacing main artifact /w/workspace/policy-api-master-verify-java/main/target/api-main-3.1.2-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. 11:23:32 [INFO] The original artifact has been renamed to /w/workspace/policy-api-master-verify-java/main/target/api-main-3.1.2-SNAPSHOT.jar.original 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-main --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] failsafeArgLine set to empty 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-main --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-main --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-main --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-main --- 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/main/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-main/3.1.2-SNAPSHOT/api-main-3.1.2-SNAPSHOT.pom 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/main/target/api-main-3.1.2-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-main/3.1.2-SNAPSHOT/api-main-3.1.2-SNAPSHOT.jar 11:23:32 [INFO] 11:23:32 [INFO] ------------------< org.onap.policy.api:api-packages >------------------ 11:23:32 [INFO] Building api-packages 3.1.2-SNAPSHOT [3/7] 11:23:32 [INFO] --------------------------------[ pom ]--------------------------------- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-packages --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-packages --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-packages --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-packages --- 11:23:32 [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-verify-java/packages/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:23:32 --add-opens java.base/java.util=ALL-UNNAMED 11:23:32 --add-opens java.sql/java.sql=ALL-UNNAMED 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-packages --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-packages --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-packages --- 11:23:32 [INFO] Skipping JaCoCo execution due to missing classes directory. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-packages --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-packages --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] failsafeArgLine set to empty 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-packages --- 11:23:32 [INFO] No tests to run. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-packages --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-packages --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-packages --- 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/packages/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-packages/3.1.2-SNAPSHOT/api-packages-3.1.2-SNAPSHOT.pom 11:23:32 [INFO] 11:23:32 [INFO] ---------------< org.onap.policy.api:policy-api-tarball >--------------- 11:23:32 [INFO] Building policy-api-tarball 3.1.2-SNAPSHOT [4/7] 11:23:32 [INFO] --------------------------------[ jar ]--------------------------------- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-tarball --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-tarball --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-tarball --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-tarball --- 11:23:32 [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-verify-java/packages/policy-api-tarball/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:23:32 --add-opens java.base/java.util=ALL-UNNAMED 11:23:32 --add-opens java.sql/java.sql=ALL-UNNAMED 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-tarball --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-tarball --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ policy-api-tarball --- 11:23:32 [INFO] Copying 3 resources from src/main/resources to target/classes 11:23:32 [INFO] 11:23:32 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ policy-api-tarball --- 11:23:32 [INFO] No sources to compile 11:23:32 [INFO] 11:23:32 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ policy-api-tarball --- 11:23:32 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/src/test/resources 11:23:32 [INFO] 11:23:32 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ policy-api-tarball --- 11:23:32 [INFO] No sources to compile 11:23:32 [INFO] 11:23:32 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ policy-api-tarball --- 11:23:32 [INFO] No tests to run. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-tarball --- 11:23:32 [INFO] Skipping JaCoCo execution due to missing execution data file. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-tarball --- 11:23:32 [INFO] Analyzed bundle 'api-main' with 23 classes 11:23:32 [INFO] 11:23:32 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ policy-api-tarball --- 11:23:32 [INFO] Building jar: /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.2-SNAPSHOT.jar 11:23:32 [INFO] 11:23:32 [INFO] --- maven-assembly-plugin:3.6.0:single (generate-complete-tar) @ policy-api-tarball --- 11:23:32 [INFO] Reading assembly descriptor: src/main/package/tarball/assembly.xml 11:23:32 [INFO] Building tar: /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.2-SNAPSHOT-tarball.tar.gz 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-tarball --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] failsafeArgLine set to empty 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-tarball --- 11:23:32 [INFO] No tests to run. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-tarball --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-tarball --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-tarball --- 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.2-SNAPSHOT/policy-api-tarball-3.1.2-SNAPSHOT.pom 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.2-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.2-SNAPSHOT/policy-api-tarball-3.1.2-SNAPSHOT.jar 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/packages/policy-api-tarball/target/policy-api-tarball-3.1.2-SNAPSHOT-tarball.tar.gz to /home/jenkins/.m2/repository/org/onap/policy/api/policy-api-tarball/3.1.2-SNAPSHOT/policy-api-tarball-3.1.2-SNAPSHOT-tarball.tar.gz 11:23:32 [INFO] 11:23:32 [INFO] -----------------< org.onap.policy.api:api-testsuites >----------------- 11:23:32 [INFO] Building api-testsuites 3.1.2-SNAPSHOT [5/7] 11:23:32 [INFO] --------------------------------[ pom ]--------------------------------- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-testsuites --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-testsuites --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-testsuites --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-testsuites --- 11:23:32 [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-verify-java/testsuites/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:23:32 --add-opens java.base/java.util=ALL-UNNAMED 11:23:32 --add-opens java.sql/java.sql=ALL-UNNAMED 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-testsuites --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-testsuites --- 11:23:32 [INFO] Starting audit... 11:23:32 Audit done. 11:23:32 [INFO] You have 0 Checkstyle violations. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-testsuites --- 11:23:32 [INFO] Skipping JaCoCo execution due to missing classes directory. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-testsuites --- 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-testsuites --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] failsafeArgLine set to empty 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-testsuites --- 11:23:32 [INFO] No tests to run. 11:23:32 [INFO] 11:23:32 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-testsuites --- 11:23:32 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:32 [INFO] 11:23:32 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-testsuites --- 11:23:32 [INFO] 11:23:32 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-testsuites --- 11:23:32 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-testsuites/3.1.2-SNAPSHOT/api-testsuites-3.1.2-SNAPSHOT.pom 11:23:33 [INFO] 11:23:33 [INFO] -----------------< org.onap.policy.api:api-stability >------------------ 11:23:33 [INFO] Building api-stability 3.1.2-SNAPSHOT [6/7] 11:23:33 [INFO] --------------------------------[ jar ]--------------------------------- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-stability --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-stability --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-stability --- 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-stability --- 11:23:33 [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-verify-java/testsuites/stability/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:23:33 --add-opens java.base/java.util=ALL-UNNAMED 11:23:33 --add-opens java.sql/java.sql=ALL-UNNAMED 11:23:33 [INFO] 11:23:33 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-stability --- 11:23:33 [INFO] Starting audit... 11:23:33 Audit done. 11:23:33 [INFO] You have 0 Checkstyle violations. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-stability --- 11:23:33 [INFO] Starting audit... 11:23:33 Audit done. 11:23:33 [INFO] You have 0 Checkstyle violations. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-stability --- 11:23:33 [INFO] Copying 8 resources from src/main/resources to target/classes 11:23:33 [INFO] 11:23:33 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-stability --- 11:23:33 [INFO] No sources to compile 11:23:33 [INFO] 11:23:33 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-stability --- 11:23:33 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-verify-java/testsuites/stability/src/test/resources 11:23:33 [INFO] 11:23:33 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-stability --- 11:23:33 [INFO] No sources to compile 11:23:33 [INFO] 11:23:33 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-stability --- 11:23:33 [INFO] No tests to run. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-stability --- 11:23:33 [INFO] Skipping JaCoCo execution due to missing execution data file. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-stability --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-stability --- 11:23:33 [INFO] Building jar: /w/workspace/policy-api-master-verify-java/testsuites/stability/target/api-stability-3.1.2-SNAPSHOT.jar 11:23:33 [INFO] 11:23:33 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-stability --- 11:23:33 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 11:23:33 [INFO] Building zip: /w/workspace/policy-api-master-verify-java/testsuites/stability/target/api-stability-3.1.2-SNAPSHOT-stability.zip 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-stability --- 11:23:33 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:33 [INFO] failsafeArgLine set to empty 11:23:33 [INFO] 11:23:33 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-stability --- 11:23:33 [INFO] No tests to run. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-stability --- 11:23:33 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-stability --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-stability --- 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/stability/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.2-SNAPSHOT/api-stability-3.1.2-SNAPSHOT.pom 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/stability/target/api-stability-3.1.2-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.2-SNAPSHOT/api-stability-3.1.2-SNAPSHOT.jar 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/stability/target/api-stability-3.1.2-SNAPSHOT-stability.zip to /home/jenkins/.m2/repository/org/onap/policy/api/api-stability/3.1.2-SNAPSHOT/api-stability-3.1.2-SNAPSHOT-stability.zip 11:23:33 [INFO] 11:23:33 [INFO] ----------------< org.onap.policy.api:api-performance >----------------- 11:23:33 [INFO] Building api-performance 3.1.2-SNAPSHOT [7/7] 11:23:33 [INFO] --------------------------------[ jar ]--------------------------------- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-performance --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-performance --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-performance --- 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-performance --- 11:23:33 [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-verify-java/testsuites/performance/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED 11:23:33 --add-opens java.base/java.util=ALL-UNNAMED 11:23:33 --add-opens java.sql/java.sql=ALL-UNNAMED 11:23:33 [INFO] 11:23:33 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-performance --- 11:23:33 [INFO] Starting audit... 11:23:33 Audit done. 11:23:33 [INFO] You have 0 Checkstyle violations. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-performance --- 11:23:33 [INFO] Starting audit... 11:23:33 Audit done. 11:23:33 [INFO] You have 0 Checkstyle violations. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-performance --- 11:23:33 [INFO] Copying 1 resource from src/main/resources to target/classes 11:23:33 [INFO] 11:23:33 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-performance --- 11:23:33 [INFO] No sources to compile 11:23:33 [INFO] 11:23:33 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-performance --- 11:23:33 [INFO] skip non existing resourceDirectory /w/workspace/policy-api-master-verify-java/testsuites/performance/src/test/resources 11:23:33 [INFO] 11:23:33 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-performance --- 11:23:33 [INFO] No sources to compile 11:23:33 [INFO] 11:23:33 [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-performance --- 11:23:33 [INFO] No tests to run. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-performance --- 11:23:33 [INFO] Skipping JaCoCo execution due to missing execution data file. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-performance --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-performance --- 11:23:33 [INFO] Building jar: /w/workspace/policy-api-master-verify-java/testsuites/performance/target/api-performance-3.1.2-SNAPSHOT.jar 11:23:33 [INFO] 11:23:33 [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-performance --- 11:23:33 [INFO] Reading assembly descriptor: src/assembly/assembly.xml 11:23:33 [INFO] Building zip: /w/workspace/policy-api-master-verify-java/testsuites/performance/target/api-performance-3.1.2-SNAPSHOT-performance.zip 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-performance --- 11:23:33 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:33 [INFO] failsafeArgLine set to empty 11:23:33 [INFO] 11:23:33 [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-performance --- 11:23:33 [INFO] No tests to run. 11:23:33 [INFO] 11:23:33 [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-performance --- 11:23:33 [INFO] Skipping JaCoCo execution because property jacoco.skip is set. 11:23:33 [INFO] 11:23:33 [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-performance --- 11:23:33 [INFO] 11:23:33 [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-performance --- 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/performance/pom.xml to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.2-SNAPSHOT/api-performance-3.1.2-SNAPSHOT.pom 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/performance/target/api-performance-3.1.2-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.2-SNAPSHOT/api-performance-3.1.2-SNAPSHOT.jar 11:23:33 [INFO] Installing /w/workspace/policy-api-master-verify-java/testsuites/performance/target/api-performance-3.1.2-SNAPSHOT-performance.zip to /home/jenkins/.m2/repository/org/onap/policy/api/api-performance/3.1.2-SNAPSHOT/api-performance-3.1.2-SNAPSHOT-performance.zip 11:23:33 [INFO] ------------------------------------------------------------------------ 11:23:33 [INFO] Reactor Summary for policy-api 3.1.2-SNAPSHOT: 11:23:33 [INFO] 11:23:33 [INFO] policy-api ......................................... SUCCESS [ 13.692 s] 11:23:33 [INFO] api-main ........................................... SUCCESS [02:26 min] 11:23:33 [INFO] api-packages ....................................... SUCCESS [ 0.251 s] 11:23:33 [INFO] policy-api-tarball ................................. SUCCESS [ 0.538 s] 11:23:33 [INFO] api-testsuites ..................................... SUCCESS [ 0.110 s] 11:23:33 [INFO] api-stability ...................................... SUCCESS [ 0.470 s] 11:23:33 [INFO] api-performance .................................... SUCCESS [ 0.343 s] 11:23:33 [INFO] ------------------------------------------------------------------------ 11:23:33 [INFO] BUILD SUCCESS 11:23:33 [INFO] ------------------------------------------------------------------------ 11:23:33 [INFO] Total time: 02:43 min 11:23:33 [INFO] Finished at: 2024-02-21T11:23:33Z 11:23:33 [INFO] ------------------------------------------------------------------------ 11:23:33 $ ssh-agent -k 11:23:33 unset SSH_AUTH_SOCK; 11:23:33 unset SSH_AGENT_PID; 11:23:33 echo Agent pid 1658 killed; 11:23:33 [ssh-agent] Stopped. 11:23:34 [PostBuildScript] - [INFO] Executing post build scripts. 11:23:34 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins18380010536816431916.sh 11:23:34 ---> sysstat.sh 11:23:34 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins16979637882352050607.sh 11:23:34 ---> package-listing.sh 11:23:34 ++ facter osfamily 11:23:34 ++ tr '[:upper:]' '[:lower:]' 11:23:34 + OS_FAMILY=debian 11:23:34 + workspace=/w/workspace/policy-api-master-verify-java 11:23:34 + START_PACKAGES=/tmp/packages_start.txt 11:23:34 + END_PACKAGES=/tmp/packages_end.txt 11:23:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:23:34 + PACKAGES=/tmp/packages_start.txt 11:23:34 + '[' /w/workspace/policy-api-master-verify-java ']' 11:23:34 + PACKAGES=/tmp/packages_end.txt 11:23:34 + case "${OS_FAMILY}" in 11:23:34 + dpkg -l 11:23:34 + grep '^ii' 11:23:34 + '[' -f /tmp/packages_start.txt ']' 11:23:34 + '[' -f /tmp/packages_end.txt ']' 11:23:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:23:34 + '[' /w/workspace/policy-api-master-verify-java ']' 11:23:34 + mkdir -p /w/workspace/policy-api-master-verify-java/archives/ 11:23:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-verify-java/archives/ 11:23:34 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins18048878791280209401.sh 11:23:34 ---> capture-instance-metadata.sh 11:23:34 Setup pyenv: 11:23:34 system 11:23:34 3.8.13 11:23:34 3.9.13 11:23:34 * 3.10.6 (set by /w/workspace/policy-api-master-verify-java/.python-version) 11:23:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SWkM from file:/tmp/.os_lf_venv 11:23:36 lf-activate-venv(): INFO: Installing: lftools 11:23:46 lf-activate-venv(): INFO: Adding /tmp/venv-SWkM/bin to PATH 11:23:46 INFO: Running in OpenStack, capturing instance metadata 11:23:47 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins6603356284519973070.sh 11:23:47 provisioning config files... 11:23:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-verify-java@tmp/config9817912941873296691tmp 11:23:47 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 11:23:47 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 11:23:47 [EnvInject] - Injecting environment variables from a build step. 11:23:47 [EnvInject] - Injecting as environment variables the properties content 11:23:47 SERVER_ID=logs 11:23:47 11:23:47 [EnvInject] - Variables injected successfully. 11:23:47 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins8106632431040110459.sh 11:23:47 ---> create-netrc.sh 11:23:47 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins17774886521591362556.sh 11:23:47 ---> python-tools-install.sh 11:23:47 Setup pyenv: 11:23:47 system 11:23:47 3.8.13 11:23:47 3.9.13 11:23:47 * 3.10.6 (set by /w/workspace/policy-api-master-verify-java/.python-version) 11:23:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SWkM from file:/tmp/.os_lf_venv 11:23:48 lf-activate-venv(): INFO: Installing: lftools 11:23:56 lf-activate-venv(): INFO: Adding /tmp/venv-SWkM/bin to PATH 11:23:56 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins9441628264516540580.sh 11:23:56 ---> sudo-logs.sh 11:23:56 Archiving 'sudo' log.. 11:23:56 [policy-api-master-verify-java] $ /bin/bash /tmp/jenkins2897278334486609285.sh 11:23:56 ---> job-cost.sh 11:23:56 Setup pyenv: 11:23:56 system 11:23:56 3.8.13 11:23:56 3.9.13 11:23:56 * 3.10.6 (set by /w/workspace/policy-api-master-verify-java/.python-version) 11:23:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SWkM from file:/tmp/.os_lf_venv 11:23:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:24:05 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. 11:24:05 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 11:24:05 lf-activate-venv(): INFO: Adding /tmp/venv-SWkM/bin to PATH 11:24:05 INFO: No Stack... 11:24:05 INFO: Retrieving Pricing Info for: v3-standard-4 11:24:05 INFO: Archiving Costs 11:24:06 [policy-api-master-verify-java] $ /bin/bash -l /tmp/jenkins13940372740357760639.sh 11:24:07 ---> logs-deploy.sh 11:24:07 Setup pyenv: 11:24:07 system 11:24:07 3.8.13 11:24:07 3.9.13 11:24:07 * 3.10.6 (set by /w/workspace/policy-api-master-verify-java/.python-version) 11:24:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-SWkM from file:/tmp/.os_lf_venv 11:24:09 lf-activate-venv(): INFO: Installing: lftools 11:24:18 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. 11:24:18 python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 11:24:18 lf-activate-venv(): INFO: Adding /tmp/venv-SWkM/bin to PATH 11:24:18 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-verify-java/738 11:24:18 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 11:24:19 Archives upload complete. 11:24:20 INFO: archiving logs to Nexus 11:24:20 ---> uname -a: 11:24:20 Linux prd-ubuntu1804-builder-4c-4g-7293 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 11:24:20 11:24:20 11:24:20 ---> lscpu: 11:24:20 Architecture: x86_64 11:24:20 CPU op-mode(s): 32-bit, 64-bit 11:24:20 Byte Order: Little Endian 11:24:20 CPU(s): 4 11:24:20 On-line CPU(s) list: 0-3 11:24:20 Thread(s) per core: 1 11:24:20 Core(s) per socket: 1 11:24:20 Socket(s): 4 11:24:20 NUMA node(s): 1 11:24:20 Vendor ID: AuthenticAMD 11:24:20 CPU family: 23 11:24:20 Model: 49 11:24:20 Model name: AMD EPYC-Rome Processor 11:24:20 Stepping: 0 11:24:20 CPU MHz: 2800.000 11:24:20 BogoMIPS: 5600.00 11:24:20 Virtualization: AMD-V 11:24:20 Hypervisor vendor: KVM 11:24:20 Virtualization type: full 11:24:20 L1d cache: 32K 11:24:20 L1i cache: 32K 11:24:20 L2 cache: 512K 11:24:20 L3 cache: 16384K 11:24:20 NUMA node0 CPU(s): 0-3 11:24:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 11:24:20 11:24:20 11:24:21 ---> nproc: 11:24:21 4 11:24:21 11:24:21 11:24:21 ---> df -h: 11:24:21 Filesystem Size Used Avail Use% Mounted on 11:24:21 udev 7.9G 0 7.9G 0% /dev 11:24:21 tmpfs 1.6G 672K 1.6G 1% /run 11:24:21 /dev/vda1 78G 8.6G 69G 12% / 11:24:21 tmpfs 7.9G 0 7.9G 0% /dev/shm 11:24:21 tmpfs 5.0M 0 5.0M 0% /run/lock 11:24:21 tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup 11:24:21 /dev/vda15 105M 4.4M 100M 5% /boot/efi 11:24:21 tmpfs 1.6G 0 1.6G 0% /run/user/1001 11:24:21 11:24:21 11:24:21 ---> free -m: 11:24:21 total used free shared buff/cache available 11:24:21 Mem: 16040 558 12987 0 2493 15164 11:24:21 Swap: 1023 0 1023 11:24:21 11:24:21 11:24:21 ---> ip addr: 11:24:21 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:24:21 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:24:21 inet 127.0.0.1/8 scope host lo 11:24:21 valid_lft forever preferred_lft forever 11:24:21 inet6 ::1/128 scope host 11:24:21 valid_lft forever preferred_lft forever 11:24:21 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:24:21 link/ether fa:16:3e:95:63:62 brd ff:ff:ff:ff:ff:ff 11:24:21 inet 10.30.107.166/23 brd 10.30.107.255 scope global dynamic ens3 11:24:21 valid_lft 86082sec preferred_lft 86082sec 11:24:21 inet6 fe80::f816:3eff:fe95:6362/64 scope link 11:24:21 valid_lft forever preferred_lft forever 11:24:21 11:24:21 11:24:21 ---> sar -b -r -n DEV: 11:24:21 Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-7293) 02/21/24 _x86_64_ (4 CPU) 11:24:21 11:24:21 11:19:05 LINUX RESTART (4 CPU) 11:24:21 11:24:21 11:20:01 tps rtps wtps bread/s bwrtn/s 11:24:21 11:21:01 151.28 40.82 110.46 2586.34 30638.19 11:24:21 11:22:01 90.73 15.15 75.58 893.87 25673.60 11:24:21 11:23:01 10.93 0.00 10.93 0.00 14957.64 11:24:21 11:24:01 25.80 0.88 24.91 89.59 1938.34 11:24:21 Average: 69.69 14.21 55.47 892.52 18302.15 11:24:21 11:24:21 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:24:21 11:21:01 13545380 15352704 2879588 17.53 72896 1926672 971920 5.56 901124 1749208 114208 11:24:21 11:22:01 11833292 13788704 4591676 27.96 77456 2065212 2526212 14.46 2547272 1799184 340 11:24:21 11:23:01 11790732 13746640 4634236 28.21 77544 2065584 2526212 14.46 2589552 1799524 292 11:24:21 11:24:01 13304360 15527688 3120608 19.00 82640 2323908 775860 4.44 906088 1967720 259408 11:24:21 Average: 12618441 14603934 3806527 23.18 77634 2095344 1700051 9.73 1736009 1828909 93562 11:24:21 11:24:21 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:24:21 11:21:01 ens3 216.88 161.10 2425.73 28.68 0.00 0.00 0.00 0.00 11:24:21 11:21:01 lo 1.00 1.00 0.11 0.11 0.00 0.00 0.00 0.00 11:24:21 11:22:01 ens3 201.30 171.50 1760.59 35.49 0.00 0.00 0.00 0.00 11:24:21 11:22:01 lo 42.98 42.98 26.76 26.76 0.00 0.00 0.00 0.00 11:24:21 11:23:01 ens3 47.49 37.26 14.47 16.92 0.00 0.00 0.00 0.00 11:24:21 11:23:01 lo 115.11 115.11 38.10 38.10 0.00 0.00 0.00 0.00 11:24:21 11:24:01 ens3 190.88 165.72 452.82 60.04 0.00 0.00 0.00 0.00 11:24:21 11:24:01 lo 34.34 34.34 12.84 12.84 0.00 0.00 0.00 0.00 11:24:21 Average: ens3 164.14 133.89 1163.43 35.28 0.00 0.00 0.00 0.00 11:24:21 Average: lo 48.36 48.36 19.45 19.45 0.00 0.00 0.00 0.00 11:24:21 11:24:21 11:24:21 ---> sar -P ALL: 11:24:21 Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-7293) 02/21/24 _x86_64_ (4 CPU) 11:24:21 11:24:21 11:19:05 LINUX RESTART (4 CPU) 11:24:21 11:24:21 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:24:21 11:21:01 all 24.37 0.00 1.77 5.80 0.06 67.99 11:24:21 11:21:01 0 16.72 0.00 1.22 1.42 0.05 80.60 11:24:21 11:21:01 1 20.54 0.00 1.67 5.32 0.08 72.39 11:24:21 11:21:01 2 35.85 0.00 2.19 3.30 0.07 58.60 11:24:21 11:21:01 3 24.40 0.00 2.03 13.22 0.07 60.29 11:24:21 11:22:01 all 56.33 0.00 1.44 3.53 0.11 38.59 11:24:21 11:22:01 0 50.25 0.00 1.49 2.44 0.10 45.72 11:24:21 11:22:01 1 59.82 0.00 1.58 3.23 0.10 35.27 11:24:21 11:22:01 2 58.84 0.00 0.82 5.51 0.12 34.71 11:24:21 11:22:01 3 56.44 0.00 1.81 2.94 0.12 38.70 11:24:21 11:23:01 all 33.80 0.00 0.51 1.20 0.08 64.41 11:24:21 11:23:01 0 29.06 0.00 0.60 0.03 0.08 70.22 11:24:21 11:23:01 1 35.11 0.00 0.53 0.00 0.07 64.29 11:24:21 11:23:01 2 36.52 0.00 0.38 4.77 0.07 58.26 11:24:21 11:23:01 3 34.51 0.00 0.58 0.00 0.08 64.82 11:24:21 11:24:01 all 46.19 0.00 1.23 0.40 0.08 52.10 11:24:21 11:24:01 0 40.63 0.00 1.19 0.12 0.08 57.99 11:24:21 11:24:01 1 53.19 0.00 1.10 0.15 0.08 45.48 11:24:21 11:24:01 2 28.87 0.00 1.22 1.14 0.08 68.69 11:24:21 11:24:01 3 62.04 0.00 1.37 0.23 0.08 36.28 11:24:21 Average: all 40.17 0.00 1.24 2.73 0.08 55.78 11:24:21 Average: 0 34.15 0.00 1.12 1.00 0.08 63.65 11:24:21 Average: 1 42.16 0.00 1.22 2.17 0.08 54.37 11:24:21 Average: 2 40.01 0.00 1.15 3.68 0.08 55.08 11:24:21 Average: 3 44.36 0.00 1.45 4.09 0.09 50.02 11:24:21 11:24:21 11:24:21