diff options
Diffstat (limited to 'asdc-tests/src/test/resources/CI/importAttResources')
29 files changed, 386 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.json b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.json new file mode 100644 index 0000000000..2560a8acfa --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.json @@ -0,0 +1,11 @@ +{ + "payloadName": "HSS.yml", + "contactId": "jh0003", + "resourceName": "att.nodes.ims.HSS", + "description": "The home subscriber server (HSS), or user profile server function (UPSF), is a master user database that supports the IMS network entities that actually handle calls. It contains the subscription-related information (subscriber profiles), performs authentication and authorization of the user, and can provide information about the subscriber's location and IP information.", + "resourceIconPath": "defaulticon", + "category": "IMS", + "tags": [ + "att.nodes.ims.HSS", "IMS_TAG" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml new file mode 100644 index 0000000000..060059508a --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml @@ -0,0 +1,18 @@ +att.nodes.ims.HSS: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + icscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more I-CSCF functions + scscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more S-CSCF functions + requirements: + database_endpoint: + capability: tosca.capabilities.Endpoint.Database + node: tosca.nodes.Database + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml.old b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml.old new file mode 100644 index 0000000000..c58191e85b --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.yml.old @@ -0,0 +1,28 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 + +description: > + The home subscriber server (HSS), or user profile server function (UPSF), + is a master user database that supports the IMS network entities that actually handle calls. + It contains the subscription-related information (subscriber profiles), + performs authentication and authorization of the user, and can provide information about the + subscriber's location and IP information. + +node_types: + att.nodes.ims.HSS: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + icscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more I-CSCF functions + scscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more S-CSCF functions + requirements: + database_endpoint: + capability: tosca.capabilities.Endpoint.Database + node: tosca.nodes.Database + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.zip b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.zip Binary files differnew file mode 100644 index 0000000000..ed8949f445 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/HSS/HSS.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.json b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.json new file mode 100644 index 0000000000..89bf58a2fb --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.json @@ -0,0 +1,11 @@ +{ + "payloadName": "ICSCF.yml", + "contactId": "jh0003", + "resourceName": "att.nodes.ims.ICSCF", + "description": "Interrogating-CSCF (I-CSCF) is a SIP function located at the edge of an administrative domain. Its IP address is published in the Domain Name System (DNS) of the domain(using NAPTR and SRV type of DNS records), so that remote servers can find it, and use it as a forwarding point (e.g., registering) for SIP packets to this domain.It queries the HSS to retrieve the address of the S-CSCF and assign it to a user performing SIP registration. It also forwards SIP request or response to the S-CSCF.", + "resourceIconPath": "defaulticon", + "category": "IMS", + "tags": [ + "att.nodes.ims.ICSCF", "IMS_TAG" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml new file mode 100644 index 0000000000..a00685bc03 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml @@ -0,0 +1,13 @@ +att.nodes.ims.ICSCF: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + pcscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more P-CSCF functions + requirements: + hss_endpoint: + capability: tosca.capabilities.Endpoint + node: att.nodes.ims.HSS + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml.old b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml.old new file mode 100644 index 0000000000..183f8db3f4 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.yml.old @@ -0,0 +1,24 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 + +description: > + Interrogating-CSCF (I-CSCF) is a SIP function located at the edge of an administrative domain. + Its IP address is published in the Domain Name System (DNS) of the domain + (using NAPTR and SRV type of DNS records), so that remote servers can find it, + and use it as a forwarding point (e.g., registering) for SIP packets to this domain. + It queries the HSS to retrieve the address of the S-CSCF and assign it to a user performing SIP + registration. It also forwards SIP request or response to the S-CSCF. + +node_types: + att.nodes.ims.ICSCF: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + pcscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more P-CSCF functions + requirements: + hss_endpoint: + capability: tosca.capabilities.Endpoint + node: att.nodes.ims.HSS + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.zip b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.zip Binary files differnew file mode 100644 index 0000000000..228372e2f3 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/ICSCF/ICSCF.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.json b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.json new file mode 100644 index 0000000000..bf8ee08d30 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.json @@ -0,0 +1,11 @@ +{ + "payloadName": "PCSCF.yml", + "contactId": "jh0003", + "resourceName": "att.nodes.ims.PCSCF", + "description": "A Proxy-CSCF (P-CSCF) is a SIP proxy that is the first point of contact for the IMS terminal. It can be located either in the visited network (in full IMS networks) or in the home network (when the visited network is not IMS compliant yet). The P-CSCF is at its core a specialized SBC for the User network interface which not onlyprotects the network, but also the IMS terminal. The use of an additional SBC between the IMS terminal and the P-CSCF is unnecessary and infeasible due to the signaling being encrypted on this leg. The terminal discovers its P-CSCF with either DHCP, or it may be configured (e.g. during initial provisioning or via a 3GPP IMS Management Object (MO)) or in the ISIM or assigned in the PDP Context (in General Packet Radio Service (GPRS)).", + "resourceIconPath": "defaulticon", + "category": "IMS", + "tags": [ + "att.nodes.ims.PCSCF", "IMS_TAG" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.yml b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.yml new file mode 100644 index 0000000000..3d0e38eefc --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.yml @@ -0,0 +1,13 @@ +att.nodes.ims.PCSCF: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + pcscf_endpoint: + type: tosca.capabilities.Endpoint.Public + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more UAs + requirements: + icscf_endpoint: + capability: tosca.capabilities.Endpoint + node: att.nodes.ims.ICSCF + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.zip b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.zip Binary files differnew file mode 100644 index 0000000000..37a6bac251 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/PCSCF/PCSCF.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.json b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.json new file mode 100644 index 0000000000..0f893ddb9b --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.json @@ -0,0 +1,11 @@ +{ + "payloadName": "SCSCF.yml", + "resourceName": "att.nodes.ims.SCSCF", + "description": "A Serving-CSCF (S-CSCF) is the central node of the signaling plane. It is a SIP server, but performs session control too. It is always located in the home network. It uses Diameter Cx and Dx interfaces to the HSS to download user profiles and upload user-to-S-CSCF associations (the user profile is only cached locally for processing reasons only and is not changed). All necessary subscriber profile information is loaded from the HSS.", + "resourceIconPath": "defaulticon", + "category": "IMS", + "contactId": jh0003, + "tags": [ + "att.nodes.ims.SCSCF", "IMS_TAG" + ] +} diff --git a/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml new file mode 100644 index 0000000000..a2672ddb13 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml @@ -0,0 +1,13 @@ +att.nodes.ims.SCSCF: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + icscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more I-CSCF functions + requirements: + hss_endpoint: + capability: tosca.capabilities.Endpoint + node: att.nodes.ims.HSS + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml.old b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml.old new file mode 100644 index 0000000000..d8fb1b0d33 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.yml.old @@ -0,0 +1,23 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 + +description: > + A Serving-CSCF (S-CSCF) is the central node of the signalling plane. + It is a SIP server, but performs session control too. It is always located in the home network. + It uses Diameter Cx and Dx interfaces to the HSS to download user profiles and upload + user-to-S-CSCF associations (the user profile is only cached locally for processing reasons only + and is not changed). All necessary subscriber profile information is loaded from the HSS. + +node_types: + att.nodes.ims.SCSCF: + derived_from: tosca.nodes.SoftwareComponent + capabilities: + icscf_endpoint: + type: tosca.capabilities.Endpoint + relationship: tosca.relationships.ConnectTo + occurrences: [0, UNBOUNDED] + description: Connection with one ore more I-CSCF functions + requirements: + hss_endpoint: + capability: tosca.capabilities.Endpoint + node: att.nodes.ims.HSS + relationship: tosca.relationships.ConnectsTo
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.zip b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.zip Binary files differnew file mode 100644 index 0000000000..7a579dc5c1 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/SCSCF/SCSCF.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.json b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.json new file mode 100644 index 0000000000..7425778dd1 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.json @@ -0,0 +1,15 @@ +{ + "payloadName": "compute.yml", + "contactId": "jh0003", + "resourceName": "tosca.nodes.Compute", + "description": "Represents a real or virtual machine or server. Information specified on the Compute + node will be used to find the machine that fits the given requirements in the cloud + available machines. If no sizing information are specified the cloud provider default + machine will be used. It is strongly recommended to specify the required CPUs and memory + at least.", + "resourceIconPath": "defaulticon", + "category": "Infrastructure", + "tags": [ + "tosca.nodes.Compute" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.yml b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.yml new file mode 100644 index 0000000000..b110157df3 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.yml @@ -0,0 +1,35 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + tosca.nodes.Compute: + derived_from: tosca.nodes.Root + attributes: + private_address: + type: string + public_address: + type: string + networks: + type: map + entry_schema: + type: tosca.datatypes.network.NetworkInfo + ports: + type: map + entry_schema: + type: tosca.datatypes.network.PortInfo + requirements: + - local_storage: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: [0, UNBOUNDED] + capabilities: + host: + type: tosca.capabilities.Container + valid_source_types: [tosca.nodes.SoftwareComponent] + endpoint : + type: tosca.capabilities.Endpoint.Admin + os: + type: tosca.capabilities.OperatingSystem + scalable: + type: tosca.capabilities.Scalable + binding: + type: tosca.capabilities.network.Bindable diff --git a/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.zip b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.zip Binary files differnew file mode 100644 index 0000000000..95a1325d92 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/compute/compute.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/deleteResourcesDemo.sh b/asdc-tests/src/test/resources/CI/importAttResources/deleteResourcesDemo.sh new file mode 100644 index 0000000000..549a4ca78d --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/deleteResourcesDemo.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +function usage { + echo "Usage: $0 <hostIp> <hostPort>" +} + +function deleteResource() { + + ELEMENT_NAME=$1 + echo "###################### Removing Element ${ELEMENT_NAME} Start ######################" + curl -X "DELETE" -H "USER_ID: jh0003" ${HOST_IP}:${HOST_PORT}/sdc2/rest/v1/catalog/resources/res_${ELEMENT_NAME}".1.0" + echo "" + echo "###################### Removing Element ${ELEMENT_NAME} End ########################" + echo "" + echo "" + echo "" +} +if [ $# -lt 2 ] +then + usage + exit 2 +fi + +HOST_IP=$1 +HOST_PORT=$2 + +deleteResource "tosca.nodes.root" +deleteResource "tosca.nodes.compute" +deleteResource "tosca.nodes.softwarecomponent" +deleteResource "tosca.nodes.loadbalancer" +deleteResource "att.nodes.ims.hss" +deleteResource "att.nodes.ims.icscf" +deleteResource "att.nodes.ims.pcscf" +deleteResource "att.nodes.ims.scscf" + + diff --git a/asdc-tests/src/test/resources/CI/importAttResources/importResourcesDemo.sh b/asdc-tests/src/test/resources/CI/importAttResources/importResourcesDemo.sh new file mode 100644 index 0000000000..92beb9625a --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/importResourcesDemo.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +function usage { + echo "Usage: $0 <hostIp> <hostPort>" +} + +function addResource() { + + ELEMENT_NAME=$1 + echo "###################### Adding Element ${ELEMENT_NAME} Start ######################" + CURRENT_ZIP_FILE=./${ELEMENT_NAME}/${ELEMENT_NAME}.zip + CURRENT_JSON_FILE=./${ELEMENT_NAME}/${ELEMENT_NAME}.json + JSON_CONTENT=`paste -s ${CURRENT_JSON_FILE}` + curl -v -F resourceMetadata="${JSON_CONTENT}" -F resourceZip=@${CURRENT_ZIP_FILE} -H "USER_ID: jh0003" ${HOST_IP}:${HOST_PORT}/sdc2/rest/v1/catalog/upload/multipart + echo "" + echo "###################### Adding Element ${ELEMENT_NAME} End ########################" + echo "" + echo "" + echo "" +} +if [ $# -lt 2 ] +then + usage + exit 2 +fi + +HOST_IP=$1 +HOST_PORT=$2 + +addResource "root" +addResource "compute" +addResource "softwareComponent" +addResource "loadBalancer" +addResource "HSS" +addResource "ICSCF" +addResource "PCSCF" +addResource "SCSCF" + + diff --git a/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.json b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.json new file mode 100644 index 0000000000..d74dc3a3d5 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.json @@ -0,0 +1,11 @@ +{ + "payloadName": "loadBalancer.yml", + "contactId": "jh0003", + "resourceName": "tosca.nodes.LoadBalancer", + "description": "Represents logical function that be used in conjunction with a Floating Address to distribute an application’s traffic (load) across a number of instances of the application (e.g., for a clustered or scaled application).", + "resourceIconPath": "defaulticon", + "category": "Infrastructure", + "tags": [ + "tosca.nodes.LoadBalancer" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.yml b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.yml new file mode 100644 index 0000000000..53c053f0a6 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.yml @@ -0,0 +1,16 @@ +tosca.nodes.LoadBalancer: + derived_from: tosca.nodes.Root + properties: + # TBD + algorithm : + type: string + required: false + status: experimental + capabilities : + client: + type: tosca.capabilities.Endpoint.Public + description: the Floating (IP) client’s on the public network can connect to + requirements: + - application: + capability: tosca.capabilities.Endpoint + relationship: tosca.relationships.RoutesTo diff --git a/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.zip b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.zip Binary files differnew file mode 100644 index 0000000000..45edc204b5 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/loadBalancer/loadBalancer.zip diff --git a/asdc-tests/src/test/resources/CI/importAttResources/root/root.json b/asdc-tests/src/test/resources/CI/importAttResources/root/root.json new file mode 100644 index 0000000000..6f96cf8b02 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/root/root.json @@ -0,0 +1,11 @@ +{ + "payloadName": "root.yml", + "contactId": "jh0003", + "resourceName": "tosca.nodes.Root", + "description": "Represents a generic software component that can be managed and run by a Compute Node Type.", + "resourceIconPath": "defaulticon", + "category": "Abstract", + "tags": [ + "tosca.nodes.Root" + ] +}
\ No newline at end of file diff --git a/asdc-tests/src/test/resources/CI/importAttResources/root/root.yml b/asdc-tests/src/test/resources/CI/importAttResources/root/root.yml new file mode 100644 index 0000000000..81aacd56ab --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/root/root.yml @@ -0,0 +1,21 @@ +tosca.nodes.Root: + description: The TOSCA Node Type all other TOSCA base Node Types derive from + attributes: + tosca_id: + type: string + tosca_name: + type: string + state: + type: string + capabilities: + feature: + type: tosca.capabilities.Node + requirements: + - dependency : + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: [ 0, UNBOUNDED ] + interfaces: + Standard: + type: tosca.interfaces.node.lifecycle.Standard diff --git a/asdc-tests/src/test/resources/CI/importAttResources/root/root.zip b/asdc-tests/src/test/resources/CI/importAttResources/root/root.zip Binary files differnew file mode 100644 index 0000000000..bdafdfbeb6 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/root/root.zip 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 Binary files differnew file mode 100644 index 0000000000..8e39b87808 --- /dev/null +++ b/asdc-tests/src/test/resources/CI/importAttResources/softwareComponent/softwareComponent.zip |