summaryrefslogtreecommitdiffstats
path: root/bpmn/mso-infrastructure-bpmn/src
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)31-509/+505
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Merge "Add cloudOwner to VNF adapter call"Steve Smokowski3-0/+41
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 Multanen3-0/+41
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.bogacki7-36/+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-13Merge changes Id0369478,I82d8306fSteve Smokowski1-0/+63
* changes: Minior Change - Licence Statement Junit Class added for ObjectFactory.java
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>
2019-03-06Junit Class added for ObjectFactory.javaSudarshan Kumar1-0/+63
Junit Class added for ObjectFactory.java Issue-ID: SO-1576 Change-Id: I82d8306f7af80e990044b97c404dc232105cdf68 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-06Add junit tests for CallbackHandlerServiceLukasz Muszkieta2-3/+110
Change-Id: I2f136c2241bdcbfa41a609023c7b3c8eb72eb106 Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-03-04Removed MsoLogger from 'mso-infrastructure-bpmn'r.bogacki21-331/+324
Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I05fa4d03fe2688a888c592a9c19c90e4fc213e48 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-28CorrelationId cleanupJoanna Jeremicz3-18/+18
Remove old correlationId field and references from ServiceInstancesRequest and rename correlationId to pnfCorrelationId Change-Id: I5d8861aebe14c68574b6c54bc8d4eadf2967478b Issue-ID: SO-1274 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-02-27Fix start upBenjamin, Max (mb388a)3-37/+8
corrected application properties Issue-ID: SO-1558 Change-Id: Ib768d7c72a64a11dbb08eea79c4c9a4f5fb970a6 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-26removed flyway from bpmn base yamlKalkere Ramesh, Sharan (sk720x)1-9/+2
Fix startup of catalog, request, bpmn and openstack Change-Id: I8e8222e410da58a62beed8cb184c90ebe73aea6c Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-26changed to jdbcUrl and updated flyway for bpmnKalkere Ramesh, Sharan (sk720x)2-2/+9
Fix startup of catalog, request, bpmn and openstack Change-Id: I5982857c610ae46aa8690764c4f6ef99240f5088 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-22Merge "Change interface name to be more suitable"Lukasz Muszkieta2-11/+11
2019-02-21updated base yamls to properly connect to DBKalkere Ramesh, Sharan (sk720x)2-2/+2
Fix startup of catalog, request, bpmn and openstack Change-Id: I83dcd17d03c71301610ab2c8bbeb30142cc14303 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-21Change interface name to be more suitableLukasz Muszkieta2-11/+11
Change-Id: Ifb4f6bc7f3e18974e9a11a17d474ad989c043673 Issue-ID: SO-1274 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-02-13Associate PNF instance with ServiceLukasz Muszkieta2-14/+32
Change-Id: I19e25e0daae042b30138bbfc074b0e651b8b1c01 Issue-ID: SO-1274 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-02-01compare resources from openstack to aaiBenjamin, Max (mb388a)1-1/+3
Address Review comments on pull request Update Unit test to have proper variable for testing update logic inside bpmn to reflect proper variable Update unit test to check property for audit Add flag to turn on and off audit behavior Add license headers, remove un-used files Update Building Block Tests and Activity Names Fix additional unit tests in so-bpmn-tasks layer Fix broken Junit Test, and correct Bug in if statement Add annotation to ignore class under test profile Additional bug fixes and unit tests for classes Add Additional JUNITS, add more sample data Add Openstack Audit functionality to Adapter Change-Id: I0492063271e991eefc608b56336a5cdf1d5a7778 Issue-ID: SO-1456 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-12Merge "Re-enable Actuator for Springboot 2.0"Steve Smokowski1-2/+6