summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'vid-ext-services-simulator/src/main/resources')
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/get_sdc_catalog_services_83d587e1.json38
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/general/ecompportal_getSessionSlotCheckInterval.json6
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/service-design-and-creation.json18
3 files changed, 59 insertions, 3 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/general/ecompportal_getSessionSlotCheckInterval.json b/vid-ext-services-simulator/src/main/resources/preset_registration/general/ecompportal_getSessionSlotCheckInterval.json
index a43092ef9..cc7f76c5f 100644
--- a/vid-ext-services-simulator/src/main/resources/preset_registration/general/ecompportal_getSessionSlotCheckInterval.json
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/general/ecompportal_getSessionSlotCheckInterval.json
@@ -2,7 +2,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/ecompportal_att/auxapi//getSessionSlotCheckInterval"
+ "path": "/ONAPPORTAL/auxapi/v[0-9]+/getSessionSlotCheckInterval"
},
"simulatorResponse": {
"responseCode": 200,
@@ -12,7 +12,7 @@
{
"simulatorRequest": {
"method": "POST",
- "path": "/ecompportal_att/auxapi//extendSessionTimeOuts"
+ "path": "/ONAPPORTAL/auxapi//extendSessionTimeOuts"
},
"simulatorResponse": {
"responseCode": 200,
@@ -22,7 +22,7 @@
{
"simulatorRequest": {
"method": "GET",
- "path": "/ecompportal_att/auxapi/context/get_user"
+ "path": "/ONAPPORTAL/auxapi/context/get_user"
},
"simulatorResponse": {
"responseCode": 200,
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"
+ }
+ ]
+ }
+ }
}
]
}