diff options
author | lalena.aria <lalena.aria@att.com> | 2018-05-25 11:25:37 -0400 |
---|---|---|
committer | lalena.aria <lalena.aria@att.com> | 2018-05-25 11:26:37 -0400 |
commit | 12e42ca015ef09b84925cc39a20320ee330bf267 (patch) | |
tree | fb0b998aab80843b0e5be574c172036f6006dd07 | |
parent | b05d1c70707af00ec6a5bc7e9b121503a4e1d9d0 (diff) |
Update ueb-listener VF Model extraction
Changes made:
Changed the location of extraction for ecomp_generated_naming when populating VF_MOEL table.
Change-Id: I14982b4081013702c5e0023205363015199459f6
Issue-ID: SDNC-325
Signed-off-by: lalena.aria <lalena.aria@att.com>
-rw-r--r-- | ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncVFModel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncVFModel.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncVFModel.java index 32f25c51..41b43c4c 100644 --- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncVFModel.java +++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncVFModel.java @@ -44,8 +44,8 @@ public class SdncVFModel extends SdncBaseModel { addParameter("vendor_version", extractValue (metadata, SdcPropertyNames.PROPERTY_NAME_RESOURCEVENDORRELEASE)); // extract properties - addParameter("ecomp_generated_naming", extractBooleanValue(nodeTemplate, SdcPropertyNames.PROPERTY_NAME_VNFECOMPNAMING_ECOMPGENERATEDNAMING)); - addParameter("naming_policy", extractValue(nodeTemplate, SdcPropertyNames.PROPERTY_NAME_VNFECOMPNAMING_NAMINGPOLICY)); + addParameter("ecomp_generated_naming", extractBooleanValue(nodeTemplate, "nf_naming#ecomp_generated_naming")); + addParameter("naming_policy", extractValue(nodeTemplate, "nf_naming#naming_policy")); addParameter("nf_type", extractValue(nodeTemplate, SdcPropertyNames.PROPERTY_NAME_NFTYPE)); addParameter("nf_role", extractValue(nodeTemplate, SdcPropertyNames.PROPERTY_NAME_NFROLE)); addParameter("nf_code", extractValue( nodeTemplate, "nf_naming_code")); |