aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/mso-infrastructure-bpmn/src
AgeCommit message (Collapse)AuthorFilesLines
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
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-18Merge "Commented out initialization of workflowResponse to prevent static ↵Steve Smokowski1-1/+2
analyzer warning about workflowResponse never being set to anything but null."
2019-07-12Commented out initialization of workflowResponse to preventOleksandr Moliavko1-1/+2
static analyzer warning about workflowResponse never being set to anything but null. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ib150e3836fda9b7d9785a574f904b2c61bfa39f4
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)2-4/+91
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 Smokowski2-28/+34
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Add SO Turn off OpenStack heat stack auditBonkur, Venkat (vb8416)1-2/+2
UPDATE these files so/bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml so/mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml should have mso: infra: auditInventory: false Issue-ID: SO-1974 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I57bb396604e9eb2787122199cdf8a2d1ce54048a
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-27Merge "Cleaned up DeleteVnfNotification"Seshu Kumar M1-8/+2
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-26 Removed hardcoded values for PNF creation (cvlan, svlan, remoteId)marios.iakovidis2-1/+35
Change-Id: Ie4a63dd06279713c9f13062a09b44eb0e7f2e6bc Issue-ID: SO-1815 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.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)86-10911/+10100
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>