diff options
author | ojasdubey <ojas.dubey@amdocs.com> | 2018-12-13 18:02:21 +0530 |
---|---|---|
committer | ojasdubey <ojas.dubey@amdocs.com> | 2018-12-13 18:04:56 +0530 |
commit | c9e7a45f31a60ec51b770febae2213f5b7668960 (patch) | |
tree | 459b469702a4a54e32ea32569c6de82fb541f6cf /openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory | |
parent | a15d4951fe5f3aa243ceed45d3250f8fe722143b (diff) |
Fix - nfc_naming_code and nfc_function
1. Fix for nfc_naming code not getting populated
for more than one instance of same vm type
2. Added and updated the unit test cases and test
data
3. Sonar fixes
Change-Id: I50ddb7d388a5e6b2d4370dedfbbe23ba31a4b61d
Issue-ID: SDC-2001
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory')
2 files changed, 6 insertions, 6 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/in/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/in/MainServiceTemplate.yaml index 612a4068eb..feddcc3536 100644 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/in/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/in/MainServiceTemplate.yaml @@ -422,7 +422,7 @@ topology_template: description: csb internal network name default: int_mog_csb_net node_templates: - abstract_pd_server_vm: + abstract_pd_server: type: org.openecomp.resource.abstract.nodes.pd_server directives: - substitutable @@ -467,8 +467,8 @@ topology_template: - SELF - service_template_filter - index_value - vm_type_tag: pd_server_vm - nfc_naming_code: pd_server_vm + vm_type_tag: pd_server + nfc_naming_code: pd_server groups: hot-mog-0108-bs1271_group: type: org.openecomp.groups.heat.HeatStack diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/out/MainServiceTemplate.yaml index 99ae78a60c..e86242738d 100644 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/enrichHANotMandatory/out/MainServiceTemplate.yaml @@ -422,7 +422,7 @@ topology_template: description: csb internal network name default: int_mog_csb_net node_templates: - abstract_pd_server_vm: + abstract_pd_server: type: org.openecomp.resource.abstract.nodes.pd_server directives: - substitutable @@ -467,8 +467,8 @@ topology_template: - SELF - service_template_filter - index_value - nfc_naming_code: pd_server_vm - vm_type_tag: pd_server_vm + nfc_naming_code: pd_server + vm_type_tag: pd_server min_instances: 1 max_instances: 5 groups: |