diff options
author | Steven Blimkie <Steven.Blimkie@amdocs.com> | 2019-11-01 17:39:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-01 17:39:21 +0000 |
commit | bd693e96711752700934932bb48fe6a92a35103c (patch) | |
tree | a279dcbd6dd3931b21a96eae8fd9593359fa7aae /aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json | |
parent | 8701a61a2d4b6ae7a06b46aa49b2b0ed11b4853a (diff) | |
parent | 2e2f969676ab391fba2198cbaa55e9b85d50216f (diff) |
Merge "[AAI-2404]add aai-schema-abstraction library"
Diffstat (limited to 'aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json')
-rw-r--r-- | aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json b/aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json new file mode 100644 index 00000000..06e78ed1 --- /dev/null +++ b/aai-schema-abstraction/src/test/resources/json/schemaServiceResponse.json @@ -0,0 +1,131 @@ +{ + "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": [ + { + "name": "tosca.nodes.ObjectStorage", + "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," + } + } + ] + } + ], + "common_node_properties": [ + { + "name": "aai-uuid", + "required": true, + "unique": true, + "type": "string", + "description": "", + "default": "", + "annotations": { + "indexed": true, + "searchable": false, + "source_of_truth_type": "AAI", + "constraint": "" + } + }, + { + "name": "source-of-truth", + "required": false, + "unique": false, + "type": "string", + "description": "", + "default": "", + "annotations": { + "indexed": false, + "searchable": false, + "source_of_truth_type": "AAI", + "constraint": "" + } + } + ] + } +}
\ No newline at end of file |