summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources/Files/VFCs
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/src/test/resources/Files/VFCs')
-rw-r--r--integration-tests/src/test/resources/Files/VFCs/1-VFC-NetworkFunction.yaml21
-rw-r--r--integration-tests/src/test/resources/Files/VFCs/2-VFC-NetworkService.yaml38
-rw-r--r--integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-child.yml24
-rw-r--r--integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-root.yml8
4 files changed, 91 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/Files/VFCs/1-VFC-NetworkFunction.yaml b/integration-tests/src/test/resources/Files/VFCs/1-VFC-NetworkFunction.yaml
new file mode 100644
index 0000000000..7949abfdc4
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VFCs/1-VFC-NetworkFunction.yaml
@@ -0,0 +1,21 @@
+tosca_definitions_version: tosca_simple_yaml_1_3
+
+node_types:
+ org.openecomp.resource.MyNetworkFunctionCI:
+ derived_from: tosca.nodes.Root
+ properties:
+ resourceType:
+ type: string
+ resourceSubtype:
+ type: string
+ required: false
+ attributes:
+ atttr_1:
+ type: string
+ default: 'Integration Test'
+ attr_2:
+ type: integer
+ default: 2021
+ attr_3:
+ type: boolean
+ default: true
diff --git a/integration-tests/src/test/resources/Files/VFCs/2-VFC-NetworkService.yaml b/integration-tests/src/test/resources/Files/VFCs/2-VFC-NetworkService.yaml
new file mode 100644
index 0000000000..6d905c2424
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VFCs/2-VFC-NetworkService.yaml
@@ -0,0 +1,38 @@
+tosca_definitions_version: tosca_simple_yaml_1_3
+
+node_types:
+ org.openecomp.resource.MyNetworkServiceCI:
+ derived_from: org.openecomp.resource.MyNetworkFunctionCI
+ description: Integration Test Network Service
+ properties:
+ resourceType:
+ type: string
+ default: 'NetworkService'
+ nsName:
+ type: string
+ nsdId:
+ type: string
+ nsDescription:
+ type: string
+ subsystemName:
+ type: string
+ connectionName:
+ type: string
+ tenant:
+ type: string
+ vdcName:
+ type: string
+ required: false
+ core_service_ip:
+ type: string
+ attributes:
+ service_ip:
+ type: string
+ default: "1.2.3.4"
+ interfaces:
+ Standard:
+ type: tosca.interfaces.node.lifecycle.Standard
+ create:
+ implementation: 'camunda/nsCreate'
+ delete:
+ implementation: 'camunda/nsDelete'
diff --git a/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-child.yml b/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-child.yml
new file mode 100644
index 0000000000..2c00cbd7e9
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-child.yml
@@ -0,0 +1,24 @@
+tosca_definitions_version: tosca_simple_yaml_1_3
+node_types:
+ org.openecomp.resource.VFC-child:
+ derived_from: org.openecomp.resource.VFC-root
+ properties:
+ aProperty:
+ type: string
+ required: false
+ attributes:
+ test_1:
+ type: string
+ default: 'MydefaultValue'
+
+ test_2:
+ type: integer
+ default: 266305
+
+ test_3:
+ type: string
+ default: 'TestValue3'
+
+ test_4:
+ type: boolean
+ default: true \ No newline at end of file
diff --git a/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-root.yml b/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-root.yml
new file mode 100644
index 0000000000..679f1b64f9
--- /dev/null
+++ b/integration-tests/src/test/resources/Files/VFCs/org.openecomp.resource.VFC-root.yml
@@ -0,0 +1,8 @@
+tosca_definitions_version: tosca_simple_yaml_1_3
+node_types:
+ org.openecomp.resource.VFC-root:
+ derived_from: tosca.nodes.Root
+ properties:
+ aProperty:
+ type: string
+ required: false \ No newline at end of file