From 42c920baf4dbb9fe8775843a6d4c9f70fa29f064 Mon Sep 17 00:00:00 2001 From: amitjai Date: Fri, 27 Apr 2018 13:28:57 +0530 Subject: Rename packages from openecomp to onap. This task is all about package name space change also make changes to pom for common module Change-Id: Ie9bda0f958a9a05826c0374830cc9cb7d6d196b6 Issue-ID: SDC-1272 Signed-off-by: amitjai --- ...esourceSameInvariantSameVers-IpMux-template.yml | 81 ++++++++++++++++++++++ ...esourcesIpMuxSameInvariantSameVers-template.yml | 74 ++++++++++++++++++++ 2 files changed, 155 insertions(+) create mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml create mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml (limited to 'common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18') diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml new file mode 100644 index 0000000000..2852d03568 --- /dev/null +++ b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml @@ -0,0 +1,81 @@ +#_______________________________________________________________________________________________________________________________________ + #| AT&T Proprietary (Restricted) | + #| Only for use by authorized individuals or any above-designated team(s) | + #| within the AT&T companies and not for general distribution | + #|_______________________________________________________________________________________________________________________________________| +tosca_definitions_version: tosca_simple_yaml_1_0 +metadata: + invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 + UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d + name: Allotted Resource + description: This is a VF - Allotted resource + type: VF + category: Allotted Resource + subcategory: IP Mux Demux + resourceVendor: '1' + resourceVendorRelease: '1' +imports: +- Alloted resource: + file: resource-AllotedResource-template.yml +topology_template: + node_templates: + allotedresource1: + type: org.openecomp.resource.vfc.AllottedResource + metadata: + invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 + UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa + customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 + version: '1.0' + name: Alloted resource + description: This is a VFC- Allotted resource + type: VFC + category: Allotted Resource + subcategory: Allotted Resource + properties: + role: name + ecomp_naming: + naming_policy: test + ecomp_generated_naming: false + supplemental_data: + Key1: key1 + providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c + min_instances: 1 + max_instances: 1 + providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa + providing_service_name: vVIGaaS + ecomp_homing: + instance_node_target: Test + homing_policy: Test + supplemental_data: + Key: key + ecomp_selected_instance_node_target: false + groups: { + } + substitution_mappings: + node_type: org.openecomp.resource.vf.AllottedResource + capabilities: + Alloted resource 1.feature: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + requirements: + Alloted resource 1.dependency: + occurrences: + - 0 + - UNBOUNDED + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + Alloted resource 1.service_dependency: + occurrences: + - 1 + - 1 + capability: org.openecomp.capabilities.AllottedResource + node: tosca.services.Root + relationship: tosca.relationships.DependsOn +#_______________________________________________________________________________________________________________________________________ + #| AT&T Proprietary (Restricted) | + #| Only for use by authorized individuals or any above-designated team(s) | + #| within the AT&T companies and not for general distribution | + #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml new file mode 100644 index 0000000000..08c5329212 --- /dev/null +++ b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml @@ -0,0 +1,74 @@ +#_______________________________________________________________________________________________________________________________________ + #| AT&T Proprietary (Restricted) | + #| Only for use by authorized individuals or any above-designated team(s) | + #| within the AT&T companies and not for general distribution | + #|_______________________________________________________________________________________________________________________________________| +tosca_definitions_version: tosca_simple_yaml_1_0 +metadata: + invariantUUID: faa4359b-6ecf-4eeb-9960-6440d4cf1f2f + UUID: 614316ee-94ae-41b3-b59a-46e87d3d91a5 + name: Service with allotted resource IPMUX + description: safa + type: Service + category: Mobility + serviceEcompNaming: false + serviceHoming: false +imports: +- Allotted Resource: + file: resource-AllottedResource-template.yml +topology_template: + node_templates: + allottedresource1: + type: org.openecomp.resource.vf.AllottedResource + metadata: + invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 + UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d + customizationUUID: 958fb310-184f-463d-b634-1660a626f320 + version: '0.2' + name: Allotted Resource + description: This is a VF - Allotted resource + type: VF + category: Allotted Resource + subcategory: IP Mux Demux + allottedresource2: + type: org.openecomp.resource.vf.AllottedResource + metadata: + invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 + UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d + customizationUUID: 958fb310-184f-463d-b634-1660a626f320 + version: '0.2' + name: Allotted Resource + description: This is a VF - Allotted resource + type: VF + category: Allotted Resource + subcategory: IP Mux Demux + groups: { + } + substitution_mappings: + node_type: org.openecomp.service.ServiceWithAllottedResourceIpmux + capabilities: + Allotted Resource 1.feature: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + requirements: + Allotted Resource 1.dependency: + occurrences: + - 0 + - UNBOUNDED + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + Allotted Resource 1.service_dependency: + occurrences: + - 1 + - 1 + capability: org.openecomp.capabilities.AllottedResource + node: tosca.services.Root + relationship: tosca.relationships.DependsOn +#_______________________________________________________________________________________________________________________________________ + #| AT&T Proprietary (Restricted) | + #| Only for use by authorized individuals or any above-designated team(s) | + #| within the AT&T companies and not for general distribution | + #|_______________________________________________________________________________________________________________________________________| -- cgit 1.2.3-korg