diff options
author | subhash.kumar.singh <subhash.kumar.singh@huawei.com> | 2019-08-09 14:44:50 +0530 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2019-08-09 15:56:47 +0530 |
commit | 5fe9b0c910dbd809f566f6c7c49d29d07cdeee59 (patch) | |
tree | 49ee524339e902420cefed449b0acaecdb2a2441 /bpmn/MSOCommonBPMN/src/main/java/org | |
parent | f9c6fa669c914aaee3dee13f747c077ed6c17302 (diff) |
Add vfmodule support to e2e service instance
Parse vfmodule to add to resource instance list.
Issue-ID: SO-2213
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Change-Id: Iab16430b498e505cd89a0ba4c12cfd2f88b9a982
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/java/org')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java index b1173bbf95..cc3ec52c7a 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java @@ -108,6 +108,11 @@ public class InstanceResourceList { sequencedResourceList.add(vnfResource); } + // check if the resource contains vf-module + if (vnfResource != null && vnfResource.getVfModules() != null) { + sequencedResourceList.addAll(vnfResource.getVfModules()); + } + return sequencedResourceList; } |