Add new endpoint for posting data-dictinary as ResourceDefinition 67/100067/3
authorJozsef Csongvai <jozsef.csongvai@bell.ca>
Tue, 7 Jan 2020 18:30:24 +0000 (13:30 -0500)
committerJozsef Csongvai <jozsef.csongvai@bell.ca>
Wed, 8 Jan 2020 19:22:24 +0000 (14:22 -0500)
commitcc969006532a1e1994ab6609b2c4ddcb0dc49d87
treeccd23eab4814af59a746a3ce580a34af61be247a
parent5e5718c9191f125ad65bd9ab15334147bedd79cc
Add new endpoint for posting data-dictinary as ResourceDefinition

Starter-dictionaries and examples in the documentation have the type ResourceDefinition.
The existing endpoint accepts ResourceDictionary which is the wrapping entity of ResourceDefinition.

Issue-ID: CCSDK-1725
Change-Id: I07f925ba4f607a6eaecf5907ac6e08691578c3b5
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/ResourceDictionaryController.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/handler/ResourceDictionaryHandler.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/load/ResourceDictionaryLoadService.kt
ms/blueprintsprocessor/modules/inbounds/designer-api/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/handler/ResourceDictionaryHandlerTest.kt [new file with mode: 0644]