aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/java
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-10-10 15:12:40 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-10-10 15:12:40 +0100
commitf4a8123b59f3914aae65eb81d64a15dd9d31cbed (patch)
treecb618d24d575b2cb233f16ed47883b7bd2057a20 /runtime-acm/src/main/java
parent9e7b5161c1fad7c8d3bd7b150a70e1e4b1e0213b (diff)
Make the ACM REST endpoint preamble configurable via spring
ACM REST endpoint preamble "/onap/policy/clamp/acm/" needs to be configurable by the user via spring boot properties file. Issue-ID: POLICY-4381 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1a82b22bb7b06f856d09089204d79dcfccb528a8
Diffstat (limited to 'runtime-acm/src/main/java')
-rw-r--r--runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java b/runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java
index 107de58c9..575111612 100644
--- a/runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java
+++ b/runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java
@@ -34,7 +34,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
* Common superclass to provide REST endpoints for the participant simulator.
*/
// @formatter:off
-@RequestMapping(value = "/onap/policy/clamp/acm/v2",
+@RequestMapping(value = "/v2",
produces = {MediaType.APPLICATION_JSON, AbstractRestController.APPLICATION_YAML})
@Api(value = "Automation Composition Commissioning API")
@SwaggerDefinition(