summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07Add SO Message instead of Exception when vmIds are emptyBonkur, Venkat (vb8416)2-0/+112
Add the conditions to log messages instead of null pointer exception when vmIds or vserverIds are not present. Issue-ID: SO-2186 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I27dd8a5480cf5e2d8588cc71ca3bfefaf0e138cc
2019-08-06updated delete payloads for bulk deletesBenjamin, Max1-22/+0
updated delete payloads for bulk deletes moved test-request.json to the correct location Issue-ID: SO-2203 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8d9d4d0bbe45f32d4e07a1ba0128e627d3b27795
2019-08-06Added close() call for InputStream instance toOleksandr Moliavko1-1/+5
remove static analyzer warning about handle leak in getMsoAaiPassword() Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I2be9cc72f78275a80c6f03d806bea2ad275f23b4
2019-08-02ModelInstanceName is required in SNIROHomingv2 toGamboa, Gilbert2-1/+6
ModelInstanceName is required in SNIROHomingv2 to build placement demand. The source service does not have a modelInstanceName attribute, we need to set it to the service proxy modelInstanceName. Issue-ID: SO-2188 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I85c0940b17349c8dd5dc171954acf9f884ccff9f
2019-08-01Added null checks to prevent crashes atOleksandr Moliavko1-6/+12
method calls Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ie3b70aa59cf73ca6203d0f1aab1ed096af906050
2019-07-31Merge "Changed to set source service as model info"Steve Smokowski2-2/+2
2019-07-31Changed to set source service as model infoBoslet, Cory2-2/+2
Changed to set source service as model info for service proxy per sniro. Updated junit test to account for source service change. Issue-ID: SO-2179 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I43161f0109b62a895d5122a7b0aca0eea8694b16
2019-07-31added back missing method in groovy fileBenjamin, Max (mb388a)1-0/+14
Need to bring back AbstractTaskProcessor.logWorkflowException() method because this is being called from a number of groovy files. Issue-ID: SO-2172 Change-Id: Id5dee85fcb48265955dde3d74f7c0f98300410f0 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2019-07-30Merge "Javadoc and logging improvement"Seshu Kumar M1-0/+19
2019-07-26validate model info for existing service withMnushkin, Dmitry2-0/+64
verify modelVersionId equals during SI AAI validation correct SI name in junit test update SI name in junit test comparison add name/module id verifications for other objects add back junit file after merge from remote format jnit file after verify job failure updated test input values for clarity update name verifications with related ID values adding junit for Configuration name verification updated aai verify call, service dup error msg removed aai depth 2 and refactored private test method implement SI name verification with 3 additional fields fix formatting comment line length limitation Issue-ID: SO-2161 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I43f5cb0601dfa8b41f474615b639fce0572f5613
2019-07-26Javadoc and logging improvementPooja031-0/+19
Added Javadocs for four classes AAIUpdateTasks,OrchestrationStatusValidator,AAICreateTasks ,BBInputSetup Issue-ID: SO-2052 Signed-off-by: Pooja03 <pm00501616@techmahindra.com> Change-Id: I048b42131449e151be91839e45f4d39864b3ec52
2019-07-26Enhanced List Level flow with backward supportsarada prasad sahoo1-1/+11
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: I1cb128e259c54b80009840914b2c1cee8cf8a4df Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-07-24set multi-stage flag in listener to log successMnushkin, Dmitry2-0/+98
set multi-stage flag in listener to log success msg added post listener for requests db object Issue-ID: SO-2153 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4b27cbb69b983bd2f7c0d72c8ebb4d9c43201120
2019-07-23Merge "Enhanced List Level flow with backward support"Seshu Kumar M4-105/+177
2019-07-12Added check for null ptr before dereferencing atOleksandr Moliavko1-1/+1
gBBInput.getCustomer().getServiceSubscription() - to prevent static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I5e1cb6248412ae9e3036011bd96d708f36170d70
2019-07-05mso will support new requeststate valuesGamboa, Gilbert2-0/+44
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, Brittany7-23/+392
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-07-02Enhanced List Level flow with backward supportsarada prasad sahoo4-105/+177
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: Ie8fc8a4550a90b44736b6b9de058e2a2e187570c Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-06-27enhance workflowaction to handle resume funcMnushkin, Dmitry2-0/+104
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-27Fix macro delete instance bug.Gamboa, Gilbert1-0/+5
Fix macro delete instance bug. vf-modules not being sorted correctly because isbaseboolean field is not being set. Change-Id: Id196e152977d922bee6c9bb797ad240bb70fbf47 Issue-ID: SO-2053 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 Benjamin32-79/+374
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, Max32-79/+374
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, Max27-227/+224
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, Gilbert20-23/+469
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 Smokowski19-1166/+1573
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/Versionsunilb3-1/+24
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.bog27-107/+135
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, Cory2-54/+56
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-30Remove oof_directives from user_directivesEric Multanen1-5/+7
Oof_directives - when populated with a json string, breaks the parsing of the user_directives. Since it is not needed in the user_directives, remove it. Change-Id: I0e2c3deef8266df52ac73b95209843ac31f986ef Issue-ID: SO-1939 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-05-29Fix UriBuilder import in OofUtilsMarcus G K Williams2-41/+30
Import all changes from Casablanca that were incorrectly removed during merge from Casablanca back into master. Issue-ID: SO-1926 Change-Id: I8355e804586aa80e291f3c72a00bf69ce424316b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-28Set response code in UpdateAAIGenericVnfYang Xu1-0/+2
Change-Id: I67fb789d40ea86a82379e76b94c2da1bd552cd31 Issue-ID: SO-1927 Signed-off-by: Yang Xu <yxu@futurewei.com>
2019-05-24Fix Missing Import in OofHoming.groovyMarcus G K Williams1-0/+2
Issue-ID: SO-1926 Change-Id: Idee7eb0ab789fd8ac335b8c97b344b6e4f4b7fba Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-23Fix Build -Use latest SNAPSHOT appc client-libsMarcus G K Williams1-2/+2
Issue-ID: SO-1921 Change-Id: Id20f8f7d77469e8123317447aa974a3e77103761 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
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 handlingeeginux2-3/+19
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 Smokowski2-2/+19
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 sahoo2-352/+99
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 Kuleshov2-2/+19
Change serviceInstance CM retrieval Issue-ID: SO-1903 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I6bc1e3f0d219d6c9feff083ce43cd6afdec1c439