From: Pamela Dragosh Date: Wed, 19 Jun 2019 12:14:33 +0000 (+0000) Subject: Merge "Create the operationshistory table from pdpx" X-Git-Tag: 2.1.0~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=422fc737b0825d13bfd6a2acdd60226f61aab2c7;hp=a9bbc763a628ebf601825d080c107ede3894b726;p=policy%2Fxacml-pdp.git Merge "Create the operationshistory table from pdpx" --- diff --git a/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpRestServer.java b/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpRestServer.java index a64953bd..4b89cb16 100644 --- a/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpRestServer.java +++ b/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpRestServer.java @@ -70,7 +70,7 @@ public class XacmlPdpRestServer implements Startable { // for (final HttpServletServer server : servers) { if (server.isAaf()) { - server.addFilterClass(null, XacmlPdpAafFilter.class.getCanonicalName()); + server.addFilterClass(null, XacmlPdpAafFilter.class.getName()); } server.start(); } @@ -95,7 +95,7 @@ public class XacmlPdpRestServer implements Startable { props.setProperty(HTTP_SERVER_SERVICES + SEPARATOR + restServerParameters.getName() + ".port", Integer.toString(restServerParameters.getPort())); props.setProperty(HTTP_SERVER_SERVICES + SEPARATOR + restServerParameters.getName() + ".restClasses", - XacmlPdpRestController.class.getCanonicalName()); + XacmlPdpRestController.class.getName()); props.setProperty(HTTP_SERVER_SERVICES + SEPARATOR + restServerParameters.getName() + ".managed", "false"); props.setProperty(HTTP_SERVER_SERVICES + SEPARATOR + restServerParameters.getName() + ".swagger", "true"); props.setProperty(HTTP_SERVER_SERVICES + SEPARATOR + restServerParameters.getName() + ".userName", diff --git a/main/src/main/java/org/onap/policy/pdpx/main/startstop/XacmlPdpCommandLineArguments.java b/main/src/main/java/org/onap/policy/pdpx/main/startstop/XacmlPdpCommandLineArguments.java index 7a04d237..f393fc91 100644 --- a/main/src/main/java/org/onap/policy/pdpx/main/startstop/XacmlPdpCommandLineArguments.java +++ b/main/src/main/java/org/onap/policy/pdpx/main/startstop/XacmlPdpCommandLineArguments.java @@ -137,7 +137,7 @@ public class XacmlPdpCommandLineArguments { } if (commandLine.hasOption('h')) { - return help(Main.class.getCanonicalName()); + return help(Main.class.getName()); } if (commandLine.hasOption('v')) {