diff options
Diffstat (limited to 'vid-ext-services-simulator/src/main')
2 files changed, 56 insertions, 0 deletions
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 diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/service-design-and-creation.json b/vid-ext-services-simulator/src/main/resources/preset_registration/service-design-and-creation.json index 679c5d771..04b1f995a 100644 --- a/vid-ext-services-simulator/src/main/resources/preset_registration/service-design-and-creation.json +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/service-design-and-creation.json @@ -428,6 +428,24 @@ ] } } + }, + { + "model": { + "model-invariant-id": "any-id", + "model-type": "resource", + "resource-version": "10001", + "model-vers": { + "model-ver": [ + { + "model-version-id": "83d587e1-742d-4cb0-b087-3963b012dfe3", + "model-name": "pnf-test", + "model-version": "1.0", + "model-description": "Should ask about CorrelationId", + "resource-version": "200021" + } + ] + } + } } ] } |