From b756613d0ceba28142f83988c4bbc93caac1f7c1 Mon Sep 17 00:00:00 2001 From: Joanna Jeremicz Date: Fri, 14 Sep 2018 10:52:35 +0200 Subject: Add new SDC service model to simulator Change-Id: I92ba14ef2c157abd130aa1eaaf9dc89aa5437a77 Issue-ID: VID-205 Signed-off-by: Joanna Jeremicz --- .../get_sdc_catalog_services_83d587e1.json | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json') diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json new file mode 100644 index 000000000..0bc179c64 --- /dev/null +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json @@ -0,0 +1,38 @@ +[ + { + "simulatorRequest": { + "method": "GET", + "path": "/sdc/v1/catalog/services/83d587e1-742d-4cb0-b087-3963b012dfe3/toscaModel" + }, + "simulatorResponse": { + "responseCode": 200, + "file": "csar15782222_instantiationTypeMacroWithPnf.zip" + } + }, + { + "simulatorRequest": { + "method": "GET", + "path": "/sdc/v1/catalog/services/83d587e1-742d-4cb0-b087-3963b012dfe3/metadata" + }, + "simulatorResponse": { + "responseCode": 200, + "responseHeaders": { + "Content-Type": "application/json" + }, + "body": { + "uuid": "83d587e1-742d-4cb0-b087-3963b012dfe3", + "invariantUUID": "any-id", + "name": "test-pnf", + "version": "1.0", + "toscaModelURL": "./csar15782222_instantiationTypeMacroWithPnf.zip", + "category": "Mobility", + "lifecycleState": "CERTIFIED", + "lastUpdaterUserId": "rg276b", + "lastUpdaterFullName": null, + "distributionStatus": "DISTRIBUTED", + "artifacts": null, + "resources": null + } + } + } +] \ No newline at end of file -- cgit 1.2.3-korg