From 451a3400b76511393c62a444f588a4ed15f4a549 Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Sun, 19 Feb 2017 10:28:42 +0200 Subject: Initial OpenECOMP SDC commit Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando --- .../objectStorage/objectStorage.json | 20 ++++++++++++++++++++ .../normative-types/objectStorage/objectStorage.yml | 18 ++++++++++++++++++ .../normative-types/objectStorage/objectStorage.zip | Bin 0 -> 346 bytes 3 files changed, 38 insertions(+) create mode 100644 catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.json create mode 100644 catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.yml create mode 100644 catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.zip (limited to 'catalog-be/src/main/resources/import/tosca/normative-types/objectStorage') diff --git a/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.json b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.json new file mode 100644 index 0000000000..dca5a4b89d --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.json @@ -0,0 +1,20 @@ +{ + "payloadName": "objectStorage.yml", + "contactId": "jh0003", + "name": "ObjectStorage", + "description": "Represents storage that provides the ability to store data as objects (or BLOBs of data) without consideration for the underlying filesystem or devices.", + "resourceIconPath": "objectStorage", + "categories": [ + { + "name": "Generic", + "subcategories": [ + { + "name": "Infrastructure" + } + ] + } +], + "tags": [ + "ObjectStorage" + ] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.yml b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.yml new file mode 100644 index 0000000000..9c338c3400 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.yml @@ -0,0 +1,18 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + tosca.nodes.ObjectStorage: + derived_from: tosca.nodes.Root + properties: + name: + type: string + size: + type: scalar-unit.size + constraints: + - greater_or_equal: 0 GB + maxsize: + type: scalar-unit.size + constraints: + - greater_or_equal: 0 GB + capabilities: + storage_endpoint: + type: tosca.capabilities.Endpoint diff --git a/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.zip b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.zip new file mode 100644 index 0000000000..6b15346064 Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/normative-types/objectStorage/objectStorage.zip differ -- cgit 1.2.3-korg