blob: d68439192c374979a740ac8c2a6b46734fbe505a [file] [log] [blame]
Kevin McKiou4c539952017-09-14 12:31:02 -05001###
2# ============LICENSE_START=======================================================
3# feature-active-standby-management
4# ================================================================================
Peyton Puckett464b0e52019-10-03 10:47:09 -05005# Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
Kevin McKiou4c539952017-09-14 12:31:02 -05006# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
Peyton Puckett464b0e52019-10-03 10:47:09 -050010#
Kevin McKiou4c539952017-09-14 12:31:02 -050011# http://www.apache.org/licenses/LICENSE-2.0
Peyton Puckett464b0e52019-10-03 10:47:09 -050012#
Kevin McKiou4c539952017-09-14 12:31:02 -050013# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END=========================================================
19###
20
21# DB properties
22javax.persistence.jdbc.driver = org.h2.Driver
Jim Hahndfe8fa82019-08-14 17:31:50 -040023javax.persistence.jdbc.url = jdbc:h2:mem:statemanagement
Kevin McKiou4c539952017-09-14 12:31:02 -050024javax.persistence.jdbc.user = sa
25javax.persistence.jdbc.password =
26
27# DroolsPDPIntegrityMonitor Properties
Kevin McKioud91a3d82017-11-01 14:18:12 -050028#Test interface host and port defaults may be overwritten here
29http.server.services.TEST.host=0.0.0.0
30http.server.services.TEST.port=9981
31#These properties will default to the following if no other values are provided:
32# http.server.services.TEST.restClasses=org.onap.policy.drools.statemanagement.IntegrityMonitorRestManager
33# http.server.services.TEST.managed=false
34# http.server.services.TEST.swagger=true
Kevin McKiou4c539952017-09-14 12:31:02 -050035
36#IntegrityMonitor Properties
37
38# Must be unique across the system
39resource.name=pdp1
Peyton Puckett464b0e52019-10-03 10:47:09 -050040# Name of the site in which this node is hosted
Kevin McKiou4c539952017-09-14 12:31:02 -050041site_name = pdp_1
42# Forward Progress Monitor update interval seconds
Kevin McKioubc8c8282017-12-13 15:26:59 -060043fp_monitor_interval = 2
Peyton Puckett464b0e52019-10-03 10:47:09 -050044# Failed counter threshold before failover
Kevin McKioubc8c8282017-12-13 15:26:59 -060045failed_counter_threshold = 1
Kevin McKiou4c539952017-09-14 12:31:02 -050046# Interval between test transactions when no traffic seconds
Kevin McKioubc8c8282017-12-13 15:26:59 -060047test_trans_interval = 1
Peyton Puckett464b0e52019-10-03 10:47:09 -050048# Interval between writes of the FPC to the DB seconds
Kevin McKioubc8c8282017-12-13 15:26:59 -060049write_fpc_interval = 1
Peyton Puckett464b0e52019-10-03 10:47:09 -050050# Node type Note: Make sure you don't leave any trailing spaces, or you'll get an 'invalid node type' error!
Kevin McKiou4c539952017-09-14 12:31:02 -050051node_type = pdp_drools
Peyton Puckett464b0e52019-10-03 10:47:09 -050052# Dependency groups are groups of resources upon which a node operational state is dependent upon.
Kevin McKiou4c539952017-09-14 12:31:02 -050053# Each group is a comma-separated list of resource names and groups are separated by a semicolon. For example:
54# dependency_groups=site_1.astra_1,site_1.astra_2;site_1.brms_1,site_1.brms_2;site_1.logparser_1;site_1.pypdp_1
55dependency_groups=
56# When set to true, dependent health checks are performed by using JMX to invoke test() on the dependent.
57# The default false is to use state checks for health.
58test_via_jmx=true
59# This is the max number of seconds beyond which a non incrementing FPC is considered a failure
Kevin McKioubc8c8282017-12-13 15:26:59 -060060max_fpc_update_interval=5
Peyton Puckett464b0e52019-10-03 10:47:09 -050061# Run the state audit every 60 seconds (60000 ms). The state audit finds stale DB entries in the
62# forwardprogressentity table and marks the node as disabled/failed in the statemanagemententity
Kevin McKiou4c539952017-09-14 12:31:02 -050063# table. NOTE! It will only run on nodes that have a standbystatus = providingservice.
64# A value of <= 0 will turn off the state audit.
Kevin McKioubc8c8282017-12-13 15:26:59 -060065state_audit_interval_ms=-1
Peyton Puckett464b0e52019-10-03 10:47:09 -050066# The refresh state audit is run every (default) 10 minutes (600000 ms) to clean up any state corruption in the
Kevin McKiou4c539952017-09-14 12:31:02 -050067# DB statemanagemententity table. It only refreshes the DB state entry for the local node. That is, it does not
Peyton Puckett464b0e52019-10-03 10:47:09 -050068# refresh the state of any other nodes. A value <= 0 will turn the audit off. Any other value will override
Kevin McKiou4c539952017-09-14 12:31:02 -050069# the default of 600000 ms.
Kevin McKioubc8c8282017-12-13 15:26:59 -060070refresh_state_audit_interval_ms=-1
Kevin McKiou4c539952017-09-14 12:31:02 -050071
72
73# Repository audit properties
74# Flag to control the execution of the subsystemTest for the Nexus Maven repository
75repository.audit.is.active=false
76repository.audit.ignore.errors=true
Peyton Puckett464b0e52019-10-03 10:47:09 -050077repository.audit.interval_sec=86400
78repository.audit.failure.threshold=3
Kevin McKiou4c539952017-09-14 12:31:02 -050079
80# DB Audit Properties
81# Flag to control the execution of the subsystemTest for the Database
82db.audit.is.active=false