Modify state-management properties 55/21055/3 v1.1.0
authorKevin McKiou <km097d@att.com>
Wed, 1 Nov 2017 19:18:12 +0000 (14:18 -0500)
committerKevin McKiou <km097d@att.com>
Thu, 2 Nov 2017 17:28:58 +0000 (12:28 -0500)
commitd91a3d8b9d6e2142c3258e72554234c7e4f31d29
tree21f298ff3d144dac12501b2cb2903b04ecabd888
parent7b245f01d7228037c6a564f3768b306eed621d29
Modify state-management properties

Patch 1:
Removed hostPort and added server.TEST properties from
feature-state-management.properties and modified associated
code in IntegrityMonitor and properties in associated JUnit tests.
Patch 2:
Modified in response to comments from Jorge Hernandez.  Including
adding contant usage instead of strings and replacing generic exceptions
with specific exceptions.
Patch 3:
Tied property constants to PolicyProperties. Added default property
contants.  Added error/warning log statemeents when something other
than expected value is used.  Add logging of all constant values
for inspection in debugging.

Issue-ID: POLICY-369
Change-Id: Ie2218b68761e0338642a2ed28ef840b1b6ece1a4
Signed-off-by: Kevin McKiou <km097d@att.com>
feature-active-standby-management/src/test/resources/feature-state-management.properties
feature-state-management/src/main/feature/config/feature-state-management.properties
feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java
feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/IntegrityMonitorRestManager.java
feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementProperties.java
feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementPropertiesException.java [new file with mode: 0644]
feature-state-management/src/test/resources/feature-state-management.properties