From c3943fbc70105c4ce38d66c7cbe227ddec35d535 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 17 May 2022 11:47:15 -0400 Subject: Fix broken model-type API endpoint The endpoint path was accidentally changed with CCSDK-3014, where a trailing slash was added to the path. This reverts the endpoint path, and is still compatible with requests that have a trailing slash. Issue-ID: CCSDK-3672 Signed-off-by: Jozsef Csongvai Change-Id: I071e15a525750d3068c53ff9f5447c524cd44669 --- .../ccsdk/cds/blueprintsprocessor/designer/api/ModelTypeController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/blueprintsprocessor/modules') diff --git a/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ModelTypeController.kt b/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ModelTypeController.kt index 3689f735e..91b27626f 100644 --- a/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ModelTypeController.kt +++ b/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ModelTypeController.kt @@ -76,7 +76,7 @@ open class ModelTypeController(private val modelTypeHandler: ModelTypeHandler) { } @PostMapping( - path = ["/"], + path = [""], produces = [MediaType.APPLICATION_JSON_VALUE], consumes = [MediaType.APPLICATION_JSON_VALUE] ) -- cgit 1.2.3-korg