aboutsummaryrefslogtreecommitdiffstats
path: root/fixtures
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2016-10-17 17:32:25 -0400
committerMichael Hwang <mhwang@research.att.com>2017-08-23 13:43:09 -0400
commit16a9c5b8c6b91ea856450d99cdfa6a18c57b7f1b (patch)
tree14e7baadd42e8d8dcfa9e9b177b1bb6f05d8522a /fixtures
parent5c203e2c84b5ebcb0eb827038b370fb962595745 (diff)
Make first commit
Change-Id: I7dd166e4052d48e2b333cfaadb8a0b64009b2cbc Issue-Id: DCAEGEN2-44 Signed-off-by: Michael Hwang <mhwang@research.att.com>
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"]}