summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/src/test/resources')
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/capability-types/capabilityTypes.yml2
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/data-types/dataTypes.yml14
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.json6
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.yml9
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.zipbin0 -> 424 bytes
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml18
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zipbin0 -> 419 bytes
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.json22
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.yml45
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.json6
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.yml3
-rw-r--r--integration-tests/src/test/resources/Files/imports/tosca/relationship-types/relationshipTypes.yml9
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/frontend/onapUiSanity.xml1
13 files changed, 135 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/capability-types/capabilityTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/capability-types/capabilityTypes.yml
new file mode 100644
index 0000000000..e4f19ef21f
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/capability-types/capabilityTypes.yml
@@ -0,0 +1,2 @@
+tosca.capabilities.network.Linkable:
+ derived_from: tosca.capabilities.Root \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/data-types/dataTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/data-types/dataTypes.yml
new file mode 100644
index 0000000000..657c2d874c
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/data-types/dataTypes.yml
@@ -0,0 +1,14 @@
+tosca.datatypes.nfv.AdditionalServiceData:
+ derived_from: tosca.datatypes.Root
+ description: describes the additional service data of the VirtualCp used to expose properties of the VirtualCp to NFV-MANO.
+ properties:
+ portData:
+ type: list
+ description: Service port numbers exposed by the VirtualCp.
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.ServicePortData
+ serviceData:
+ type: string
+ description: Service matching information exposed by the VirtualCp.
+ required: false \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.json b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.json
new file mode 100644
index 0000000000..af5c5858a3
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.json
@@ -0,0 +1,6 @@
+{
+ "tosca.groups.nfv.NsPlacementGroup": {
+ "displayName": "NFV NS PlacementGroup",
+ "icon": "group-nfv-placementgroup"
+ }
+} \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.yml
new file mode 100644
index 0000000000..fe1f21befa
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.yml
@@ -0,0 +1,9 @@
+tosca.groups.nfv.NsPlacementGroup:
+ derived_from: tosca.groups.Root
+ description: NsPlacementGroup is used for describing the affinity or anti-affinity relationship applicable between VNF instances created using different VNFDs, the Virtual Link instances created using different VLDs or the nested NS instances created using different NSDs when used in a NSD.
+ properties:
+ description:
+ type: string
+ description: Human readable description of the group
+ required: true
+ members: [tosca.nodes.nfv.VNF, tosca.nodes.nfv.NsVirtualLink, tosca.nodes.nfv.NS] \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.zip b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.zip
new file mode 100644
index 0000000000..80909d2a14
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/group-types/groupTypes.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
new file mode 100644
index 0000000000..9353c6a7bd
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
@@ -0,0 +1,18 @@
+tosca.interfaces.relationship.Configure:
+ derived_from: tosca.interfaces.Root
+ pre_configure_source:
+ description: Operation to pre-configure the source endpoint.
+ pre_configure_target:
+ description: Operation to pre-configure the target endpoint.
+ post_configure_source:
+ description: Operation to post-configure the source endpoint.
+ post_configure_target:
+ description: Operation to post-configure the target endpoint.
+ add_target:
+ description: Operation to notify the source node of a target node being added via a relationship.
+ add_source:
+ description: Operation to notify the target node of a source node which is now available via a relationship.
+ target_changed:
+ description: Operation to notify source some property or attribute of the target changed
+ remove_target:
+ description: Operation to remove a target node. \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip b/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip
new file mode 100644
index 0000000000..e0cef1709a
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip
Binary files differ
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.json b/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.json
new file mode 100644
index 0000000000..25dbb72544
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.json
@@ -0,0 +1,22 @@
+{
+ "payloadName": "network.yml",
+ "contactId": "jh0003",
+ "name": "Network",
+ "model": "ETSI SOL001 v2.5.1",
+ "description": "Represents a simple , logical network service.",
+ "resourceIconPath": "network",
+ "resourceType": "VL",
+ "categories": [
+ {
+ "name": "Generic",
+ "subcategories": [
+ {
+ "name": "Infrastructure"
+ }
+ ]
+ }
+],
+ "tags": [
+ "Network"
+ ]
+} \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.yml b/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.yml
new file mode 100644
index 0000000000..f3f3feda59
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/node-types/Network/network.yml
@@ -0,0 +1,45 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.network.Network:
+ derived_from: tosca.nodes.Root
+ properties:
+ ip_version:
+ type: integer
+ required: false
+ default: 4
+ constraints:
+ - valid_values: [ 4, 6 ]
+ cidr:
+ type: string
+ required: false
+ start_ip:
+ type: string
+ required: false
+ end_ip:
+ type: string
+ required: false
+ gateway_ip:
+ type: string
+ required: false
+ network_name:
+ type: string
+ required: false
+ network_id:
+ type: string
+ required: false
+ segmentation_id:
+ type: string
+ required: false
+ network_type:
+ type: string
+ required: false
+ physical_network:
+ type: string
+ required: false
+ dhcp_enabled:
+ type: boolean
+ required: false
+ default: true
+ capabilities:
+ link:
+ type: tosca.capabilities.network.Linkable
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.json b/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.json
new file mode 100644
index 0000000000..f44922c3e3
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.json
@@ -0,0 +1,6 @@
+{
+ "tosca.policies.Scaling": {
+ "displayName": "Scaling",
+ "icon": "policy-scaling"
+ }
+} \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.yml
new file mode 100644
index 0000000000..14b8274f34
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/policy-types/policyTypes.yml
@@ -0,0 +1,3 @@
+tosca.policies.Scaling:
+ derived_from: tosca.policies.Root
+ description: The TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes. \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/imports/tosca/relationship-types/relationshipTypes.yml b/integration-tests/src/test/resources/Files/imports/tosca/relationship-types/relationshipTypes.yml
new file mode 100644
index 0000000000..50c62bb9ed
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/imports/tosca/relationship-types/relationshipTypes.yml
@@ -0,0 +1,9 @@
+tosca.relationships.ConnectsTo:
+ derived_from: tosca.relationships.Root
+ description: This type represents a network connection relationship between two nodes.
+ valid_target_types:
+ - tosca.capabilities.Endpoint
+ properties:
+ credential:
+ type: tosca.datatypes.Credential
+ required: false \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/frontend/onapUiSanity.xml b/integration-tests/src/test/resources/ci/testSuites/frontend/onapUiSanity.xml
index cb662b562b..98a3f50bf1 100644
--- a/integration-tests/src/test/resources/ci/testSuites/frontend/onapUiSanity.xml
+++ b/integration-tests/src/test/resources/ci/testSuites/frontend/onapUiSanity.xml
@@ -50,6 +50,7 @@
</methods>
</class>
<class name="org.onap.sdc.frontend.ci.tests.execute.sanity.EtsiModelUiTests"/>
+ <class name="org.onap.sdc.frontend.ci.tests.execute.sanity.ModelToscaTypeImportTest"/>
</classes>
</test>
</suite>