Results

By type

          @RUNHOME@ /opt/onap/bin
@JAVA_HOME@ /usr/local/openjdk-11
@JAVA@ /usr/local/openjdk-11/bin/java
@JAVA_OPTS@ -Xms256m -Xmx1g
@class_path@ /opt/onap/bin/../lib/animal-sniffer-annotations-1.18.jar /opt/onap/bin/../lib/annotations-2.0.1.jar /opt/onap/bin/../lib/aopalliance-repackaged-2.6.1.jar /opt/onap/bin/../lib/argparse4j-0.8.1.jar /opt/onap/bin/../lib/caffeine-2.8.4.jar /opt/onap/bin/../lib/checker-qual-3.4.0.jar /opt/onap/bin/../lib/classmate-1.5.1.jar /opt/onap/bin/../lib/commons-codec-1.14.jar /opt/onap/bin/../lib/commons-collections-3.2.2.jar /opt/onap/bin/../lib/commons-lang-2.5.jar /opt/onap/bin/../lib/commons-lang3-3.7.jar /opt/onap/bin/../lib/commons-logging-1.1.1.jar /opt/onap/bin/../lib/commons-text-1.8.jar /opt/onap/bin/../lib/dropwizard-configuration-2.0.10.jar /opt/onap/bin/../lib/dropwizard-core-2.0.10.jar /opt/onap/bin/../lib/dropwizard-db-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jackson-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jdbi-2.0.0-rc9.jar /opt/onap/bin/../lib/dropwizard-jersey-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jetty-2.0.10.jar /opt/onap/bin/../lib/dropwizard-lifecycle-2.0.10.jar /opt/onap/bin/../lib/dropwizard-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-metrics-2.0.10.jar /opt/onap/bin/../lib/dropwizard-request-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-servlets-2.0.10.jar /opt/onap/bin/../lib/dropwizard-util-2.0.10.jar /opt/onap/bin/../lib/dropwizard-validation-2.0.10.jar /opt/onap/bin/../lib/error_prone_annotations-2.3.2.jar /opt/onap/bin/../lib/ezmorph-1.0.6.jar /opt/onap/bin/../lib/failureaccess-1.0.1.jar /opt/onap/bin/../lib/gson-2.8.9.jar /opt/onap/bin/../lib/guava-28.1-jre.jar /opt/onap/bin/../lib/hibernate-validator-6.1.5.Final.jar /opt/onap/bin/../lib/hk2-api-2.6.1.jar /opt/onap/bin/../lib/hk2-locator-2.6.1.jar /opt/onap/bin/../lib/hk2-utils-2.6.1.jar /opt/onap/bin/../lib/holmes-actions-1.4.0.jar /opt/onap/bin/../lib/holmes-rulemgt-1.3.6-SNAPSHOT.jar /opt/onap/bin/../lib/j2objc-annotations-1.3.jar /opt/onap/bin/../lib/jackson-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-core-2.10.1.jar /opt/onap/bin/../lib/jackson-databind-2.10.1.jar /opt/onap/bin/../lib/jackson-dataformat-yaml-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-guava-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jdk8-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-joda-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jsr310-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-base-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-json-provider-2.10.4.jar /opt/onap/bin/../lib/jackson-module-afterburner-2.10.4.jar /opt/onap/bin/../lib/jackson-module-jaxb-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-module-parameter-names-2.10.4.jar /opt/onap/bin/../lib/jakarta.activation-1.2.2.jar /opt/onap/bin/../lib/jakarta.activation-api-1.2.2.jar /opt/onap/bin/../lib/jakarta.annotation-api-1.3.5.jar /opt/onap/bin/../lib/jakarta.el-3.0.3.jar /opt/onap/bin/../lib/jakarta.inject-2.6.1.jar /opt/onap/bin/../lib/jakarta.servlet-api-4.0.3.jar /opt/onap/bin/../lib/jakarta.validation-api-2.0.2.jar /opt/onap/bin/../lib/jakarta.ws.rs-api-2.1.6.jar /opt/onap/bin/../lib/jakarta.xml.bind-api-2.3.3.jar /opt/onap/bin/../lib/javassist-3.24.1-GA.jar /opt/onap/bin/../lib/jboss-logging-3.3.2.Final.jar /opt/onap/bin/../lib/jcl-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/jdbi-2.78.jar /opt/onap/bin/../lib/jersey-bean-validation-2.31.jar /opt/onap/bin/../lib/jersey-client-2.31.jar /opt/onap/bin/../lib/jersey-common-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-core-2.31.jar /opt/onap/bin/../lib/jersey-hk2-2.31.jar /opt/onap/bin/../lib/jersey-media-jaxb-2.31.jar /opt/onap/bin/../lib/jersey-metainf-services-2.31.jar /opt/onap/bin/../lib/jersey-server-2.31.jar /opt/onap/bin/../lib/jetty-continuation-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-http-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-io-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-security-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-server-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlet-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlets-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-setuid-java-1.0.4.jar /opt/onap/bin/../lib/jetty-util-9.4.29.v20200521.jar /opt/onap/bin/../lib/jna-4.5.1.jar /opt/onap/bin/../lib/jna-platform-4.5.1.jar /opt/onap/bin/../lib/joda-time-2.10.6.jar /opt/onap/bin/../lib/json-lib-2.4-jdk15.jar /opt/onap/bin/../lib/jsr305-3.0.2.jar /opt/onap/bin/../lib/jul-to-slf4j-1.7.30.jar /opt/onap/bin/../lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar /opt/onap/bin/../lib/log4j-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/logback-access-1.2.3.jar /opt/onap/bin/../lib/logback-classic-1.2.3.jar /opt/onap/bin/../lib/logback-core-1.2.3.jar /opt/onap/bin/../lib/logback-throttling-appender-1.1.0.jar /opt/onap/bin/../lib/lombok-1.18.4.jar /opt/onap/bin/../lib/metrics-annotation-4.1.9.jar /opt/onap/bin/../lib/metrics-core-4.1.9.jar /opt/onap/bin/../lib/metrics-healthchecks-4.1.9.jar /opt/onap/bin/../lib/metrics-jdbi-4.1.0.jar /opt/onap/bin/../lib/metrics-jersey2-4.1.9.jar /opt/onap/bin/../lib/metrics-jetty9-4.1.9.jar /opt/onap/bin/../lib/metrics-jmx-4.1.9.jar /opt/onap/bin/../lib/metrics-json-4.1.9.jar /opt/onap/bin/../lib/metrics-jvm-4.1.9.jar /opt/onap/bin/../lib/metrics-logback-4.1.9.jar /opt/onap/bin/../lib/metrics-servlets-4.1.9.jar /opt/onap/bin/../lib/msb-java-sdk-1.2.5.jar /opt/onap/bin/../lib/okhttp-3.12.0.jar /opt/onap/bin/../lib/okio-1.15.0.jar /opt/onap/bin/../lib/org.osgi.core-4.3.1.jar /opt/onap/bin/../lib/org.osgi.enterprise-4.2.0.jar /opt/onap/bin/../lib/osgi-resource-locator-1.0.3.jar /opt/onap/bin/../lib/postgresql-42.2.13.jar /opt/onap/bin/../lib/profiler-1.1.1.jar /opt/onap/bin/../lib/reflections-0.9.9.jar /opt/onap/bin/../lib/retrofit-2.5.0.jar /opt/onap/bin/../lib/slf4j-api-1.7.25.jar /opt/onap/bin/../lib/snakeyaml-1.26.jar /opt/onap/bin/../lib/tomcat-jdbc-9.0.35.jar /opt/onap/bin/../lib/tomcat-juli-9.0.35.jar /opt/onap/bin/../lib/waffle-jna-1.9.1.jar
SERVICE_IP=10.233.69.182
DB_PORT=5432
ENABLE_ENCRYPT=true
KEY_PATH=/opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12
KEY_PASS=Q2okZMNilWLmzNcr0xRZXbBJL09SJlxZQxlI3mKHqJceqWgL6RWOtwBcDpTjuKQs
Initializing the holmes rule management database...
--
-- Copyright 2017 ZTE Corporation.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
--     http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
\c postgres

/******************CREATE NEW DATABASE AND USER***************************/
CREATE DATABASE holmes;

CREATE ROLE holmes with PASSWORD 'JudiTirv3~Kuho' LOGIN;

\encoding UTF8;

/******************DELETE OLD TABLE AND CREATE NEW***************************/
\c holmes;

CREATE TABLE IF NOT EXISTS APLUS_RULE (
  RID VARCHAR(30) NOT NULL,
  NAME VARCHAR(150) NOT NULL,
  CTRLLOOP VARCHAR(150) NOT NULL,
  DESCRIPTION VARCHAR(4000) NULL,
  ENABLE SMALLINT NOT NULL,
  TEMPLATEID BIGINT NOT NULL,
  ENGINEID VARCHAR(20)  NOT NULL,
  ENGINETYPE VARCHAR(20)  NOT NULL,
  CREATOR VARCHAR(20)  NOT NULL,
  CREATETIME TIMESTAMP NOT NULL,
  UPDATOR VARCHAR(20)  NULL,
  UPDATETIME TIMESTAMP NULL,
  PARAMS VARCHAR(4000) NULL,
  CONTENT VARCHAR(20000) NOT NULL,
  VENDOR VARCHAR(100)  NOT NULL,
  ENGINEINSTANCE VARCHAR(100) NOT NULL,
  PACKAGE VARCHAR(255) NULL,
  PRIMARY KEY (RID),
  UNIQUE (NAME)
);

CREATE INDEX IDX_APLUS_RULE_NAME ON APLUS_RULE (NAME);
CREATE INDEX IDX_APLUS_RULE_CTRLLOOP ON APLUS_RULE (CTRLLOOP);
CREATE INDEX IDX_APLUS_RULE_ENABLE ON APLUS_RULE (ENABLE);
CREATE INDEX IDX_APLUS_RULE_TEMPLATEID ON APLUS_RULE (TEMPLATEID);
CREATE INDEX IDX_APLUS_RULE_ENGINEID ON APLUS_RULE (ENGINEID);
CREATE INDEX IDX_APLUS_RULE_ENGINETYPE ON APLUS_RULE (ENGINETYPE);

GRANT ALL PRIVILEGES ON APLUS_RULE TO holmes;
dbname=holmes
user=holmes
password=JudiTirv3~Kuho
port=5432
host=tcp-pgset-primary
You are now connected to database "postgres" as user "holmes".
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:19: ERROR:  permission denied to create database
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:21: ERROR:  permission denied to create role
You are now connected to database "holmes" as user "holmes".
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
GRANT
 rid | name | ctrlloop | description | enable | templateid | engineid | enginetype | creator | createtime | updator | updatetime | params | content | vendor | engineinstance | package 
-----+------+----------+-------------+--------+------------+----------+------------+---------+------------+---------+------------+--------+---------+--------+----------------+---------
(0 rows)

sql_result=0
The database is initialized successfully!
nginx started.
WARN  [2022-04-28 15:41:03,807] org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle: Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreLoad service is empty
2022-04-28 15:41:04 765 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-04-28 15:41:04 767 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-04-28 15:41:04 784 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:org.onap.holmes.rulemgt.RuleAppConfig
2022-04-28 15:41:04 785 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:io.dropwizard.Configuration
2022-04-28 15:41:04 787 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Sub Configuration class name io.dropwizard.db.DataSourceFactory
2022-04-28 15:41:04 788 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard environment, class name : io.dropwizard.setup.Environment
2022-04-28 15:41:04 789 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard objectMapper, class name : com.fasterxml.jackson.databind.ObjectMapper
2022-04-28 15:41:04 790 WARN  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreBaseService service is empty
2022-04-28 15:41:04 790 WARN  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.BaseService service is empty
2022-04-28 15:41:04 790 WARN  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PostBaseService service is empty
2022-04-28 15:41:04 791 WARN  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreServiceLoad service is empty
2022-04-28 15:41:04 800 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.CommonUtils
2022-04-28 15:41:04 800 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.Publisher
2022-04-28 15:41:04 802 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-04-28 15:41:04 803 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAllocator
2022-04-28 15:41:04 806 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.DmaapService
2022-04-28 15:41:04 807 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.Initializer
2022-04-28 15:41:04 809 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-28 15:41:04 810 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-04-28 15:41:04 811 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.tools.EngineTools
2022-04-28 15:41:04 812 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-04-28 15:41:04 813 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-28 15:41:04 823 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-28 15:41:04 833 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-28 15:41:04 834 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-28 15:41:04 835 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-04-28 15:41:04 837 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAppConfig
2022-04-28 15:41:04 837 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.MsbRegister
2022-04-28 15:41:04 838 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-04-28 15:41:04 839 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-28 15:41:04 840 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-28 15:41:04 840 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-28 15:41:04 841 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.DbDaoUtil
2022-04-28 15:41:04 843 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-28 15:41:04 845 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery
2022-04-28 15:41:04 845 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQueryMdons
2022-04-28 15:41:04 846 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-04-28 15:41:04 847 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiResponseUtil
2022-04-28 15:41:04 848 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.CommonUtils
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.Publisher
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAllocator
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.Initializer
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.MsbRegister
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery
2022-04-28 15:41:04 851 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-04-28 15:41:04 852 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-04-28 15:41:04 852 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-04-28 15:41:04 852 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-28 15:41:04 853 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils
2022-04-28 15:41:04 853 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils,cost time:0
2022-04-28 15:41:04 854 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher
2022-04-28 15:41:04 942 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher,cost time:88
2022-04-28 15:41:04 943 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-04-28 15:41:04 945 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter,cost time:2
2022-04-28 15:41:04 945 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.skife.jdbi.cglib.core.ReflectUtils$1 (file:/opt/onap/lib/jdbi-2.78.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.skife.jdbi.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-04-28 15:41:05 113 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator,cost time:168
2022-04-28 15:41:05 114 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-04-28 15:41:05 115 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService,cost time:1
2022-04-28 15:41:05 115 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer
2022-04-28 15:41:05 117 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer,cost time:2
2022-04-28 15:41:05 117 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-28 15:41:05 117 INFO  [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Not ready for MSB registration. Try again after 5 seconds...
2022-04-28 15:41:05 118 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2,cost time:1
2022-04-28 15:41:05 118 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper,cost time:1
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools,cost time:0
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService,cost time:0
2022-04-28 15:41:05 119 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-28 15:41:05 120 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources,cost time:1
2022-04-28 15:41:05 120 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-28 15:41:05 122 WARN  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - 
org.glassfish.hk2.api.MultiException: A MultiException has 2 exceptions.  They are:
1. java.lang.InstantiationException
2. java.lang.IllegalStateException: Unable to perform operation: create on org.onap.holmes.rulemgt.db.CorrelationRuleDao

	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:368)
	at org.jvnet.hk2.internal.AutoActiveDescriptor.create(AutoActiveDescriptor.java:148)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:455)
	at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
	at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
	at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
	at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
	at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:758)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:721)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:691)
	at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.lambda$recordTimeCost$16(AutoConfigBundle.java:359)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
	at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.recordTimeCost(AutoConfigBundle.java:356)
	at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.registerServices(AutoConfigBundle.java:300)
	at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:129)
	at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:61)
	at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:199)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:94)
	at org.onap.holmes.rulemgt.RuleActiveApp.main(RuleActiveApp.java:34)
Caused by: java.lang.InstantiationException: null
	at java.base/jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
	at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:248)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:342)
	... 34 common frames omitted
2022-04-28 15:41:05 122 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-28 15:41:05 122 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil,cost time:0
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-28 15:41:05 123 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao,cost time:0
2022-04-28 15:41:05 124 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-28 15:41:05 124 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource,cost time:0
2022-04-28 15:41:05 124 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-04-28 15:41:05 124 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil,cost time:0
2022-04-28 15:41:05 124 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-28 15:41:05 125 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController,cost time:1
2022-04-28 15:41:05 125 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery
2022-04-28 15:41:05 125 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery,cost time:0
2022-04-28 15:41:05 129 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-04-28 15:41:05 130 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons,cost time:1
2022-04-28 15:41:05 130 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-04-28 15:41:05 130 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl,cost time:0
2022-04-28 15:41:05 130 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-04-28 15:41:05 131 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil,cost time:1
2022-04-28 15:41:05 131 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-28 15:41:05 131 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck,cost time:0
2022-04-28 15:41:05 136 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-28 15:41:05 192 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-28 15:41:05 192 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-28 15:41:05 193 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-28 15:41:05 193 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-28 15:41:05 193 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-28 15:41:05 198 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-04-28 15:41:05 198 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-04-28 15:41:05 200 INFO  [io.dropwizard.server.ServerFactory][main] invocationID:{InvocationID} - Starting RuleActiveApp

                                                                           
2022-04-28 15:41:05 321 INFO  [org.eclipse.jetty.setuid.SetUIDListener][main] invocationID:{InvocationID} - Opened RuleActiveApp@7bdf61ad{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-04-28 15:41:05 323 INFO  [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - jetty-9.4.29.v20200521; built: 2020-05-21T17:20:40.598Z; git: 77c232aed8a45c818fd27232278d9f95a021095e; jvm 11.0.6+10
2022-04-28 15:41:06 499 INFO  [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@1859ffda(holmes-rule-mgmt@holmes-rule-mgmt.onap.org,h=[holmes-rule-mgmt, holmes-rule-mgmt.api.simpledemo.onap.org, holmes-rule-mgmt.onap],w=[]) for Server@5ae15[provider=null,keyStore=file:///opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12,trustStore=null]
2022-04-28 15:41:06 588 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled protocols: [TLSv1.2, TLSv1.3]
2022-04-28 15:41:06 588 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1]
2022-04-28 15:41:06 588 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled cipher suites: [TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
2022-04-28 15:41:06 588 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled cipher suites: [TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384]
2022-04-28 15:41:06 590 INFO  [io.dropwizard.setup.AdminEnvironment][main] invocationID:{InvocationID} - tasks = 

    POST    /tasks/log-level (io.dropwizard.servlets.tasks.LogConfigurationTask)
    POST    /tasks/gc (io.dropwizard.servlets.tasks.GarbageCollectionTask)

2022-04-28 15:41:06 601 INFO  [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@5489b1f7{/admin,null,AVAILABLE}
2022-04-28 15:41:07 103 INFO  [io.dropwizard.jersey.DropwizardResourceConfig][main] invocationID:{InvocationID} - The following paths were found for the configured resources:

    GET     /api/holmes-rule-mgmt/v1/healthcheck (org.onap.holmes.rulemgt.resources.HealthCheck)
    GET     /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
    POST    /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
    PUT     /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
    DELETE  /api/holmes-rule-mgmt/v1/rule/{ruleid} (org.onap.holmes.rulemgt.resources.RuleMgtResources)
    GET     /api/holmes-rule-mgmt/v1/swagger.json (org.onap.holmes.rulemgt.resources.SwaggerResource)

2022-04-28 15:41:07 109 INFO  [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@541d4d9f{/,null,AVAILABLE}
2022-04-28 15:41:07 127 INFO  [org.eclipse.jetty.server.AbstractConnector][main] invocationID:{InvocationID} - Started RuleActiveApp@7bdf61ad{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-04-28 15:41:07 127 INFO  [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - Started @4487ms
2022-04-28 15:41:10 159 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start to register Holmes Service to MSB...
2022-04-28 15:41:10 209 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Registration information: {"serviceName":"holmes-rule-mgmt","version":"v1","url":"/api/holmes-rule-mgmt/v1","protocol":"REST","visualRange":"0|1","lb_policy":"round-robin","path":"/api/holmes-rule-mgmt/v1","nodes":[{"ip":"10.233.69.182","port":"9101","ttl":"","checkType":"","checkUrl":""}],"enable_ssl":true}
2022-04-28 15:41:10 209 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 0
2022-04-28 15:41:12 483 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:12 483 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 1
2022-04-28 15:41:14 535 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:14 535 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 2
2022-04-28 15:41:15 173 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:41:16 582 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:16 582 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 3
2022-04-28 15:41:18 622 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:18 622 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 4
2022-04-28 15:41:20 673 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:20 674 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 5
2022-04-28 15:41:22 721 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:22 722 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 6
2022-04-28 15:41:24 775 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:24 775 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 7
2022-04-28 15:41:26 824 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:26 824 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 8
2022-04-28 15:41:28 862 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:28 862 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 9
2022-04-28 15:41:30 911 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:30 912 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 10
2022-04-28 15:41:32 958 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:32 958 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 11
2022-04-28 15:41:35 016 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:35 017 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 12
2022-04-28 15:41:37 057 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:37 058 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 13
2022-04-28 15:41:39 102 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:39 102 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 14
2022-04-28 15:41:41 151 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:41 152 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 15
2022-04-28 15:41:43 218 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:43 218 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 16
2022-04-28 15:41:45 117 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:41:45 257 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:45 263 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 17
2022-04-28 15:41:47 295 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:47 295 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 18
2022-04-28 15:41:49 342 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:49 342 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 19
2022-04-28 15:41:51 393 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: java.net.ConnectException: Connection refused (Connection refused)
javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:261)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:619)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:654)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:648)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:648)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:618)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:423)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:329)
	at org.onap.holmes.common.utils.JerseyClient.post(JerseyClient.java:148)
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:63)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
	at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:364)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:259)
	... 18 common frames omitted
2022-04-28 15:41:51 393 ERROR [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB!
org.onap.holmes.common.exception.CorrelationException: Failed to register the service to MSB!
	at org.onap.holmes.common.utils.MsbRegister.register2Msb(MsbRegister.java:82)
	at org.onap.holmes.rulemgt.Initializer.lambda$init$0(Initializer.java:56)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
2022-04-28 15:42:05 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:42:05 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:42:05 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f1e50b6a-1688-43c5-9be8-39486141a3b2
2022-04-28 15:42:05 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:42:05 514 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@52fa4bb3
127.0.0.1 - - [28/Apr/2022:15:42:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 101
2022-04-28 15:42:05 641 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:42:05 641 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:42:05 641 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 24e1035a-e8bd-4be6-920f-a9ce54eb7219
2022-04-28 15:42:05 641 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:42:05 668 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:42:05 969 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:42:05 969 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:42:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 346
2022-04-28 15:42:05 977 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:42:05 978 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:42:15 117 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:42:35 260 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:42:35 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:42:35 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8bfb169b-4b26-437f-8259-2554bf16a7eb
2022-04-28 15:42:35 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:42:35 276 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@71e6c9
127.0.0.1 - - [28/Apr/2022:15:42:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 19
2022-04-28 15:42:35 334 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:42:35 334 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:42:35 334 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2081ce49-9948-44b4-89f0-c4be23070dc5
2022-04-28 15:42:35 334 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:42:35 350 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:42:35 458 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:42:35 459 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:42:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 129
2022-04-28 15:42:35 461 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:42:35 461 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:42:45 118 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:43:05 258 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:05 258 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:05 258 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a3182ed2-0629-40c7-aad6-9611070ecb93
2022-04-28 15:43:05 258 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:43:05 271 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@6aa839e3
127.0.0.1 - - [28/Apr/2022:15:43:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 16
2022-04-28 15:43:05 406 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:05 407 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:05 407 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 936530e2-524a-4196-b0a3-47968bbf8659
2022-04-28 15:43:05 407 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:43:05 418 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:43:05 484 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:43:05 484 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:43:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 81
2022-04-28 15:43:05 488 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:43:05 488 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:43:08 488 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:08 489 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:08 489 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c4e92e2b-5a87-4a8d-a2df-7388ce504d5f
2022-04-28 15:43:08 489 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:43:08 489 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:08 489 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:08 489 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2d2a4452-5f98-4d74-8740-ce9e510dfb31
2022-04-28 15:43:08 489 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
10.233.69.19 - - [28/Apr/2022:15:43:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-04-28 15:43:15 118 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:43:18 463 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:18 463 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:18 463 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f781fe99-3e96-4607-b463-2366b40b4076
2022-04-28 15:43:18 463 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:43:28 464 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:28 465 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:28 465 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 57776c8c-0808-4908-a30c-a6d63ed653f6
2022-04-28 15:43:28 465 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:43:35 240 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:35 240 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:35 240 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1211c4ae-c7c6-45e7-8d7a-f75917c4fc68
2022-04-28 15:43:35 241 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:43:35 247 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@8190eff
127.0.0.1 - - [28/Apr/2022:15:43:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 10
2022-04-28 15:43:35 291 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:35 291 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:35 291 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d4c124b3-d33f-4963-9505-16b0e4aa4d26
2022-04-28 15:43:35 291 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:43:35 299 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:43:35 349 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:43:35 349 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
2022-04-28 15:43:35 351 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
127.0.0.1 - - [28/Apr/2022:15:43:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 61
2022-04-28 15:43:35 351 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:43:38 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:38 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:38 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bb7587b6-25f1-4658-b4ab-7ed69e321261
2022-04-28 15:43:38 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:43:38 464 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:38 464 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:38 464 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 69797a3f-10c1-4ebd-be93-f9ca44344a4a
2022-04-28 15:43:38 465 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:43:45 118 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:43:48 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:48 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:48 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: be6f8448-9f6f-410f-a87b-4856ec4fc6c3
2022-04-28 15:43:48 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:43:58 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:43:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:43:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 372bca6e-961f-453d-8a7a-6629e919aeeb
2022-04-28 15:43:58 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:43:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:44:05 251 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:05 251 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:05 251 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cd51da57-3ba6-49df-be7e-25e3d7e417a8
2022-04-28 15:44:05 251 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:44:05 269 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@12743d55
127.0.0.1 - - [28/Apr/2022:15:44:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 19
2022-04-28 15:44:05 321 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:05 321 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:05 321 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: df0cb8fe-790e-4f65-8344-92bcaa5e8df5
2022-04-28 15:44:05 321 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:44:05 331 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:44:05 384 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:44:05 384 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:44:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 66
2022-04-28 15:44:05 387 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:44:05 388 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:44:08 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:08 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:08 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cc7a9ed2-54fc-4890-b84f-a48d89db6951
2022-04-28 15:44:08 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:44:08 465 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:08 466 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:08 466 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 95ebfc45-891c-4679-a8d6-29065e33fa55
2022-04-28 15:44:08 466 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:44:15 119 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:44:18 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:18 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:18 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 393ab50a-8d01-48ea-8d20-fcca28e94405
2022-04-28 15:44:18 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-28 15:44:28 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:28 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:28 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: da5cd924-deef-46e4-9b30-3dfb3783d255
2022-04-28 15:44:28 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:44:35 254 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:35 254 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:35 254 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e8de3a2-5e5d-40bf-92dd-786dbb7569c2
2022-04-28 15:44:35 254 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:44:35 260 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@7336b4c0
127.0.0.1 - - [28/Apr/2022:15:44:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-28 15:44:35 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:35 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:35 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b00a14bc-e35e-4028-94e9-e758db9297da
2022-04-28 15:44:35 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:44:35 310 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:44:35 356 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:44:35 356 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:44:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 58
2022-04-28 15:44:35 360 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:44:35 361 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:44:38 460 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:38 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:38 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 329d3c3a-9538-4dc1-996f-599f490c7401
2022-04-28 15:44:38 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:44:38 463 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:38 463 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:38 463 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 12c753e0-3213-44fb-8721-70ab981fdc93
2022-04-28 15:44:38 463 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.69.19 - - [28/Apr/2022:15:44:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:44:45 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:44:48 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:48 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:48 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e57d8fa9-35a2-4134-b0b2-23a21e265578
2022-04-28 15:44:48 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:44:58 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:44:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:44:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f3c51e88-ef9c-49b9-8872-19d29e0bddd5
2022-04-28 15:44:58 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:44:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:45:05 246 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:05 246 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:05 246 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 23349a15-dc5b-484b-80b4-8ad47bd4cec3
2022-04-28 15:45:05 246 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:45:05 251 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@4a49c15b
127.0.0.1 - - [28/Apr/2022:15:45:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-04-28 15:45:05 366 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:05 366 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:05 366 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 036ec08f-b22c-455d-a187-0f02ef39ce55
2022-04-28 15:45:05 366 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:45:05 392 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:45:05 446 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:45:05 446 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:45:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 84
2022-04-28 15:45:05 449 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:45:05 450 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:45:08 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:08 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:08 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8aa00460-e7cb-4e25-9eae-9d55725c0ef9
2022-04-28 15:45:08 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:45:08 472 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:08 473 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:08 473 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b6bf0caf-29d2-45e5-a670-e37a6ffd6d98
2022-04-28 15:45:08 473 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:45:15 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:45:18 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:18 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:18 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8150f1b1-c32c-489b-8f7c-3b521cedb71d
2022-04-28 15:45:18 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:45:28 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:28 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:28 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a722076d-de6e-4b04-8850-af12f1bc6faf
2022-04-28 15:45:28 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:45:35 237 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:35 238 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:35 238 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 769b6c69-7b80-49c4-9103-ca634815e463
2022-04-28 15:45:35 238 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:45:35 242 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@44c03fef
127.0.0.1 - - [28/Apr/2022:15:45:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-28 15:45:35 287 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:35 287 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:35 288 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 342e21aa-fd56-4e0b-9242-72d59ee2f13e
2022-04-28 15:45:35 288 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:45:35 297 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:45:35 344 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:45:35 345 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:45:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 61
2022-04-28 15:45:35 348 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:45:35 348 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:45:38 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:38 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f19e5df4-74ce-49c3-b4a9-5d87f980e473
2022-04-28 15:45:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:45:38 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:38 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:38 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 216521da-143e-4a91-bc3d-bb141dbacb94
2022-04-28 15:45:38 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-28 15:45:45 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:45:48 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:48 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:48 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bc84b2c0-18ac-4145-afe0-88971305bfcb
2022-04-28 15:45:48 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:45:58 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:45:58 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:45:58 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c1886a73-2eb5-482f-bb3a-0ac97eaaed83
2022-04-28 15:45:58 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:45:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:46:05 230 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:05 230 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:05 230 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 97d2745f-77ad-445d-9a34-0c3093a2489e
2022-04-28 15:46:05 230 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:05 235 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@67ae304b
127.0.0.1 - - [28/Apr/2022:15:46:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-04-28 15:46:05 285 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:05 285 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:05 285 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1359cb75-307e-40b0-92af-261c52c034d6
2022-04-28 15:46:05 285 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:05 295 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:46:05 335 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:46:05 335 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:46:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 53
2022-04-28 15:46:05 338 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:46:05 338 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:46:08 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:08 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:08 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c4a487fd-3824-470b-bf74-198f4c6d20c4
2022-04-28 15:46:08 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e64857f3-e26a-4ede-9e28-457ddd601425
2022-04-28 15:46:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.69.19 - - [28/Apr/2022:15:46:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 10
2022-04-28 15:46:15 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:46:18 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:18 447 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:18 447 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: df221c63-adb3-4830-be1c-b3afb6913a07
2022-04-28 15:46:18 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:46:28 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:28 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:28 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cc08f1b0-ad35-4cb8-922a-8dd1a989dd9e
2022-04-28 15:46:28 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:46:35 230 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:35 230 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:35 230 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5123fa89-6fe3-4685-a92c-5e5c968e0406
2022-04-28 15:46:35 230 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:35 234 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@2d3f1180
127.0.0.1 - - [28/Apr/2022:15:46:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:46:35 273 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:35 273 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:35 273 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1e976753-ebad-4de9-a875-e88e69f10b6d
2022-04-28 15:46:35 274 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:35 289 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:46:35 331 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:46:35 332 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:46:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 60
2022-04-28 15:46:35 334 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:46:35 334 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:46:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2481fc08-4101-418b-b478-fb5cd9548849
2022-04-28 15:46:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:46:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b3d4fa06-d188-43cd-852d-83a973fc076f
2022-04-28 15:46:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.69.19 - - [28/Apr/2022:15:46:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:46:45 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:46:48 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:48 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:48 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 25900773-9d35-478a-bf48-f4945d2b1fc5
2022-04-28 15:46:48 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:46:58 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:46:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:46:58 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 028d2cd6-cab2-4fba-b76b-b23c5292f305
2022-04-28 15:46:58 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:46:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:47:05 229 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:05 229 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:05 229 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2d4b1b3c-03ec-4c25-9ef8-1012bf757402
2022-04-28 15:47:05 229 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:05 233 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@58688d7f
127.0.0.1 - - [28/Apr/2022:15:47:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 18
2022-04-28 15:47:05 289 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:05 289 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:05 289 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d613242f-3cdb-41a4-a620-a310f87c671f
2022-04-28 15:47:05 289 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:05 296 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:47:05 398 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:47:05 401 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:47:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 122
2022-04-28 15:47:05 414 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:47:05 414 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:47:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 829ff5d1-7361-4823-9c66-e59ee18be91a
2022-04-28 15:47:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:08 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:08 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:08 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bafd43f0-823a-4b85-9dfc-46c016623c05
2022-04-28 15:47:08 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.69.19 - - [28/Apr/2022:15:47:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:47:15 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:47:18 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:18 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:18 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f54d36e9-7868-419c-8a63-2e1aeb6c1622
2022-04-28 15:47:18 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:47:28 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:28 448 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:28 448 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 58e4d1d6-89e2-4820-96a6-124f00523390
2022-04-28 15:47:28 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-28 15:47:35 243 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:35 243 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:35 243 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1e15bf30-cd7f-4f6f-bc2c-3d7af0833884
2022-04-28 15:47:35 243 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:35 249 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@10f8d9f8
127.0.0.1 - - [28/Apr/2022:15:47:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-28 15:47:35 285 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:35 285 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:35 285 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 01354c5f-09f9-4593-9b22-3392d72fafec
2022-04-28 15:47:35 285 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:35 293 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:47:35 334 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:47:35 334 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:47:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 53
2022-04-28 15:47:35 338 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:47:35 338 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:47:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:38 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:38 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 95b45888-4095-4377-9fed-cf42a0a2aecf
2022-04-28 15:47:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:47:38 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:38 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:38 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: db1dcb47-fcbd-44cd-88b2-b41f8bee2ff9
2022-04-28 15:47:38 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.69.19 - - [28/Apr/2022:15:47:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:47:45 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:47:48 462 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:48 462 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:48 462 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 06f15fc3-a823-4521-9778-e661cade70e0
2022-04-28 15:47:48 462 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:47:58 444 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:47:58 444 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:47:58 444 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f614af57-7efd-4101-bd6f-f4f0c39c80cb
2022-04-28 15:47:58 444 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:47:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:48:05 228 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:05 228 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:05 228 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eb2f5977-b36e-4587-b1ba-4bca7320adbd
2022-04-28 15:48:05 228 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:48:05 233 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@17e343e2
127.0.0.1 - - [28/Apr/2022:15:48:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:48:05 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:05 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:05 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 88308ae6-7b7e-45d0-98ec-bafdf44f9c10
2022-04-28 15:48:05 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:48:05 283 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:48:05 326 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:48:05 327 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:48:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 54
2022-04-28 15:48:05 330 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:48:05 330 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:48:08 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:08 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:08 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aafadd66-8cb3-4800-b38f-f8c8e73c5ce4
2022-04-28 15:48:08 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:48:08 460 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:08 460 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:08 460 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3a01efab-0776-488c-b51c-50bae120b972
2022-04-28 15:48:08 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:48:15 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:48:18 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:18 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:18 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 847e1276-969d-4e59-88b0-eb295e94837d
2022-04-28 15:48:18 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-28 15:48:28 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:28 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:28 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 79c0c1ff-51a0-4607-b4db-b854aba1ca68
2022-04-28 15:48:28 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:48:35 227 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:35 227 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:35 227 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 55282136-8ac8-4aec-b175-a0a2a99a1bd9
2022-04-28 15:48:35 227 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:48:35 230 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@de4151b
127.0.0.1 - - [28/Apr/2022:15:48:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:48:35 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:35 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:35 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: edd3da93-cccf-4998-884a-8d80e4eb0846
2022-04-28 15:48:35 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:48:35 275 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:48:35 323 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:48:35 323 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:48:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 59
2022-04-28 15:48:35 325 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:48:35 325 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:48:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e7e8446c-8621-4e68-9671-5d01d9d3f03f
2022-04-28 15:48:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ea011309-dc49-40ec-bfad-4444aabeff3d
2022-04-28 15:48:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:48:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.69.19 - - [28/Apr/2022:15:48:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:48:45 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:48:48 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:48 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:48 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d5527135-3bc9-4235-b723-dbdbcad7aaa9
2022-04-28 15:48:48 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:48:58 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:48:58 448 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:48:58 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a8ea8609-902f-438e-a8ce-7c7980c2be4f
2022-04-28 15:48:58 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:48:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:49:05 226 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:05 226 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:05 226 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5154f43c-f04a-4348-bcf0-538edfbd768e
2022-04-28 15:49:05 227 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:05 230 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@31ab2c69
127.0.0.1 - - [28/Apr/2022:15:49:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 5
2022-04-28 15:49:05 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:05 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:05 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6b8b3749-cbf3-452d-85c2-5bee734c6884
2022-04-28 15:49:05 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:05 274 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:49:05 314 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:49:05 315 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:49:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 51
2022-04-28 15:49:05 317 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:49:05 317 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:49:08 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:08 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:08 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:08 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8fe3ced4-287e-467a-9408-e57a2342f144
2022-04-28 15:49:08 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:08 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 743d0913-7f96-49e8-a6c8-8397b9b9788b
2022-04-28 15:49:08 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:08 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.69.19 - - [28/Apr/2022:15:49:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:49:15 120 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:49:18 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:18 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:18 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a2810846-1262-450d-8280-e39b36ba6d2e
2022-04-28 15:49:18 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:49:28 446 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:28 446 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:28 446 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 27eb01b2-8dc9-410d-b3d9-83d2f6aeec66
2022-04-28 15:49:28 446 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:49:35 290 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:35 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:35 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6ef2297a-64c8-4203-9246-464741e1e2f1
2022-04-28 15:49:35 290 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:35 295 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@6317a50
127.0.0.1 - - [28/Apr/2022:15:49:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:49:35 331 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:35 332 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:35 332 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5dc34183-1a89-4d00-b143-861acb3f9636
2022-04-28 15:49:35 340 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:35 349 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:49:35 397 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:49:35 398 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:49:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 69
2022-04-28 15:49:35 401 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:49:35 401 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:49:38 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:38 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:38 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 120222fa-a160-4fe3-aad4-c8ab4f36cd29
2022-04-28 15:49:38 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:49:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1094a878-cfbd-4000-ac30-c2a9d633ff52
2022-04-28 15:49:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.69.19 - - [28/Apr/2022:15:49:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-28 15:49:45 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:49:48 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:48 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:48 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1bc3bf4b-0490-4ad0-81ce-bfd8df91cb29
2022-04-28 15:49:48 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:49:58 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:49:58 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:49:58 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1b767c14-bcef-44d9-82fd-a4b9e4bdf41e
2022-04-28 15:49:58 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:49:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:50:05 227 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:05 227 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:05 227 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5372e345-8fb7-42ad-a3bf-6b629e437591
2022-04-28 15:50:05 227 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:50:05 233 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@2b779049
127.0.0.1 - - [28/Apr/2022:15:50:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-28 15:50:05 274 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:05 274 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:05 274 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6ecf069e-b6bb-4677-80f9-c409be329194
2022-04-28 15:50:05 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:50:05 290 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:50:05 334 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:50:05 334 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
2022-04-28 15:50:05 338 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:50:05 338 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
127.0.0.1 - - [28/Apr/2022:15:50:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 63
2022-04-28 15:50:08 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:08 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:08 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2e009fb9-1f48-4149-bdb8-78aaa16a70c3
2022-04-28 15:50:08 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:50:08 457 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:08 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:08 457 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d2517742-4c67-46cb-b3a3-b5755cca424c
2022-04-28 15:50:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:50:15 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:50:18 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:18 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:18 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 80d8f73e-b289-4fa1-a461-a8031a380349
2022-04-28 15:50:18 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:50:28 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:28 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:28 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0e5aceec-770f-4c16-a721-ae42000282e8
2022-04-28 15:50:28 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:50:35 229 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:35 229 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:35 229 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2ff0aa2f-14f6-4f33-b2e9-1e1faac26e1e
2022-04-28 15:50:35 229 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:50:35 233 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@193fc06d
127.0.0.1 - - [28/Apr/2022:15:50:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:50:35 264 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:35 264 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:35 264 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4e9b0d6f-cd9b-4135-8e08-9a1d48bf2a8f
2022-04-28 15:50:35 264 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:50:35 271 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:50:35 317 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:50:35 317 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:50:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 54
2022-04-28 15:50:35 319 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:50:35 319 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:50:38 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:38 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:38 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f0c6b83d-e3e8-4fc6-8226-87b589b9896b
2022-04-28 15:50:38 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:50:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:38 454 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 76bd7b12-dd33-4afc-9032-db43c8fc81dd
2022-04-28 15:50:38 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
10.233.69.19 - - [28/Apr/2022:15:50:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-28 15:50:45 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:50:48 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:48 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:48 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f484bf04-a59d-4385-a931-abb8f5c9af53
2022-04-28 15:50:48 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:50:58 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:50:58 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:50:58 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 011f1ec6-49ce-4d66-92b6-97a7e150c7a7
2022-04-28 15:50:58 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:50:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:51:05 225 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:05 225 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:05 225 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 36b723ce-bcee-4082-910c-a123d23ce6ea
2022-04-28 15:51:05 225 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:51:05 229 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@85b0910
127.0.0.1 - - [28/Apr/2022:15:51:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:51:05 268 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:05 268 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:05 268 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2dcc8ce9-5283-4f7c-9452-6acda452f184
2022-04-28 15:51:05 268 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:51:05 276 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:51:05 313 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:51:05 314 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:51:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 49
2022-04-28 15:51:05 316 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:51:05 316 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:51:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4196a77a-a7c1-40dc-a006-bde8bd2c69c6
2022-04-28 15:51:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:51:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0958feba-0eaf-4ee3-ba5d-83bc5a1cefa0
2022-04-28 15:51:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
10.233.69.19 - - [28/Apr/2022:15:51:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:51:15 122 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:51:18 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:18 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:18 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 886fbb53-d217-4c49-9337-35b5f5de214f
2022-04-28 15:51:18 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:51:28 446 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:28 446 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:28 446 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 61018ebd-15bf-427f-8791-a42d8c297142
2022-04-28 15:51:28 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-28 15:51:35 247 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:35 247 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:35 247 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b175b2cf-dd01-4228-b339-4e7f70fe2b1b
2022-04-28 15:51:35 248 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:51:35 252 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@6383ae45
127.0.0.1 - - [28/Apr/2022:15:51:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:51:35 361 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:35 361 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:35 361 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1010c6ab-db0c-4b94-b6ac-d8a39008482a
2022-04-28 15:51:35 361 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:51:35 367 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:51:35 405 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:51:35 405 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:51:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 47
2022-04-28 15:51:35 409 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:51:35 409 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:51:38 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:38 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:38 453 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 24f54860-d325-45c5-a278-91ebdc4ab38b
2022-04-28 15:51:38 453 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:51:38 461 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:38 461 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:38 462 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e6bbf51-7c3b-4b96-bb01-0ed58254141d
2022-04-28 15:51:38 462 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:51:45 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:51:48 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:48 447 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:48 447 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c5538e71-5bd0-4672-a737-2db275918f33
2022-04-28 15:51:48 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-28 15:51:58 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:51:58 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:51:58 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f8d5d7cb-8c3f-4a40-8281-bf6438ff77df
2022-04-28 15:51:58 455 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:51:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:52:05 226 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:05 226 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:05 226 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 308d9cd9-5705-4f49-a565-34e49586c31c
2022-04-28 15:52:05 226 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:52:05 231 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@3d2a9428
127.0.0.1 - - [28/Apr/2022:15:52:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-28 15:52:05 278 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:05 278 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:05 278 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 626eca1a-2bd9-4d1f-a29a-98c34d1a42b2
2022-04-28 15:52:05 279 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:52:05 285 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:52:05 321 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:52:05 321 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:52:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 45
2022-04-28 15:52:05 324 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:52:05 324 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:52:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:08 458 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9ea51493-ab62-44ce-b1e5-f803049d6fbd
2022-04-28 15:52:08 458 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:52:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:08 459 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c490b9b2-1741-4a40-9d9d-1f698a2f9cd1
2022-04-28 15:52:08 459 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.69.19 - - [28/Apr/2022:15:52:08 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-28 15:52:15 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:52:18 447 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:18 448 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:18 448 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 41671069-9fc2-447a-b07d-caec2ff0c01c
2022-04-28 15:52:18 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:18 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:52:28 448 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:28 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:28 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b52f8ba8-8d85-4d07-b8e5-79cab20c401b
2022-04-28 15:52:28 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:28 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-28 15:52:35 238 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:35 238 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:35 238 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0dae975a-c39f-4f44-9224-c8149d6fef1b
2022-04-28 15:52:35 238 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:52:35 242 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@1b47071b
127.0.0.1 - - [28/Apr/2022:15:52:35 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 20
2022-04-28 15:52:35 281 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:35 281 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:35 281 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9cccf89a-cd9f-4aa1-ac92-0f1f9f5e1661
2022-04-28 15:52:35 281 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:52:35 287 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
2022-04-28 15:52:35 334 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:52:35 334 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [28/Apr/2022:15:52:35 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 57
2022-04-28 15:52:35 337 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:52:35 337 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:52:38 451 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:38 451 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:38 452 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 17476419-26aa-4b4b-b0a5-1afc69474951
2022-04-28 15:52:38 452 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-04-28 15:52:38 464 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:38 464 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:38 464 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eaecff8b-b769-4086-a558-2f7896bd9275
2022-04-28 15:52:38 464 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:52:45 121 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-28 15:52:48 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:48 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:48 449 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c1230eed-8e0b-4c99-99f1-4a62874357e2
2022-04-28 15:52:48 449 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:48 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:52:58 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:52:58 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:52:58 450 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b3ad2888-8552-406c-b6f5-c04d95df49f5
2022-04-28 15:52:58 450 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
10.233.69.19 - - [28/Apr/2022:15:52:58 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-28 15:53:05 222 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-28 15:53:05 222 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:53:05 222 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 66fae24e-708a-437f-b60e-41ddc4ce0040
2022-04-28 15:53:05 222 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:53:05 226 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@946d641
127.0.0.1 - - [28/Apr/2022:15:53:05 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 5
2022-04-28 15:53:05 269 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-28 15:53:05 269 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-28 15:53:05 269 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6fb3740a-9160-42ab-8ec3-c57d4ca044b0
2022-04-28 15:53:05 270 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-04-28 15:53:05 278 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;

import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;

rule "Relation_analysis_Rule"
salience 200
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0,
            $sourceId: sourceId, sourceId != null && !sourceId.equals(""),
            $sourceName: sourceName, sourceName != null && !sourceName.equals(""),
            $startEpochMicrosec: startEpochMicrosec,
            eventName in ("Fault_MultiCloud_VMFailure"),
            $eventId: eventId)
        $child : VesAlarm( eventId != $eventId, parentId == null,
            CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
            eventName in ("Fault_MME_eNodeB out of service alarm"),
            startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        $child.setParentId($root.getEventId());
        update($child);
end

rule "root_has_child_handle_Rule"
salience 150
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
        $child : VesAlarm(eventId != $eventId, parentId == $eventId)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_no_child_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
            sourceId != null && !sourceId.equals(""),
            sourceName != null && !sourceName.equals(""),
            eventName in ("Fault_MultiCloud_VMFailure"))
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        $root.setRootFlag(1);
        update($root);
end

rule "root_cleared_handle_Rule"
salience 100
no-loop true
    when
        $root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
        DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
        PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
        dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
        retract($root);
end

rule "child_handle_Rule"
salience 100
no-loop true
    when
        $child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
    then
        DroolsLog.printInfo("===========================================================");
        DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
        retract($child);
end
127.0.0.1 - - [28/Apr/2022:15:53:05 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 59
2022-04-28 15:53:05 326 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.74.173:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-28 15:53:05 327 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
	at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
	at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
	at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
	at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
	at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
	at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
	at java.base/java.lang.Thread.run(Unknown Source)
2022-04-28 15:53:05 329 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>. 
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause: 
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-04-28 15:53:05 329 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-04-28 15:53:08 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-28 15:53:08 456 INFO  [org.onap.holmes.common.ut