Rework SDC calls and model
Rework the SDC model and queries
+ Add unit tests with JSON to validate the SDC model
Change-Id: I93f08cdc883f5357e3a08e9c246ed30be50a3492
Issue-Id: CLAMP-1
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
diff --git a/src/test/resources/example/sdc/sdcCinderVolume.json b/src/test/resources/example/sdc/sdcCinderVolume.json
new file mode 100644
index 0000000..b5ffe64
--- /dev/null
+++ b/src/test/resources/example/sdc/sdcCinderVolume.json
@@ -0,0 +1,15 @@
+{
+ "uuid": "b4288e07-597a-44a2-aa98-ad36e551a39d",
+ "invariantUUID": "61dc85d2-5e17-480e-a71f-8f6d59a0ead2",
+ "name": "CinderVolume",
+ "version": "5.0",
+ "toscaModelURL": "/sdc/v1/catalog/resources/b4288e07-597a-44a2-aa98-ad36e551a39d/toscaModel",
+ "category": "Generic",
+ "subCategory": "Infrastructure",
+ "resourceType": "VFC",
+ "lifecycleState": "CERTIFIED",
+ "lastUpdaterUserId": "jh0003",
+ "lastUpdaterFullName": "Jimmy Hendrix",
+ "toscaResourceName": "org.openecomp.resource.vfc.nodes.heat.cinder.Volume",
+ "description": "Represents a server-local block storage device that provides persistent storage to guest virtual machines. "
+}
\ No newline at end of file