aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2025-02-24 15:23:09 +0000
committermpriyank <priyank.maheshwari@est.tech>2025-03-13 09:43:56 +0000
commit6957d0093eb370e0bf0be7dbb610430ea30c70a6 (patch)
treef05e99fc21d93c641e1f212f9cf9907255ad3cab /cps-application
parente3f1a24a575e5e7a49d11a83563ca742b593c0c1 (diff)
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 <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/test/java/org/onap/cps/architecture/ArchitectureTestBase.java3
1 files changed, 2 insertions, 1 deletions
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..",