diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-05-18 12:40:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-18 12:40:58 +0000 |
commit | ed9a4c5d7f2cb06d672106e48c4baf7c712d2f29 (patch) | |
tree | dcc7baea19909bc16c084c224da83d5c07f44944 | |
parent | a7bb859dae6482167ba80794743704e060e51797 (diff) | |
parent | 730c553397a3ead6e4f14b018bf898c9858be3c1 (diff) |
Merge "Fix parsing for category and subcategory"
-rw-r--r-- | asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java index a8c67fd96e..5a2e19ad4f 100644 --- a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java @@ -1115,6 +1115,8 @@ public class ToscaResourceInstaller {// implements IVfResourceInstaller { vnfResource.setToscaNodeType(testNull(vfNodeTemplate.getType()));
vnfResource.setAicVersionMax(testNull(vfNodeTemplate.getMetaData().getValue(SdcPropertyNames.PROPERTY_NAME_MAXINSTANCES)));
vnfResource.setAicVersionMin(testNull(vfNodeTemplate.getMetaData().getValue(SdcPropertyNames.PROPERTY_NAME_MININSTANCES)));
+ vnfResource.setCategory(vfNodeTemplate.getMetaData().getValue(SdcPropertyNames.PROPERTY_NAME_CATEGORY));
+ vnfResource.setCategory(vfNodeTemplate.getMetaData().getValue(SdcPropertyNames.PROPERTY_NAME_SUBCATEGORY));
//vnfResource.setHeatTemplateArtifactUUId(toscaResourceStructure.getHeatTemplateUUID());
// vfNodeTemplate.getProperties()
|