aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/mso-infrastructure-bpmn/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-12-10Fix for livenessProbe failing OOMCustom_Workflowwaqas.ikram3-27/+75
Change-Id: I9c5bbaaff6c141f88e55f6bb727e3f1b9d5eca39 Issue-ID: SO-3674 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-12-06Fixing broken connection between api & bpmn-infrawaqas.ikram2-124/+0
Change-Id: I3ac58fe0e49aa1fb16d8f240120e093a2d78de95 Issue-ID: SO-3674 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-10-20Remove unused code from bpmn-infraMukesh Paliwal1-412/+0
Issue-ID: SO-3765 Signed-off-by: Mukesh Paliwal <mukesh.paliwal1@huawei.com> Change-Id: I21824274e69706e4913cbaef2276eb6055651c9f
2021-09-29Add logback-spring.xml and remove override.yaml from codeMukesh Paliwal1-3/+1
Issue-ID: SO-3765 Signed-off-by: Mukesh Paliwal <mukesh.paliwal1@huawei.com> Change-Id: I001d0bea3341383d4da01d34b9ab31d7907f8b54
2021-07-01Refactoring for bpmn-infraMD IRSHAD SHEIKH1-2/+0
Issue-ID: SO-3674 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: Icac20cf1f00ac016a26a8ab1677da21f2d33e84a
2021-06-17Merging dynamic_BPMN code to Custom_Workflow branchMD IRSHAD SHEIKH5-15/+742
Issue-ID: SO-3674 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: I565ef9e4efa1955739d3963fa2d28a4f875ff7c5
2021-03-29SO BPMN Infra is not crashing when tomcat can't startKrzysztof Gajewski1-3/+9
- aim of this patch is to return non zero exit code when an exception occur in bpmn-infra Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Issue-ID: SO-3592 Change-Id: I0f0654c8bcad705220def5fdcfce2f4e407e0be8 (cherry picked from commit 67c2febb7337aa93c5144437088fce26ae03a10f)
2021-03-09version upgrades plus cleanupBOSLET, CORY4-19/+24
Removed over 125 dependencies and added to dependency management Added in a few dependencies and removed some Change the swagger version to so pom Removed version property reference in the pom Added in missing dependency for bpmn blocks Added in missing dependecy for common bpmn Updated the camunda-bpm-assert to use a version that is compatible with assertj-core 3.11. The camunda-bpm-assert namespace group also changed. This fixes the no method found error. Updated unit test to account for class name change Updated the unit test to account for lib change Fixed unit test for software upgrade stuff Exclude older versions of javassist to fix null pointer caused by incompatible javassist version with hibernate and bowman Added in missing dependency for task test Added missing dependency and fixed formatting Remove files that got added back in by merge conflict Use the new namespace for the swagger annotations Need to exclude swagger annoatations from the old namespace Updated to fix compilation error due to use of legacy swagger and cxf swagger Use the swagger v3 plugin for gen resources Use the openapi v3 swagger in all bpmn packages Fix null pointer to create the OpenApiFeature in cxf Issue-ID: SO-3578 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I7093376b2d8271e9c5b911b901133e01b957da84
2020-08-26Remove auto process migration againSmokowski, Steven1-111/+0
Remove auto process migration again Issue-ID: SO-3162 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I71d0222bc285f1099dc7c800a8fc6f27aa5f2d89
2020-07-14Add back auto process migrationSmokowski, Steven1-0/+111
Add back auto process migration Issue-ID: SO-3069 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I50fc83484e9bd992e1419f980dcc54055ca40cb8
2020-07-10updated workflow async resource class to beKalkere Ramesh, Sharan1-13/+8
updated workflow async resource class to be configurable updated long to String for property name remove input parameters into get wait time method Issue-ID: SO-3048 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib35041329b8984798fe75f23c4cdf908ded42a40
2020-06-25Remove AutoProcessInstanceMigrationServicePlummer, Brittany1-110/+0
Reverting automating migration as it's causing failures Issue-ID: SO-3009 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7b55e0114c12c77373106fd4906eea05e6870490
2020-05-28implement automatic migration for processPlummer, Brittany1-0/+110
Initial setup of AutoProcessInstanceMigrationService Setup migration plan for auto migration Started adding unit tests for auto migration Setup processDefinitions as configurable list Moved autoMigrationEnabled and added default for keys Issue-ID: SO-2968 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic3e4aed611e2a90a2083ffd5cd4f1a0e1b43d145
2020-04-13decreased code smellsRupinder1-3/+0
Removed unused imports Issue-ID: SO-2804 Change-Id: I8ea686dd499578283fdda56ef0fe6c08c557383a Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-03-26convert openstack to external tasksBoslet, Cory1-2/+2
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-16split single and plural graph inventory urisBenjamin, Max1-2/+2
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany3-3/+3
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-02-06optimize camunda process instance historyPlummer, Brittany3-2/+55
Set buinessKey to requestId. Added plugin to pass businessKey to subprocesses Updated process-instance and activity-instance lookups to filter response Removed duplicate tests and updated att history lookup Updated businessKey to be set to mso-request-id Updated snapshot version to fix build issues Removed query param from properties. added uribuilder Updated to use uriBuilder.build().toString() Updated unit tests to lookup by procesInstanceId to fix build failure Issue-ID: SO-2650 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I357053c52a75ee5149a56392ce866dbb654b541d
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-1/+3
Initial Manual Handling addition to Rainy Day BB handling. Reenable task API, add task variable setup. TaskTimeout will come from the configuration settings. Update the base path for the APIH manual tasks junit. Additional JUNIT tests for manual handling Add Manual as a primary policy for Change Management BBs. Error handling changes and robot tests for manual handling. Correct failure data retrieval when serviceSubscription is unavailable. Correct failure data retrieval when serviceSubscription is unavailable. Keep WorkflowException when manual pause gets invoked; improved error reporting. Issue-ID: SO-2616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a84c1a489bb7b24b68e567f604aeb074fd7bf9
2020-01-07consolidated security configurationBenjamin, Max3-238/+0
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2019-11-21Added AAF Integration related changesRamesh Parthasarathy3-12/+199
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-11-04Call WorkflowActionTasks.sendErrorSyncAck()Gamboa, Gilbert1-2/+6
Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Issue-ID: SO-2489 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c1c2bb6af70d5e76cfbfd3ce54fb506ab653cf7
2019-10-23Adjust listener to actually execute on process endSmokowski, Steven2-72/+0
Adjust listener to actually execute on process end Issue-ID: SO-2481 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I97b284ac2ac14e2052fa845427494406e0274d36
2019-10-15Cleaning up unused variables and redundant initializers toOleksandr Moliavko1-3/+0
remove static analyzer warnings Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I5dee12e1935c152865963359d0fc869673393aad
2019-09-26Added null check for vMap to prevent staticOleksandr Moliavko1-6/+8
analyzer warning about potential crash at vMap.entrySet() call Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6eacb28c6720b7432fd31faabacd9dc52f0abe60
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven3-0/+114
Updated with the error log messages Changed the code to do string compare for eventName update workflowaction to only persist if not resume Issue-ID: SO-2363 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I139f2427ae0f0253a15cc51003318686568cb514
2019-09-17Async vnf adapter response not getting to bpmnGamboa, Gilbert1-5/+5
Async vnf adapter response is not getting to bpmn @OneWay web methods in VnfAdapterNotifyServiceImpl class do not work with the @Async handleCallback() method in CallbackHandlerService. Updating code to call the non-async version of the (overloaded) handleCallback method until we can figure out how to properly do @oneway to @async. Added junits to all methods in VnfAdapterNotifyServiceimpl Issue-ID: SO-2347 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0e8b4a60addfc5e742c77e671377fa152ecce4db
2019-09-10Integrate Logging LibraryPlummer, Brittany2-6/+4
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-08-29Added back MDC.put to generated missing requestIDSangalang, Felix1-0/+12
Added back MDC.put to generated missing requestID in logfiles. Issue-ID: SO-2265 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I67e0b01dfeb609e7a5d7e29f976ec3ec6549e96b
2019-08-22General sonar fixesArindam Mondal1-2/+2
+) Use format specifier to log exception ++) remove unused import Issue-ID: SO-2226 Change-Id: I0938d624b918eddf30e96da4f12d7a06cc0ddfe1 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-15Add SO Same deployment id on deployed custom workflowsBonkur, Venkat (vb8416)1-1/+1
Added the change to call the DeploymentBuilder.deploy() method after going through all the custom workflows. Thus all the workflows deployed and they startup correctly. Issue-ID: SO-2210 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Ieaa5d1447405f75744d7c05bd8f7603c16edf5ea
2019-07-26Enhanced List Level flow with backward supportsarada prasad sahoo2-5/+29
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-12Major Sonar fixesr.bogacki2-4/+1
Major Sonar fixes in different classes: -Removed unused variables. -Simplified diamond operators. -Removed unnecessary imports. -Removed unnecessary code. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ib54fbe048700a4e31042481f0a9b13838552aee7
2019-06-24Sonar fixes and improvementsr.bogacki1-1/+3
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Removed unnecessary code. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I4299f3efc4444625f70fc36e65b57c500b113596
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)1-0/+84
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10Merge "replaced String.repeat with static final strings"Steve Smokowski4-18/+18
2019-06-10replaced String.repeat with static final stringsBenjamin, Max4-18/+18
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-10Sonar fixes and improvementsr.bogacki3-25/+7
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Removed unnecessary variables. -Added String constants. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I8b77def931e703c8a73929ec09324823a91721e3
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski1-26/+32
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Cleaned up duplicated literalsrob.bog4-15/+19
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-05Fix deployment of workflows on startElena Kuleshov1-26/+32
Fix deployment of workflows on start Change-Id: Iaa5cb96020da20c96bedb81e0829f73c7461b67f Issue-ID: SO-1837 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-26Cleaned up DeleteVnfNotificationr.bogacki1-8/+2
Cleaned up DeleteVnfNotification according to Sonar analyses. Removed unnecessary code. Change-Id: If8e35d29edb85ad4905a9373f0a820b5f7f07b72 Issue-ID: SO-1817 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-04-09Deploy custom flows on startupElena Kuleshov1-1/+38
Deploy custom flows on startup Change-Id: I2837de8745b5eef44463c52295a40f181e4db0b9 Issue-ID: SO-1739 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)34-2714/+2301
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Merge "Add cloudOwner to VNF adapter call"Steve Smokowski1-0/+28
2019-03-20Removed BPMNLogger classWitold Ficio Kopel2-27/+28
The BPMNLogger class has overlapping use to preferred solution based on slf4j and logback - thus has been replaced by it. Change-Id: I9889d4b9ab06f28941f0d827df889e3c081155da Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen1-0/+28
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-18Removed MsoLogger classr.bogacki6-35/+15
Bye bye MsoLogger class. Extracted constants to separated classes. Fixed imports. Change-Id: I7c8e0527e7dbd097d3ea93b9dab279354652da47 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-14Reduced content of MsoLoggerr.bogacki2-12/+12
Cleaned java code dependencies for 'setLogContext' and 'getServiceName' methods from MsoLogger. Fixed imports. Change-Id: I33251c837088ce580ffa1c44e69766c77283004b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-11Cleaned up MsoLogger classr.bogacki5-10/+6
Removed setServiceName method from MsoLogger. Cleaned up unused methods from MsoLogger. Change-Id: I1fe033ed25dda32c07693a5087bf65de3ecc229c Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>