From 92eabbc64c1ea6f6bfe6df979ccc487e99e806be Mon Sep 17 00:00:00 2001 From: jh7358 Date: Fri, 22 Feb 2019 16:41:54 -0500 Subject: Use constants for http property names Modified the PAP REST server to use constants from policy-endpoints instead of hard-coding property names. Also made "alive" volatile. Also modified to use standard gson as the serialization provider to ensure that it will always work with gson. Removed unneeded constant. Removed trailing whitespace. Replaced another literal with a constant name. Updated licenses. Change-Id: Ibfc6d19ad4dae62ebd610d6127d1d253175ae71e Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn --- main/pom.xml | 6 +++ .../policy/pap/main/rest/HealthCheckProvider.java | 10 +++-- .../onap/policy/pap/main/rest/PapRestServer.java | 45 ++++++++++++---------- .../policy/pap/main/startstop/PapActivator.java | 3 +- 4 files changed, 40 insertions(+), 24 deletions(-) diff --git a/main/pom.xml b/main/pom.xml index bb7db384..19c54dbb 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -1,6 +1,7 @@