summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05mso will support new requeststate valuesGamboa, Gilbert1-0/+14
Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Added default FAILED request status in case rollback is not needed. Variable rollbackTargetState needs to be returned to WorkflowAction flow Variable rollbackTargetState needs to in to ExecuteBuildingBlock as well. Add new RequestDb migration file to expand infra_active_requests column request_status to 25 bytes to fit new request states. Change-Id: I0da2f8013001a28dcc20f64eb9455e4cfd3dd197 Issue-ID: SO-2093 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany2-1/+132
Added ext error source to workflow exception Updated all lines that create this exception with source Added unit tests and updated existing ones Change-Id: Id9b3b1e6e24368224214a6370ea2d450ae667bfb Issue-ID: SO-2092 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27enhance workflowaction to handle resume funcMnushkin, Dmitry1-0/+71
init code for RESUME with junit passing overwrite URI on resume op from original request Change-Id: I1eee2bd66aa20804ba4a2834d269b5947565b9dc Issue-ID: SO-2055 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-25Moved code inside IF checking for null ptr to prevent crashOleksandr Moliavko1-3/+3
Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ie759b98828f39fba00ccdb7edcd7fc28e83ea50e
2019-06-18support no payload for alacarte deletesSmokowski, Steven1-0/+20
Swap to using HTTP Enumerations rather than ints Add Unit Tests to Service Instances endpoint Add Vnf Tests remove Abstract class Clean up usage of abstract classes Fix volume and module bean wiring issues Add logic to find create request if cloud not in AAI Updated network to take in version pathparam Additonal refactor of the endpoints Add missing license headers to all files Clean up public variable usage, move to protected Change-Id: Icdbdf78aa6c8af7a30fdff8a5805103f8df9364d Issue-ID: SO-2032 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-15Merge "update multi stage code to accurately skip bbs"Max Benjamin21-62/+319
2019-06-14mso to validate the name uniqueness in A&AIGamboa, Gilbert1-0/+18
Need to change query by name using nodes query to make sure names are globally unique. Added new Exception type for duplicate A&AI object names. Added tests for AAIVfModulResources. Change-Id: I71558d0881d7060819f5f807fe58779be6edfa6f Issue-ID: SO-2020 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max21-62/+319
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10replaced String.repeat with static final stringsBenjamin, Max3-8/+8
replaced String.repeat with static final strings Change-Id: Ife14fde70e8f648881a03e9343ae8faf9cb87e2e Issue-ID: SO-1999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert11-9/+252
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski9-7/+281
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-05General Sonar fixes and improvementsr.bogacki6-39/+13
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Removed unnecessary variables. -Protect utility static classes with private constructor. -Removed unnecessary exceptions. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ib0011d730f86e0e1a25d4cf1080a61b2fbb335ae
2019-06-05Fix ConfigAssign/Deploy null return of BlueprintName/Versionsunilb1-0/+19
Fix ConfigAssign/Deploy null return of BlueprintName/Version Issue-ID: SO-1985 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I15b6d38a21320eae6ca58a1e3d515813b9c243fd
2019-06-03Cleaned up duplicated literalsrob.bog3-5/+8
Cleaned up Sonar code smells related to the duplicated literals in loggers. Issue-ID: SO-1932 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I58c48cec0012c42b7b892ae76c24c6a087c60c7e
2019-05-31Merge "Corrected enum formatting by plugin"Steve Smokowski2-5/+19
2019-05-31Corrected enum formatting by pluginBenjamin, Max (mb388a)2-5/+19
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31Added NPE check for auditBoslet, Cory1-52/+54
Added NPE check so that flow continues when no audit results present Change-Id: I614dbaff7eaaca86a503da2734d7c5f7a197bb1b Issue-ID: SO-1959 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-30Merge "Fix DeleteE2EServiceInstance flow"Seshu Kumar M1-1/+2
2019-05-22Handle case of null requestInfoElena Kuleshov1-1/+3
Handle case of null requestInfo Issue-ID: SO-1918 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ie8a0dd9e27734d96442eceaa378e5d1e64667b06
2019-05-23exception handlingeeginux1-1/+17
Update the appc client jar version Throw exception for non success cds call Fix CreateVcpeResCustServiceSimplifiedTest IT Issue-ID: SO-1857 SO-1779 Change-Id: Ifee080600051c92fd964a92d16efb67e4ab05d5d Signed-off-by: eeginux <henry.xie@est.tech>
2019-05-22Fix instance resource listsubhash kumar singh1-13/+24
Fix instance resource list if group is not list type. Change-Id: I99d37d5407c925dbb3355de73105de755b30bc04 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-21Merge "Change serviceInstance CM retrieval" into dublinSteve Smokowski1-2/+7
2019-05-21Missing modifications for DistributeTraffic actionsLukasz Rajewski5-2/+230
Added input parameters for DistributeTraffic and DistributeTrafficCheck action Change-Id: I423979f6e8a682bff2aaff02bba4d79d2fbe22c8 Issue-ID: SO-1553 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-05-21Fix DeleteE2EServiceInstance flowsarada prasad sahoo1-1/+2
Fixed the issue when subprocess 'DoDeleteE2EServiceInstance' calls 'AAI GenericGetService' sub-process which is deleted from SO common-bpmn. Change-Id: I8f5dce0135031c2d44fccd51676a709f014ef3c7 Issue-ID: SO-1809 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-21Enhanced logic for multilevel list inputsarada prasad sahoo1-82/+28
Optimized VF/GROUP/VFC level parsing logic as per doCompareModel call flow Change-Id: If934ee1407a1bad6c9adec9e32533166b5fb4d93 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-21Merge "Fix SDNC Resource creation workflow"subhash kumar singh2-5/+33
2019-05-21Fix SDNC Resource creation workflowIsaac Manuel Raj2-5/+33
Fix SDNC Resource Creation workflow Issue-ID: SO-1393 Change-Id: Ia75150adf3695e623a2f3ec7ea5f720667142c1b Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
2019-05-20Change serviceInstance CM retrievalElena Kuleshov1-2/+7
Change serviceInstance CM retrieval Issue-ID: SO-1903 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I6bc1e3f0d219d6c9feff083ce43cd6afdec1c439
2019-05-20Check for null requestInfoElena Kuleshov1-1/+5
Check for null requestInfo Issue-ID: SO-1900 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I2a3eb7ddbee396b19bcc71a2f647b9cf90082ed4
2019-05-20Merge "Altered bpmn and audit behavior on delete vf mod"Steve Smokowski1-7/+11
2019-05-20Merge "Set workflowexceptionerrormessage in all cases"Steve Smokowski1-7/+6
2019-05-20Enhanced logic for multilevel list inputsarada prasad sahoo1-173/+195
Added extra VF/VFC level test cases, also corrected first level index increment logic. Change-Id: I18982b4b6821da4f7dc06743c3aeca0fa54176e3 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-17Altered bpmn and audit behavior on delete vf modBoslet, Cory1-7/+11
Renamed variable from contin to flowShouldContinue. Updated bpmn junits and exceptionbuilder junits. Updated bpmns to use non interrupting escalation event. Altered bpmn and audit behavior on delete vf module Change-Id: I4ade4c934a9193099cfd29d740c68e60633c03e5 Issue-ID: SO-1896 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-17Set workflowexceptionerrormessage in all casesBoslet, Cory1-7/+6
Removed white spaces so that they are gone. Change to set workflowexceptionerrormessage in all cases so that its available to workflowactionbb. Change-Id: I66130b80eab0c0a0f96c3a7a5509bb70dda26884 Issue-ID: SO-1886 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-16Fix DeleteE2EServiceInstance flowsarada prasad sahoo1-1/+2
Fixed the issue when subprocess 'DoDeleteE2EServiceInstance' calls 'AAI GenericGetService' sub-process which is deleted from SO common-bpmn Change-Id: Ie170b430a21df6dc8e7ff95a9d7f2091c11a600b Issue-ID: SO-1809 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-05-15Merge "store openstack request status in requestdb"Steve Smokowski1-0/+17
2019-05-15mapped host routes into gbb l3 network objectKalkere Ramesh, Sharan1-1/+16
mapped host routes into gbb l3 network object Change-Id: Ie3ab4693f7584946b1e2020d43143412bec62631 Issue-ID: SO-1885 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-15store openstack request status in requestdbSmokowski, Steven1-0/+17
Openstack request status now stored in request db Change-Id: Ida8f4f613d406c2b834ab190e01d5aaf2f16dd3d Issue-ID: SO-1867 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-10Merge "Update Rainy day handling to be more robust"Steve Smokowski1-21/+14
2019-05-10Update Rainy day handling to be more robustSmokowski, Steven1-21/+14
Clean up unused tests and code, update UT Fix issue with junits and conflicts on id field Update Rainy day handling to be more robust Change-Id: I2ce9a1288457017613dece19357e44b8566867c5 Issue-ID: SO-1866 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-10Created custom BadResponseException classPlummer, Brittany1-0/+11
Created custom BadResponseException class Change-Id: I9b7288c5c489e155a84f2b98956df8f3f8f53bb4 Issue-ID: SO-1864 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-07Removed null checks from ResourceRequestBuilderr.bogacki1-4/+4
Removed unnecessary null checks from ResourceRequestBuilder according to comments from https://gerrit.onap.org/r/#/c/87001/ Change-Id: I21140d812982713229c322d772e6a10f7c7c044d Issue-ID: SO-1498 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-05-06Fixed NPE in ResourceRequestBuilderr.bogacki1-5/+9
Fixed possible NullPointerException in ResourceRequestBuilder according to the Sonar analysis. Change-Id: Ide97a1a6439342ef55fc490916c945d194d4e518 Issue-ID: SO-1498 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-05-02Merge "Modify instance resource list creation"Seshu Kumar M1-90/+85
2019-05-02Modify instance resource list creationsubhash kumar singh1-90/+85
Modify instance resource list creation to avoid hard locking of model name in UUI request. e.g. VF resource and gruop resource has resource input vf { resource_input : { key1:value2, key2:[vf_prop_list,INDEX,key]|default} Derive the key ("vf_prop_list") from resource input and use this info to map UUI request. UUI req: { ... resourceInput: { vf_prop_list : /// mapped with resource input of resource { .... Change-Id: Ic40079a094b2628bcf6f5758121b7492ee3c1353 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-05-02Enhanced logic for multilevel list input reading from UUIsarada prasad sahoo2-24/+209
Logic modified to support VF and VFC/group level user input reading from the list and automatically incrementing/maintaining index of list for fetching data from User input and map to service inputs. Change-Id: I9faa7e9a689324e80c1e5123e0d4c2ebedd1bf76 Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-04-29Merge "created new custom exception"Steve Smokowski1-0/+17
2019-04-28Add parsing for support of new CCVPN modelsubhash kumar singh1-0/+160
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>
2019-04-26created new custom exceptionBoslet, Cory1-0/+17
Added a new exception type for unexpected data results. Change-Id: I5d0a0ab5e744cd507fe21a58f14cb5f91abff2bf Issue-ID: SO-1819 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-25Merge "Sniro BB now supports sole service proxies"Steve Smokowski2-3/+8