Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-11979 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/policy-api-sonar The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/api > git init /w/workspace/policy-api-sonar # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/api > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/api +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/policy/api # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 6388f211f164d892820f3a6c0069d2489d9cabc2 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6388f211f164d892820f3a6c0069d2489d9cabc2 # timeout=10 Commit message: "Update snapshot and/or references of policy/api to latest snapshots" > git rev-list --no-walk 6388f211f164d892820f3a6c0069d2489d9cabc2 # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [policy-api-sonar] $ /bin/bash /tmp/jenkins3374764645566407853.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7C2v lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-7C2v/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-7C2v/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.18 botocore==1.34.18 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [policy-api-sonar] $ /bin/sh -xe /tmp/jenkins1747350181774236117.sh + echo Using SonarCloud Using SonarCloud [policy-api-sonar] $ /bin/sh -xe /tmp/jenkins4012476912869051033.sh + echo quiet=on 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-11979 [policy-api-sonar] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=policy/api -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=policy/api -Dsha1=origin/master -DMAVEN_OPTS= -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [policy-api-sonar] $ /bin/sh -xe /tmp/jenkins3805595497366824925.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-sonar] $ /bin/sh /tmp/jenkins7384568760165020416.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_policy-api [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/policy-api-sonar@tmp/config8196056261559324069tmp copy managed file [policy-api-settings] to file:/w/workspace/policy-api-sonar@tmp/config230728398797835243tmp [policy-api-sonar] $ /bin/bash -l /tmp/jenkins1786459277771376870.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/policy-api-sonar@tmp/config8196056261559324069tmp --settings /w/workspace/policy-api-sonar@tmp/config230728398797835243tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Picked up _JAVA_OPTIONS: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] policy-api [pom] [INFO] api-main [jar] [INFO] api-packages [pom] [INFO] policy-api-tarball [jar] [INFO] api-testsuites [pom] [INFO] api-stability [jar] [INFO] api-performance [jar] [INFO] [INFO] -------------------< org.onap.policy.api:policy-api >------------------- [INFO] Building policy-api 3.1.1-SNAPSHOT [1/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api --- [INFO] Installing /w/workspace/policy-api-sonar/pom.xml to /tmp/r/org/onap/policy/api/policy-api/3.1.1-SNAPSHOT/policy-api-3.1.1-SNAPSHOT.pom [INFO] [INFO] --------------------< org.onap.policy.api:api-main >-------------------- [INFO] Building api-main 3.1.1-SNAPSHOT [2/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-main --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-main --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-main --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-main --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/main/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- swagger-codegen-maven-plugin:3.0.46:generate (code-gen) @ api-main --- [WARNING] Output directory does not exist, or is inaccessible. No file (.swagger-codegen-ignore) will be evaluated. [INFO] Set base package to invoker package (org.onap.policy.api.main.rest) [INFO] writing file /w/workspace/policy-api-sonar/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/PolicyDesignApi.java [INFO] writing file /w/workspace/policy-api-sonar/main/target/generated-sources/swagger/src/gen/java/org/onap/policy/api/main/rest/genapi/ToscaNodeTemplateDesignApi.java [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-main --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-main --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-main --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 4 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-main --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 31 source files with javac [debug release 17] to target/classes [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-main --- [INFO] Copying 20 resources from src/test/resources to target/test-classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-main --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 16 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-main --- [INFO] Surefire report directory: /w/workspace/policy-api-sonar/main/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.onap.policy.api.contract.ApiContractTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.4) 2024-01-13T17:49:27.547Z WARN 2564 --- [ main] ory$DuplicateJsonObjectContextCustomizer : Found multiple occurrences of org.json.JSONObject on the class path: jar:file:/tmp/r/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class jar:file:/tmp/r/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class You may wish to exclude one of them to ensure predictable runtime behavior 2024-01-13T17:49:27.572Z INFO 2564 --- [ main] o.o.policy.api.contract.ApiContractTest : Starting ApiContractTest using Java 17.0.4 with PID 2564 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-01-13T17:49:27.573Z INFO 2564 --- [ main] o.o.policy.api.contract.ApiContractTest : The following 2 profiles are active: "test", "stub" 2024-01-13T17:49:29.159Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-13T17:49:29.233Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 65 ms. Found 6 JPA repository interfaces. 2024-01-13T17:49:29.592Z WARN 2564 --- [ 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 2024-01-13T17:49:29.592Z WARN 2564 --- [ 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 2024-01-13T17:49:30.196Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-13T17:49:30.213Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-13T17:49:30.213Z INFO 2564 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.16] 2024-01-13T17:49:30.301Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-01-13T17:49:30.303Z INFO 2564 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2694 ms 2024-01-13T17:49:30.764Z INFO 2564 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-13T17:49:30.826Z INFO 2564 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.3.0.CR1 2024-01-13T17:49:30.829Z INFO 2564 --- [ main] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 2024-01-13T17:49:30.867Z INFO 2564 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-01-13T17:49:31.157Z INFO 2564 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-01-13T17:49:31.176Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-01-13T17:49:31.470Z INFO 2564 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-01-13T17:49:31.472Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-01-13T17:49:31.501Z WARN 2564 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2024-01-13T17:49:33.379Z INFO 2564 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2024-01-13T17:49:33.659Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:49:34.799Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-01-13T17:49:35.515Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-01-13T17:49:36.632Z WARN 2564 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-01-13T17:49:36.811Z INFO 2564 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2e15c3bb, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1f14ebc5, org.springframework.security.web.context.SecurityContextHolderFilter@228cc217, org.springframework.security.web.header.HeaderWriterFilter@1abb07a5, org.springframework.security.web.authentication.logout.LogoutFilter@2add795, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@20c63cab, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@72b625b1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@776c9dc8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4e8a5555, org.springframework.security.web.access.ExceptionTranslationFilter@68365db9, org.springframework.security.web.access.intercept.AuthorizationFilter@edbf280] 2024-01-13T17:49:37.740Z INFO 2564 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-01-13T17:49:38.144Z INFO 2564 --- [ 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] 2024-01-13T17:49:38.177Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 37049 (https) with context path '/policy/api/v1' 2024-01-13T17:49:38.199Z INFO 2564 --- [ main] o.o.policy.api.contract.ApiContractTest : Started ApiContractTest in 11.138 seconds (process running for 14.86) OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2024-01-13T17:49:39.237Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:39.246Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:39.495Z INFO 2564 --- [o-auto-1-exec-9] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-01-13T17:49:39.496Z INFO 2564 --- [o-auto-1-exec-9] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-01-13T17:49:39.497Z INFO 2564 --- [o-auto-1-exec-9] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-01-13T17:49:39.829Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:39.831Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:39.987Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:39.989Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.125Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.127Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.258Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.260Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.404Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.406Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.531Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.539Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.671Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.679Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.806Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.808Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.930Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:40.932Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.058Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.059Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.190Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.192Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.364Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.366Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.493Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.494Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.603Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.605Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.716Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.720Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.839Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.841Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:41.993Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:41.994Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:42.102Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:42.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:42.220Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.221Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.330Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.331Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.430Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.431Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.550Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.551Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.661Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.662Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:42.762Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-13T17:49:42.763Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-01-13T17:49:42.773Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:49:42.775Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-01-13T17:49:42.776Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.24 s -- in org.onap.policy.api.contract.ApiContractTest [INFO] Running org.onap.policy.api.main.rest.TestApiRestServer . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.4) 2024-01-13T17:49:42.838Z WARN 2564 --- [ main] ory$DuplicateJsonObjectContextCustomizer : Found multiple occurrences of org.json.JSONObject on the class path: jar:file:/tmp/r/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class jar:file:/tmp/r/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class You may wish to exclude one of them to ensure predictable runtime behavior 2024-01-13T17:49:42.840Z INFO 2564 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Starting TestApiRestServer using Java 17.0.4 with PID 2564 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-01-13T17:49:42.840Z INFO 2564 --- [ main] o.o.p.api.main.rest.TestApiRestServer : The following 2 profiles are active: "test", "default" 2024-01-13T17:49:43.104Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-13T17:49:43.115Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 6 JPA repository interfaces. 2024-01-13T17:49:43.164Z WARN 2564 --- [ 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 2024-01-13T17:49:43.165Z WARN 2564 --- [ 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 2024-01-13T17:49:43.282Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-13T17:49:43.283Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-13T17:49:43.283Z INFO 2564 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.16] 2024-01-13T17:49:43.298Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-01-13T17:49:43.298Z INFO 2564 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 456 ms 2024-01-13T17:49:43.412Z INFO 2564 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-13T17:49:43.414Z INFO 2564 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-01-13T17:49:43.417Z INFO 2564 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-01-13T17:49:43.417Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2024-01-13T17:49:43.419Z INFO 2564 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn10: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-01-13T17:49:43.420Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2024-01-13T17:49:43.420Z WARN 2564 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2024-01-13T17:49:43.870Z INFO 2564 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2024-01-13T17:49:43.962Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:49:44.410Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-01-13T17:49:44.691Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-01-13T17:49:45.359Z WARN 2564 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-01-13T17:49:45.401Z INFO 2564 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4b4ca66, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1f233658, org.springframework.security.web.context.SecurityContextHolderFilter@68932267, org.springframework.security.web.header.HeaderWriterFilter@2af2cb5c, org.springframework.security.web.authentication.logout.LogoutFilter@7b712315, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6e0ea048, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5398ce55, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@36143d8d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6eb14e75, org.springframework.security.web.access.ExceptionTranslationFilter@3acc8bb, org.springframework.security.web.access.intercept.AuthorizationFilter@762f263d] 2024-01-13T17:49:45.711Z INFO 2564 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-01-13T17:49:45.745Z INFO 2564 --- [ 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] 2024-01-13T17:49:45.750Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 39667 (https) with context path '/policy/api/v1' 2024-01-13T17:49:45.759Z INFO 2564 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Started TestApiRestServer in 2.958 seconds (process running for 22.419) 2024-01-13T17:49:45.780Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:45.781Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:45.801Z INFO 2564 --- [o-auto-2-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-01-13T17:49:45.801Z INFO 2564 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-01-13T17:49:45.802Z INFO 2564 --- [o-auto-2-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-01-13T17:49:46.212Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:46.213Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:46.480Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:46.481Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:46.743Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:46.746Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.011Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.013Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.231Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.232Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.466Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.467Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:47.695Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:47.696Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:47.822Z INFO 2564 --- [o-auto-2-exec-8] o.o.p.c.u.services.OrderedServiceImpl : ***** OrderedServiceImpl implementers: [] 2024-01-13T17:49:47.823Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:48.048Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:48.050Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:48.249Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:48.250Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:48.344Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policies] {"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"} 2024-01-13T17:49:48.576Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:48.576Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:48.676Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policies] {"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"} 2024-01-13T17:49:48.891Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:48.892Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:49.111Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:49.112Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:49.358Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:49.359Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:49.454Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policies] {"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"} 2024-01-13T17:49:49.655Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:49.655Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:49.877Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:49.879Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.102Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:50.103Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:50.218Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:50.219Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:50.316Z WARN 2564 --- [-auto-2-exec-10] 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 2024-01-13T17:49:50.363Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.364Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.459Z WARN 2564 --- [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 2024-01-13T17:49:50.482Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.484Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.596Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:50.891Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.892Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:50.981Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:49:51.176Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.177Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.271Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:51.456Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.457Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.550Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:51.765Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.765Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:51.862Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:52.057Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.057Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.156Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:52.348Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.349Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.449Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:52.646Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.647Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.746Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:52.943Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:52.943Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.044Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:53.234Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.235Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.326Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:53.505Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.506Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.596Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:53.780Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.781Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:53.872Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:54.073Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.074Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.162Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:54.344Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.345Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.438Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:54.619Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.620Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.713Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:54.884Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.885Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:54.973Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:55.153Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:55.154Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:55.247Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:55.420Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:55.420Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:55.511Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:49:55.694Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:55.695Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:55.784Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:49:55.948Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:55.952Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:56.042Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:49:56.241Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:56.242Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:56.334Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:49:56.499Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:56.500Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:49:56.701Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:56.702Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:56.799Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:56.992Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:56.993Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.086Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:49:57.253Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.253Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.344Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:57.521Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.521Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.610Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:57.799Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.804Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:57.904Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:58.071Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.071Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.159Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:58.320Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.320Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.414Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:58.585Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.586Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.681Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:58.843Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.844Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:58.938Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:59.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.198Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:59.357Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.358Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.451Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:59.616Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.616Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.704Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:49:59.874Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.874Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:49:59.964Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:00.135Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.136Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.229Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:00.410Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.410Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.504Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:00.670Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.671Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.760Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:00.918Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:00.922Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:01.016Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:01.186Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:01.187Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:01.280Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:01.446Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:01.447Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:01.547Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:01.711Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:01.711Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:01.801Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:01.959Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:01.960Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.054Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:02.210Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.211Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.402Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.403Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.492Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:02.661Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.661Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.748Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:02.909Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:02.909Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.003Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:03.177Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.178Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.279Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:03.450Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.450Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.540Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:03.699Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.709Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.805Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:03.977Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:03.978Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.068Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:04.233Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.234Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.329Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:04.487Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.487Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.591Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:04.746Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.747Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.838Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:04.989Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:04.989Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.082Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:05.247Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.248Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.336Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:05.493Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.493Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.583Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:05.745Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.746Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.834Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:05.984Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:05.984Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:06.080Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:06.246Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:06.247Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:06.342Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:06.504Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:06.504Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:06.609Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:06.777Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:06.778Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:06.865Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:07.018Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:07.019Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:07.112Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:07.263Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:07.263Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:07.358Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:07.516Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:07.517Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:07.604Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:07.758Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:07.759Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:08.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.203Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:08.374Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.375Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.470Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:08.627Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.628Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.727Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:08.893Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.894Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:08.989Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:09.146Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.147Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.236Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:09.391Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.391Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.486Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:09.648Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.649Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.742Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:09.897Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.897Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:09.983Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:10.131Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.132Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.218Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:10.372Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.373Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.469Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:10.628Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.628Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.722Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:10.876Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.877Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:10.963Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:11.121Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.121Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.207Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:11.357Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.358Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.451Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:11.612Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.613Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.710Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:11.872Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.872Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:11.966Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:12.123Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:12.123Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:12.216Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:12.376Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:12.376Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:12.472Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:12.629Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:12.630Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:12.727Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:12.883Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:12.884Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:12.984Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:13.145Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:13.146Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:13.237Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:13.399Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:13.400Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:13.738Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:13.738Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:13.831Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policies] {"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"} 2024-01-13T17:50:13.997Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:13.998Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.106Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policies] {"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"} 2024-01-13T17:50:14.269Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.270Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.360Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policies] {"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"} 2024-01-13T17:50:14.445Z WARN 2564 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : POST /policies 2024-01-13T17:50:14.467Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.468Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.563Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:14.742Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.742Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.828Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:14.994Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:14.994Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.090Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:15.254Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.255Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.345Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:15.516Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.516Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.609Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:15.787Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.788Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:15.876Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:16.037Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.037Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.131Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:16.296Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.297Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.387Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:16.554Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.555Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.649Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:16.818Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.819Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:16.919Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:17.085Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.085Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.178Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:17.345Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.345Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.437Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:17.594Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.594Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.684Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:17.850Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.851Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:17.941Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:18.105Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.105Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.198Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:18.363Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.364Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.458Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:18.619Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.619Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:18.714Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:18.880Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:18.881Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:18.969Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:19.127Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:19.128Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:19.220Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:19.387Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:19.388Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:19.476Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:19.645Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:19.645Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:19.742Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:19.933Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:19.934Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.115Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.116Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.219Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.220Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.340Z WARN 2564 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : GET /policies/onap.restart.tca/versions/1.0.0 2024-01-13T17:50:20.349Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.350Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.444Z WARN 2564 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : DELETE /policies/onap.restart.tca/versions/1.0.0 2024-01-13T17:50:20.459Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.459Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:20.549Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:20.762Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:20.763Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:20.863Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:21.026Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:21.027Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:21.113Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:21.281Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:21.282Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:21.374Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:21.539Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:21.540Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.148Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.148Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.326Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.327Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.515Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.515Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.695Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.696Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.810Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.811Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:22.899Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:23.069Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:23.070Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:23.163Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:23.325Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:23.326Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:23.419Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:23.594Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:23.595Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:23.687Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:23.851Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:23.851Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.492Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.492Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.700Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.701Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.903Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:24.904Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:25.088Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:25.089Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:25.203Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:25.203Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:25.429Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:25.430Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.482Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.483Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.692Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.693Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.864Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:27.865Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.047Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.048Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.192Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.192Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.338Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.339Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.468Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:28.468Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:29.735Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:29.736Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:29.906Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:29.907Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:30.080Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:30.081Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:30.266Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:30.266Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:30.472Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:30.472Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.498Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.498Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.718Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.719Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.887Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:32.888Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.060Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.060Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.248Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.248Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.393Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.393Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.531Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.532Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.698Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.698Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.871Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:33.871Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.039Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.040Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.218Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.218Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.305Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:34.465Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.465Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.561Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:34.727Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.727Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.818Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:34.978Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:34.979Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.069Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:35.232Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.233Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.324Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:35.488Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.488Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.579Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:35.750Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.750Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:35.840Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:36.002Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.003Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.101Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:36.265Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.266Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.357Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:36.515Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.515Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.608Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:36.770Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.771Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:36.863Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:37.023Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.023Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.116Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:37.278Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.279Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.368Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:37.528Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.529Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.613Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:37.777Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.777Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:37.870Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:38.031Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.031Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.122Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:38.292Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.292Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.388Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:38.546Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:38.546Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:38.635Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:38.793Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.794Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:38.890Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:39.050Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:39.051Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:39.148Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:39.314Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:39.315Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:39.412Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:39.578Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:39.578Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:40.175Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.175Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.270Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:40.431Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.431Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.521Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:40.686Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.686Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.781Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:40.939Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:40.940Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.035Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:41.203Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.204Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.296Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:41.460Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.460Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.559Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:41.723Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.724Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.818Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:41.977Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:41.978Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.068Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:42.231Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.231Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.326Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:42.484Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.484Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.579Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:42.747Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.747Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:42.839Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:42.999Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.000Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.090Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:43.250Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.251Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.346Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:43.509Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.509Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.606Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:43.769Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.770Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:43.861Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:44.035Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.036Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.128Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:44.288Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.288Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.381Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:44.546Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:44.547Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:44.643Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:44.801Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.802Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:44.897Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:45.065Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:45.066Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:45.163Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:45.321Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:45.321Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:45.407Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:45.566Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:45.566Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.173Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.174Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.272Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:46.442Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.443Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.536Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policies] {"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"} 2024-01-13T17:50:46.724Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:46.724Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:46.815Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:46.982Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:46.983Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.077Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:47.236Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:47.237Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:47.326Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:47.490Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.491Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.598Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:47.760Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.761Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.851Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:50:47.901Z WARN 2564 --- [o-auto-2-exec-6] o.o.p.a.main.rest.CommonRestController : POST /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 2024-01-13T17:50:47.912Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:47.912Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.003Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:48.166Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.166Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.257Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:48.431Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.432Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.530Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:48.687Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.687Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.772Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:48.937Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:48.938Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.035Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:49.197Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.197Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.290Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:49.457Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.458Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.549Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:49.706Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.707Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.797Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:49.963Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:49.964Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.061Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:50.221Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.221Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.308Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:50.476Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.477Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.569Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:50.735Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.735Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.823Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:50.995Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:50.995Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.085Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:51.252Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.253Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.347Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:51.520Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.520Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.625Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:51.785Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.785Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:51.876Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:52.046Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:52.046Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:52.138Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:52.299Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:52.299Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.407Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.407Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.504Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"name":"NULL","version":"0.0.0"} 2024-01-13T17:50:54.505Z WARN 2564 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : POST /policytypes 2024-01-13T17:50:54.523Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.527Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.644Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:54.645Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:54.747Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.747Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:54.846Z WARN 2564 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 2024-01-13T17:50:54.854Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:54.854Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:54.955Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:55.116Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.116Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.255Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.256Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.380Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.380Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:50:55.507Z WARN 2564 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 2024-01-13T17:50:55.519Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:55.520Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:55.615Z WARN 2564 --- [o-auto-2-exec-1] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 2024-01-13T17:50:55.624Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:55.624Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:55.720Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:55.886Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:55.887Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.027Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.027Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.153Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.154Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.281Z WARN 2564 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 2024-01-13T17:50:56.291Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.291Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.384Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:56.552Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.552Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.645Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:50:56.802Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.803Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:56.897Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:57.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.104Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.201Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:57.389Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.390Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.483Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:57.652Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.653Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.743Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:57.912Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:57.912Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.005Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:58.173Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.173Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.274Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:58.437Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.438Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.522Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:58.680Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.680Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.777Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:58.936Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:58.936Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.037Z INFO 2564 --- [o-auto-2-exec-7] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:59.219Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.220Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.314Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:59.484Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.484Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.577Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:50:59.748Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.748Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:50:59.843Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:00.007Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.007Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.105Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:00.268Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.269Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.360Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:00.530Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.531Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:00.622Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:00.782Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:00.782Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:00.869Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:01.026Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:01.026Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:01.119Z INFO 2564 --- [o-auto-2-exec-6] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:01.279Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:01.280Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:01.371Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:01.530Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:01.531Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:01.625Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:01.788Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:01.789Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:01.893Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:01.894Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:02.021Z WARN 2564 --- [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 2024-01-13T17:51:02.029Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:02.029Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:02.154Z WARN 2564 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 2024-01-13T17:51:02.162Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:02.162Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:02.291Z WARN 2564 --- [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 2024-01-13T17:51:02.300Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.301Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.396Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:02.565Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.565Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.656Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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":"DMAAP 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"} 2024-01-13T17:51:02.814Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.815Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:02.902Z INFO 2564 --- [o-auto-2-exec-3] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:03.065Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.065Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.157Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:03.320Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.320Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.407Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:03.570Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.570Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.661Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:03.822Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.823Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:03.915Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:04.082Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.082Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.177Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:04.344Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.345Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.431Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:04.596Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.597Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.694Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:04.851Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.851Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:04.947Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:05.117Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.117Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.215Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:05.379Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.379Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.476Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:05.644Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.645Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.736Z INFO 2564 --- [o-auto-2-exec-8] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:05.898Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.899Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:05.992Z INFO 2564 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:06.156Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:06.156Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:06.250Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:06.407Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:06.408Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:06.502Z INFO 2564 --- [o-auto-2-exec-5] network : [IN|REST|/policytypes] {"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"} 2024-01-13T17:51:06.664Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:06.664Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:06.752Z INFO 2564 --- [o-auto-2-exec-9] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:06.910Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:06.910Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.006Z INFO 2564 --- [o-auto-2-exec-4] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:07.173Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:07.173Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:07.267Z INFO 2564 --- [-auto-2-exec-10] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:07.425Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.426Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.522Z INFO 2564 --- [o-auto-2-exec-2] network : [IN|REST|/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies] {"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"} 2024-01-13T17:51:07.686Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.686Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.783Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.784Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.903Z WARN 2564 --- [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/1.0.0 2024-01-13T17:51:07.911Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:07.911Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:08.031Z WARN 2564 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 2024-01-13T17:51:08.039Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:08.040Z INFO 2564 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-01-13T17:51:08.165Z WARN 2564 --- [o-auto-2-exec-4] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 2024-01-13T17:51:08.178Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:08.178Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:08.445Z WARN 2564 --- [o-auto-2-exec-2] 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 2024-01-13T17:51:09.113Z WARN 2564 --- [o-auto-2-exec-2] 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 2024-01-13T17:51:12.049Z INFO 2564 --- [o-auto-2-exec-2] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 3769 ms 2024-01-13T17:51:12.091Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-13T17:51:12.091Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-01-13T17:51:12.104Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:51:12.104Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 2024-01-13T17:51:12.105Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.32 s -- in org.onap.policy.api.main.rest.TestApiRestServer [INFO] Running org.onap.policy.api.main.rest.TestCommonRestController [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in org.onap.policy.api.main.rest.TestCommonRestController [INFO] Running org.onap.policy.api.main.rest.TestNodeTemplateController . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.4) 2024-01-13T17:51:12.159Z WARN 2564 --- [ main] ory$DuplicateJsonObjectContextCustomizer : Found multiple occurrences of org.json.JSONObject on the class path: jar:file:/tmp/r/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class jar:file:/tmp/r/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class You may wish to exclude one of them to ensure predictable runtime behavior 2024-01-13T17:51:12.161Z INFO 2564 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Starting TestNodeTemplateController using Java 17.0.4 with PID 2564 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-01-13T17:51:12.161Z INFO 2564 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : The following 2 profiles are active: "test", "default" 2024-01-13T17:51:12.379Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-13T17:51:12.388Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 6 JPA repository interfaces. 2024-01-13T17:51:12.427Z WARN 2564 --- [ 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 2024-01-13T17:51:12.427Z WARN 2564 --- [ 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 2024-01-13T17:51:12.515Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-13T17:51:12.516Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-13T17:51:12.516Z INFO 2564 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.16] 2024-01-13T17:51:12.528Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-01-13T17:51:12.528Z INFO 2564 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 365 ms 2024-01-13T17:51:12.617Z INFO 2564 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-13T17:51:12.619Z INFO 2564 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-01-13T17:51:12.622Z INFO 2564 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-01-13T17:51:12.622Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2024-01-13T17:51:12.624Z INFO 2564 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-01-13T17:51:12.624Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2024-01-13T17:51:12.624Z WARN 2564 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2024-01-13T17:51:13.067Z INFO 2564 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2024-01-13T17:51:13.122Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:51:13.470Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-01-13T17:51:13.592Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-01-13T17:51:13.970Z WARN 2564 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-01-13T17:51:14.006Z INFO 2564 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@47b569c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@27f407d4, org.springframework.security.web.context.SecurityContextHolderFilter@50a00d76, org.springframework.security.web.header.HeaderWriterFilter@363071d0, org.springframework.security.web.authentication.logout.LogoutFilter@63e0d414, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@e45bd2a, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7363c57f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@670eb4f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@58cc21e1, org.springframework.security.web.access.ExceptionTranslationFilter@61d2868a, org.springframework.security.web.access.intercept.AuthorizationFilter@61de6ec7] 2024-01-13T17:51:14.333Z INFO 2564 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-01-13T17:51:14.364Z INFO 2564 --- [ 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] 2024-01-13T17:51:14.373Z INFO 2564 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 37831 (https) with context path '/policy/api/v1' 2024-01-13T17:51:14.380Z INFO 2564 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Started TestNodeTemplateController in 2.25 seconds (process running for 111.04) 2024-01-13T17:51:14.391Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.396Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.407Z INFO 2564 --- [o-auto-3-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-01-13T17:51:14.407Z INFO 2564 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-01-13T17:51:14.408Z INFO 2564 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-01-13T17:51:14.561Z INFO 2564 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:14.743Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.743Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.841Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.841Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.950Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:14.950Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.048Z WARN 2564 --- [o-auto-3-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /nodetemplates/invalid_template/versions/1.0.0 2024-01-13T17:51:15.075Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.075Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.171Z INFO 2564 --- [o-auto-3-exec-2] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:15.347Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.348Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.433Z INFO 2564 --- [o-auto-3-exec-1] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:15.448Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.448Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.548Z INFO 2564 --- [-auto-3-exec-10] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:15.549Z WARN 2564 --- [-auto-3-exec-10] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 2024-01-13T17:51:15.556Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.556Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.642Z INFO 2564 --- [o-auto-3-exec-8] network : [IN|REST|/nodetemplates] {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 2024-01-13T17:51:15.643Z WARN 2564 --- [o-auto-3-exec-8] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 2024-01-13T17:51:15.685Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.685Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.773Z INFO 2564 --- [o-auto-3-exec-6] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:15.942Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:15.943Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.031Z INFO 2564 --- [o-auto-3-exec-4] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:16.032Z WARN 2564 --- [o-auto-3-exec-4] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 2024-01-13T17:51:16.039Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.040Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.130Z INFO 2564 --- [o-auto-3-exec-2] network : [IN|REST|/nodetemplates] {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 2024-01-13T17:51:16.131Z WARN 2564 --- [o-auto-3-exec-2] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 2024-01-13T17:51:16.156Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.157Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.251Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.251Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.341Z INFO 2564 --- [o-auto-3-exec-9] network : [IN|REST|/nodetemplates] {"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"} 2024-01-13T17:51:16.525Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.525Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.628Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.628Z INFO 2564 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-01-13T17:51:16.733Z INFO 2564 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-01-13T17:51:16.733Z INFO 2564 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-01-13T17:51:16.738Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:51:16.738Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated... 2024-01-13T17:51:16.739Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed. [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.619 s -- in org.onap.policy.api.main.rest.TestNodeTemplateController [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.630 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyTypeCrud [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateForNodeTemplate [INFO] Running org.onap.policy.api.main.service.TestPdpGroupService [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 s -- in org.onap.policy.api.main.service.TestPdpGroupService [INFO] Running org.onap.policy.api.main.service.TestPolicyService [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s -- in org.onap.policy.api.main.service.TestPolicyService [INFO] Running org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.362 s -- in org.onap.policy.api.main.service.TestToscaServiceTemplateServiceForPolicyCrud [INFO] Running org.onap.policy.api.main.service.TestPolicyTypeService [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.150 s -- in org.onap.policy.api.main.service.TestPolicyTypeService [INFO] Running org.onap.policy.api.main.service.TestNodeTemplateService [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 s -- in org.onap.policy.api.main.service.TestNodeTemplateService [INFO] Running org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.4) 2024-01-13T17:51:20.752Z WARN 2564 --- [ main] ory$DuplicateJsonObjectContextCustomizer : Found multiple occurrences of org.json.JSONObject on the class path: jar:file:/tmp/r/org/json/json/20231013/json-20231013.jar!/org/json/JSONObject.class jar:file:/tmp/r/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class You may wish to exclude one of them to ensure predictable runtime behavior 2024-01-13T17:51:20.754Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Starting ApiDatabaseInitializerTest using Java 17.0.4 with PID 2564 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-01-13T17:51:20.754Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : The following 1 profile is active: "test" 2024-01-13T17:51:21.183Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-01-13T17:51:21.203Z INFO 2564 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 6 JPA repository interfaces. 2024-01-13T17:51:21.300Z WARN 2564 --- [ 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 2024-01-13T17:51:21.301Z WARN 2564 --- [ 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 2024-01-13T17:51:21.490Z INFO 2564 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-01-13T17:51:21.494Z INFO 2564 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-01-13T17:51:21.499Z INFO 2564 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-01-13T17:51:21.500Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting... 2024-01-13T17:51:21.504Z INFO 2564 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection conn30: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-01-13T17:51:21.504Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed. 2024-01-13T17:51:21.505Z WARN 2564 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2024-01-13T17:51:22.264Z INFO 2564 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2024-01-13T17:51:22.453Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:51:23.410Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-01-13T17:51:23.847Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-01-13T17:51:24.858Z WARN 2564 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-01-13T17:51:24.986Z INFO 2564 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@18bfa6bb, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1a0034d6, org.springframework.security.web.context.SecurityContextHolderFilter@41e252b3, org.springframework.security.web.header.HeaderWriterFilter@40a3a222, org.springframework.security.web.authentication.logout.LogoutFilter@4d655d7f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5adb1cd6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1a2d174, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@43aefb3b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3628c8e8, org.springframework.security.web.access.ExceptionTranslationFilter@322e0c0f, org.springframework.security.web.access.intercept.AuthorizationFilter@7fd6929b] 2024-01-13T17:51:25.779Z INFO 2564 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-01-13T17:51:25.817Z INFO 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Started ApiDatabaseInitializerTest in 5.127 seconds (process running for 122.478) 2024-01-13T17:51:29.283Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 2024-01-13T17:51:31.502Z WARN 2564 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 2024-01-13T17:51:31.511Z INFO 2564 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-01-13T17:51:31.512Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated... 2024-01-13T17:51:31.521Z INFO 2564 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.86 s -- in org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiException [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in org.onap.policy.api.main.exception.TestPolicyApiException [INFO] Running org.onap.policy.api.main.exception.TestPolicyApiRuntimeException [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in org.onap.policy.api.main.exception.TestPolicyApiRuntimeException [INFO] [INFO] Results: [INFO] [INFO] Tests run: 66, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-main --- [INFO] Loading execution data file /w/workspace/policy-api-sonar/main/../target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'api-main' with 23 classes [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-main --- [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-main --- [INFO] Building jar: /w/workspace/policy-api-sonar/main/target/api-main-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.1.4:repackage (default) @ api-main --- [INFO] Replacing main artifact /w/workspace/policy-api-sonar/main/target/api-main-3.1.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /w/workspace/policy-api-sonar/main/target/api-main-3.1.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-main --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-main --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-main --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-main --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/main/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-main --- [INFO] Installing /w/workspace/policy-api-sonar/main/pom.xml to /tmp/r/org/onap/policy/api/api-main/3.1.1-SNAPSHOT/api-main-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-api-sonar/main/target/api-main-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/api/api-main/3.1.1-SNAPSHOT/api-main-3.1.1-SNAPSHOT.jar [INFO] [INFO] ------------------< org.onap.policy.api:api-packages >------------------ [INFO] Building api-packages 3.1.1-SNAPSHOT [3/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-packages --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-packages --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-packages --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-packages --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/packages/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-packages --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-packages --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-packages --- [INFO] Skipping JaCoCo execution due to missing classes directory. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-packages --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-packages --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-packages --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-packages --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-packages --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/packages/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-packages --- [INFO] Installing /w/workspace/policy-api-sonar/packages/pom.xml to /tmp/r/org/onap/policy/api/api-packages/3.1.1-SNAPSHOT/api-packages-3.1.1-SNAPSHOT.pom [INFO] [INFO] ---------------< org.onap.policy.api:policy-api-tarball >--------------- [INFO] Building policy-api-tarball 3.1.1-SNAPSHOT [4/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-api-tarball --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-api-tarball --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-api-tarball --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-api-tarball --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/packages/policy-api-tarball/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-api-tarball --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-api-tarball --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ policy-api-tarball --- [INFO] Copying 3 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ policy-api-tarball --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ policy-api-tarball --- [INFO] skip non existing resourceDirectory /w/workspace/policy-api-sonar/packages/policy-api-tarball/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ policy-api-tarball --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ policy-api-tarball --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-api-tarball --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-api-tarball --- [INFO] Analyzed bundle 'api-main' with 23 classes [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ policy-api-tarball --- [INFO] Building jar: /w/workspace/policy-api-sonar/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (generate-complete-tar) @ policy-api-tarball --- [INFO] Reading assembly descriptor: src/main/package/tarball/assembly.xml [INFO] Building tar: /w/workspace/policy-api-sonar/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-api-tarball --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-api-tarball --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-api-tarball --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-api-tarball --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/packages/policy-api-tarball/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-api-tarball --- [INFO] Installing /w/workspace/policy-api-sonar/packages/policy-api-tarball/pom.xml to /tmp/r/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-api-sonar/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT.jar [INFO] Installing /w/workspace/policy-api-sonar/packages/policy-api-tarball/target/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz to /tmp/r/org/onap/policy/api/policy-api-tarball/3.1.1-SNAPSHOT/policy-api-tarball-3.1.1-SNAPSHOT-tarball.tar.gz [INFO] [INFO] -----------------< org.onap.policy.api:api-testsuites >----------------- [INFO] Building api-testsuites 3.1.1-SNAPSHOT [5/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-testsuites --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-testsuites --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-testsuites --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-testsuites --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/testsuites/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-testsuites --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-testsuites --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-testsuites --- [INFO] Skipping JaCoCo execution due to missing classes directory. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-testsuites --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-testsuites --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-testsuites --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-testsuites --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-testsuites --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/testsuites/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-testsuites --- [INFO] Installing /w/workspace/policy-api-sonar/testsuites/pom.xml to /tmp/r/org/onap/policy/api/api-testsuites/3.1.1-SNAPSHOT/api-testsuites-3.1.1-SNAPSHOT.pom [INFO] [INFO] -----------------< org.onap.policy.api:api-stability >------------------ [INFO] Building api-stability 3.1.1-SNAPSHOT [6/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-stability --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-stability --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-stability --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-stability --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/testsuites/stability/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-stability --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-stability --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-stability --- [INFO] Copying 8 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-stability --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-stability --- [INFO] skip non existing resourceDirectory /w/workspace/policy-api-sonar/testsuites/stability/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-stability --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-stability --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-stability --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-stability --- [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-stability --- [INFO] Building jar: /w/workspace/policy-api-sonar/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-stability --- [INFO] Reading assembly descriptor: src/assembly/assembly.xml [INFO] Building zip: /w/workspace/policy-api-sonar/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT-stability.zip [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-stability --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-stability --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-stability --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-stability --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/testsuites/stability/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-stability --- [INFO] Installing /w/workspace/policy-api-sonar/testsuites/stability/pom.xml to /tmp/r/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-api-sonar/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT.jar [INFO] Installing /w/workspace/policy-api-sonar/testsuites/stability/target/api-stability-3.1.1-SNAPSHOT-stability.zip to /tmp/r/org/onap/policy/api/api-stability/3.1.1-SNAPSHOT/api-stability-3.1.1-SNAPSHOT-stability.zip [INFO] [INFO] ----------------< org.onap.policy.api:api-performance >----------------- [INFO] Building api-performance 3.1.1-SNAPSHOT [7/7] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ api-performance --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ api-performance --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ api-performance --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ api-performance --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-api-sonar/testsuites/performance/../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ api-performance --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ api-performance --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-performance --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ api-performance --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-performance --- [INFO] skip non existing resourceDirectory /w/workspace/policy-api-sonar/testsuites/performance/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ api-performance --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ api-performance --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ api-performance --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ api-performance --- [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-performance --- [INFO] Building jar: /w/workspace/policy-api-sonar/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (create-distribution) @ api-performance --- [INFO] Reading assembly descriptor: src/assembly/assembly.xml [INFO] Building zip: /w/workspace/policy-api-sonar/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT-performance.zip [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ api-performance --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ api-performance --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ api-performance --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ api-performance --- [INFO] Failsafe report directory: /w/workspace/policy-api-sonar/testsuites/performance/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ api-performance --- [INFO] Installing /w/workspace/policy-api-sonar/testsuites/performance/pom.xml to /tmp/r/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-api-sonar/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT.jar [INFO] Installing /w/workspace/policy-api-sonar/testsuites/performance/target/api-performance-3.1.1-SNAPSHOT-performance.zip to /tmp/r/org/onap/policy/api/api-performance/3.1.1-SNAPSHOT/api-performance-3.1.1-SNAPSHOT-performance.zip [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for policy-api 3.1.1-SNAPSHOT: [INFO] [INFO] policy-api ......................................... SUCCESS [ 11.130 s] [INFO] api-main ........................................... SUCCESS [02:22 min] [INFO] api-packages ....................................... SUCCESS [ 0.248 s] [INFO] policy-api-tarball ................................. SUCCESS [ 0.649 s] [INFO] api-testsuites ..................................... SUCCESS [ 0.150 s] [INFO] api-stability ...................................... SUCCESS [ 0.454 s] [INFO] api-performance .................................... SUCCESS [ 0.348 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:37 min [INFO] Finished at: 2024-01-13T17:51:35Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk17 '!=' openjdk17 ']' + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/policy-api-sonar@tmp/config8196056261559324069tmp --settings /w/workspace/policy-api-sonar@tmp/config230728398797835243tmp -Dsonar.projectKey=onap_policy-api -Dsonar.organization=onap -Dsonar.login=**** --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] policy-api [pom] [INFO] api-main [jar] [INFO] api-packages [pom] [INFO] policy-api-tarball [jar] [INFO] api-testsuites [pom] [INFO] api-stability [jar] [INFO] api-performance [jar] [INFO] [INFO] -------------------< org.onap.policy.api:policy-api >------------------- [INFO] Building policy-api 3.1.1-SNAPSHOT [1/7] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.9.1.2184:sonar (default-cli) @ policy-api --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 8.0.0.51948 [INFO] Module MavenProject: org.onap.policy.api:api-packages:3.1.1-SNAPSHOT @ /w/workspace/policy-api-sonar/packages/pom.xml skipped by property 'sonar.skip' [INFO] Module MavenProject: org.onap.policy.api:policy-api-tarball:3.1.1-SNAPSHOT @ /w/workspace/policy-api-sonar/packages/policy-api-tarball/pom.xml skipped by property 'sonar.skip' [INFO] Module MavenProject: org.onap.policy.api:api-testsuites:3.1.1-SNAPSHOT @ /w/workspace/policy-api-sonar/testsuites/pom.xml skipped by property 'sonar.skip' [INFO] Module MavenProject: org.onap.policy.api:api-stability:3.1.1-SNAPSHOT @ /w/workspace/policy-api-sonar/testsuites/stability/pom.xml skipped by property 'sonar.skip' [INFO] Module MavenProject: org.onap.policy.api:api-performance:3.1.1-SNAPSHOT @ /w/workspace/policy-api-sonar/testsuites/performance/pom.xml skipped by property 'sonar.skip' [INFO] Default locale: "en", source code encoding: "UTF-8" [INFO] Load global settings [INFO] Load global settings (done) | time=484ms [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu [INFO] User cache: /home/jenkins/.sonar/cache [INFO] Loading required plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=209ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=694ms [INFO] Found an active CI vendor: 'Jenkins' [INFO] Load project settings for component key: 'onap_policy-api' [INFO] Load project settings for component key: 'onap_policy-api' (done) | time=156ms [INFO] Process project properties [INFO] Project key: onap_policy-api [INFO] Base dir: /w/workspace/policy-api-sonar [INFO] Working dir: /w/workspace/policy-api-sonar/target/sonar [INFO] Load project branches [INFO] Load project branches (done) | time=383ms [INFO] Check ALM binding of project 'onap_policy-api' [INFO] Detected project binding: NOT_BOUND [INFO] Check ALM binding of project 'onap_policy-api' (done) | time=167ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=174ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=6ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=254ms [INFO] Load active rules [INFO] Load active rules (done) | time=8251ms [INFO] Organization key: onap [WARNING] The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. [INFO] Preprocessing files... [INFO] 2 languages detected in 47 preprocessed files [INFO] 0 files ignored because of inclusion/exclusion patterns [INFO] 0 files ignored because of scm ignore settings [INFO] Loading plugins for detected languages [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=257ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=398ms [INFO] Indexing files... [INFO] Project configuration: [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'api-main' [INFO] Base dir: /w/workspace/policy-api-sonar/main [INFO] Source paths: pom.xml, src/main/java [INFO] Test paths: src/test/java [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'policy-api' [INFO] Base dir: /w/workspace/policy-api-sonar [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] 47 files indexed [INFO] Quality profile for java: ONAP way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module api-main [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=350ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (102 KB) | time=1296ms [INFO] Sensor JavaSensor [java] [INFO] Configured Java source version (sonar.java.source): 17, preview features enabled (sonar.java.enablePreview): false [INFO] Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] Using ECJ batch to parse 29 Main java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 29 files. [WARNING] Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] Using ECJ batch to parse 16 Test java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 16 files. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=3905ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=7ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/policy-api-sonar/main/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=106ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=108ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=28ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 46 source files to be analyzed [INFO] 46/46 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=844ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=2ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=58ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=4ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=1ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms [INFO] ------------- Run sensors on module policy-api [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=26ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-api-sonar/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=45ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=1ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=14ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=3ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=1ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] Sensor javabugs [dbd] [INFO] Reading IR files from: /w/workspace/policy-api-sonar/target/sonar/ir/java [INFO] No IR files have been included for analysis. [INFO] Sensor javabugs [dbd] (done) | time=3ms [INFO] Sensor pythonbugs [dbd] [INFO] Reading IR files from: /w/workspace/policy-api-sonar/target/sonar/ir/python [INFO] No IR files have been included for analysis. [INFO] Sensor pythonbugs [dbd] (done) | time=2ms [INFO] Sensor JavaSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-api-sonar/target/sonar/ucfg2/java [INFO] Read 208 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.051 [INFO] Load UCFGs: Starting [INFO] Reading UCFGs from: /w/workspace/policy-api-sonar/target/sonar/ucfg2/java [INFO] Load UCFGs: Time spent was 00:00:00.107 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.160 [INFO] Analyzing 109 UCFGs to detect vulnerabilities. [INFO] Check cache: Starting [INFO] Load cache: Starting [INFO] Load cache: Time spent was 00:00:00.000 [INFO] Check cache: Time spent was 00:00:00.001 [INFO] Create runtime call graph: Starting [INFO] Variable Type Analysis #1: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.023 [INFO] Run SCC (Tarjan) on 757 nodes: Starting [INFO] Run SCC (Tarjan) on 757 nodes: Time spent was 00:00:00.003 [INFO] Tarjan found 757 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.004 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.037 [INFO] Variable Type Analysis #2: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.008 [INFO] Run SCC (Tarjan) on 757 nodes: Starting [INFO] Run SCC (Tarjan) on 757 nodes: Time spent was 00:00:00.001 [INFO] Tarjan found 757 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.002 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.015 [INFO] Create runtime call graph: Time spent was 00:00:00.058 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:00.865 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.623 [INFO] No entry points found. [INFO] java security sensor: Time spent was 00:00:01.717 [INFO] java security sensor: Begin: 2024-01-13T17:52:00.006416938Z, End: 2024-01-13T17:52:01.723967453Z, Duration: 00:00:01.717 Load type hierarchy and UCFGs: Begin: 2024-01-13T17:52:00.009145812Z, End: 2024-01-13T17:52:00.169649820Z, Duration: 00:00:00.160 Load type hierarchy: Begin: 2024-01-13T17:52:00.009705893Z, End: 2024-01-13T17:52:00.060956554Z, Duration: 00:00:00.051 Load UCFGs: Begin: 2024-01-13T17:52:00.061819751Z, End: 2024-01-13T17:52:00.168875285Z, Duration: 00:00:00.107 Check cache: Begin: 2024-01-13T17:52:00.171084168Z, End: 2024-01-13T17:52:00.172505936Z, Duration: 00:00:00.001 Load cache: Begin: 2024-01-13T17:52:00.171425545Z, End: 2024-01-13T17:52:00.171748561Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-01-13T17:52:00.173153289Z, End: 2024-01-13T17:52:00.231344728Z, Duration: 00:00:00.058 Variable Type Analysis #1: Begin: 2024-01-13T17:52:00.174117278Z, End: 2024-01-13T17:52:00.211404554Z, Duration: 00:00:00.037 Create runtime type propagation graph: Begin: 2024-01-13T17:52:00.175227520Z, End: 2024-01-13T17:52:00.199024540Z, Duration: 00:00:00.023 Run SCC (Tarjan) on 757 nodes: Begin: 2024-01-13T17:52:00.200801375Z, End: 2024-01-13T17:52:00.204545189Z, Duration: 00:00:00.003 Propagate runtime types to strongly connected components: Begin: 2024-01-13T17:52:00.205984297Z, End: 2024-01-13T17:52:00.210256632Z, Duration: 00:00:00.004 Variable Type Analysis #2: Begin: 2024-01-13T17:52:00.214140908Z, End: 2024-01-13T17:52:00.229985271Z, Duration: 00:00:00.015 Create runtime type propagation graph: Begin: 2024-01-13T17:52:00.214653849Z, End: 2024-01-13T17:52:00.222878691Z, Duration: 00:00:00.008 Run SCC (Tarjan) on 757 nodes: Begin: 2024-01-13T17:52:00.223800799Z, End: 2024-01-13T17:52:00.225156456Z, Duration: 00:00:00.001 Propagate runtime types to strongly connected components: Begin: 2024-01-13T17:52:00.226580244Z, End: 2024-01-13T17:52:00.228909220Z, Duration: 00:00:00.002 Load config: Begin: 2024-01-13T17:52:00.232138084Z, End: 2024-01-13T17:52:01.097729335Z, Duration: 00:00:00.865 Compute entry points: Begin: 2024-01-13T17:52:01.098684674Z, End: 2024-01-13T17:52:01.722654716Z, Duration: 00:00:00.623 [INFO] java security sensor peak memory: 580 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=1732ms [INFO] Sensor CSharpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-api-sonar/target/ucfg2/cs [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] csharp security sensor: Time spent was 00:00:00.001 [INFO] Sensor CSharpSecuritySensor [security] (done) | time=2ms [INFO] Sensor PhpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-api-sonar/target/sonar/ucfg2/php [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] php security sensor: Time spent was 00:00:00.000 [INFO] Sensor PhpSecuritySensor [security] (done) | time=1ms [INFO] Sensor PythonSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-api-sonar/target/sonar/ucfg2/python [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] python security sensor: Time spent was 00:00:00.001 [INFO] Sensor PythonSecuritySensor [security] (done) | time=2ms [INFO] Sensor JsSecuritySensor [security] [INFO] Enabled taint analysis rules: S6096, S5883, S6287, S6105, S6350, S5334, S5147, S3649, S5131, S2076, S5146, S5144, S2631, S5696, S2083 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-api-sonar/target/sonar/ucfg2/js [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] js security sensor: Time spent was 00:00:00.000 [INFO] Sensor JsSecuritySensor [security] (done) | time=1ms [INFO] ------------- Run sensors on project [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=0ms [INFO] Sensor Java CPD Block Indexer [INFO] Sensor Java CPD Block Indexer (done) | time=84ms [INFO] CPD Executor 15 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 14 files [INFO] CPD Executor CPD calculation finished (done) | time=9ms [INFO] Analysis report generated in 162ms, dir size=645 KB [INFO] Analysis report compressed in 67ms, zip size=210 KB [INFO] Analysis report uploaded in 737ms [INFO] ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=onap_policy-api [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at https://sonarcloud.io/api/ce/task?id=AY0D88BtaFitCcXUKXjT [INFO] Sensor cache published successfully [INFO] Analysis total time: 22.650 s [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for policy-api 3.1.1-SNAPSHOT: [INFO] [INFO] policy-api ......................................... SUCCESS [ 27.054 s] [INFO] api-main ........................................... SKIPPED [INFO] api-packages ....................................... SKIPPED [INFO] policy-api-tarball ................................. SKIPPED [INFO] api-testsuites ..................................... SKIPPED [INFO] api-stability ...................................... SKIPPED [INFO] api-performance .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.722 s [INFO] Finished at: 2024-01-13T17:52:03Z [INFO] ------------------------------------------------------------------------ [policy-api-sonar] $ /bin/bash /tmp/jenkins9023727888115788767.sh [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Not] preventing perform for step [BuilderChain] [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in /w/workspace/policy-api-sonar that match the pattern **/findbugs.xml [FINDBUGS] No files found. Configuration error? The recommended git tool is: NONE using credential onap-jenkins-ssh Using GitBlamer to create author and commit information for all warnings. GIT_COMMIT=6388f211f164d892820f3a6c0069d2489d9cabc2, workspace=/w/workspace/policy-api-sonar [FINDBUGS] Computing warning deltas based on reference build #2040 [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-sonar] $ /bin/bash /tmp/jenkins17588967433499374803.sh ---> sysstat.sh [policy-api-sonar] $ /bin/bash /tmp/jenkins9825355375251089470.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/policy-api-sonar + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-sonar ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-sonar ']' + mkdir -p /w/workspace/policy-api-sonar/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-sonar/archives/ [policy-api-sonar] $ /bin/bash /tmp/jenkins1535098619911300700.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7C2v from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-7C2v/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-sonar] $ /bin/bash /tmp/jenkins4699863288311872973.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-sonar@tmp/config1011355844257683444tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-sonar] $ /bin/bash /tmp/jenkins18077236105382016749.sh ---> create-netrc.sh [policy-api-sonar] $ /bin/bash /tmp/jenkins15862933259447625988.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7C2v from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-7C2v/bin to PATH [policy-api-sonar] $ /bin/bash /tmp/jenkins17116802846670148723.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-sonar] $ /bin/bash /tmp/jenkins5560303983227477810.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7C2v from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-7C2v/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [policy-api-sonar] $ /bin/bash -l /tmp/jenkins12551077352796922579.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-sonar/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7C2v from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-7C2v/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-sonar/2041 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-4c-4g-11979 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 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 ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 672K 1.6G 1% /run /dev/vda1 78G 8.8G 69G 12% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 545 12772 0 2722 15174 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:3b:23:f7 brd ff:ff:ff:ff:ff:ff inet 10.30.107.151/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86068sec preferred_lft 86068sec inet6 fe80::f816:3eff:fe3b:23f7/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-11979) 01/13/24 _x86_64_ (4 CPU) 17:47:18 LINUX RESTART (4 CPU) 17:48:03 tps rtps wtps bread/s bwrtn/s 17:49:01 140.53 42.34 98.19 2675.03 26847.31 17:50:01 108.43 15.28 93.15 895.17 28382.54 17:51:01 11.66 0.00 11.66 0.00 15770.97 17:52:01 16.23 1.90 14.33 231.83 11344.64 Average: 68.61 14.65 53.97 935.94 20533.83 17:48:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:49:01 13797104 15505772 2627864 16.00 70092 1834276 909504 5.21 746040 1657444 122980 17:50:01 12066412 14040868 4358556 26.54 76488 2085060 2171196 12.43 2297268 1815040 192 17:51:01 12045132 14019996 4379836 26.67 76572 2085396 2171196 12.43 2317260 1815344 80 17:52:01 12223712 14651768 4201256 25.58 77812 2530320 1588608 9.09 1839072 2103768 326736 Average: 12533090 14554601 3891878 23.69 75241 2133763 1710126 9.79 1799910 1847899 112497 17:48:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:49:01 lo 0.90 0.90 0.10 0.10 0.00 0.00 0.00 0.00 17:49:01 ens3 93.26 60.26 1130.98 14.20 0.00 0.00 0.00 0.00 17:50:01 lo 43.27 43.27 27.09 27.09 0.00 0.00 0.00 0.00 17:50:01 ens3 360.65 288.37 3544.35 63.67 0.00 0.00 0.00 0.00 17:51:01 lo 111.48 111.48 37.00 37.00 0.00 0.00 0.00 0.00 17:51:01 ens3 28.75 30.59 11.44 18.37 0.00 0.00 0.00 0.00 17:52:01 lo 37.69 37.69 13.72 13.72 0.00 0.00 0.00 0.00 17:52:01 ens3 670.15 525.70 2880.14 145.51 0.00 0.00 0.00 0.00 Average: lo 48.74 48.74 19.64 19.64 0.00 0.00 0.00 0.00 Average: ens3 289.85 227.63 1898.22 60.83 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-11979) 01/13/24 _x86_64_ (4 CPU) 17:47:18 LINUX RESTART (4 CPU) 17:48:03 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 22.23 0.00 1.56 4.45 0.06 71.69 17:49:01 0 17.77 0.00 1.11 0.42 0.05 80.66 17:49:01 1 37.47 0.00 2.20 2.56 0.09 57.69 17:49:01 2 12.60 0.00 0.74 6.91 0.02 79.73 17:49:01 3 21.08 0.00 2.18 7.93 0.07 68.74 17:50:01 all 60.40 0.00 1.58 1.60 0.11 36.31 17:50:01 0 63.13 0.00 0.97 0.22 0.12 35.57 17:50:01 1 61.29 0.00 1.74 0.72 0.12 36.13 17:50:01 2 64.58 0.00 1.34 1.95 0.12 32.01 17:50:01 3 52.57 0.00 2.28 3.50 0.12 41.53 17:51:01 all 33.87 0.00 0.51 1.14 0.09 64.39 17:51:01 0 27.28 0.00 0.66 0.00 0.10 71.96 17:51:01 1 41.37 0.00 0.37 0.03 0.08 58.13 17:51:01 2 33.46 0.00 0.44 0.00 0.07 66.03 17:51:01 3 33.40 0.00 0.54 4.53 0.09 61.44 17:52:01 all 54.39 0.00 1.55 0.36 0.09 43.60 17:52:01 0 59.95 0.00 1.22 0.00 0.08 38.75 17:52:01 1 62.84 0.00 1.35 0.03 0.12 35.65 17:52:01 2 40.91 0.00 1.28 0.02 0.08 57.71 17:52:01 3 53.89 0.00 2.34 1.39 0.10 42.28 Average: all 42.94 0.00 1.30 1.87 0.09 53.80 Average: 0 42.33 0.00 0.99 0.16 0.09 56.44 Average: 1 50.90 0.00 1.41 0.83 0.10 46.76 Average: 2 38.12 0.00 0.96 2.19 0.07 58.66 Average: 3 40.42 0.00 1.84 4.31 0.09 53.34