aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-controller/src/test/resources/resource-examples/service-ubuntu16test')
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env10
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml106
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csarbin0 -> 69016 bytes
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml429
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json114
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json25
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml1
7 files changed, 685 insertions, 0 deletions
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env
new file mode 100644
index 0000000000..b868a4b318
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env
@@ -0,0 +1,10 @@
+parameters:
+ admin_plane_net_name: "admin"
+ ubuntu16_flavor_name: "onap.small"
+ ubuntu16_image_name: "ubuntu-16.04-daily"
+ ubuntu16_key_name: "cleouverte"
+ ubuntu16_name_0: "ubuntu16"
+ ubuntu16_pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGxilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3rh+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBht+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D imported-openssh-key"
+ vf_module_id: "Ubuntu16-VF-module"
+ vnf_id: "Ubuntu16-VNF"
+ vnf_name: "Ubuntu16-VNF-name"
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml
new file mode 100644
index 0000000000..e89fd6f1b1
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml
@@ -0,0 +1,106 @@
+heat_template_version: 2013-05-23
+
+description: Heat template to deploy a ubuntu16 VM
+
+parameters:
+ # Metadata required by ONAP
+ vnf_name:
+ type: string
+ label: VM name
+ description: The VM name
+ vnf_id:
+ type: string
+ label: VNF ID
+ description: The VNF ID is provided by ONAP
+ vf_module_id:
+ type: string
+ label: VF module ID
+ description: The VF Module ID is provided by ONAP
+
+# Server parameters, naming required by ONAP
+ ubuntu16_image_name:
+ type: string
+ label: Image name or ID
+ description: Image to be used for compute instance
+ ubuntu16_flavor_name:
+ type: string
+ label: Flavor
+ description: Type of instance (flavor) to be used
+ ubuntu16_key_name:
+ type: string
+ label: openSSH Key name
+ description: openSSH key name
+ ubuntu16_pub_key:
+ type: string
+ label: Public key
+ description: Public key to be installed on the compute instance
+ ubuntu16_name_0:
+ type: string
+ label: VM name
+ description: The VM name
+
+# Network parameters, naming required by ONAP
+ admin_plane_net_name:
+ type: string
+ label: management network
+ description: The external management network
+
+resources:
+ random-str:
+ type: OS::Heat::RandomString
+ properties:
+ length: 4
+
+ ubuntu16_instantiated_key_name:
+ type: OS::Nova::KeyPair
+ properties:
+ name:
+ str_replace:
+ template: base_rand
+ params:
+ base: { get_param: ubuntu16_key_name }
+ rand: { get_resource: random-str }
+ public_key: { get_param: ubuntu16_pub_key }
+ save_private_key: false
+
+ ubuntu16_admin_security_group:
+ type: OS::Neutron::SecurityGroup
+ properties:
+ description: security group
+ name: ubuntu16_admin_security_group
+ rules: [
+ {remote_ip_prefix: 0.0.0.0/0, protocol: tcp, port_range_min: 22, port_range_max: 22},
+ {remote_ip_prefix: 0.0.0.0/0, protocol: icmp}]
+
+ ubuntu16_0_admin_plane_port_0:
+ type: OS::Neutron::Port
+ properties:
+ name:
+ str_replace:
+ template: base_rand
+ params:
+ base: ubuntu16_0_admin_plane_port
+ rand: { get_resource: random-str }
+ network: { get_param: admin_plane_net_name }
+ security_groups: [{ get_resource: ubuntu16_admin_security_group }]
+
+ ubuntu16_VM_settings:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ config: |
+ #!/bin/bash
+ sudo apt-get update
+
+ ubuntu16_server_0:
+ type: OS::Nova::Server
+ properties:
+ image: { get_param: ubuntu16_image_name }
+ flavor: { get_param: ubuntu16_flavor_name }
+ name: { get_param: ubuntu16_name_0 }
+ metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }, vnf_name: { get_param: vnf_name }}
+ key_name: { get_resource: ubuntu16_instantiated_key_name }
+ networks:
+ - port: { get_resource: ubuntu16_0_admin_plane_port_0 }
+ user_data_format: RAW
+ user_data:
+ get_resource: ubuntu16_VM_settings
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar
new file mode 100644
index 0000000000..8e992e2e66
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar
Binary files differ
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml
new file mode 100644
index 0000000000..65bc7252fa
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml
@@ -0,0 +1,429 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+metadata:
+ invariantUUID: 941b713e-4ba0-47c9-bfaf-611168cbf7d1
+ UUID: ed0391da-b963-4c45-bf3a-b49cc7a94fab
+ name: ubuntu16test
+ description: service
+ type: Service
+ category: Network Service
+ serviceType: ''
+ serviceRole: ''
+ instantiationType: A-la-carte
+ serviceEcompNaming: 'true'
+ ecompGeneratedNaming: 'true'
+ namingPolicy: ''
+ environmentContext: General_Revenue-Bearing
+ serviceFunction: ''
+imports:
+- nodes:
+ file: nodes.yml
+- datatypes:
+ file: data.yml
+- capabilities:
+ file: capabilities.yml
+- relationships:
+ file: relationships.yml
+- groups:
+ file: groups.yml
+- policies:
+ file: policies.yml
+- annotations:
+ file: annotations.yml
+- service-ubuntu16test-interface:
+ file: service-Ubuntu16test-template-interface.yml
+- resource-ubuntu16test:
+ file: resource-Ubuntu16test-template.yml
+- resource-ubuntu16test-interface:
+ file: resource-Ubuntu16test-template-interface.yml
+- resource-SecurityRules:
+ file: resource-Securityrules-template.yml
+topology_template:
+ inputs:
+ skip_post_instantiation_configuration:
+ default: true
+ type: boolean
+ required: false
+ controller_actor:
+ default: SO-REF-DATA
+ type: string
+ required: false
+ cds_model_version:
+ type: string
+ required: false
+ cds_model_name:
+ type: string
+ required: false
+ default_software_version:
+ type: string
+ required: false
+ node_templates:
+ ubuntu16test 0:
+ type: org.openecomp.resource.vf.Ubuntu16test
+ metadata:
+ invariantUUID: 72ce1922-0359-4079-a76e-f3f1b6cf8cc1
+ UUID: e6afd1be-ee4f-439d-bd79-d559c626fd27
+ customizationUUID: 1b2bf1c7-25a5-48df-bf30-7ae43508a5ea
+ version: '1.0'
+ name: ubuntu16test
+ description: VF
+ type: VF
+ category: Generic
+ subcategory: Abstract
+ resourceVendor: basicvm_vendor
+ resourceVendorRelease: '1.0'
+ resourceVendorModelNumber: ''
+ properties:
+ vf_module_id: Ubuntu16-VF-module
+ skip_post_instantiation_configuration: true
+ nf_naming:
+ ecomp_generated_naming: true
+ ubuntu16_flavor_name: onap.small
+ multi_stage_design: false
+ controller_actor: SO-REF-DATA
+ availability_zone_max_count: 1
+ vnf_name: Ubuntu16-VNF-name
+ ubuntu16_name_0: ubuntu16
+ ubuntu16_pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGxilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3rh+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBht+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D imported-openssh-key
+ vnf_id: Ubuntu16-VNF
+ ubuntu16_image_name: ubuntu-16.04-daily
+ admin_plane_net_name: admin
+ ubuntu16_key_name: cleouverte
+ capabilities:
+ abstract_ubuntu16.cpu_util_ubuntu16:
+ properties:
+ name: cpu_util
+ abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16:
+ properties:
+ name: disk.device.read.bytes.rate
+ abstract_ubuntu16.endpoint_ubuntu16:
+ properties:
+ secure: true
+ abstract_ubuntu16.disk.ephemeral.size_ubuntu16:
+ properties:
+ name: disk.ephemeral.size
+ abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.incoming.packets
+ abstract_ubuntu16.disk.write.bytes_ubuntu16:
+ properties:
+ name: disk.write.bytes
+ abstract_ubuntu16.cpu.delta_ubuntu16:
+ properties:
+ name: cpu.delta
+ abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.incoming.bytes
+ abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.outpoing.packets
+ abstract_ubuntu16.disk.write.requests.rate_ubuntu16:
+ properties:
+ name: disk.write.requests.rate
+ abstract_ubuntu16.memory_ubuntu16:
+ properties:
+ name: memory
+ abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.incoming.bytes.rate
+ abstract_ubuntu16.disk.root.size_ubuntu16:
+ properties:
+ name: disk.root.size
+ abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.incoming.packets.rate
+ abstract_ubuntu16.disk.device.usage_ubuntu16:
+ properties:
+ name: disk.device.usage
+ abstract_ubuntu16.disk.write.requests_ubuntu16:
+ properties:
+ name: disk.write.requests
+ abstract_ubuntu16.disk.device.read.bytes_ubuntu16:
+ properties:
+ name: disk.device.read.bytes
+ abstract_ubuntu16.vcpus_ubuntu16:
+ properties:
+ name: vcpus
+ abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ connection_point:
+ network_role:
+ get_input: port_ubuntu16_admin_plane_port_0_network_role
+ nfc_naming_code: ubuntu16
+ abstract_ubuntu16.disk.read.bytes_ubuntu16:
+ properties:
+ name: disk.read.bytes
+ abstract_ubuntu16.disk.latency_ubuntu16:
+ properties:
+ name: disk.latency
+ abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16:
+ properties:
+ name: disk.device.read.requests.rate
+ abstract_ubuntu16.scalable_ubuntu16:
+ properties:
+ min_instances: 1
+ max_instances: 1
+ abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16:
+ properties:
+ name: disk.device.write.requests.rate
+ abstract_ubuntu16.disk.device.allocation_ubuntu16:
+ properties:
+ name: disk.device.allocation
+ abstract_ubuntu16.disk.device.write.bytes_ubuntu16:
+ properties:
+ name: disk.device.write.bytes
+ abstract_ubuntu16.disk.device.capacity_ubuntu16:
+ properties:
+ name: disk.device.capacity
+ abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.outgoing.bytes
+ abstract_ubuntu16.disk.device.latency_ubuntu16:
+ properties:
+ name: disk.device.latency
+ abstract_ubuntu16.disk.write.bytes.rate_ubuntu16:
+ properties:
+ name: disk.write.bytes.rate
+ abstract_ubuntu16.instance_ubuntu16:
+ properties:
+ name: instance
+ abstract_ubuntu16.disk.iops_ubuntu16:
+ properties:
+ name: disk.iops
+ abstract_ubuntu16.disk.capacity_ubuntu16:
+ properties:
+ name: disk.capacity
+ abstract_ubuntu16.memory.resident_ubuntu16:
+ properties:
+ name: memory.resident
+ abstract_ubuntu16.disk.allocation_ubuntu16:
+ properties:
+ name: disk.allocation
+ abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.outgoing.bytes.rate
+ abstract_ubuntu16.disk.read.requests_ubuntu16:
+ properties:
+ name: disk.read.requests
+ abstract_ubuntu16.cpu_ubuntu16:
+ properties:
+ name: cpu
+ abstract_ubuntu16.disk.device.iops_ubuntu16:
+ properties:
+ name: disk.device.iops
+ abstract_ubuntu16.disk.device.read.requests_ubuntu16:
+ properties:
+ name: disk.device.read.requests
+ abstract_ubuntu16.memory.usage_ubuntu16:
+ properties:
+ name: memory.usage
+ abstract_ubuntu16.disk.usage_ubuntu16:
+ properties:
+ name: disk.usage
+ abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16:
+ properties:
+ name: disk.device.write.bytes.rate
+ abstract_ubuntu16.disk.read.bytes.rate_ubuntu16:
+ properties:
+ name: disk.read.bytes.rate
+ abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ properties:
+ name: network.outgoing.packets.rate
+ abstract_ubuntu16.disk.device.write.requests_ubuntu16:
+ properties:
+ name: disk.device.write.requests
+ groups:
+ ubuntu16test0..Ubuntu16test..base_ubuntu16..module-0:
+ type: org.openecomp.groups.VfModule
+ metadata:
+ vfModuleModelName: Ubuntu16test..base_ubuntu16..module-0
+ vfModuleModelInvariantUUID: 28038eb1-cb06-45be-b7f4-dd6349f45a83
+ vfModuleModelUUID: 1c71e637-0a79-4316-86f0-c24921798bfa
+ vfModuleModelVersion: '1'
+ vfModuleModelCustomizationUUID: 58832c82-4fd8-4248-9dbc-e006af9c1702
+ properties:
+ min_vf_module_instances: 1
+ vf_module_label: base_ubuntu16
+ max_vf_module_instances: 1
+ vf_module_type: Base
+ isBase: true
+ initial_count: 1
+ volume_group: false
+ substitution_mappings:
+ node_type: org.openecomp.service.Ubuntu16test
+ capabilities:
+ ubuntu16test0.abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.scalable_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.scalable_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.write.bytes_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.write.bytes_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.vcpus_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.vcpus_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.feature_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.feature_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.read.bytes.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.read.bytes.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.instance_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.instance_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.allocation_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.allocation_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.binding_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.binding_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.cpu_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.cpu_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.feature_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.feature_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.memory_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.memory_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.read.bytes_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.read.bytes_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.write.requests_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.write.requests_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.latency_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.latency_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.endpoint_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.endpoint_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.write.requests_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.write.requests_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.root.size_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.root.size_ubuntu16
+ ubuntu16test0.ubuntu16_admin_security_group.feature:
+ - ubuntu16test 0
+ - ubuntu16_admin_security_group.feature
+ ubuntu16test0.abstract_ubuntu16.disk.device.usage_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.usage_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.latency_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.latency_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.cpu_util_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.cpu_util_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.read.bytes_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.read.bytes_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.write.requests.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.write.requests.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.memory.usage_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.memory.usage_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.host_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.host_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.ephemeral.size_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.ephemeral.size_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.memory.resident_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.memory.resident_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.read.requests_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.read.requests_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.allocation_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.allocation_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.read.requests_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.read.requests_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.device.iops_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.iops_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.cpu.delta_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.cpu.delta_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.forwarder_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.forwarder_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.binding_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.binding_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.attachment_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.attachment_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.capacity_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.capacity_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.usage_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.usage_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.os_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.os_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.write.bytes_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.write.bytes_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.write.bytes.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.write.bytes.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0:
+ - ubuntu16test 0
+ - abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0
+ ubuntu16test0.abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.iops_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.iops_ubuntu16
+ ubuntu16test0.abstract_ubuntu16.disk.device.capacity_ubuntu16:
+ - ubuntu16test 0
+ - abstract_ubuntu16.disk.device.capacity_ubuntu16
+ properties:
+ skip_post_instantiation_configuration:
+ - skip_post_instantiation_configuration
+ controller_actor:
+ - controller_actor
+ cds_model_version:
+ - cds_model_version
+ cds_model_name:
+ - cds_model_name
+ default_software_version:
+ - default_software_version
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json
new file mode 100644
index 0000000000..8d0ac3e301
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json
@@ -0,0 +1,114 @@
+{
+ "distributionID": "2d6c5aa8-b644-4f30-a632-5577801ef954",
+ "serviceName": "ubuntu16test",
+ "serviceVersion": "1.0",
+ "serviceUUID": "ed0391da-b963-4c45-bf3a-b49cc7a94fab",
+ "serviceDescription": "service",
+ "serviceInvariantUUID": "941b713e-4ba0-47c9-bfaf-611168cbf7d1",
+ "resources": [
+ {
+ "resourceInstanceName": "ubuntu16test 0",
+ "resourceName": "Ubuntu16test",
+ "resourceVersion": "1.0",
+ "resoucreType": "VF",
+ "resourceUUID": "e6afd1be-ee4f-439d-bd79-d559c626fd27",
+ "resourceInvariantUUID": "72ce1922-0359-4079-a76e-f3f1b6cf8cc1",
+ "resourceCustomizationUUID": "1b2bf1c7-25a5-48df-bf30-7ae43508a5ea",
+ "category": "Generic",
+ "subcategory": "Abstract",
+ "artifacts": [
+{
+ "artifactName": "ubuntu16test0_modules.json",
+ "artifactType": "VF_MODULES_METADATA",
+ "artifactURL": "/ubuntu16test0_modules.json",
+ "artifactChecksum": "MDJkYjNmNjEzM2Y1ZDgzNzZiZWUxMjZkMzA3YzkwZDI\u003d",
+ "artifactDescription": "Auto-generated VF Modules information artifact",
+ "artifactTimeout": 120,
+ "artifactUUID": "28038eb1-cb06-45be-b7f4-dd6349f45a83",
+ "artifactVersion": "1"
+ },
+
+
+{
+ "artifactName": "base_ubuntu16.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/base_ubuntu16.env",
+ "artifactChecksum": "YzI4MjlkODk4YzcyOTgzZTg2YjAyM2ZiNWU1N2FmMjI\u003d",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactTimeout": 120,
+ "artifactUUID": "5821b043-ba50-49ef-b739-61b0896050f2",
+ "artifactVersion": "2",
+ "generatedFromUUID": "12dcc618-20f2-4f15-ab00-c549b96b3910"
+ },
+
+ {
+ "artifactName": "vendor-license-model.xml",
+ "artifactType": "VF_LICENSE",
+ "artifactURL": "/vendor-license-model.xml",
+ "artifactChecksum": "YjYyYWNiMzUxM2YzMWYxYWVhN2Y5MTM3N2E5YzNhNmU\u003d",
+ "artifactDescription": "VF license file",
+ "artifactTimeout": 120,
+ "artifactUUID": "5c29e823-7114-4988-824f-f670ba9d7b21",
+ "artifactVersion": "1"
+ },
+
+ {
+ "artifactName": "/base_ubuntu16.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/base_ubuntu16.yaml",
+ "artifactChecksum": "NWU2NGUwNmNkMGEzYjAxMTAyODkzNTc5YzFmZDBmMzM\u003d",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 120,
+ "artifactUUID": "fdb0d678-10f5-4ff0-a1b4-36bc01a012d7",
+ "artifactVersion": "2"
+ },
+ {
+ "artifactName": "vendor-license-model.xml",
+ "artifactType": "VENDOR_LICENSE",
+ "artifactURL": "/vendor-license-model.xml",
+ "artifactChecksum": "OTRkOTY3YjdjM2ZlNDM3NjNlZjBjODU4YTJmNGZhNGE\u003d",
+ "artifactDescription": " Vendor license file",
+ "artifactTimeout": 120,
+ "artifactUUID": "74c4d1bd-1779-421f-8c9d-774ac4567031",
+ "artifactVersion": "1"
+ },
+ {
+ "artifactName": "base_ubuntu16.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/base_ubuntu16.env",
+ "artifactChecksum": "OTRkOTY3YjdjM2ZlNDM3NjNlZjBjODU4YTJmNGZhNGE\u003d",
+ "artifactDescription": " Vendor license file",
+ "artifactTimeout": 120,
+ "artifactUUID": "9a3c7717-09b6-4a96-8a39-66beb2bb2b36",
+ "artifactVersion": "1"
+ }
+
+ ]
+ }
+
+
+ ],
+ "serviceArtifacts": [
+ {
+ "artifactName": "service-Ubuntu16test-template.ym",
+ "artifactType": "TOSCA_TEMPLATE",
+ "artifactURL": "/service-Ubuntu16test-template.ym",
+ "artifactChecksum": "NTUzMDU5YzM3MTk4OGNiNjQ2OGRlMWY2YjU3MjE2YjM\u003d",
+ "artifactDescription": "TOSCA representation of the asset",
+ "artifactTimeout": 0,
+ "artifactUUID": "2617d0ca-54f0-4222-b659-c12e292d94dd",
+ "artifactVersion": "1"
+ },
+ {
+ "artifactName": "service-Ubuntu16test-csar.csar",
+ "artifactType": "TOSCA_CSAR",
+ "artifactURL": "/service-Ubuntu16test-csar.csar",
+ "artifactChecksum": "ZTRhOGI0M2UxN2ZhYjQ0ODI5ZDZhZTExZTFkMGU3N2Y\u003d",
+ "artifactDescription": "TOSCA definition package of the asset",
+ "artifactTimeout": 0,
+ "artifactUUID": "26a323ff-b97b-4b86-96b1-25a80c0876e5",
+ "artifactVersion": "1"
+ }
+ ],
+ "workloadContext": "Production"
+}
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json
new file mode 100644
index 0000000000..478df36881
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json
@@ -0,0 +1,25 @@
+[
+ {
+ "vfModuleModelName": "Ubuntu16test..base_ubuntu16..module-0",
+ "vfModuleModelInvariantUUID": "28038eb1-cb06-45be-b7f4-dd6349f45a83",
+ "vfModuleModelVersion": "1",
+ "vfModuleModelUUID": "1c71e637-0a79-4316-86f0-c24921798bfa",
+ "vfModuleModelCustomizationUUID": "58832c82-4fd8-4248-9dbc-e006af9c1702",
+ "isBase": true,
+ "artifacts": [
+ "9a3c7717-09b6-4a96-8a39-66beb2bb2b36",
+ "fdb0d678-10f5-4ff0-a1b4-36bc01a012d7"
+ ],
+ "properties": {
+ "min_vf_module_instances": "1",
+ "vf_module_label": "base_ubuntu16",
+ "max_vf_module_instances": "1",
+ "vfc_list": "",
+ "vf_module_type": "Base",
+ "vf_module_description": "",
+ "initial_count": "1",
+ "volume_group": "false",
+ "availability_zone_count": ""
+ }
+ }
+] \ No newline at end of file
diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml
new file mode 100644
index 0000000000..11d2b958c9
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml
@@ -0,0 +1 @@
+<vendor-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>basicvm_vendor</vendor-name><entitlement-pool-list/><license-key-group-list/></vendor-license-model> \ No newline at end of file