Add metrics to permanent services 02/123702/1
authorjhh <jorge.hernandez-herrero@att.com>
Mon, 30 Aug 2021 22:54:21 +0000 (17:54 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Mon, 30 Aug 2021 22:54:21 +0000 (17:54 -0500)
Issue-ID: POLICY-3531
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516

main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java

index 50dafd5..8e34414 100644 (file)
@@ -40,7 +40,7 @@ public class XacmlPdpServiceFilter implements Filter {
     /**
      * Services the are always available, even when the API is disabled.
      */
-    public static final Set<String> PERMANENT_SERVICES = Set.of("healthcheck", "statistics");
+    public static final Set<String> PERMANENT_SERVICES = Set.of("healthcheck", "statistics", "metrics");
 
 
     private static final AtomicBoolean apiDisabled = new AtomicBoolean(true);