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.2.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.72.155
DB_PORT=5432
ENABLE_ENCRYPT=true
KEY_PATH=/opt/onap/bin/../conf/holmes.keystore
KEY_PASS=holmes
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".
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:48: NOTICE:  relation "aplus_rule" already exists, skipping
CREATE TABLE
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:50: ERROR:  relation "idx_aplus_rule_name" already exists
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:51: ERROR:  relation "idx_aplus_rule_ctrlloop" already exists
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:52: ERROR:  relation "idx_aplus_rule_enable" already exists
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:53: ERROR:  relation "idx_aplus_rule_templateid" already exists
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:54: ERROR:  relation "idx_aplus_rule_engineid" already exists
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:55: ERROR:  relation "idx_aplus_rule_enginetype" already exists
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-09-09 23:56:07,110] org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle: Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreLoad service is empty
2022-09-09 23:56:11 211 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-09-09 23:56:11 219 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-09-09 23:56:11 337 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:org.onap.holmes.rulemgt.RuleAppConfig
2022-09-09 23:56:11 340 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:io.dropwizard.Configuration
2022-09-09 23:56:11 346 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Sub Configuration class name io.dropwizard.db.DataSourceFactory
2022-09-09 23:56:11 349 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard environment, class name : io.dropwizard.setup.Environment
2022-09-09 23:56:11 351 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard objectMapper, class name : com.fasterxml.jackson.databind.ObjectMapper
2022-09-09 23:56:11 374 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-09-09 23:56:11 376 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-09-09 23:56:11 377 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-09-09 23:56:11 398 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-09-09 23:56:11 450 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-09-09 23:56:11 456 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.DbDaoUtil
2022-09-09 23:56:11 475 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-09-09 23:56:11 478 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-09-09 23:56:11 481 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAllocator
2022-09-09 23:56:11 485 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-09-09 23:56:11 494 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-09-09 23:56:11 496 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-09-09 23:56:11 497 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-09-09 23:56:11 510 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQueryMdons
2022-09-09 23:56:11 513 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiResponseUtil
2022-09-09 23:56:11 528 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAppConfig
2022-09-09 23:56:11 529 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.MsbRegister
2022-09-09 23:56:11 534 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.CommonUtils
2022-09-09 23:56:11 536 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-09-09 23:56:11 550 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-09-09 23:56:11 553 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiJsonParserUtil
2022-09-09 23:56:11 554 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-09-09 23:56:11 616 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.Initializer
2022-09-09 23:56:11 618 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-09-09 23:56:11 645 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-09-09 23:56:11 650 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.DmaapService
2022-09-09 23:56:11 678 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.Publisher
2022-09-09 23:56:11 679 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.tools.EngineTools
2022-09-09 23:56:11 681 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.SwaggerResource
2022-09-09 23:56:11 682 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.HealthCheck
2022-09-09 23:56:11 684 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery
2022-09-09 23:56:11 686 INFO  [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-09-09 23:56:11 717 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-09-09 23:56:11 717 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-09-09 23:56:11 718 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-09-09 23:56:11 718 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-09-09 23:56:11 718 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAllocator
2022-09-09 23:56:11 718 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-09-09 23:56:11 719 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-09-09 23:56:11 719 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-09-09 23:56:11 719 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-09-09 23:56:11 720 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-09-09 23:56:11 720 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-09-09 23:56:11 720 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-09-09 23:56:11 720 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.MsbRegister
2022-09-09 23:56:11 721 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.CommonUtils
2022-09-09 23:56:11 726 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-09-09 23:56:11 726 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-09-09 23:56:11 726 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-09-09 23:56:11 727 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-09-09 23:56:11 728 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.Initializer
2022-09-09 23:56:11 728 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-09-09 23:56:11 728 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-09-09 23:56:11 728 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-09-09 23:56:11 729 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.Publisher
2022-09-09 23:56:11 736 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-09-09 23:56:11 739 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-09-09 23:56:11 739 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-09-09 23:56:11 740 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery
2022-09-09 23:56:11 740 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-09-09 23:56:11 744 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-09-09 23:56:11 745 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-09-09 23:56:11 746 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-09-09 23:56:11 914 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil,cost time:168
2022-09-09 23:56:11 915 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-09-09 23:56:11 915 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-09-09 23:56:11 916 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-09-09 23:56:11 916 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:0
2022-09-09 23:56:11 917 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-09-09 23:56:12 250 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator,cost time:333
2022-09-09 23:56:12 250 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-09-09 23:56:12 252 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController,cost time:2
2022-09-09 23:56:12 252 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-09-09 23:56:12 253 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-09-09 23:56:12 253 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-09-09 23:56:12 253 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-09-09 23:56:12 253 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-09-09 23:56:12 253 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-09-09 23:56:12 254 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-09-09 23:56:12 268 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons,cost time:14
2022-09-09 23:56:12 269 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-09-09 23:56:12 269 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil,cost time:0
2022-09-09 23:56:12 269 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-09-09 23:56:12 270 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig,cost time:1
2022-09-09 23:56:12 270 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister
2022-09-09 23:56:12 586 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister,cost time:316
2022-09-09 23:56:12 587 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils
2022-09-09 23:56:12 601 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-09-09 23:56:12 601 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-09-09 23:56:12 602 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-09-09 23:56:12 602 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-09-09 23:56:12 604 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2,cost time:0
2022-09-09 23:56:12 604 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-09-09 23:56:12 604 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-09-09 23:56:12 604 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-09-09 23:56:12 623 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-09-09 23:56:12 626 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer
2022-09-09 23:56:12 640 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer,cost time:14
2022-09-09 23:56:12 640 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-09-09 23:56:12 640 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources,cost time:0
2022-09-09 23:56:12 641 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-09-09 23:56:12 653 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:12
2022-09-09 23:56:12 653 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-09-09 23:56:12 676 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService,cost time:23
2022-09-09 23:56:12 677 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher
2022-09-09 23:56:12 679 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher,cost time:2
2022-09-09 23:56:12 679 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-09-09 23:56:12 679 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-09-09 23:56:12 679 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-09-09 23:56:12 680 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource,cost time:1
2022-09-09 23:56:12 680 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-09-09 23:56:12 680 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-09-09 23:56:12 681 INFO  [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Not ready for MSB registration. Try again after 5 seconds...
2022-09-09 23:56:12 684 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery
2022-09-09 23:56:12 685 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery,cost time:1
2022-09-09 23:56:12 685 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-09-09 23:56:12 686 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-09-09 23:56:12 722 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-09-09 23:56:13 055 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-09-09 23:56:13 055 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-09-09 23:56:13 057 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-09-09 23:56:13 057 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-09-09 23:56:13 058 INFO  [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-09-09 23:56:13 103 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-09-09 23:56:13 103 INFO  [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-09-09 23:56:13 105 INFO  [io.dropwizard.server.ServerFactory][main] invocationID:{InvocationID} - Starting RuleActiveApp

                                                                           
2022-09-09 23:56:13 413 INFO  [org.eclipse.jetty.setuid.SetUIDListener][main] invocationID:{InvocationID} - Opened RuleActiveApp@54336976{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-09-09 23:56:13 418 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-09-09 23:56:14 912 INFO  [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@2574a9e3(holmes,h=[],w=[]) for Server@3fe512d2[provider=null,keyStore=file:///opt/onap/conf/holmes.keystore,trustStore=null]
2022-09-09 23:56:14 916 INFO  [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@3fde8f7c(serverkey,h=[],w=[]) for Server@3fe512d2[provider=null,keyStore=file:///opt/onap/conf/holmes.keystore,trustStore=null]
2022-09-09 23:56:15 084 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled protocols: [TLSv1.2, TLSv1.3]
2022-09-09 23:56:15 084 INFO  [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1]
2022-09-09 23:56:15 084 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-09-09 23:56:15 084 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-09-09 23:56:15 089 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-09-09 23:56:15 134 INFO  [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@4faf104{/admin,null,AVAILABLE}
2022-09-09 23:56:16 872 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-09-09 23:56:16 877 INFO  [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@147e0734{/,null,AVAILABLE}
2022-09-09 23:56:17 067 INFO  [org.eclipse.jetty.server.AbstractConnector][main] invocationID:{InvocationID} - Started RuleActiveApp@54336976{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-09-09 23:56:17 067 INFO  [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - Started @13757ms
2022-09-09 23:56:17 755 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start to register Holmes Service to MSB...
2022-09-09 23:56:17 992 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.72.155","port":"9101","ttl":"","checkType":"","checkUrl":""}],"enable_ssl":true}
2022-09-09 23:56:17 992 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 1
2022-09-09 23:56:19 621 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-09 23:56:19 622 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 20s and try again.
2022-09-09 23:56:19 622 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-09 23:56:24 085 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:56:39 633 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-09 23:56:39 633 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 2
2022-09-09 23:56:40 027 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-09 23:56:40 027 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 40s and try again.
2022-09-09 23:56:40 027 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-09 23:56:52 447 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:57:14 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:57:14 283 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:57:14 283 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b1fb5bb2-1ada-42ea-95fe-48baaccc7cc3
2022-09-09 23:57:14 284 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:57:14 716 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@5f2fa33e
127.0.0.1 - - [09/Sep/2022:23:57:14 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 594
2022-09-09 23:57:15 352 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:57:15 352 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:57:15 352 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fdb63fb9-f6c8-47be-9de5-9183c237d393
2022-09-09 23:57:15 352 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:57:15 505 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-09-09 23:57:16 001 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:57:16 002 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-09-09 23:57:16 023 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-09-09 23:57:16 023 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 - - [09/Sep/2022:23:57:16 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 680
2022-09-09 23:57:20 027 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-09 23:57:20 028 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 3
2022-09-09 23:57:20 096 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-09 23:57:20 097 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 60s and try again.
2022-09-09 23:57:20 097 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-09 23:57:22 281 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:57:43 360 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:57:43 362 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:57:43 363 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d93f6dad-1310-456e-9e86-18fb0e5b64e6
2022-09-09 23:57:43 363 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:57:43 398 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@73d51f9e
127.0.0.1 - - [09/Sep/2022:23:57:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 55
2022-09-09 23:57:43 698 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-09 23:57:43 699 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:57:43 699 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 717b5025-ac27-4e51-833a-7378ed42a4d9
2022-09-09 23:57:43 699 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:57:43 757 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-09-09 23:57:44 135 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:57:44 137 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 - - [09/Sep/2022:23:57:44 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 444
2022-09-09 23:57:44 147 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-09-09 23:57:44 148 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-09-09 23:57:52 268 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:58:07 377 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:07 377 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:07 378 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9fbb6124-1239-407e-8262-5c1d84e3395e
2022-09-09 23:58:07 378 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:07 403 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:07 403 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:07 404 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5f69a33b-9760-4177-a8bb-10e184f27ccf
2022-09-09 23:58:07 404 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 64
127.0.0.6 - - [09/Sep/2022:23:58:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 42
2022-09-09 23:58:13 193 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:13 193 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:13 193 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a81c91d8-8aac-4a47-b296-cf4a3de1c99c
2022-09-09 23:58:13 193 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:13 203 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@73b9343e
127.0.0.1 - - [09/Sep/2022:23:58:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 13
2022-09-09 23:58:13 340 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:13 340 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:13 340 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2e9df702-5e4e-4e8f-962e-58f492663570
2022-09-09 23:58:13 341 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:13 380 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-09-09 23:58:13 639 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:58:13 640 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 - - [09/Sep/2022:23:58:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 304
2022-09-09 23:58:13 651 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-09-09 23:58:13 651 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-09-09 23:58:17 328 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:17 329 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:17 329 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 56629f16-7cda-4162-ac93-946f389f7638
2022-09-09 23:58:17 329 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 23
2022-09-09 23:58:20 099 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-09 23:58:20 099 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 4
2022-09-09 23:58:20 163 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-09 23:58:20 163 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 80s and try again.
2022-09-09 23:58:20 163 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-09 23:58:22 268 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:58:27 516 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:27 516 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:27 516 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9e85fc63-86d2-4caa-a4a2-94be4bcad8da
2022-09-09 23:58:27 516 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 23
2022-09-09 23:58:37 339 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:37 339 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:37 339 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b6cf6119-d215-4cc8-9113-062ce7fc9b1f
2022-09-09 23:58:37 339 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:37 340 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:37 340 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:37 340 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a351d372-099f-45d2-bc44-ed51f57c6ca3
2022-09-09 23:58:37 340 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
127.0.0.6 - - [09/Sep/2022:23:58:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 33
2022-09-09 23:58:43 280 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:43 280 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:43 280 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f10947fe-0b83-4010-8166-09c86c6036ab
2022-09-09 23:58:43 280 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:43 292 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@17289c15
127.0.0.1 - - [09/Sep/2022:23:58:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 22
2022-09-09 23:58:43 635 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:43 636 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:43 636 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fe2b5d9d-9597-42d2-baa1-d5ce22288183
2022-09-09 23:58:43 636 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:58:43 687 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-21 - 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-09-09 23:58:43 966 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-21 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:58:43 966 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - 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 - - [09/Sep/2022:23:58:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 338
2022-09-09 23:58:43 973 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-09-09 23:58:43 973 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-09-09 23:58:47 290 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:47 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:47 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 71c27c0a-2042-40dc-9a74-c304cd4013c1
2022-09-09 23:58:47 291 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 11
2022-09-09 23:58:52 335 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:58:57 274 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-09 23:58:57 274 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:58:57 274 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 33c2a56a-4418-4cc9-8f24-5ee7745b839b
2022-09-09 23:58:57 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:58:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-09 23:59:07 299 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:07 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:07 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d0308fdd-e320-4597-926c-ae87d87aa8b1
2022-09-09 23:59:07 300 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 14
2022-09-09 23:59:07 330 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:07 330 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:07 330 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0ee91007-efe4-486a-99a4-6db1b083a663
2022-09-09 23:59:07 330 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 23
2022-09-09 23:59:13 233 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:13 233 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:13 233 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a021d199-0e0c-4662-b509-93a896ad5bec
2022-09-09 23:59:13 233 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:13 255 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@5c4e9aff
127.0.0.1 - - [09/Sep/2022:23:59:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 26
2022-09-09 23:59:13 454 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:13 455 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:13 456 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f610a49c-5d34-42a7-9501-e8aa157ee01d
2022-09-09 23:59:13 456 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:13 477 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-09-09 23:59:13 744 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:59:13 745 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 - - [09/Sep/2022:23:59:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 298
2022-09-09 23:59:13 763 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-09-09 23:59:13 763 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-09-09 23:59:17 287 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
127.0.0.6 - - [09/Sep/2022:23:59:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 14
2022-09-09 23:59:17 289 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:17 289 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 40a0403e-f906-4b54-8b8e-22f89cfdbd8e
2022-09-09 23:59:17 289 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:22 270 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:59:27 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:27 303 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:27 303 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8fa4fda9-000f-414e-a8aa-60f67f179791
2022-09-09 23:59:27 303 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-09 23:59:37 296 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:37 296 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:37 298 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:37 298 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 96778e29-bd44-4c23-8d28-b744e486e995
2022-09-09 23:59:37 299 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:37 298 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:37 301 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 453b0b98-91c1-4c81-a230-0eb0efc83124
2022-09-09 23:59:37 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 11
127.0.0.6 - - [09/Sep/2022:23:59:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 21
2022-09-09 23:59:40 163 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-09 23:59:40 164 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 5
2022-09-09 23:59:40 226 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-09 23:59:40 228 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 100s and try again.
2022-09-09 23:59:40 228 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-09 23:59:43 943 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:43 943 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:43 943 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: afdaff06-c177-4df8-b736-8e72dd25963e
2022-09-09 23:59:43 943 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:44 002 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@6347f2e4
127.0.0.1 - - [09/Sep/2022:23:59:44 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 66
2022-09-09 23:59:44 204 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:44 205 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:44 205 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fad70b53-929a-4daf-932e-11134d109961
2022-09-09 23:59:44 206 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-09 23:59:44 325 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-09-09 23:59:44 696 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-09 23:59:44 697 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 - - [09/Sep/2022:23:59:44 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 498
2022-09-09 23:59:44 703 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-09-09 23:59:44 703 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-09-09 23:59:47 296 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:47 296 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:47 296 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bc167f3a-4499-4802-8dc9-fb57e1d3ec79
2022-09-09 23:59:47 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 11
2022-09-09 23:59:52 274 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-09 23:59:57 277 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-09 23:59:57 278 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-09 23:59:57 278 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e02c85bc-2c81-4a5a-800b-06fa7c0e91e2
2022-09-09 23:59:57 278 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [09/Sep/2022:23:59:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 10
2022-09-10 00:00:07 324 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:07 325 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:07 325 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9b77ed9e-dfce-4f0e-9c6d-145463ffc2ec
2022-09-10 00:00:07 326 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:00:07 328 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:07 329 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:07 329 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5190ca5a-7a21-4d08-8786-970d11b9de0f
2022-09-10 00:00:07 329 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
127.0.0.6 - - [10/Sep/2022:00:00:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 13
2022-09-10 00:00:13 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:13 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:13 263 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f01bddf9-e1e9-4b11-9c64-a35426ac9d27
2022-09-10 00:00:13 263 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:00:13 301 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@55d0366a
127.0.0.1 - - [10/Sep/2022:00:00:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 45
2022-09-10 00:00:13 491 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:13 491 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:13 491 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 75dbcfda-7313-4af5-87b1-0efe8e9d1198
2022-09-10 00:00:13 491 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:00:13 530 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-09-10 00:00:13 788 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:00:13 789 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 - - [10/Sep/2022:00:00:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 303
2022-09-10 00:00:13 795 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-09-10 00:00:13 795 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-09-10 00:00:17 376 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:17 376 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:17 376 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aedc7d4d-237b-4b14-87b3-1050544382fc
2022-09-10 00:00:17 376 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:00:22 270 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:00:27 341 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:27 341 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:27 341 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e59c3591-4284-4d69-9b35-d7ad914f0a29
2022-09-10 00:00:27 341 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 25
2022-09-10 00:00:38 782 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:38 782 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:38 782 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 358db4c1-f45d-491b-b8e1-f2753e1996ff
2022-09-10 00:00:38 783 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:38 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:00:43 239 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:43 239 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:43 239 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 65714de7-1b05-4536-a0d7-a9cf888753ca
2022-09-10 00:00:43 240 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:00:43 258 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@3d79e39
127.0.0.1 - - [10/Sep/2022:00:00:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 27
2022-09-10 00:00:43 635 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:43 636 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:43 636 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 794f9b00-f907-4f27-9eb4-a302d654b02e
2022-09-10 00:00:43 636 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:00:43 749 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-21 - 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-09-10 00:00:44 091 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-21 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:00:44 096 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - 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 - - [10/Sep/2022:00:00:44 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 470
2022-09-10 00:00:44 107 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-09-10 00:00:44 107 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-09-10 00:00:47 347 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:47 347 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:47 348 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9f315129-cf12-492c-a947-dbd0ea7a6c0c
2022-09-10 00:00:47 349 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 13
2022-09-10 00:00:52 272 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:00:57 279 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:00:57 279 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:00:57 279 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7b3a122f-d027-4092-b8ee-0de498336bdc
2022-09-10 00:00:57 279 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:00:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:01:07 292 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:07 292 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:07 293 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b8905f27-80fc-4f2e-97d7-bb947d6989e8
2022-09-10 00:01:07 293 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:01:07 295 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:07 295 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:07 295 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b8ca4f1e-d30e-42c0-96f5-12c3c420dfc1
2022-09-10 00:01:07 296 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 46
2022-09-10 00:01:13 265 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:13 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:13 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e64eb70-2d55-4e88-b004-70f71fa77b6f
2022-09-10 00:01:13 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:01:13 275 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@1566120e
127.0.0.1 - - [10/Sep/2022:00:01:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 14
2022-09-10 00:01:13 492 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:13 492 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:13 492 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 74386965-a8e9-473b-89d5-99de9ddb563e
2022-09-10 00:01:13 492 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:01:13 533 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-09-10 00:01:13 794 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:01:13 795 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 - - [10/Sep/2022:00:01:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 323
2022-09-10 00:01:13 818 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-09-10 00:01:13 818 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-09-10 00:01:17 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:17 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:17 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 96f815e9-0f38-4968-8814-90df298d0ae3
2022-09-10 00:01:17 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:01:20 230 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-10 00:01:20 230 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 6
2022-09-10 00:01:20 352 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-10 00:01:20 353 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 120s and try again.
2022-09-10 00:01:20 353 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-10 00:01:22 273 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:01:27 283 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:27 283 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:27 283 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 91b0a19c-74aa-4f42-817b-b4e2fbd54ad6
2022-09-10 00:01:27 284 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:01:37 293 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:37 293 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:37 293 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b88b3e0-1a3a-47c5-a29d-737387a76250
2022-09-10 00:01:37 293 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:01:37 294 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:37 294 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:37 294 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 52408517-468b-4705-98fb-6b76b6bdc81e
2022-09-10 00:01:37 294 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
127.0.0.6 - - [10/Sep/2022:00:01:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:01:43 196 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:43 196 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:43 196 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 24093f73-879c-41af-884c-e639d298fef4
2022-09-10 00:01:43 197 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.1 - - [10/Sep/2022:00:01:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 31
2022-09-10 00:01:43 222 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@2f1e6db3
2022-09-10 00:01:43 410 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:43 410 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:43 410 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e65c6cd1-f1ec-41a4-9f08-74aa35d39855
2022-09-10 00:01:43 410 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:01:43 439 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-21 - 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-09-10 00:01:43 613 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-21 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:01:43 614 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - 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-09-10 00:01:43 620 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-09-10 00:01:43 620 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 - - [10/Sep/2022:00:01:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 212
2022-09-10 00:01:47 255 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:47 255 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:47 255 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8c18697f-9b1c-42e6-a3a4-db150b08c267
2022-09-10 00:01:47 255 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:01:52 278 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:01:57 260 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:01:57 260 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:01:57 260 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ddfafabc-6c24-4b02-8d27-a61f1947b77c
2022-09-10 00:01:57 260 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:01:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
127.0.0.6 - - [10/Sep/2022:00:02:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:02:07 287 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:07 287 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:07 287 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: edff344b-e5b2-4701-acd9-e394a3aeb0ba
2022-09-10 00:02:07 287 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:02:07 335 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:07 335 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:07 335 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 016449b1-5229-4d3b-98c0-040251e54ec0
2022-09-10 00:02:07 336 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:02:13 185 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:13 185 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:13 185 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 679fcac2-9b10-400e-8f85-fc2fd103db19
2022-09-10 00:02:13 185 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:02:13 215 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@10fcf5af
127.0.0.1 - - [10/Sep/2022:00:02:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 35
2022-09-10 00:02:13 362 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:13 362 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:13 362 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 54cb232c-fe98-47c8-932b-b2065a1c811f
2022-09-10 00:02:13 363 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:02:13 398 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-09-10 00:02:13 574 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:02:13 574 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)
2022-09-10 00:02:13 577 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-09-10 00:02:13 578 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 - - [10/Sep/2022:00:02:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 217
2022-09-10 00:02:17 270 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:17 270 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:17 270 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2225ae21-b9e8-49fc-9653-9c581d4d66da
2022-09-10 00:02:17 271 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:02:22 271 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:02:27 261 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:27 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:27 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 188af114-47c5-4d2b-8ac9-d7f115c1210d
2022-09-10 00:02:27 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:02:37 306 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:37 306 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:37 306 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 00d59d7c-72f5-4acf-b6e8-4ec0296b35ef
2022-09-10 00:02:37 306 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:02:37 336 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:37 337 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:37 338 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b0a5380-91af-412f-b14e-fbfd718aff9c
2022-09-10 00:02:37 339 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:02:43 188 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:43 188 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:43 188 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dd79f362-dcc1-4c6b-9354-a9850cc153c1
2022-09-10 00:02:43 188 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:02:43 217 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@59faf1d5
127.0.0.1 - - [10/Sep/2022:00:02:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 37
2022-09-10 00:02:43 347 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:43 347 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:43 347 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c51589df-1697-42ec-812d-94721a174ebd
2022-09-10 00:02:43 348 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:02:43 393 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-09-10 00:02:43 716 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:02:43 722 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 - - [10/Sep/2022:00:02:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 380
2022-09-10 00:02:43 727 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-09-10 00:02:43 728 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-09-10 00:02:47 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:47 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:02:47 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c1b64acc-0aa2-461b-a8b5-b76bd5cd6e81
2022-09-10 00:02:47 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:02:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:02:52 273 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:02:57 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:02:57 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
127.0.0.6 - - [10/Sep/2022:00:02:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:02:57 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ffb27773-ede2-4dec-b8e5-2b921f69dbb1
2022-09-10 00:02:57 277 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:07 306 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:07 306 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:07 306 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3c5a6e81-f033-471a-b993-37d908d253ec
2022-09-10 00:03:07 307 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 21
2022-09-10 00:03:07 335 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:07 335 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:07 335 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d32d4b23-031c-4bc1-b849-02dee7ef2264
2022-09-10 00:03:07 335 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 13
2022-09-10 00:03:13 188 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:13 188 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:13 188 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4bf4efab-3d74-492b-a0c6-f7ad921f6ee1
2022-09-10 00:03:13 188 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:13 206 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@671027d4
127.0.0.1 - - [10/Sep/2022:00:03:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 21
2022-09-10 00:03:13 327 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:13 328 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:13 328 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7c9574c6-f10f-4e01-b6fb-5bbb52dc1a20
2022-09-10 00:03:13 328 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:13 353 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-09-10 00:03:13 510 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:03:13 511 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 - - [10/Sep/2022:00:03:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 189
2022-09-10 00:03:13 516 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-09-10 00:03:13 516 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-09-10 00:03:17 261 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:17 261 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:17 261 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ed88b9e4-92aa-4766-9e45-48c583d8e1a4
2022-09-10 00:03:17 261 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:03:20 354 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-10 00:03:20 354 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 7
2022-09-10 00:03:20 376 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-10 00:03:20 376 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 140s and try again.
2022-09-10 00:03:20 376 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-10 00:03:22 271 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:03:27 298 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:27 298 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:27 298 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 59ee2b7d-67d2-4d0a-b131-ce5e4804bf35
2022-09-10 00:03:27 298 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:03:37 308 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:37 308 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:37 315 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 014f7c89-d88c-4c0a-8c9a-ec75e2eb05b3
2022-09-10 00:03:37 316 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:37 327 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:37 327 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:37 328 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 38d4c071-06f8-4991-a505-a62b8012ee97
127.0.0.6 - - [10/Sep/2022:00:03:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 18
2022-09-10 00:03:37 328 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 43
2022-09-10 00:03:43 238 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:43 239 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:43 239 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 52736f30-ca6e-4778-b1c5-7886fdd3a70b
2022-09-10 00:03:43 239 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:43 271 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@4ac25979
127.0.0.1 - - [10/Sep/2022:00:03:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 37
2022-09-10 00:03:43 402 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:43 402 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:43 402 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 38c4532e-825d-4621-ac5f-dd9903fbbf65
2022-09-10 00:03:43 402 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:03:43 467 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-09-10 00:03:43 591 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:03:43 592 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 - - [10/Sep/2022:00:03:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 195
2022-09-10 00:03:43 596 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-09-10 00:03:43 596 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-09-10 00:03:47 596 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:47 597 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:47 597 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5e01e72e-3569-498d-871a-2e3f722a6464
2022-09-10 00:03:47 597 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 114
2022-09-10 00:03:52 302 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:03:57 252 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:03:57 253 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:03:57 253 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e4e7dd9e-9f41-4938-a453-32656bee81b5
2022-09-10 00:03:57 253 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:03:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:04:07 304 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:07 304 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:07 304 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5968fd36-7ef2-4cf2-8c48-1496c4ba4636
2022-09-10 00:04:07 304 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:04:07 331 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:07 332 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:07 332 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 66e6fa8a-93f4-4cb7-99a3-82daa0127ad1
2022-09-10 00:04:07 332 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 25
2022-09-10 00:04:13 161 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:13 161 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:13 161 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 56ecd17a-39d7-4896-8bdd-bba001cb506e
2022-09-10 00:04:13 162 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:04:13 175 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@6d290373
127.0.0.1 - - [10/Sep/2022:00:04:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 25
2022-09-10 00:04:13 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:13 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:13 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1f632f03-ac26-47ad-bcac-1aa73acfa3d0
2022-09-10 00:04:13 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:04:13 284 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-09-10 00:04:13 406 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:04:13 406 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 - - [10/Sep/2022:00:04:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 148
2022-09-10 00:04:13 411 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-09-10 00:04:13 411 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-09-10 00:04:17 280 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:17 280 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:17 280 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b469a549-f957-4c80-be8b-7a9f1524a9c6
2022-09-10 00:04:17 281 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:04:22 290 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:04:27 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:27 277 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:27 277 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4227ce66-2118-4e87-9e05-c69476f4bb43
2022-09-10 00:04:27 277 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 10
2022-09-10 00:04:37 355 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:37 355 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:37 355 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e01b9c77-baa1-4065-9c11-34d94fe437c3
2022-09-10 00:04:37 355 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 22
2022-09-10 00:04:37 412 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:37 412 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:37 412 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8a34ccd1-5590-4d44-ab74-2cd8e3c61a31
2022-09-10 00:04:37 413 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 20
2022-09-10 00:04:43 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:43 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:43 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7b0d3b3f-5276-4f69-923d-e9d250ffd234
2022-09-10 00:04:43 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:04:43 279 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@27b02f8d
127.0.0.1 - - [10/Sep/2022:00:04:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 24
2022-09-10 00:04:43 392 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:43 392 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:43 392 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f030c44c-c4de-45a8-ba35-cc68b452c2e6
2022-09-10 00:04:43 392 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:04:43 456 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-09-10 00:04:43 623 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:04:43 623 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 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 - - [10/Sep/2022:00:04:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 250
2022-09-10 00:04:43 641 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-09-10 00:04:43 642 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-09-10 00:04:47 355 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:47 355 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:47 355 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 48d7db91-99b6-44bd-b12a-32524489071f
2022-09-10 00:04:47 355 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 27
2022-09-10 00:04:52 278 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:04:57 256 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:04:57 256 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:04:57 256 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d266f594-2cbb-442f-9fe6-f026f3bbd04f
2022-09-10 00:04:57 256 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:04:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 14
127.0.0.6 - - [10/Sep/2022:00:05:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 4
127.0.0.6 - - [10/Sep/2022:00:05:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:05:07 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:07 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:07 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e61e2c87-f176-4b69-94ed-d52b335dad95
2022-09-10 00:05:07 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:07 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:07 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:07 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c34ed64c-4d04-45b7-a900-a3d73bc45741
2022-09-10 00:05:07 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:13 188 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:13 189 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:13 189 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1d552f4f-5f65-49b7-afb6-78718e618f4b
2022-09-10 00:05:13 189 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:13 206 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@6b41403
127.0.0.1 - - [10/Sep/2022:00:05:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 21
2022-09-10 00:05:13 313 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:13 313 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:13 313 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dee1e6e8-3f8f-4336-9231-e526c2a7140d
2022-09-10 00:05:13 314 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:13 341 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-09-10 00:05:13 549 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:05:13 550 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.GeneratedMethodAccessor54.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-09-10 00:05:13 559 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-09-10 00:05:13 559 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 - - [10/Sep/2022:00:05:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 255
2022-09-10 00:05:17 283 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:17 284 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:17 284 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7c1ea850-83c5-45c7-886d-22cec2650590
2022-09-10 00:05:17 284 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:05:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 9
2022-09-10 00:05:22 278 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:05:27 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:27 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:27 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 853112ea-ad8c-4c85-ade6-e48248e0bb0b
2022-09-10 00:05:27 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:05:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 19
2022-09-10 00:05:37 289 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:37 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:37 290 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c5e748d3-a86d-4d8d-82a7-6610f653dfdc
127.0.0.6 - - [10/Sep/2022:00:05:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
127.0.0.6 - - [10/Sep/2022:00:05:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 17
2022-09-10 00:05:37 299 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:37 300 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:37 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:37 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 41f2d03b-ff0b-4288-8afd-cf92256ba47e
2022-09-10 00:05:37 300 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:40 377 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-10 00:05:40 377 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 8
2022-09-10 00:05:40 407 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLException: Connection reset
javax.ws.rs.ProcessingException: javax.net.ssl.SSLException: Connection reset
	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:69)
	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: javax.net.ssl.SSLException: Connection reset
	at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		... 33 common frames omitted
Caused by: java.net.SocketException: Connection reset
	at java.base/java.net.SocketInputStream.read(Unknown Source)
	at java.base/java.net.SocketInputStream.read(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	... 30 common frames omitted
2022-09-10 00:05:40 408 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 160s and try again.
2022-09-10 00:05:40 408 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-10 00:05:43 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:43 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:43 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5ef8ea1f-2697-44b5-a33e-94bbaf8ec0bb
2022-09-10 00:05:43 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:43 289 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@6eb7a0f1
127.0.0.1 - - [10/Sep/2022:00:05:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 26
2022-09-10 00:05:43 404 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:43 404 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:43 404 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 830688c8-2c59-49e2-af8a-27732a283697
2022-09-10 00:05:43 404 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:05:43 468 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-09-10 00:05:43 706 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:05:43 714 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.GeneratedMethodAccessor54.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 - - [10/Sep/2022:00:05:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 315
2022-09-10 00:05:43 742 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-09-10 00:05:43 742 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-09-10 00:05:47 356 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:47 356 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:47 356 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bbc196e2-216a-4412-8ccd-e56185ffe23c
2022-09-10 00:05:47 356 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:05:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:05:52 333 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:05:57 277 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:05:57 277 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:05:57 277 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1e5a6fc0-6d3f-40bc-aa71-8561082dad6b
2022-09-10 00:05:57 278 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:05:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:06:07 319 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
127.0.0.6 - - [10/Sep/2022:00:06:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 19
2022-09-10 00:06:07 331 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:07 331 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e7e5143-e605-4cbc-94ce-906baae9eb8f
2022-09-10 00:06:07 331 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:06:07 348 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:07 348 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:07 348 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b5e99376-f885-466a-a993-22f9340c6210
2022-09-10 00:06:07 349 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:06:13 199 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:13 199 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:13 199 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dc0a6522-a34d-4212-935a-320b88d02e8f
2022-09-10 00:06:13 199 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:06:13 218 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@32e09ba8
127.0.0.1 - - [10/Sep/2022:00:06:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 30
2022-09-10 00:06:13 369 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:13 369 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:13 369 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ddc3a9bf-92a2-44e6-8e52-1b07b7b4f94b
2022-09-10 00:06:13 369 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:06:13 433 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-09-10 00:06:13 638 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:06:13 639 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.GeneratedMethodAccessor54.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 - - [10/Sep/2022:00:06:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 273
2022-09-10 00:06:13 643 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-09-10 00:06:13 643 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-09-10 00:06:17 304 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:17 305 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:17 305 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 024df05a-3cde-4c03-8357-3ed9a3cada39
2022-09-10 00:06:17 305 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:06:22 285 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:06:27 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:27 275 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:27 275 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a77eb285-1683-4b84-87f5-e754ccfda4c5
2022-09-10 00:06:27 275 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:06:37 273 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:37 273 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:37 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cca4d564-928a-48d8-9a35-45f9f7d676ad
2022-09-10 00:06:37 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 24
2022-09-10 00:06:37 303 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:37 303 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:37 303 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 92ecb0d7-66db-4156-b84d-4ade2491bca4
2022-09-10 00:06:37 303 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 21
2022-09-10 00:06:43 247 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:43 247 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:43 247 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 35d3e9f3-9781-4e44-ad41-866dc72b908a
2022-09-10 00:06:43 247 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:06:43 263 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@41f94058
127.0.0.1 - - [10/Sep/2022:00:06:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 19
2022-09-10 00:06:43 408 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:43 408 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:43 408 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 270e6fc7-f0ba-4a08-afe2-2aee72d0d11a
2022-09-10 00:06:43 409 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:06:43 430 INFO  [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-21 - 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-09-10 00:06:43 636 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-21 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>. 
URL: https://10.233.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:06:43 640 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - 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.GeneratedMethodAccessor54.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-09-10 00:06:43 646 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-09-10 00:06:43 646 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 - - [10/Sep/2022:00:06:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 264
2022-09-10 00:06:47 256 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:47 256 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:47 256 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6bb75931-e71a-4762-b213-07d83f0b9d02
2022-09-10 00:06:47 256 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:06:52 276 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:06:57 250 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:06:57 250 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:06:57 250 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8be76fc3-c85c-4275-898d-89529201d3fc
2022-09-10 00:06:57 250 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:06:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:07:07 350 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:07 350 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:07 350 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aaec9574-0c3a-4916-b170-67418dbf2a66
2022-09-10 00:07:07 366 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:07:07 387 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:07 387 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:07 387 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2bf2f054-692a-4aad-b948-5ee58be87325
2022-09-10 00:07:07 387 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 43
127.0.0.6 - - [10/Sep/2022:00:07:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 15
2022-09-10 00:07:13 353 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:13 353 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:13 353 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 14ca620f-4452-4dc1-ae8b-56028aa37a2d
2022-09-10 00:07:13 354 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:07:13 370 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@349bfb99
127.0.0.1 - - [10/Sep/2022:00:07:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 22
2022-09-10 00:07:13 623 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:13 623 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:13 623 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7c2fd072-cbca-43df-b913-1cea6a73bd67
2022-09-10 00:07:13 624 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:07:13 658 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-09-10 00:07:13 783 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:07:13 783 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.GeneratedMethodAccessor54.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-09-10 00:07:13 799 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-09-10 00:07:13 799 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 - - [10/Sep/2022:00:07:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 174
2022-09-10 00:07:17 259 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:17 259 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:17 259 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b99ac17f-96ac-4ba0-8c95-7970fe4b6e03
2022-09-10 00:07:17 259 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:07:22 278 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:07:27 301 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:27 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:27 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9c290f32-4bf6-4ba2-8594-48b24f73048b
2022-09-10 00:07:27 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:07:37 277 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:37 278 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:37 279 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d75514cb-1f2b-42f8-9709-c53f7662acc1
2022-09-10 00:07:37 282 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:07:37 302 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:37 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:37 302 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7b8c69c5-8132-48c1-90af-0fd480ec06a8
2022-09-10 00:07:37 303 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:07:43 197 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:43 197 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:43 197 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cbdecc41-2d78-4f27-b8d9-5db9b944186c
2022-09-10 00:07:43 198 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:07:43 215 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@6206551e
127.0.0.1 - - [10/Sep/2022:00:07:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 22
2022-09-10 00:07:43 407 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:43 407 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:43 407 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4035db76-8d4c-409c-9663-c5ecd22eab60
2022-09-10 00:07:43 407 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:07:43 434 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-09-10 00:07:43 596 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:07:43 596 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.GeneratedMethodAccessor54.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 - - [10/Sep/2022:00:07:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 194
2022-09-10 00:07:43 603 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-09-10 00:07:43 613 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-09-10 00:07:47 347 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:47 347 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:47 347 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ed355edc-3156-46c0-8e7e-61d874e75d9a
2022-09-10 00:07:47 347 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:07:52 278 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:07:57 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:07:57 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:07:57 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ba4a977c-4ae0-46e2-9f8f-88774e48fdc0
2022-09-10 00:07:57 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:07:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 11
2022-09-10 00:08:07 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:07 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:07 267 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 593f91bf-4140-4f53-a030-fef63bd97340
2022-09-10 00:08:07 267 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 9
2022-09-10 00:08:07 299 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:07 299 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:07 299 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3d0fa3ab-4b10-4ece-b795-c67876c071f9
2022-09-10 00:08:07 300 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:08:13 208 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:13 208 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:13 208 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 476cadf5-63af-4bbc-8001-60d379915e48
2022-09-10 00:08:13 208 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:08:13 219 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@436f8011
127.0.0.1 - - [10/Sep/2022:00:08:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 28
2022-09-10 00:08:13 330 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:13 330 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:13 330 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eeda1965-6d5c-4053-9c91-e28721260d47
2022-09-10 00:08:13 330 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:08:13 351 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-09-10 00:08:13 455 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:08:13 456 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.GeneratedMethodAccessor54.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-09-10 00:08:13 463 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-09-10 00:08:13 463 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 - - [10/Sep/2022:00:08:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 130
2022-09-10 00:08:17 300 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:17 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:17 300 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7cea4822-c01e-4356-9bf3-e7bd153acb98
2022-09-10 00:08:17 301 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
2022-09-10 00:08:20 408 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-09-10 00:08:20 408 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 9
2022-09-10 00:08:20 433 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Unexpected exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	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:69)
	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: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
	at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(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
	Suppressed: java.net.SocketException: Broken pipe (Write failed)
		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
		at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
		at java.base/java.net.SocketOutputStream.write(Unknown Source)
		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
		... 27 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
	... 29 common frames omitted
2022-09-10 00:08:20 434 WARN  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 180s and try again.
2022-09-10 00:08:20 434 INFO  [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-09-10 00:08:22 281 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:08:27 318 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:27 318 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:27 318 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b8f8d383-a31c-4ccc-9904-a7162fec0cc5
2022-09-10 00:08:27 318 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 14
2022-09-10 00:08:37 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:37 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:37 276 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8353d7c5-9148-4c01-8f4a-04d84b2b7482
2022-09-10 00:08:37 276 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 12
2022-09-10 00:08:37 297 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:37 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:37 297 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b6c1bd9-1623-4454-b8fa-85a286c3985f
2022-09-10 00:08:37 298 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:37 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:08:43 173 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:43 173 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:43 173 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8295792e-4a58-435c-aec8-de1ce44d9ecb
2022-09-10 00:08:43 173 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:08:43 185 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@2345acc4
127.0.0.1 - - [10/Sep/2022:00:08:43 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 16
2022-09-10 00:08:43 307 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:43 307 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:43 307 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e673004-6977-43f9-9418-46a84a8e6f1e
2022-09-10 00:08:43 307 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:08:43 350 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-09-10 00:08:43 486 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:08:43 488 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.GeneratedMethodAccessor54.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 - - [10/Sep/2022:00:08:43 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 190
2022-09-10 00:08:43 507 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-09-10 00:08:43 507 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-09-10 00:08:47 265 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:47 265 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:47 266 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bffe3a88-5127-4ed6-97c1-a2618c8c4d81
2022-09-10 00:08:47 266 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:47 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 6
2022-09-10 00:08:52 277 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:08:57 254 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:08:57 254 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:08:57 254 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f5d92091-dad9-48e1-934e-dce6c24405eb
2022-09-10 00:08:57 255 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:08:57 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 5
2022-09-10 00:09:07 281 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:07 281 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:07 281 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b608304d-e2ee-42a9-9fee-43b4a85fd3fb
2022-09-10 00:09:07 282 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:09:07 284 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:07 284 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:07 285 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 87b4d3fe-faf1-427d-baa9-f9e0921a0f19
2022-09-10 00:09:07 285 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:09:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 7
127.0.0.6 - - [10/Sep/2022:00:09:07 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 8
2022-09-10 00:09:13 155 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:13 155 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:13 155 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d07428f2-b883-4436-b9c2-95d5679cadbf
2022-09-10 00:09:13 155 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-21] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:09:13 179 INFO  [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-21 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@56b046e5
127.0.0.1 - - [10/Sep/2022:00:09:13 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 27
2022-09-10 00:09:13 416 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:13 416 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:13 416 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5736aa2c-957c-469f-a2e7-cb42ddbf788b
2022-09-10 00:09:13 416 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
2022-09-10 00:09:13 460 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-09-10 00:09:13 586 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.71.186:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-09-10 00:09:13 587 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.GeneratedMethodAccessor54.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 - - [10/Sep/2022:00:09:13 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 175
2022-09-10 00:09:13 591 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-09-10 00:09:13 591 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-09-10 00:09:17 249 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:17 249 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:17 250 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 081ed831-c972-4703-9760-5528af84630a
2022-09-10 00:09:17 250 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:09:17 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 9
2022-09-10 00:09:22 286 INFO  [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-09-10 00:09:27 245 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:27 245 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:27 245 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 98e79fc7-d16d-4cf2-b916-7fb431f36c3b
2022-09-10 00:09:27 245 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ... 
127.0.0.6 - - [10/Sep/2022:00:09:27 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.23" 4
2022-09-10 00:09:37 262 WARN  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-09-10 00:09:37 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-09-10 00:09:37 262 INFO  [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-Transaction