summaryrefslogtreecommitdiffstats
path: root/aai-schema-abstraction/src/test/resources/json/badVertexSchema.json
diff options
context:
space:
mode:
authorPhillip Leigh <Phillip.Leigh@amdocs.com>2019-10-28 15:55:40 -0400
committerPhillip Leigh <Phillip.Leigh@amdocs.com>2019-10-29 17:36:53 -0400
commit2e2f969676ab391fba2198cbaa55e9b85d50216f (patch)
treee0bee9dbd3a7933d44173be99e0efe7df5b7b412 /aai-schema-abstraction/src/test/resources/json/badVertexSchema.json
parent0a10810750640260a3d0476afc17575d7700ed0d (diff)
[AAI-2404]add aai-schema-abstraction library
Signed-off-by: Phillip Leigh <Phillip.Leigh@amdocs.com> Issue-ID: AAI-2404 Change-Id: I30d954bcdf1cf020191028160610defb8dbc8ff6
Diffstat (limited to 'aai-schema-abstraction/src/test/resources/json/badVertexSchema.json')
-rw-r--r--aai-schema-abstraction/src/test/resources/json/badVertexSchema.json100
1 files changed, 100 insertions, 0 deletions
diff --git a/aai-schema-abstraction/src/test/resources/json/badVertexSchema.json b/aai-schema-abstraction/src/test/resources/json/badVertexSchema.json
new file mode 100644
index 00000000..cd8bd3d7
--- /dev/null
+++ b/aai-schema-abstraction/src/test/resources/json/badVertexSchema.json
@@ -0,0 +1,100 @@
+{
+ "schema-version": "v1",
+ "schema-type": "json",
+ "schema-content": {
+ "relationship_types": [
+ {
+ "from": "tosca.nodes.SoftwareComponent",
+ "to": "tosca.nodes.Compute",
+ "label": "tosca.relationships.HostedOn",
+ "annotations": {
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE"
+ }
+ }
+ ],
+ "data_types": [
+ {
+ "name": "org.onap.datatypes.network.MacAssignments",
+ "description": "",
+ "properties": [
+ {
+ "name": "mac_range_plan",
+ "required": false,
+ "type": "string",
+ "description": "",
+ "default": "",
+ "constraint": ""
+ },
+ {
+ "name": "mac_count",
+ "required": false,
+ "type": "integer",
+ "description": "",
+ "default": "",
+ "constraint": ""
+ },
+ {
+ "name": "supplemental_data",
+ "required": false,
+ "type": "string",
+ "description": "",
+ "default": "",
+ "constraint": ""
+ }
+ ]
+ }
+ ],
+ "node_types": [
+ {
+ "description": "",
+ "uriTemplate": "",
+ "properties": [
+ {
+ "name": "name",
+ "required": true,
+ "unique": false,
+ "type": "string",
+ "description": "",
+ "default": "",
+ "annotations": {
+ "indexed": true,
+ "searchable": true,
+ "source_of_truth_type": "AAI",
+ "constraint": ""
+ }
+ },
+ {
+ "name": "size",
+ "required": true,
+ "unique": false,
+ "type": "integer",
+ "description": "",
+ "default": "50",
+ "annotations": {
+ "indexed": false,
+ "searchable": true,
+ "source_of_truth_type": "AAI",
+ "constraint": "Greater_or_equal: 0 GB,"
+ }
+ },
+ {
+ "name": "maxsize",
+ "required": true,
+ "unique": false,
+ "type": "string",
+ "description": "",
+ "default": "",
+ "annotations": {
+ "indexed": false,
+ "searchable": false,
+ "source_of_truth_type": "AAI",
+ "constraint": "Greater_or_equal: 0 GB,"
+ }
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file