aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/mso-infrastructure-bpmn/src
AgeCommit message (Collapse)AuthorFilesLines
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-0/+3
-Code to add Relation between Parent & it's Child Services -Node used to connect parent and child in AAI is ComposedResource -Parent Service can be related with multiple Child Services via composedResource Node. Issue-ID: SO-3832 Change-ID: I73f97f986a817d423f92f8d922dcd9647b8a6adc Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2021-09-29Add history ttl to all bpmn's programaticallyJozsef Csongvai1-1/+23
This enables camunda to set REMOVAL_TIME_ to entries written to the camundabpmn database, which can then be cleaned up after ttl has expired. Regular clean-up will improve database performance and prevent locking timeouts. Change-Id: I0803a0ebda9220daba7d505797c94ba47ade5921 Issue-ID: SO-3770 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
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, CORY5-20/+25
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
2021-03-05remove vnfadaptercreate vnfadaptercreatevfmoduleBOSLET, CORY1-178/+0
Removed SOAP services for vf module and refactored. File that was not staged for merge conflicts Removed dead test classes from source Issue-ID: SO-3574 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I0c8c67521e80661c3354ba572cdd6ae1e1256d42
2020-09-28[SO] Updating Bpmn-Infra Certificatesajay_dp0012-0/+0
Issue-ID: SO-3272 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I06023d76c66b0e5ac0bf2d03423b2c8bdaaa04a0
2020-08-26Remove auto process migration againSmokowski, Steven2-235/+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, Steven2-0/+235
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, Brittany2-233/+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-06-03Merge "added assert statements in JUnits in 4 files"Steve Smokowski1-0/+2
2020-05-28implement automatic migration for processPlummer, Brittany2-0/+233
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-05-27Fix BBS integration issueramu.n1-0/+7
Issue-ID: SO-2955 Change-Id: I44419a403756c87dcd8dd0f98ee63721bb193906 Signed-off-by: ramu.n <ramu.n@huawei.com> (cherry picked from commit fa20cbaba61bbb6dc073ddfadea264bb7b0c823d)
2020-05-26added assert statements in JUnits in 4 filesRupinder1-0/+2
Issue-ID: SO-2804 Change-Id: I63c5ff0fd23d0d30beaf32658115b7403f0dcfbf Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-29rename package for external useBenjamin, Max1-1/+1
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
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-27SW UP building block and workflowEricMoore1-0/+6
This commit creates two bpmn 1. PNFSoftwareUpgrade.bpmn 2. PNFSWUPDownload.bpmn Respective Testcases are also written for both bpmns. Issue-ID: SO-2514 Issue-ID: SO-2515 Change-Id: Icb1706f1974341182f13b9125e09418b61571c52 Signed-off-by: EricMoore <eric.e.moore@est.tech>
2020-02-06optimize camunda process instance historyPlummer, Brittany4-2/+67
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-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-12/+199
2019-11-26restoring the pnf dmaap client functionality to the proper working versionLukasz Muszkieta1-1/+1
Issue-ID: SO-2339 Change-Id: I2a12517fd7b37d3260058be6c5c27865e207b861 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-21Added AAF Integration related changesRamesh Parthasarathy5-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, Gilbert2-2/+65
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-10-03Removed unused private method getProcessInstanceId()Oleksandr Moliavko1-13/+0
to prevent static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Iab8cba14eb519f8c36f4f3ddd3fde2e50ac7147b
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, Gilbert2-5/+123
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-11Merge "Integrate Logging Library"Steve Smokowski2-6/+4
2019-09-11bug fix - avoid npe in pnf flowLukasz Muszkieta1-4/+2
Change-Id: I8e848c2bdcec0822ae08280223297b4825e9b7c2 Issue-ID: SO-2289 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
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-28Merge "Removed unused methods injectSNIROCallbacks() according to comments ↵Lukasz Muszkieta1-166/+0
by maintainer"
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-21Removed unused methods injectSNIROCallbacks()Oleksandr Moliavko1-166/+0
according to comments by maintainer Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I22af32a50cc08954861232a8e38d23166a88c442
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-08-08Merge "VNFM adapter support two way TLS"Seshu Kumar M2-0/+0
2019-08-08Added null checks for getUpdateResInputObj() return valueOleksandr Moliavko1-3/+9
to prevent crash at toString() calls Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: If55fd3b00fe9d2406fe1b2eeda66fa005ce13bc4
2019-08-05Added null check for return value ofOleksandr Moliavko1-1/+5
getUpdateResInputObj(), to prevent crash at call of toString() method Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ifa6c683885490fef7fcf08e2b32b2dc76ef776a6
2019-08-02VNFM adapter support two way TLSMichaelMorris2-0/+0
Change-Id: Icdb57587c9070bcce405eeaea4275fea0af0533a Issue-ID: SO-2190 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-08-02Merge "Added null check for injectedVariables to prevent crash at call of ↵Seshu Kumar M1-4/+6
injectedVariables.get()"
2019-08-01Added null check for injectedVariables to preventOleksandr Moliavko1-4/+6
crash at call of injectedVariables.get() Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I1d05b32b0aa0c001c79e41576bc8b3435a9aae1f
2019-07-30Removed subscriber variable that was not actuallyOleksandr Moliavko1-3/+0
used in any test (to remove static analyzer warning) Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I7665c3dcb85d5c0d80c0448e6ad5ff1ece5a0bef
2019-07-29Merge "Upgrade springboot.version from 2.0.5 to 2.1.5."Steve Smokowski1-0/+2
2019-07-26Upgrade springboot.version from 2.0.5 to 2.1.5.Sangalang, Felix1-0/+2
Upgrade springboot.version from 2.0.5 to 2.1.5. Fixed APIHandler junit test cases with expected DB error messages. Issue-ID: SO-2157 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77ce873018b88268b9221226b95c9c106f93a8d0