Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-6208 (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 4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3 # timeout=10 Commit message: "update references in policy/api pom" > 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/jenkins16704064650817142785.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-CK2V 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-CK2V/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-CK2V/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.44 botocore==1.34.44 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 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.6.0 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.0 httplib2==0.22.0 identify==2.5.34 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.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.1.0 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==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 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.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 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.2 typing_extensions==4.9.0 tzdata==2024.1 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/jenkins5322799777954378305.sh + echo Using SonarCloud Using SonarCloud [policy-api-sonar] $ /bin/sh -xe /tmp/jenkins1659766331287855360.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-6208 [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/jenkins1870215974629015276.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/jenkins9817248006088499390.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/config6719239736225837837tmp copy managed file [policy-api-settings] to file:/w/workspace/policy-api-sonar@tmp/config3640237648403922904tmp [policy-api-sonar] $ /bin/bash -l /tmp/jenkins14942395911455137459.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/config6719239736225837837tmp --settings /w/workspace/policy-api-sonar@tmp/config3640237648403922904tmp --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.52: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.8) 2024-02-17T17:49:32.644Z WARN 2505 --- [ 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-02-17T17:49:32.663Z INFO 2505 --- [ main] o.o.policy.api.contract.ApiContractTest : Starting ApiContractTest using Java 17.0.4 with PID 2505 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-02-17T17:49:32.664Z INFO 2505 --- [ main] o.o.policy.api.contract.ApiContractTest : The following 2 profiles are active: "test", "stub" 2024-02-17T17:49:34.420Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-02-17T17:49:34.503Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 74 ms. Found 6 JPA repository interfaces. 2024-02-17T17:49:35.151Z WARN 2505 --- [ 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-02-17T17:49:35.152Z WARN 2505 --- [ 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-02-17T17:49:35.962Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-02-17T17:49:35.994Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-02-17T17:49:35.995Z INFO 2505 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-02-17T17:49:36.085Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-02-17T17:49:36.086Z INFO 2505 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3394 ms 2024-02-17T17:49:36.548Z INFO 2505 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-02-17T17:49:36.606Z INFO 2505 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.3.0.CR1 2024-02-17T17:49:36.609Z INFO 2505 --- [ main] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 2024-02-17T17:49:36.657Z INFO 2505 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-02-17T17:49:36.958Z INFO 2505 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-02-17T17:49:36.978Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-02-17T17:49:37.270Z INFO 2505 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-02-17T17:49:37.272Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-02-17T17:49:37.303Z WARN 2505 --- [ 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-02-17T17:49:39.306Z INFO 2505 --- [ 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-02-17T17:49:39.581Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:49:40.651Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-02-17T17:49:41.394Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-02-17T17:49:42.480Z WARN 2505 --- [ 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-02-17T17:49:42.651Z INFO 2505 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1837311, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5b704688, org.springframework.security.web.context.SecurityContextHolderFilter@fe7093a, org.springframework.security.web.header.HeaderWriterFilter@5acd62e1, org.springframework.security.web.authentication.logout.LogoutFilter@1ef9b791, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1a07948, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@23ab1522, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@53b0dc1c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@f535129, org.springframework.security.web.access.ExceptionTranslationFilter@1f14ebc5, org.springframework.security.web.access.intercept.AuthorizationFilter@22aecb24] 2024-02-17T17:49:43.441Z INFO 2505 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-02-17T17:49:43.846Z INFO 2505 --- [ 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-02-17T17:49:43.866Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 42145 (https) with context path '/policy/api/v1' 2024-02-17T17:49:43.892Z INFO 2505 --- [ main] o.o.policy.api.contract.ApiContractTest : Started ApiContractTest in 11.88 seconds (process running for 15.649) OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2024-02-17T17:49:44.842Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:44.851Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.025Z INFO 2505 --- [o-auto-1-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-02-17T17:49:45.026Z INFO 2505 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-02-17T17:49:45.027Z INFO 2505 --- [o-auto-1-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-02-17T17:49:45.361Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.364Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.506Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.509Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.632Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.634Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.747Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.751Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.884Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:45.888Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.011Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.012Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.132Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.134Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.255Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.257Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.384Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.386Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.512Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.514Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.631Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.633Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.796Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.803Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.930Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:46.931Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.045Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.047Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.172Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.175Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.286Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.287Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.419Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:47.421Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:47.529Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:47.530Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:47.644Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.645Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.755Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.757Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.871Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.873Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:47.997Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:48.000Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:48.115Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:48.116Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:48.231Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-02-17T17:49:48.232Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-02-17T17:49:48.247Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:49:48.250Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-02-17T17:49:48.253Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.98 s -- in org.onap.policy.api.contract.ApiContractTest [INFO] Running org.onap.policy.api.main.rest.TestApiRestServer . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.8) 2024-02-17T17:49:48.329Z WARN 2505 --- [ 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-02-17T17:49:48.331Z INFO 2505 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Starting TestApiRestServer using Java 17.0.4 with PID 2505 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-02-17T17:49:48.331Z INFO 2505 --- [ main] o.o.p.api.main.rest.TestApiRestServer : The following 2 profiles are active: "test", "default" 2024-02-17T17:49:48.618Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-02-17T17:49:48.629Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 6 JPA repository interfaces. 2024-02-17T17:49:48.673Z WARN 2505 --- [ 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-02-17T17:49:48.674Z WARN 2505 --- [ 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-02-17T17:49:48.790Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-02-17T17:49:48.791Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-02-17T17:49:48.791Z INFO 2505 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-02-17T17:49:48.806Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-02-17T17:49:48.806Z INFO 2505 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 474 ms 2024-02-17T17:49:48.940Z INFO 2505 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-02-17T17:49:48.941Z INFO 2505 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-02-17T17:49:48.944Z INFO 2505 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-02-17T17:49:48.945Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2024-02-17T17:49:48.947Z INFO 2505 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn10: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-02-17T17:49:48.947Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2024-02-17T17:49:48.948Z WARN 2505 --- [ 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-02-17T17:49:49.441Z INFO 2505 --- [ 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-02-17T17:49:49.542Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:49:49.830Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-02-17T17:49:50.110Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-02-17T17:49:50.872Z WARN 2505 --- [ 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-02-17T17:49:50.921Z INFO 2505 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5b28ecb3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@66356037, org.springframework.security.web.context.SecurityContextHolderFilter@349f6d4d, org.springframework.security.web.header.HeaderWriterFilter@5a6ad5ff, org.springframework.security.web.authentication.logout.LogoutFilter@5cd5a8a1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@699a9746, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f4b4623, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1fa6a1b2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7db2d0a7, org.springframework.security.web.access.ExceptionTranslationFilter@7c618f8f, org.springframework.security.web.access.intercept.AuthorizationFilter@2ac9d9eb] 2024-02-17T17:49:51.209Z INFO 2505 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-02-17T17:49:51.262Z INFO 2505 --- [ 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-02-17T17:49:51.268Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 36921 (https) with context path '/policy/api/v1' 2024-02-17T17:49:51.277Z INFO 2505 --- [ main] o.o.p.api.main.rest.TestApiRestServer : Started TestApiRestServer in 3.004 seconds (process running for 23.034) 2024-02-17T17:49:51.291Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:51.292Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:51.309Z INFO 2505 --- [o-auto-2-exec-9] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-02-17T17:49:51.309Z INFO 2505 --- [o-auto-2-exec-9] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-02-17T17:49:51.311Z INFO 2505 --- [o-auto-2-exec-9] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 2024-02-17T17:49:51.653Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:51.654Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:51.902Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:51.903Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.142Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.143Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.373Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.374Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.603Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.604Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.806Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:52.806Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:53.051Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:53.053Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:53.179Z INFO 2505 --- [o-auto-2-exec-8] o.o.p.c.u.services.OrderedServiceImpl : ***** OrderedServiceImpl implementers: [] 2024-02-17T17:49:53.180Z INFO 2505 --- [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-02-17T17:49:53.426Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:53.427Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:53.619Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:53.620Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:53.728Z INFO 2505 --- [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-02-17T17:49:53.952Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:53.953Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:54.055Z INFO 2505 --- [o-auto-2-exec-6] 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-02-17T17:49:54.263Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:54.264Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:54.472Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:54.473Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:54.706Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:54.707Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:54.813Z INFO 2505 --- [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-02-17T17:49:55.028Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.029Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.231Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.232Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.455Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.456Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.569Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.570Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:49:55.663Z WARN 2505 --- [o-auto-2-exec-5] 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-02-17T17:49:55.719Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.720Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.815Z WARN 2505 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 2024-02-17T17:49:55.847Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.848Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:55.946Z INFO 2505 --- [o-auto-2-exec-8] 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-02-17T17:49:56.240Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.241Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.341Z INFO 2505 --- [o-auto-2-exec-6] 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":"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-02-17T17:49:56.548Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.549Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.649Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:49:56.825Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.826Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:56.914Z INFO 2505 --- [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":{"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-02-17T17:49:57.116Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.116Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.205Z INFO 2505 --- [-auto-2-exec-10] 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-02-17T17:49:57.387Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.388Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.491Z INFO 2505 --- [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-02-17T17:49:57.704Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.705Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.804Z INFO 2505 --- [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-02-17T17:49:57.973Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:57.973Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.067Z INFO 2505 --- [o-auto-2-exec-7] 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-02-17T17:49:58.275Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.276Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.367Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:49:58.534Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.535Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.636Z INFO 2505 --- [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-02-17T17:49:58.840Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.841Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:58.939Z INFO 2505 --- [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-02-17T17:49:59.161Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.161Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.251Z INFO 2505 --- [o-auto-2-exec-5] 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-02-17T17:49:59.418Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.419Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.510Z INFO 2505 --- [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-02-17T17:49:59.685Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.686Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.787Z INFO 2505 --- [o-auto-2-exec-2] 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-02-17T17:49:59.955Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:49:59.956Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:00.052Z INFO 2505 --- [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-02-17T17:50:00.225Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:00.225Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:00.326Z INFO 2505 --- [-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-02-17T17:50:00.487Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:00.489Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:00.590Z INFO 2505 --- [o-auto-2-exec-8] 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-02-17T17:50:00.763Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:00.766Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:00.866Z INFO 2505 --- [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-02-17T17:50:01.045Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:01.046Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:01.141Z INFO 2505 --- [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.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-02-17T17:50:01.309Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:01.310Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:01.404Z INFO 2505 --- [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":"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-02-17T17:50:01.571Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:01.572Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:01.666Z INFO 2505 --- [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-02-17T17:50:01.825Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:01.826Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:02.022Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.022Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.113Z INFO 2505 --- [-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-02-17T17:50:02.279Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.279Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.372Z INFO 2505 --- [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":"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-02-17T17:50:02.528Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.528Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.620Z INFO 2505 --- [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-02-17T17:50:02.780Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.780Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:02.868Z INFO 2505 --- [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-02-17T17:50:03.033Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.034Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.141Z INFO 2505 --- [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-02-17T17:50:03.325Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.326Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.427Z INFO 2505 --- [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.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-02-17T17:50:03.588Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.589Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.687Z INFO 2505 --- [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-02-17T17:50:03.842Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.845Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:03.951Z INFO 2505 --- [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-02-17T17:50:04.118Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.119Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.229Z INFO 2505 --- [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-02-17T17:50:04.407Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.408Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.511Z INFO 2505 --- [o-auto-2-exec-6] 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-02-17T17:50:04.691Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.692Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.784Z INFO 2505 --- [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-02-17T17:50:04.950Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:04.951Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.045Z INFO 2505 --- [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-02-17T17:50:05.213Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.214Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.312Z INFO 2505 --- [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-02-17T17:50:05.470Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.471Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.570Z INFO 2505 --- [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-02-17T17:50:05.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.735Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.824Z INFO 2505 --- [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-02-17T17:50:05.977Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:05.977Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:06.066Z INFO 2505 --- [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-02-17T17:50:06.221Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:06.222Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:06.316Z INFO 2505 --- [o-auto-2-exec-7] 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-02-17T17:50:06.483Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:06.483Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:06.576Z INFO 2505 --- [-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-02-17T17:50:06.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:06.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:06.833Z INFO 2505 --- [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-02-17T17:50:06.990Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:06.991Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:07.085Z INFO 2505 --- [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-02-17T17:50:07.233Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.234Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.338Z INFO 2505 --- [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-02-17T17:50:07.507Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.508Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.684Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.685Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.773Z INFO 2505 --- [o-auto-2-exec-8] 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-02-17T17:50:07.933Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:07.934Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.033Z INFO 2505 --- [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":"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-02-17T17:50:08.196Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.197Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.283Z INFO 2505 --- [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-02-17T17:50:08.435Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.435Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.535Z INFO 2505 --- [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-02-17T17:50:08.695Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.696Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.785Z INFO 2505 --- [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-02-17T17:50:08.942Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:08.943Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.038Z INFO 2505 --- [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.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-02-17T17:50:09.197Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.198Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.293Z INFO 2505 --- [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-02-17T17:50:09.452Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.452Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.549Z INFO 2505 --- [-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-02-17T17:50:09.698Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.699Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.794Z INFO 2505 --- [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-02-17T17:50:09.966Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:09.967Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.064Z INFO 2505 --- [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-02-17T17:50:10.244Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.245Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.340Z INFO 2505 --- [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-02-17T17:50:10.503Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.503Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.604Z INFO 2505 --- [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-02-17T17:50:10.760Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.760Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:10.873Z INFO 2505 --- [o-auto-2-exec-9] 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-02-17T17:50:11.019Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.019Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.124Z INFO 2505 --- [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-02-17T17:50:11.282Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.283Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.375Z INFO 2505 --- [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-02-17T17:50:11.531Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.531Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.627Z INFO 2505 --- [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-02-17T17:50:11.778Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.778Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:11.870Z INFO 2505 --- [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-02-17T17:50:12.021Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:12.022Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:12.137Z INFO 2505 --- [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-02-17T17:50:12.285Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:12.285Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:12.379Z INFO 2505 --- [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-02-17T17:50:12.529Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:12.530Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:12.633Z INFO 2505 --- [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-02-17T17:50:12.794Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:12.795Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:12.893Z INFO 2505 --- [-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-02-17T17:50:13.042Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:13.042Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:13.364Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.364Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.459Z INFO 2505 --- [-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-02-17T17:50:13.622Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.622Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.714Z INFO 2505 --- [o-auto-2-exec-6] 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":"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-02-17T17:50:13.869Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.870Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:13.962Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:50:14.106Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.107Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.201Z INFO 2505 --- [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-02-17T17:50:14.356Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.357Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.449Z INFO 2505 --- [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.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-02-17T17:50:14.599Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.599Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.689Z INFO 2505 --- [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-02-17T17:50:14.843Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.844Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:14.934Z INFO 2505 --- [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-02-17T17:50:15.097Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.098Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.189Z INFO 2505 --- [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-02-17T17:50:15.338Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.339Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.432Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:50:15.618Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.619Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.713Z INFO 2505 --- [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-02-17T17:50:15.862Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.863Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:15.952Z INFO 2505 --- [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-02-17T17:50:16.100Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.101Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.192Z INFO 2505 --- [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-02-17T17:50:16.345Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.346Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.437Z INFO 2505 --- [o-auto-2-exec-5] 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-02-17T17:50:16.584Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.584Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.681Z INFO 2505 --- [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-02-17T17:50:16.843Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.843Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:16.933Z INFO 2505 --- [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-02-17T17:50:17.081Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.082Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.177Z INFO 2505 --- [o-auto-2-exec-3] 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-02-17T17:50:17.325Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.325Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.421Z INFO 2505 --- [o-auto-2-exec-8] 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-02-17T17:50:17.574Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:17.575Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:17.663Z INFO 2505 --- [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-02-17T17:50:17.810Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.811Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:17.898Z INFO 2505 --- [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-02-17T17:50:18.052Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:18.054Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:18.146Z INFO 2505 --- [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":"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-02-17T17:50:18.313Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:18.313Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:18.428Z INFO 2505 --- [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-02-17T17:50:18.580Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:18.580Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:18.898Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:18.898Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:18.990Z INFO 2505 --- [o-auto-2-exec-3] 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-02-17T17:50:19.184Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.184Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.290Z INFO 2505 --- [o-auto-2-exec-4] 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-02-17T17:50:19.472Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.473Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.564Z INFO 2505 --- [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-02-17T17:50:19.657Z WARN 2505 --- [o-auto-2-exec-8] o.o.p.a.main.rest.CommonRestController : POST /policies 2024-02-17T17:50:19.685Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.685Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.783Z INFO 2505 --- [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-02-17T17:50:19.955Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:19.955Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.045Z INFO 2505 --- [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":"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-02-17T17:50:20.201Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.202Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.297Z INFO 2505 --- [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-02-17T17:50:20.464Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.464Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.566Z INFO 2505 --- [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-02-17T17:50:20.726Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.726Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.820Z INFO 2505 --- [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-02-17T17:50:20.971Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:20.971Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.072Z INFO 2505 --- [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.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-02-17T17:50:21.231Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.232Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.321Z INFO 2505 --- [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.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-02-17T17:50:21.480Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.480Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.575Z INFO 2505 --- [-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-02-17T17:50:21.738Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.739Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.832Z INFO 2505 --- [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-02-17T17:50:21.984Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:21.984Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.073Z INFO 2505 --- [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-02-17T17:50:22.231Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.232Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.329Z INFO 2505 --- [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-02-17T17:50:22.483Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.483Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.569Z INFO 2505 --- [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-02-17T17:50:22.724Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.725Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.832Z INFO 2505 --- [-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-02-17T17:50:22.994Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:22.994Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.090Z INFO 2505 --- [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-02-17T17:50:23.246Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.246Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.337Z INFO 2505 --- [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-02-17T17:50:23.497Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.498Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.593Z INFO 2505 --- [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-02-17T17:50:23.750Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.750Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:23.843Z INFO 2505 --- [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-02-17T17:50:24.001Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:24.002Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:24.094Z INFO 2505 --- [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-02-17T17:50:24.247Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:24.248Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:24.345Z INFO 2505 --- [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-02-17T17:50:24.505Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:24.506Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:24.604Z INFO 2505 --- [-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-02-17T17:50:24.773Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:24.773Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:24.862Z INFO 2505 --- [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":"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-02-17T17:50:25.023Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.023Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.208Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.209Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.323Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.324Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.438Z WARN 2505 --- [o-auto-2-exec-9] o.o.p.a.main.rest.CommonRestController : GET /policies/onap.restart.tca/versions/1.0.0 2024-02-17T17:50:25.444Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.445Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.540Z WARN 2505 --- [o-auto-2-exec-4] o.o.p.a.main.rest.CommonRestController : DELETE /policies/onap.restart.tca/versions/1.0.0 2024-02-17T17:50:25.554Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.555Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:25.643Z INFO 2505 --- [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.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-02-17T17:50:25.800Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:25.800Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:25.886Z INFO 2505 --- [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-02-17T17:50:26.049Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:26.050Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:26.139Z INFO 2505 --- [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-02-17T17:50:26.291Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:26.291Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:26.387Z INFO 2505 --- [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-02-17T17:50:26.538Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:26.539Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.120Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.121Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.291Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.292Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.464Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.464Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.644Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.645Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.764Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.765Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:27.870Z INFO 2505 --- [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-02-17T17:50:28.024Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:28.024Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:28.120Z INFO 2505 --- [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-02-17T17:50:28.291Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:28.292Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:28.385Z INFO 2505 --- [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-02-17T17:50:28.538Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:28.539Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:28.627Z INFO 2505 --- [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-02-17T17:50:28.782Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:28.783Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.358Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.359Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.530Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.531Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.711Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.712Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.875Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.875Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:29.991Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:29.991Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:30.202Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:30.202Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.123Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.124Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.338Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.339Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.517Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.518Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.700Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.701Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.834Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.834Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.967Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:32.968Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.101Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.102Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.288Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.289Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.452Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.453Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.619Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.620Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:33.789Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:33.789Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:33.995Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:33.995Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:35.945Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:35.946Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.129Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.130Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.285Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.286Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.474Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.475Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.616Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.617Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.753Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.754Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.900Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:36.900Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.069Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.070Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.243Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.244Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.415Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.415Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.585Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.585Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.670Z INFO 2505 --- [-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-02-17T17:50:37.824Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.825Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:37.916Z INFO 2505 --- [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":"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-02-17T17:50:38.074Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.075Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.168Z INFO 2505 --- [-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-02-17T17:50:38.321Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.321Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.413Z INFO 2505 --- [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-02-17T17:50:38.570Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.571Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.666Z INFO 2505 --- [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-02-17T17:50:38.817Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.817Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:38.911Z INFO 2505 --- [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.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-02-17T17:50:39.069Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.070Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.157Z INFO 2505 --- [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.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-02-17T17:50:39.320Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.320Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.415Z INFO 2505 --- [o-auto-2-exec-4] 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-02-17T17:50:39.566Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.566Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.661Z INFO 2505 --- [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-02-17T17:50:39.816Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.817Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:39.906Z INFO 2505 --- [-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-02-17T17:50:40.060Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.060Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.151Z INFO 2505 --- [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-02-17T17:50:40.310Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.311Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.408Z INFO 2505 --- [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-02-17T17:50:40.578Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.579Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.666Z INFO 2505 --- [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-02-17T17:50:40.820Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.821Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:40.918Z INFO 2505 --- [o-auto-2-exec-4] 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-02-17T17:50:41.075Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.076Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.162Z INFO 2505 --- [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-02-17T17:50:41.316Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.317Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.408Z INFO 2505 --- [o-auto-2-exec-5] 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-02-17T17:50:41.570Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.570Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:41.664Z INFO 2505 --- [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-02-17T17:50:41.825Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:41.826Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:41.927Z INFO 2505 --- [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.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-02-17T17:50:42.095Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:42.095Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:42.193Z INFO 2505 --- [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-02-17T17:50:42.363Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:42.363Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:42.458Z INFO 2505 --- [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-02-17T17:50:42.610Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:42.610Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:42.711Z INFO 2505 --- [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-02-17T17:50:42.878Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:42.879Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:43.478Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:43.478Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:43.571Z INFO 2505 --- [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-02-17T17:50:43.729Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:43.730Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:43.822Z INFO 2505 --- [-auto-2-exec-10] 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":"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-02-17T17:50:43.975Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:43.976Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.069Z INFO 2505 --- [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-02-17T17:50:44.224Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.224Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.326Z INFO 2505 --- [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-02-17T17:50:44.485Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.486Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.575Z INFO 2505 --- [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-02-17T17:50:44.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.826Z INFO 2505 --- [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-02-17T17:50:44.979Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:44.979Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.067Z INFO 2505 --- [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-02-17T17:50:45.232Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.232Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.323Z INFO 2505 --- [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-02-17T17:50:45.489Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.489Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.586Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:50:45.754Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.755Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:45.847Z INFO 2505 --- [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-02-17T17:50:46.005Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.005Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.100Z INFO 2505 --- [o-auto-2-exec-6] 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-02-17T17:50:46.289Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.290Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.383Z INFO 2505 --- [-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-02-17T17:50:46.538Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.539Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.629Z INFO 2505 --- [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-02-17T17:50:46.779Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.779Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:46.872Z INFO 2505 --- [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-02-17T17:50:47.026Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.026Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.114Z INFO 2505 --- [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-02-17T17:50:47.273Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.274Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.362Z INFO 2505 --- [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-02-17T17:50:47.515Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.515Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:47.604Z INFO 2505 --- [-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-02-17T17:50:47.763Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:47.763Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:47.857Z INFO 2505 --- [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-02-17T17:50:48.016Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:48.016Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:48.114Z INFO 2505 --- [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-02-17T17:50:48.268Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:48.269Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:48.367Z INFO 2505 --- [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-02-17T17:50:48.519Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:48.519Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:48.638Z INFO 2505 --- [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":"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-02-17T17:50:48.807Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:48.808Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:49.439Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:49.439Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:49.528Z INFO 2505 --- [o-auto-2-exec-9] 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-02-17T17:50:49.688Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:49.689Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:49.776Z INFO 2505 --- [-auto-2-exec-10] 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-02-17T17:50:49.940Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:49.941Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:50.026Z INFO 2505 --- [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-02-17T17:50:50.188Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:50.189Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:50.279Z INFO 2505 --- [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-02-17T17:50:50.435Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:50.435Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:50.528Z INFO 2505 --- [-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-02-17T17:50:50.683Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:50.683Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:50.774Z INFO 2505 --- [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-02-17T17:50:50.935Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:50.936Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.029Z INFO 2505 --- [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":"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-02-17T17:50:51.059Z WARN 2505 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : POST /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 2024-02-17T17:50:51.075Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.075Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.162Z INFO 2505 --- [-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-02-17T17:50:51.315Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.316Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.425Z INFO 2505 --- [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":"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-02-17T17:50:51.591Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.592Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.682Z INFO 2505 --- [o-auto-2-exec-2] 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-02-17T17:50:51.846Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.846Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:51.941Z INFO 2505 --- [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-02-17T17:50:52.097Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.098Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.200Z INFO 2505 --- [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.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-02-17T17:50:52.357Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.358Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.454Z INFO 2505 --- [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.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-02-17T17:50:52.612Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.612Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.697Z INFO 2505 --- [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-02-17T17:50:52.853Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.853Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:52.948Z INFO 2505 --- [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-02-17T17:50:53.101Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.101Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.197Z INFO 2505 --- [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-02-17T17:50:53.362Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.363Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.452Z INFO 2505 --- [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-02-17T17:50:53.621Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.622Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.717Z INFO 2505 --- [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-02-17T17:50:53.872Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.872Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:53.967Z INFO 2505 --- [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-02-17T17:50:54.132Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.132Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.228Z INFO 2505 --- [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-02-17T17:50:54.382Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.383Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.469Z INFO 2505 --- [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-02-17T17:50:54.631Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.631Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.716Z INFO 2505 --- [o-auto-2-exec-3] 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-02-17T17:50:54.871Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.871Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:54.962Z INFO 2505 --- [o-auto-2-exec-7] 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-02-17T17:50:55.117Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:55.117Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:55.213Z INFO 2505 --- [-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-02-17T17:50:55.367Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:55.367Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.370Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.370Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.458Z INFO 2505 --- [o-auto-2-exec-1] network : [IN|REST|/policytypes] {"name":"NULL","version":"0.0.0"} 2024-02-17T17:50:57.459Z WARN 2505 --- [o-auto-2-exec-1] o.o.p.a.main.rest.CommonRestController : POST /policytypes 2024-02-17T17:50:57.474Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.475Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.582Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:57.582Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:57.691Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.691Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:57.787Z WARN 2505 --- [o-auto-2-exec-5] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 2024-02-17T17:50:57.796Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:57.796Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:57.898Z INFO 2505 --- [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-02-17T17:50:58.062Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.063Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.195Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.196Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.313Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.314Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:50:58.455Z WARN 2505 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 2024-02-17T17:50:58.468Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.469Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.562Z WARN 2505 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : DELETE /policytypes/onap.policies.IDoNotExist/versions/1.0.0 2024-02-17T17:50:58.571Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.571Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.665Z INFO 2505 --- [o-auto-2-exec-1] 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-02-17T17:50:58.828Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.829Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.963Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:58.964Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.078Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.078Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.198Z WARN 2505 --- [o-auto-2-exec-3] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.Test/versions/1.0.0 2024-02-17T17:50:59.211Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.211Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.307Z INFO 2505 --- [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-02-17T17:50:59.463Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.464Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.552Z INFO 2505 --- [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":"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-02-17T17:50:59.711Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.712Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.805Z INFO 2505 --- [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-02-17T17:50:59.961Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:50:59.961Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.044Z INFO 2505 --- [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-02-17T17:51:00.202Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.203Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.293Z INFO 2505 --- [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-02-17T17:51:00.454Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.455Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.552Z INFO 2505 --- [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-02-17T17:51:00.708Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.708Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.798Z INFO 2505 --- [-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-02-17T17:51:00.953Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:00.954Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.038Z INFO 2505 --- [o-auto-2-exec-7] 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-02-17T17:51:01.192Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.192Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.277Z INFO 2505 --- [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-02-17T17:51:01.436Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.437Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.527Z INFO 2505 --- [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-02-17T17:51:01.684Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.685Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.775Z INFO 2505 --- [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-02-17T17:51:01.949Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:01.949Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.041Z INFO 2505 --- [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-02-17T17:51:02.195Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.196Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.292Z INFO 2505 --- [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-02-17T17:51:02.450Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.450Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.544Z INFO 2505 --- [-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-02-17T17:51:02.698Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.698Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.790Z INFO 2505 --- [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-02-17T17:51:02.943Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:02.944Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:03.042Z INFO 2505 --- [o-auto-2-exec-3] 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-02-17T17:51:03.211Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:03.212Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:03.306Z INFO 2505 --- [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-02-17T17:51:03.461Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:03.461Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:03.553Z INFO 2505 --- [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-02-17T17:51:03.710Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:03.710Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:03.808Z INFO 2505 --- [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-02-17T17:51:03.959Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:03.960Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.058Z INFO 2505 --- [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":"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-02-17T17:51:04.233Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:04.233Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:04.321Z INFO 2505 --- [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":"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-02-17T17:51:04.472Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.473Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.589Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.589Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.706Z WARN 2505 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 2024-02-17T17:51:04.715Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.716Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.839Z WARN 2505 --- [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-02-17T17:51:04.847Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.847Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:04.974Z WARN 2505 --- [o-auto-2-exec-7] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 2024-02-17T17:51:04.988Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:04.989Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.084Z INFO 2505 --- [o-auto-2-exec-9] 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-02-17T17:51:05.256Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.256Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.352Z INFO 2505 --- [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":"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-02-17T17:51:05.503Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.503Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.587Z INFO 2505 --- [o-auto-2-exec-2] 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-02-17T17:51:05.742Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.742Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.837Z INFO 2505 --- [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-02-17T17:51:05.992Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:05.992Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.085Z INFO 2505 --- [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-02-17T17:51:06.238Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.239Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.330Z INFO 2505 --- [-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-02-17T17:51:06.487Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.488Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.579Z INFO 2505 --- [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-02-17T17:51:06.734Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.735Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.826Z INFO 2505 --- [-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-02-17T17:51:06.984Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:06.986Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.084Z INFO 2505 --- [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-02-17T17:51:07.242Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.242Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.327Z INFO 2505 --- [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-02-17T17:51:07.493Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.493Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.584Z INFO 2505 --- [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-02-17T17:51:07.751Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.751Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:07.843Z INFO 2505 --- [o-auto-2-exec-9] 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-02-17T17:51:08.003Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.004Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.110Z INFO 2505 --- [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-02-17T17:51:08.274Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.274Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.363Z INFO 2505 --- [-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-02-17T17:51:08.542Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.542Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.628Z INFO 2505 --- [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-02-17T17:51:08.790Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.790Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:08.884Z INFO 2505 --- [o-auto-2-exec-7] 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-02-17T17:51:09.040Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:09.040Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:09.136Z INFO 2505 --- [o-auto-2-exec-6] 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-02-17T17:51:09.295Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:09.296Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:09.386Z INFO 2505 --- [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-02-17T17:51:09.549Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:09.549Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:09.645Z INFO 2505 --- [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-02-17T17:51:09.797Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:09.798Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:09.892Z INFO 2505 --- [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":"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-02-17T17:51:10.045Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.046Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.133Z INFO 2505 --- [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-02-17T17:51:10.288Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.288Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.390Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.390Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.512Z WARN 2505 --- [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-02-17T17:51:10.520Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.520Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.642Z WARN 2505 --- [o-auto-2-exec-1] o.o.p.a.main.rest.CommonRestController : /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca 2024-02-17T17:51:10.648Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.649Z INFO 2505 --- [ main] o.o.p.c.e.h.s.YamlMessageBodyHandler : Accepting YAML for REST calls 2024-02-17T17:51:10.766Z WARN 2505 --- [-auto-2-exec-10] o.o.p.a.main.rest.CommonRestController : GET /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/latest 2024-02-17T17:51:10.781Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:10.781Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:11.030Z WARN 2505 --- [o-auto-2-exec-9] 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-02-17T17:51:11.756Z WARN 2505 --- [o-auto-2-exec-9] 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-02-17T17:51:14.608Z INFO 2505 --- [o-auto-2-exec-9] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 3728 ms 2024-02-17T17:51:14.646Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-02-17T17:51:14.646Z INFO 2505 --- [ main] o.apache.catalina.core.StandardWrapper : Waiting for [1] instance(s) to be deallocated for Servlet [dispatcherServlet] 2024-02-17T17:51:14.747Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-02-17T17:51:14.750Z WARN 2505 --- [ main] o.a.c.loader.WebappClassLoaderBase : The web application [policy#api#v1] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base@17.0.4/jdk.internal.misc.Unsafe.park(Native Method) java.base@17.0.4/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341) java.base@17.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506) java.base@17.0.4/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463) java.base@17.0.4/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434) java.base@17.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623) java.base@17.0.4/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435) app//org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:117) app//org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:33) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1114) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.base@17.0.4/java.lang.Thread.run(Thread.java:833)] 2024-02-17T17:51:14.763Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:51:14.764Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 2024-02-17T17:51:14.765Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. [INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.50 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.002 s -- in org.onap.policy.api.main.rest.TestCommonRestController [INFO] Running org.onap.policy.api.main.rest.TestNodeTemplateController . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.8) 2024-02-17T17:51:14.819Z WARN 2505 --- [ 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-02-17T17:51:14.821Z INFO 2505 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Starting TestNodeTemplateController using Java 17.0.4 with PID 2505 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-02-17T17:51:14.821Z INFO 2505 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : The following 2 profiles are active: "test", "default" 2024-02-17T17:51:15.000Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-02-17T17:51:15.008Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 6 JPA repository interfaces. 2024-02-17T17:51:15.040Z WARN 2505 --- [ 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-02-17T17:51:15.040Z WARN 2505 --- [ 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-02-17T17:51:15.101Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-02-17T17:51:15.102Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-02-17T17:51:15.102Z INFO 2505 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-02-17T17:51:15.115Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring embedded WebApplicationContext 2024-02-17T17:51:15.115Z INFO 2505 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 292 ms 2024-02-17T17:51:15.203Z INFO 2505 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-02-17T17:51:15.204Z INFO 2505 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-02-17T17:51:15.207Z INFO 2505 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-02-17T17:51:15.208Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2024-02-17T17:51:15.209Z INFO 2505 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-02-17T17:51:15.210Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2024-02-17T17:51:15.210Z WARN 2505 --- [ 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-02-17T17:51:15.597Z INFO 2505 --- [ 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-02-17T17:51:15.651Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:51:15.898Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-02-17T17:51:16.018Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-02-17T17:51:16.362Z WARN 2505 --- [ 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-02-17T17:51:16.398Z INFO 2505 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4933fa07, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@56098771, org.springframework.security.web.context.SecurityContextHolderFilter@36f46202, org.springframework.security.web.header.HeaderWriterFilter@3680db91, org.springframework.security.web.authentication.logout.LogoutFilter@6305e2f1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@55e94991, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3ef1056d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@46186d5e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7355b09b, org.springframework.security.web.access.ExceptionTranslationFilter@53a57683, org.springframework.security.web.access.intercept.AuthorizationFilter@5ed8221] 2024-02-17T17:51:16.641Z INFO 2505 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-02-17T17:51:16.685Z INFO 2505 --- [ 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-02-17T17:51:16.687Z INFO 2505 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 42961 (https) with context path '/policy/api/v1' 2024-02-17T17:51:16.693Z INFO 2505 --- [ main] o.o.p.a.m.r.TestNodeTemplateController : Started TestNodeTemplateController in 1.916 seconds (process running for 108.45) 2024-02-17T17:51:16.703Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:16.708Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:16.720Z INFO 2505 --- [o-auto-3-exec-8] o.a.c.c.C.[.[.[/policy/api/v1] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-02-17T17:51:16.720Z INFO 2505 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-02-17T17:51:16.721Z INFO 2505 --- [o-auto-3-exec-8] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-02-17T17:51:16.880Z INFO 2505 --- [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-02-17T17:51:17.071Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.072Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.211Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.212Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.316Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.316Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.408Z WARN 2505 --- [o-auto-3-exec-3] o.o.p.a.main.rest.CommonRestController : DELETE /nodetemplates/invalid_template/versions/1.0.0 2024-02-17T17:51:17.432Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.432Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.521Z INFO 2505 --- [-auto-3-exec-10] 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-02-17T17:51:17.669Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.669Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.757Z INFO 2505 --- [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.2"}},"threshold":3.15,"state":"passive"},"description":"Updated Metadata set for GRPC"}}},"name":"NULL","version":"0.0.0"} 2024-02-17T17:51:17.768Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.769Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.856Z INFO 2505 --- [o-auto-3-exec-6] 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-02-17T17:51:17.858Z WARN 2505 --- [o-auto-3-exec-6] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 2024-02-17T17:51:17.867Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.868Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.963Z INFO 2505 --- [o-auto-3-exec-4] network : [IN|REST|/nodetemplates] {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 2024-02-17T17:51:17.964Z WARN 2505 --- [o-auto-3-exec-4] o.o.p.a.main.rest.CommonRestController : PUT /nodetemplates 2024-02-17T17:51:17.993Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:17.993Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.092Z INFO 2505 --- [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-02-17T17:51:18.276Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.276Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.369Z INFO 2505 --- [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-02-17T17:51:18.373Z WARN 2505 --- [o-auto-3-exec-4] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 2024-02-17T17:51:18.381Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.382Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.476Z INFO 2505 --- [-auto-3-exec-10] network : [IN|REST|/nodetemplates] {"tosca_definitions_version":"tosca_simple_yaml_1_1_0","topology_template":{},"name":"NULL","version":"0.0.0"} 2024-02-17T17:51:18.477Z WARN 2505 --- [-auto-3-exec-10] o.o.p.a.main.rest.CommonRestController : POST /nodetemplates 2024-02-17T17:51:18.501Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.502Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.604Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.605Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.706Z INFO 2505 --- [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-02-17T17:51:18.874Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.875Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.982Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:18.983Z INFO 2505 --- [ main] o.o.p.c.gson.GsonMessageBodyHandler : Using GSON for REST calls 2024-02-17T17:51:19.095Z INFO 2505 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-02-17T17:51:19.095Z INFO 2505 --- [ main] o.a.c.c.C.[.[.[/policy/api/v1] : Destroying Spring FrameworkServlet 'dispatcherServlet' 2024-02-17T17:51:19.100Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:51:19.100Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown initiated... 2024-02-17T17:51:19.102Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Shutdown completed. [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.331 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.740 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.112 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.083 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.373 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.091 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.166 s -- in org.onap.policy.api.main.service.TestNodeTemplateService [INFO] Running org.onap.policy.api.main.startstop.ApiDatabaseInitializerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.8) 2024-02-17T17:51:22.882Z WARN 2505 --- [ 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-02-17T17:51:22.884Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Starting ApiDatabaseInitializerTest using Java 17.0.4 with PID 2505 (started by jenkins in /w/workspace/policy-api-sonar/main) 2024-02-17T17:51:22.884Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : The following 1 profile is active: "test" 2024-02-17T17:51:23.344Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-02-17T17:51:23.362Z INFO 2505 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 6 JPA repository interfaces. 2024-02-17T17:51:23.449Z WARN 2505 --- [ 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-02-17T17:51:23.450Z WARN 2505 --- [ 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-02-17T17:51:23.656Z INFO 2505 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-02-17T17:51:23.663Z INFO 2505 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2024-02-17T17:51:23.672Z INFO 2505 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2024-02-17T17:51:23.673Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting... 2024-02-17T17:51:23.679Z INFO 2505 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection conn30: url=jdbc:h2:mem:testdb user=POLICY_USER 2024-02-17T17:51:23.680Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed. 2024-02-17T17:51:23.682Z WARN 2505 --- [ 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-02-17T17:51:24.452Z INFO 2505 --- [ 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-02-17T17:51:24.652Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:51:25.419Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 2024-02-17T17:51:25.872Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 2024-02-17T17:51:26.830Z WARN 2505 --- [ 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-02-17T17:51:26.948Z INFO 2505 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@77ac4d79, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@66c37925, org.springframework.security.web.context.SecurityContextHolderFilter@70c0bd6c, org.springframework.security.web.header.HeaderWriterFilter@4638730, org.springframework.security.web.authentication.logout.LogoutFilter@4b39c158, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@781d3c7d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@644aeba1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26a569d6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4b9e8c05, org.springframework.security.web.access.ExceptionTranslationFilter@78774b5d, org.springframework.security.web.access.intercept.AuthorizationFilter@721a7163] 2024-02-17T17:51:27.724Z INFO 2505 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '' 2024-02-17T17:51:27.802Z INFO 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializerTest : Started ApiDatabaseInitializerTest in 4.993 seconds (process running for 119.559) 2024-02-17T17:51:30.829Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 2024-02-17T17:51:32.903Z WARN 2505 --- [ main] o.o.p.a.m.s.ApiDatabaseInitializer : DB already contains policy data - skipping preload 2024-02-17T17:51:32.910Z INFO 2505 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-02-17T17:51:32.911Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown initiated... 2024-02-17T17:51:32.916Z INFO 2505 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Shutdown completed. [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.13 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.009 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.005 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.8: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 [ 10.933 s] [INFO] api-main ........................................... SUCCESS [02:19 min] [INFO] api-packages ....................................... SUCCESS [ 0.230 s] [INFO] policy-api-tarball ................................. SUCCESS [ 0.596 s] [INFO] api-testsuites ..................................... SUCCESS [ 0.122 s] [INFO] api-stability ...................................... SUCCESS [ 0.503 s] [INFO] api-performance .................................... SUCCESS [ 0.375 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:33 min [INFO] Finished at: 2024-02-17T17:51:36Z [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/config6719239736225837837tmp --settings /w/workspace/policy-api-sonar@tmp/config3640237648403922904tmp -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.52778 [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=468ms [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=414ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=669ms [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=192ms [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=219ms [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=184ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=375ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=4ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=254ms [INFO] Load active rules [INFO] Load active rules (done) | time=8499ms [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=252ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=448ms [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=379ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (103 KB) | time=1336ms [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=3742ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=2ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/policy-api-sonar/main/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=94ms [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=100ms [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=859ms [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=3ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] ------------- Run sensors on module policy-api [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms [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=22ms [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=3ms [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=58ms [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=12ms [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=0ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [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=2ms [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=0ms [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.050 [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.101 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.152 [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.000 [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.012 [INFO] Run SCC (Tarjan) on 757 nodes: Starting [INFO] Run SCC (Tarjan) on 757 nodes: Time spent was 00:00:00.002 [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.003 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.020 [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.006 [INFO] Run SCC (Tarjan) on 757 nodes: Starting [INFO] Run SCC (Tarjan) on 757 nodes: Time spent was 00:00:00.000 [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.001 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.009 [INFO] Create runtime call graph: Time spent was 00:00:00.033 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:01.345 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.566 [INFO] No entry points found. [INFO] java security sensor: Time spent was 00:00:02.101 [INFO] java security sensor: Begin: 2024-02-17T17:52:01.695502680Z, End: 2024-02-17T17:52:03.797217581Z, Duration: 00:00:02.101 Load type hierarchy and UCFGs: Begin: 2024-02-17T17:52:01.696963935Z, End: 2024-02-17T17:52:01.849880246Z, Duration: 00:00:00.152 Load type hierarchy: Begin: 2024-02-17T17:52:01.697066097Z, End: 2024-02-17T17:52:01.747927432Z, Duration: 00:00:00.050 Load UCFGs: Begin: 2024-02-17T17:52:01.748275038Z, End: 2024-02-17T17:52:01.849640222Z, Duration: 00:00:00.101 Check cache: Begin: 2024-02-17T17:52:01.850097541Z, End: 2024-02-17T17:52:01.850495688Z, Duration: 00:00:00.000 Load cache: Begin: 2024-02-17T17:52:01.850144342Z, End: 2024-02-17T17:52:01.850205023Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-02-17T17:52:01.850636290Z, End: 2024-02-17T17:52:01.884306256Z, Duration: 00:00:00.033 Variable Type Analysis #1: Begin: 2024-02-17T17:52:01.851191620Z, End: 2024-02-17T17:52:01.872116343Z, Duration: 00:00:00.020 Create runtime type propagation graph: Begin: 2024-02-17T17:52:01.851983613Z, End: 2024-02-17T17:52:01.864921609Z, Duration: 00:00:00.012 Run SCC (Tarjan) on 757 nodes: Begin: 2024-02-17T17:52:01.865348756Z, End: 2024-02-17T17:52:01.867714467Z, Duration: 00:00:00.002 Propagate runtime types to strongly connected components: Begin: 2024-02-17T17:52:01.868003202Z, End: 2024-02-17T17:52:01.871943710Z, Duration: 00:00:00.003 Variable Type Analysis #2: Begin: 2024-02-17T17:52:01.874582436Z, End: 2024-02-17T17:52:01.883594623Z, Duration: 00:00:00.009 Create runtime type propagation graph: Begin: 2024-02-17T17:52:01.874659338Z, End: 2024-02-17T17:52:01.880763944Z, Duration: 00:00:00.006 Run SCC (Tarjan) on 757 nodes: Begin: 2024-02-17T17:52:01.880951188Z, End: 2024-02-17T17:52:01.881610559Z, Duration: 00:00:00.000 Propagate runtime types to strongly connected components: Begin: 2024-02-17T17:52:01.881857873Z, End: 2024-02-17T17:52:01.883399840Z, Duration: 00:00:00.001 Load config: Begin: 2024-02-17T17:52:01.884465769Z, End: 2024-02-17T17:52:03.230267421Z, Duration: 00:00:01.345 Compute entry points: Begin: 2024-02-17T17:52:03.230604087Z, End: 2024-02-17T17:52:03.796785423Z, Duration: 00:00:00.566 [INFO] java security sensor peak memory: 447 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=2113ms [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.001 [INFO] Sensor PhpSecuritySensor [security] (done) | time=2ms [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, S5146, S6350, S2076, S6105, S5144, S5147, S5131, S6287, S3649, S2631, S5883, S2083, S5696, S5334 [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.001 [INFO] Sensor JsSecuritySensor [security] (done) | time=2ms [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=49ms [INFO] SCM Publisher SCM provider for this project is: git [INFO] SCM Publisher 1 source file to be analyzed [INFO] SCM Publisher 1/1 source file have been analyzed (done) | time=231ms [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=20ms [INFO] Analysis report generated in 136ms, dir size=646 KB [INFO] Analysis report compressed in 69ms, zip size=211 KB [INFO] Analysis report uploaded in 789ms [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=AY24Ml1ThCWG45f8LcNZ [INFO] Sensor cache published successfully [INFO] Analysis total time: 23.408 s [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for policy-api 3.1.1-SNAPSHOT: [INFO] [INFO] policy-api ......................................... SUCCESS [ 27.793 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: 28.447 s [INFO] Finished at: 2024-02-17T17:52:06Z [INFO] ------------------------------------------------------------------------ [policy-api-sonar] $ /bin/bash /tmp/jenkins3824286198356301296.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=4447ad99f8e7d5b96284d87e7ce08f4d5f3313e3, workspace=/w/workspace/policy-api-sonar [FINDBUGS] Computing warning deltas based on reference build #2045 [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-sonar] $ /bin/bash /tmp/jenkins4829361111926284110.sh ---> sysstat.sh [policy-api-sonar] $ /bin/bash /tmp/jenkins11910289971067988205.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + 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/jenkins12023872528966004675.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-CK2V from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CK2V/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-sonar] $ /bin/bash /tmp/jenkins7637334725804079474.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-sonar@tmp/config56410904094057462tmp 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/jenkins14204482049290577290.sh ---> create-netrc.sh [policy-api-sonar] $ /bin/bash /tmp/jenkins18272536323638449647.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-CK2V from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CK2V/bin to PATH [policy-api-sonar] $ /bin/bash /tmp/jenkins5716829985389961654.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-sonar] $ /bin/bash /tmp/jenkins9214757281529957102.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-CK2V 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-CK2V/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [policy-api-sonar] $ /bin/bash -l /tmp/jenkins9419670340123579802.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-CK2V 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.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-CK2V/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-sonar/2046 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-6208 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: 2799.998 BogoMIPS: 5599.99 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 559 12825 0 2654 15160 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:e4:56:b1 brd ff:ff:ff:ff:ff:ff inet 10.30.107.150/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86066sec preferred_lft 86066sec inet6 fe80::f816:3eff:fee4:56b1/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-6208) 02/17/24 _x86_64_ (4 CPU) 17:47:24 LINUX RESTART (4 CPU) 17:48:01 tps rtps wtps bread/s bwrtn/s 17:49:01 122.81 24.58 98.23 1530.01 27590.20 17:50:01 127.00 31.46 95.53 1951.01 28164.64 17:51:01 14.06 0.00 14.06 0.00 16839.99 17:52:01 15.15 1.73 13.41 199.17 8987.04 Average: 69.76 14.44 55.31 920.05 20395.47 17:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:49:01 13947708 15620972 2477260 15.08 70652 1798732 717648 4.11 626016 1630088 120504 17:50:01 12014604 13967124 4410364 26.85 77244 2062792 2438736 13.96 2370876 1795088 3956 17:51:01 11909116 13862120 4515852 27.49 77332 2063164 2454824 14.05 2476316 1795412 148 17:52:01 12575348 14934244 3849620 23.44 78576 2461440 1332688 7.63 1534560 2061388 287000 Average: 12611694 14596115 3813274 23.22 75951 2096532 1735974 9.93 1751942 1820494 102902 17:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:49:01 lo 1.07 1.07 0.12 0.12 0.00 0.00 0.00 0.00 17:49:01 ens3 67.17 42.44 1041.42 9.69 0.00 0.00 0.00 0.00 17:50:01 lo 33.34 33.34 23.81 23.81 0.00 0.00 0.00 0.00 17:50:01 ens3 356.04 279.40 3239.19 58.86 0.00 0.00 0.00 0.00 17:51:01 lo 113.38 113.38 38.76 38.76 0.00 0.00 0.00 0.00 17:51:01 ens3 49.03 31.34 10.69 17.28 0.00 0.00 0.00 0.00 17:52:01 lo 45.48 45.48 15.62 15.62 0.00 0.00 0.00 0.00 17:52:01 ens3 647.48 475.07 2806.64 155.84 0.00 0.00 0.00 0.00 Average: lo 48.32 48.32 19.58 19.58 0.00 0.00 0.00 0.00 Average: ens3 279.93 207.07 1774.49 60.42 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-6208) 02/17/24 _x86_64_ (4 CPU) 17:47:24 LINUX RESTART (4 CPU) 17:48:01 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 21.11 0.00 1.75 4.68 0.07 72.38 17:49:01 0 35.30 0.00 2.53 3.45 0.12 58.61 17:49:01 1 23.84 0.00 2.11 3.21 0.07 70.77 17:49:01 2 19.57 0.00 1.39 0.89 0.03 78.12 17:49:01 3 5.86 0.00 0.96 11.14 0.07 81.96 17:50:01 all 60.55 0.00 1.72 2.44 0.10 35.19 17:50:01 0 60.12 0.00 1.85 2.05 0.10 35.88 17:50:01 1 59.41 0.00 1.84 4.38 0.08 34.28 17:50:01 2 65.26 0.00 1.26 0.47 0.10 32.91 17:50:01 3 57.39 0.00 1.95 2.87 0.10 37.69 17:51:01 all 35.38 0.00 0.55 1.32 0.07 62.68 17:51:01 0 30.41 0.00 0.65 0.00 0.07 68.88 17:51:01 1 31.04 0.00 0.52 5.18 0.07 63.19 17:51:01 2 46.73 0.00 0.48 0.00 0.07 52.72 17:51:01 3 33.37 0.00 0.53 0.10 0.07 65.93 17:52:01 all 51.93 0.00 1.36 0.42 0.08 46.21 17:52:01 0 43.87 0.00 1.29 0.05 0.07 54.72 17:52:01 1 49.45 0.00 1.15 1.49 0.08 47.83 17:52:01 2 61.72 0.00 1.55 0.08 0.10 36.54 17:52:01 3 52.63 0.00 1.47 0.08 0.08 45.73 Average: all 42.20 0.00 1.34 2.22 0.08 54.16 Average: 0 42.39 0.00 1.57 1.38 0.09 54.57 Average: 1 40.89 0.00 1.40 3.57 0.08 54.06 Average: 2 48.30 0.00 1.17 0.36 0.08 50.10 Average: 3 37.23 0.00 1.23 3.56 0.08 57.90