From 4f30681a7364287d9820ab21d009d7d3691744df Mon Sep 17 00:00:00 2001 From: jhh Date: Mon, 30 Aug 2021 17:54:21 -0500 Subject: [PATCH] Add metrics to permanent services Issue-ID: POLICY-3531 Signed-off-by: jhh Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516 --- .../main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.16.6