From f239a66e5dd52f4f0149a307789909c5ffc2b704 Mon Sep 17 00:00:00 2001 From: Michael Mokry Date: Thu, 31 Jan 2019 13:16:55 -0600 Subject: PDPX Healthcheck/Statistic RESTful API entry point Includes: - Basic code structure modeled after policy distribution - Code implementation to support Healthcheck/Statistics RESTful API entry point - JUnits - Fixed Checkstyles issues and added some missing statistics classes and Junits - Made changes per Jim's comments - Made more changes per Jim's comments > made gson field static > using AssertThatThrownBy() mechanic from AssertJ > added setup and teardown to correctly terminate activator in Junit - Made corrections to the statitics endpoint and junits Change-Id: Iad40272beceff8a0f99966440e96a84fc2043b12 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry --- .../XacmlPdpConfigParameters_InvalidRestServerParameters.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidRestServerParameters.json (limited to 'main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidRestServerParameters.json') diff --git a/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidRestServerParameters.json b/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidRestServerParameters.json new file mode 100644 index 00000000..8b8e5c67 --- /dev/null +++ b/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidRestServerParameters.json @@ -0,0 +1,9 @@ +{ + "name": "XacmlPdpGroup", + "restServerParameters": { + "host": "", + "port": -1, + "userName": "", + "password": "" + } +} -- cgit 1.2.3-korg