From f4a8123b59f3914aae65eb81d64a15dd9d31cbed Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Mon, 10 Oct 2022 15:12:40 +0100 Subject: 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 Change-Id: I1a82b22bb7b06f856d09089204d79dcfccb528a8 --- .../onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime-acm/src/main/java/org/onap') 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( -- cgit 1.2.3-korg