commit | c3943fbc70105c4ce38d66c7cbe227ddec35d535 | [log] [tgz] |
---|---|---|
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | Tue May 17 11:47:15 2022 -0400 |
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | Tue May 17 11:47:15 2022 -0400 |
tree | fc3046903ee56a1eb249bce0634d506927ad4452 | |
parent | a07209f3327340cbbd4ddf8051ec7775153e1121 [diff] |
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 <jozsef.csongvai@bell.ca> Change-Id: I071e15a525750d3068c53ff9f5447c524cd44669
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 3689f73..91b2762 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 @@ } @PostMapping( - path = ["/"], + path = [""], produces = [MediaType.APPLICATION_JSON_VALUE], consumes = [MediaType.APPLICATION_JSON_VALUE] )