Add parsing for support of new CCVPN model 55/86455/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Sat, 27 Apr 2019 21:40:37 +0000 (03:10 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Sat, 27 Apr 2019 21:40:37 +0000 (03:10 +0530)
commit947249a450e6c849710b750867a9b92300ff384f
tree382f9edb99372043d0b018fdc2a9a7c76f98e3a8
parentbb0a782bbec2ba9166804237b117ce0c70a1aa76
Add parsing for support of new CCVPN model

Update the resource_list logic to create the resource as per new
CCVPN model.

e.g. new model UUI request to create the service with this input
     // [
        // { VFB1 : [GrpA1, GrA2, GrB1]},
        // { VFB2 : [GrpA1, GrB1]},
        // { VFA1 : [GrpC1]}
        // ]

should be converted to
// [
        // { VFA1 : [GrpA1, GrA2, GrB1]},
        // { VFA2 : [GrpA1, GrB1]},
        // { VFB1 : [GrpC1]}
        // ]

as per resource ordering.

Change-Id: I79a30d5080d2551eb7e1944cc4f25d5332d22d4f
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/common/resource/InstanceResourceList.java [new file with mode: 0644]
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateResources.groovy