summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /asdc-tests/src/test/resources/CI/importAttResources/softwareComponent
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'asdc-tests/src/test/resources/CI/importAttResources/softwareComponent')
-rw-r--r--asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.json11
-rw-r--r--asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.yml15
-rw-r--r--asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.zipbin0 -> 358 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.json b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.json
new file mode 100644
index 0000000000..22379bf695
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.json
@@ -0,0 +1,11 @@
+{
+ "payloadName": "softwareComponent.yml",
+ "contactId": "jh0003",
+ "resourceName": "tosca.nodes.SoftwareComponent",
+ "description": "Represents a generic software component that can be managed and run by a Compute Node Type.",
+ "resourceIconPath": "defaulticon",
+ "category": "Abstract",
+ "tags": [
+ "tosca.nodes.SoftwareComponent"
+ ]
+} \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.yml b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.yml
new file mode 100644
index 0000000000..287a376fc3
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.yml
@@ -0,0 +1,15 @@
+tosca.nodes.SoftwareComponent:
+ derived_from: tosca.nodes.Root
+ properties:
+ # domain-specific software component version
+ component_version:
+ type: version
+ required: false
+ admin_credential:
+ type: tosca.datatypes.Credential
+ required: false
+ requirements:
+ - host:
+ capability: tosca.capabilities.Container
+ node: tosca.nodes.Compute
+ relationship: tosca.relationships.HostedOn
diff --git a/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.zip b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.zip
new file mode 100644
index 0000000000..8e39b87808
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.zip
Binary files differ