Use constants for http property names 52/79052/4
authorjh7358 <jh7358@att.com>
Fri, 22 Feb 2019 21:41:54 +0000 (16:41 -0500)
committerJim Hahn <jrh3@att.com>
Fri, 22 Feb 2019 22:50:57 +0000 (17:50 -0500)
commit92eabbc64c1ea6f6bfe6df979ccc487e99e806be
tree599dfa47b4a6a159f8c28502cd045ceade4b89bf
parentd5d3b44d40dbaa0cd5a78d55d546577871b8924e
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 <jrh3@att.com>
main/pom.xml
main/src/main/java/org/onap/policy/pap/main/rest/HealthCheckProvider.java
main/src/main/java/org/onap/policy/pap/main/rest/PapRestServer.java
main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java