aboutsummaryrefslogtreecommitdiffstats
path: root/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'fixtures')
-rw-r--r--fixtures/4_insert.json59
-rw-r--r--fixtures/5_delete.json32
-rw-r--r--fixtures/location-sample.json1
3 files changed, 92 insertions, 0 deletions
diff --git a/fixtures/4_insert.json b/fixtures/4_insert.json
new file mode 100644
index 0000000..88918e4
--- /dev/null
+++ b/fixtures/4_insert.json
@@ -0,0 +1,59 @@
+{
+ "uuid": "3ff44fa9-9372-45dc-a432-46f7ff8c5103",
+ "invariantUUID": "9eaf59ee-2fe0-48a9-8d20-6f9b09ba807b",
+ "name": "DcaeTestService",
+ "version": "2.0",
+ "toscaModelURL": "https://mtanjv9sdcb21.cip.com:8443/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/toscaModel",
+ "category": "Mobility",
+ "lifecycleState": "CERTIFIED",
+ "distributionStatus": "DISTRIBUTED",
+ "lastUpdaterFullName": "MICHAEL SHITRIT",
+ "resources": [
+ {
+ "resourceInstanceName": "DcaeTestVF 2",
+ "resourceName": "DcaeTestVF",
+ "resourceInvariantUUID": "3d5927fc-a28e-41e9-9e79-57289aa7f754",
+ "resourceVersion": "2.0",
+ "resoucreType": "VF",
+ "resourceUUID": "d8d91013-5bc5-4600-9079-fae3cefd4ca7",
+ "artifacts": [
+ {
+ "artifactName": "dcaetestvf2_modules.json",
+ "artifactType": "VF_MODULES_METADATA",
+ "artifactURL": "/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/resourceInstances/dcaetestvf2/artifacts/a5998f90-7335-4b30-a988-dbfd39147a9c",
+ "artifactDescription": "Auto-generated VF Modules information artifact",
+ "artifactChecksum": "ZDc1MTcxMzk4ODk4N2U5MzMxOTgwMzYzZTI0MTg5Y2U=",
+ "artifactUUID": "a5998f90-7335-4b30-a988-dbfd39147a9c",
+ "artifactVersion": "1"
+ },
+ {
+ "artifactName": "sample-blueprint",
+ "artifactType": "DCAE_INVENTORY_BLUEPRINT",
+ "artifactURL": "/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/resourceInstances/dcaetestvf2/artifacts/6737fcea-b0ac-4e2f-b7d4-5d224961510e",
+ "artifactDescription": "sdfsd",
+ "artifactChecksum": "ZjhmYjVjZDI4MWM5MzA4OTA0MWFjNTYwOWU3NjhhYjY=",
+ "artifactUUID": "6737fcea-b0ac-4e2f-b7d4-5d224961510e",
+ "artifactVersion": "2"
+ },
+ {
+ "artifactName": "fake-out",
+ "artifactType": "DCAE_DOC",
+ "artifactURL": "/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/resourceInstances/dcaetestvf2/artifacts/6737fcea-b0ac-4e2f-b7d4-5d224961510e",
+ "artifactDescription": "sdfsd",
+ "artifactChecksum": "ZjhmYjVjZDI4MWM5MzA4OTA0MWFjNTYwOWU3NjhhYjY=",
+ "artifactUUID": "6737fcea-b0ac-4e2f-b7d4-5d224961510f",
+ "artifactVersion": "2"
+ },
+ {
+ "artifactName": "sample-blueprint-location",
+ "artifactType": "DCAE_INVENTORY_JSON",
+ "artifactURL": "fixtures/location-sample.json",
+ "artifactDescription": "sdfsd",
+ "artifactChecksum": "ZjhmYjVjZDI4MWM5MzA4OTA0MWFjNTYwOWU3NjhhYjY=",
+ "artifactUUID": "6737fcea-b0ac-4e2f-b7d4-5d224961510e",
+ "artifactVersion": "2"
+ }
+ ]
+ }
+ ]
+}
diff --git a/fixtures/5_delete.json b/fixtures/5_delete.json
new file mode 100644
index 0000000..4eeeb44
--- /dev/null
+++ b/fixtures/5_delete.json
@@ -0,0 +1,32 @@
+{
+ "uuid": "3ff44fa9-9372-45dc-a432-46f7ff8c5103",
+ "invariantUUID": "9eaf59ee-2fe0-48a9-8d20-6f9b09ba807b",
+ "name": "DcaeTestService",
+ "version": "2.0",
+ "toscaModelURL": "https://mtanjv9sdcb21.cip.com:8443/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/toscaModel",
+ "category": "Mobility",
+ "lifecycleState": "CERTIFIED",
+ "distributionStatus": "DISTRIBUTED",
+ "lastUpdaterFullName": "MICHAEL SHITRIT",
+ "resources": [
+ {
+ "resourceInstanceName": "DcaeTestVF 2",
+ "resourceName": "DcaeTestVF",
+ "resourceInvariantUUID": "3d5927fc-a28e-41e9-9e79-57289aa7f754",
+ "resourceVersion": "2.0",
+ "resoucreType": "VF",
+ "resourceUUID": "d8d91013-5bc5-4600-9079-fae3cefd4ca7",
+ "artifacts": [
+ {
+ "artifactName": "dcaetestvf2_modules.json",
+ "artifactType": "VF_MODULES_METADATA",
+ "artifactURL": "/sdc/v1/catalog/services/3ff44fa9-9372-45dc-a432-46f7ff8c5103/resourceInstances/dcaetestvf2/artifacts/a5998f90-7335-4b30-a988-dbfd39147a9c",
+ "artifactDescription": "Auto-generated VF Modules information artifact",
+ "artifactChecksum": "ZDc1MTcxMzk4ODk4N2U5MzMxOTgwMzYzZTI0MTg5Y2U=",
+ "artifactUUID": "a5998f90-7335-4b30-a988-dbfd39147a9c",
+ "artifactVersion": "1"
+ }
+ ]
+ }
+ ]
+}
diff --git a/fixtures/location-sample.json b/fixtures/location-sample.json
new file mode 100644
index 0000000..cac67bb
--- /dev/null
+++ b/fixtures/location-sample.json
@@ -0,0 +1 @@
+{"artifactName" : "sample-blueprint", "locations" : ["CLLI1", "CLL2"]}