summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-08-30 17:54:21 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-08-30 17:54:21 -0500
commit4f30681a7364287d9820ab21d009d7d3691744df (patch)
tree92ceeb4010580a46de92e8761c9990fba5b04fc1
parent796fd5c773f9f83c56b1bdebf8a8dc35c49f3643 (diff)
Add metrics to permanent services
Issue-ID: POLICY-3531 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516
-rw-r--r--main/src/main/java/org/onap/policy/pdpx/main/rest/XacmlPdpServiceFilter.java2
1 files changed, 1 insertions, 1 deletions
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<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);