aboutsummaryrefslogtreecommitdiffstats
path: root/feature-state-management/src/test
diff options
context:
space:
mode:
authorKevin McKiou <km097d@att.com>2017-11-01 14:18:12 -0500
committerKevin McKiou <km097d@att.com>2017-11-02 12:28:58 -0500
commitd91a3d8b9d6e2142c3258e72554234c7e4f31d29 (patch)
tree21f298ff3d144dac12501b2cb2903b04ecabd888 /feature-state-management/src/test
parent7b245f01d7228037c6a564f3768b306eed621d29 (diff)
Modify state-management propertiesv1.1.0
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>
Diffstat (limited to 'feature-state-management/src/test')
-rw-r--r--feature-state-management/src/test/resources/feature-state-management.properties8
1 files changed, 7 insertions, 1 deletions
diff --git a/feature-state-management/src/test/resources/feature-state-management.properties b/feature-state-management/src/test/resources/feature-state-management.properties
index 64c7c660..56d18b54 100644
--- a/feature-state-management/src/test/resources/feature-state-management.properties
+++ b/feature-state-management/src/test/resources/feature-state-management.properties
@@ -25,7 +25,13 @@ javax.persistence.jdbc.user = sa
javax.persistence.jdbc.password =
# DroolsPDPIntegrityMonitor Properties
-hostPort = 0.0.0.0:57692
+#Test interface host and port defaults may be overwritten here
+http.server.services.TEST.host=0.0.0.0
+http.server.services.TEST.port=9981
+#These properties will default to the following if no other values are provided:
+# http.server.services.TEST.restClasses=org.onap.policy.drools.statemanagement.IntegrityMonitorRestManager
+# http.server.services.TEST.managed=false
+# http.server.services.TEST.swagger=true
#IntegrityMonitor Properties