From 6957d0093eb370e0bf0be7dbb610430ea30c70a6 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Mon, 24 Feb 2025 15:23:09 +0000 Subject: Add prometheus metrics for searches and id-searches - Added counter to record the number of invocations for id-searches and searches endpoint for cm handle ids - introducing a cps-interface tag to differentiate between inventory id-search and traditional id-search endpoints - used AOP to have minimal code in the controller layers Issue-ID: CPS-2611 Change-Id: Ib7db2a25f5f71d11872b779a23d38c1f7931410f Signed-off-by: mpriyank --- .../src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cps-application') diff --git a/cps-application/src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java b/cps-application/src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java index c1d65758c7..28ff7c307c 100644 --- a/cps-application/src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java +++ b/cps-application/src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java @@ -1,6 +1,6 @@ /* * ============LICENSE_START======================================================= - * Copyright (C) 2024 Nordix Foundation + * Copyright (C) 2024-2025 Nordix Foundation * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ public class ArchitectureTestBase { "java..", "lombok..", "org.apache..", + "org.aspectj..", "org.mapstruct..", "org.opendaylight..", "org.slf4j..", -- cgit 1.2.3-korg