Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # feature-state-management |
| 4 | # ================================================================================ |
Jim Hahn | 6127b4d | 2021-02-09 11:01:43 -0500 | [diff] [blame] | 5 | # Copyright (C) 2017, 2020-2021 AT&T Intellectual Property. All rights reserved. |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 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 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 10 | # |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 12 | # |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 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 |
Jim Hahn | 6127b4d | 2021-02-09 11:01:43 -0500 | [diff] [blame] | 22 | eclipselink.target-database=Auto |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 23 | javax.persistence.jdbc.driver = org.h2.Driver |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 24 | javax.persistence.jdbc.url = jdbc:h2:mem:statemanagement |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 25 | javax.persistence.jdbc.user = sa |
| 26 | javax.persistence.jdbc.password = |
| 27 | |
| 28 | # DroolsPDPIntegrityMonitor Properties |
Kevin McKiou | d91a3d8 | 2017-11-01 14:18:12 -0500 | [diff] [blame] | 29 | #Test interface host and port defaults may be overwritten here |
| 30 | http.server.services.TEST.host=0.0.0.0 |
| 31 | http.server.services.TEST.port=9981 |
| 32 | #These properties will default to the following if no other values are provided: |
| 33 | # http.server.services.TEST.restClasses=org.onap.policy.drools.statemanagement.IntegrityMonitorRestManager |
| 34 | # http.server.services.TEST.managed=false |
| 35 | # http.server.services.TEST.swagger=true |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 36 | |
| 37 | #IntegrityMonitor Properties |
| 38 | |
| 39 | # Must be unique across the system |
| 40 | resource.name=pdp1 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 41 | # Name of the site in which this node is hosted |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 42 | site_name = pdp_1 |
| 43 | # Forward Progress Monitor update interval seconds |
| 44 | fp_monitor_interval = 30 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 45 | # Failed counter threshold before failover |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 46 | failed_counter_threshold = 3 |
| 47 | # Interval between test transactions when no traffic seconds |
| 48 | test_trans_interval = 10 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 49 | # Interval between writes of the FPC to the DB seconds |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 50 | write_fpc_interval = 5 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 51 | # Node type Note: Make sure you don't leave any trailing spaces, or you'll get an 'invalid node type' error! |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 52 | node_type = pdp_drools |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 53 | # Dependency groups are groups of resources upon which a node operational state is dependent upon. |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 54 | # Each group is a comma-separated list of resource names and groups are separated by a semicolon. For example: |
| 55 | # 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 |
| 56 | dependency_groups= |
| 57 | # When set to true, dependent health checks are performed by using JMX to invoke test() on the dependent. |
| 58 | # The default false is to use state checks for health. |
| 59 | test_via_jmx=true |
| 60 | # This is the max number of seconds beyond which a non incrementing FPC is considered a failure |
| 61 | max_fpc_update_interval=120 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 62 | # Run the state audit every 60 seconds (60000 ms). The state audit finds stale DB entries in the |
| 63 | # forwardprogressentity table and marks the node as disabled/failed in the statemanagemententity |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 64 | # table. NOTE! It will only run on nodes that have a standbystatus = providingservice. |
| 65 | # A value of <= 0 will turn off the state audit. |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 66 | state_audit_interval_ms=-1000 |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 67 | # The refresh state audit is run every (default) 10 minutes (600000 ms) to clean up any state corruption in the |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 68 | # DB statemanagemententity table. It only refreshes the DB state entry for the local node. That is, it does not |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 69 | # refresh the state of any other nodes. A value <= 0 will turn the audit off. Any other value will override |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 70 | # the default of 600000 ms. |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 71 | refresh_state_audit_interval_ms=-1000 |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 72 | |
| 73 | |
| 74 | # Repository audit properties |
| 75 | # Flag to control the execution of the subsystemTest for the Nexus Maven repository |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 76 | repository.audit.is.active=true |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 77 | repository.audit.ignore.errors=true |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 78 | # Timeout in seconds |
| 79 | repository.audit.timeout=5 |
| 80 | repository.audit.id=statemanagement |
Jim Hahn | a0a97b5 | 2020-02-26 00:46:09 -0500 | [diff] [blame] | 81 | repository.audit.url=jdbc:h2:mem:statemanagement |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 82 | repository.audit.username=sa |
| 83 | repository.audit.password= |
Magnusen, Drew (dm741q) | 18253e5 | 2017-09-07 08:55:17 -0500 | [diff] [blame] | 84 | |
| 85 | # DB Audit Properties |
| 86 | # Flag to control the execution of the subsystemTest for the Database |
Kevin McKiou | 2b2d21f | 2017-09-22 17:08:15 -0500 | [diff] [blame] | 87 | db.audit.is.active=true |