blob: 64c7c6608dcc26d55d0af8e529eb1a808943ccaf [file] [log] [blame]
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -05001###
2# ============LICENSE_START=======================================================
3# feature-state-management
4# ================================================================================
5# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6# ================================================================================
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
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# 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
23javax.persistence.jdbc.url = jdbc:h2:file:./sql/statemanagement
24javax.persistence.jdbc.user = sa
25javax.persistence.jdbc.password =
26
27# DroolsPDPIntegrityMonitor Properties
28hostPort = 0.0.0.0:57692
29
30#IntegrityMonitor Properties
31
32# Must be unique across the system
33resource.name=pdp1
34# Name of the site in which this node is hosted
35site_name = pdp_1
36# Forward Progress Monitor update interval seconds
37fp_monitor_interval = 30
38# Failed counter threshold before failover
39failed_counter_threshold = 3
40# Interval between test transactions when no traffic seconds
41test_trans_interval = 10
42# Interval between writes of the FPC to the DB seconds
43write_fpc_interval = 5
44# Node type Note: Make sure you don't leave any trailing spaces, or you'll get an 'invalid node type' error!
45node_type = pdp_drools
46# Dependency groups are groups of resources upon which a node operational state is dependent upon.
47# Each group is a comma-separated list of resource names and groups are separated by a semicolon. For example:
48# 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
49dependency_groups=
50# When set to true, dependent health checks are performed by using JMX to invoke test() on the dependent.
51# The default false is to use state checks for health.
52test_via_jmx=true
53# This is the max number of seconds beyond which a non incrementing FPC is considered a failure
54max_fpc_update_interval=120
55# Run the state audit every 60 seconds (60000 ms). The state audit finds stale DB entries in the
56# forwardprogressentity table and marks the node as disabled/failed in the statemanagemententity
57# table. NOTE! It will only run on nodes that have a standbystatus = providingservice.
58# A value of <= 0 will turn off the state audit.
Kevin McKiou2b2d21f2017-09-22 17:08:15 -050059state_audit_interval_ms=-1000
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050060# The refresh state audit is run every (default) 10 minutes (600000 ms) to clean up any state corruption in the
61# DB statemanagemententity table. It only refreshes the DB state entry for the local node. That is, it does not
62# refresh the state of any other nodes. A value <= 0 will turn the audit off. Any other value will override
63# the default of 600000 ms.
Kevin McKiou2b2d21f2017-09-22 17:08:15 -050064refresh_state_audit_interval_ms=-1000
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050065
66
67# Repository audit properties
68# Flag to control the execution of the subsystemTest for the Nexus Maven repository
Kevin McKiou2b2d21f2017-09-22 17:08:15 -050069repository.audit.is.active=true
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050070repository.audit.ignore.errors=true
Kevin McKiou2b2d21f2017-09-22 17:08:15 -050071# Timeout in seconds
72repository.audit.timeout=5
73repository.audit.id=statemanagement
74repository.audit.url=jdbc:h2:file:./sql/statemanagement
75repository.audit.username=sa
76repository.audit.password=
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050077
78# DB Audit Properties
79# Flag to control the execution of the subsystemTest for the Database
Kevin McKiou2b2d21f2017-09-22 17:08:15 -050080db.audit.is.active=true