From: jhh Date: Mon, 30 Aug 2021 22:54:21 +0000 (-0500) Subject: Add metrics to permanent services X-Git-Tag: 2.5.0~6 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4f30681a7364287d9820ab21d009d7d3691744df;p=policy%2Fxacml-pdp.git Add metrics to permanent services Issue-ID: POLICY-3531 Signed-off-by: jhh Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516 --- diff --git a/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java b/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java index 50dafd52..8e34414d 100644 --- a/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java +++ b/main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java @@ -40,7 +40,7 @@ public class XacmlPdpServiceFilter implements Filter { /** * Services the are always available, even when the API is disabled. */ - public static final Set PERMANENT_SERVICES = Set.of("healthcheck", "statistics"); + public static final Set PERMANENT_SERVICES = Set.of("healthcheck", "statistics", "metrics"); private static final AtomicBoolean apiDisabled = new AtomicBoolean(true);