aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2020-07-11Address NullPointerException with apih healthcheck endpointRamesh Parthasarathy26-271/+337
Facing NullPointerException with apih healthcheck endpoint with elalto branch. Brittany has addressed this issue with master branch and this change brings in those changes with elalto branch This is a squashed commit cherry picked commits from master commit 4e79baed423434b42d75f0d5c26757cd6792ce79 commit b341d9cd027b0f7bec125d51b8298c3e31d7f685 commit 02b85383a1f2a7c9677db2929b30fc283ad9a00c commit 8e3e32d4c7a10ddd8ee97576e030185e273bd2c0 commit 8a1bade3296510df340d11f7c22353994cbdfa83 commit ef6d7e225d8601489f8559483e1414dc62a62e8b commit 84a201f889f635c9405ea737d814fc43d274afd7 Issue-ID: SO-3046 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com> Change-Id: Ic7579f84746dad4002a5291edd54237eaaa602cf
2019-10-09Merge "Fix issue where user cannot create a recipe via"Steve Smokowski1-0/+22
2019-10-09Merge "Converted tests to use LATEST"Steve Smokowski2-1/+4
2019-10-09Improved error handlingMichaelMorris5-29/+155
Change-Id: Iac436f6a950bf61ac6321ef1d427a7bb14774e30 Issue-ID: SO-2395 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-10-07Converted tests to use LATESTGamboa, Gilbert2-1/+4
Always use LATEST for A&AI based tests rather than a particular version Issue-ID: SO-2398 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7840b46f8d50b74a6e6b98270c4f3febc4d0b993
2019-10-04Fix issue where user cannot create a recipe viaSmokowski, Steven1-0/+22
Fix issue where user cannot create a recipe via rest Issue-ID: SO-2394 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia21131a1179cbba2652aae30451a25a90ac00e51
2019-10-04Merge "Added null checks for bp to prevent exceptions at bp.getId() calls; ↵Lukasz Muszkieta1-8/+13
fixed omissions in methods control logic; removed unneeded catch blocks"
2019-10-04Added null checks for bp to prevent exceptions atOleksandr Moliavko1-8/+13
bp.getId() calls; fixed omissions in methods control logic; removed unneeded catch blocks Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I8347b953381ebb4a112a22fc8c58a9a32f2dbfb7
2019-10-03Merge "Added null check for executions variable to prevent a static analyzer ↵Lukasz Muszkieta1-1/+1
warning"
2019-10-03Merge "Updated VNFM adapter security readme"Byung-Woo Jun2-16/+9
2019-10-03Added null check for executions variable toOleksandr Moliavko1-1/+1
prevent a static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6c10240048452c242ab3f513a6e13e81baedbc5f
2019-10-01Improve fall out case handlingSmokowski, Steven13-501/+235
Update Openstack adapter to handle fall out cases with greater stability Issue-ID: SO-2376 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20116cbd3b63bb29c9bf4ed99e92bd5f2b691da5
2019-09-30Merge "Added null check for execute() result to remove static analyzer warning"Lukasz Muszkieta1-1/+5
2019-09-30Merge "Added null check to server.getImage() to prevent crash at getId() call."Lukasz Muszkieta1-5/+7
2019-09-30Added null check for execute() result to removeOleksandr Moliavko1-1/+5
static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ifc8481b659c5b53378611f9e80db087db590ae05
2019-09-30Updated VNFM adapter security readmeMichaelMorris2-16/+9
Change-Id: I54fd7b942c444f13b75c929dd4abbf8c95b581db Issue-ID: SO-2355 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-09-26Added null check to server.getImage() to preventOleksandr Moliavko1-5/+7
crash at getId() call. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6ecaf66649e9df971003268b7272f677c5394083
2019-09-25Merge "Upgrade swagger in mso-catalog-db-adapter"Steve Smokowski4-28/+69
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven4-121/+9
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-24Merge "VNFM adapter relationship handling improvements"Steve Smokowski7-122/+82
2019-09-19update logging to match onap logging libraryPlummer, Brittany4-4/+21
Updated to use changes added to logging library in ONAP Updated RestClient to set mdc rather than extend filter Updated filter removal to include new spring filter Updated to exclude filter causing failure in catdb Excluded filter causing failures in requestdb Updated requestdbatt to exclude filter Updated check for spring filters to fix failing tests Issue-ID: SO-2353 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idb081a0f5527690f9dc41c7914a2d721f9022aea
2019-09-19VNFM adapter relationship handling improvementsMichaelMorris7-122/+82
Change-Id: I8fd7af559448b9cdd6fab4bedd8ec001f196a200 Issue-ID: SO-2352 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-09-16Upgrade swagger in mso-catalog-db-adapterArindam Mondal4-28/+69
Issue-ID: SO-2305 Change-Id: I25ac20a96cf44a7c8abaa3b78f3b256cb2002d3f Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-13Remove unused table requestdb.active_requests.Sangalang, Felix1-0/+4
Remove unused table requestdb.active_requests. renamed file to nearest flyway versioned number Issue-ID: SO-2332 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I82d3f7b643e486c9d6cc32cd36d3366aa78e2db5
2019-09-11Merge "Removed redundant null checks (at these points vnfCustom can be ↵Lukasz Muszkieta1-2/+2
empty, but not null)"
2019-09-11Removed redundant null checks (at these pointsOleksandr Moliavko1-2/+2
vnfCustom can be empty, but not null) Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I174635fd0df71811c05ea3ad52f8ec5e5b56c58c
2019-09-10Integrate Logging LibraryPlummer, Brittany20-89/+159
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-09-10Merge "Created external task utils in a common location"Steve Smokowski7-237/+24
2019-09-10Merge "Added ACTIVATED Orchestration Status same as"Steve Smokowski1-0/+47
2019-09-10Merge "updated all sql files including in tests to use"Steve Smokowski2-1/+13
2019-09-10General sonar fixesArindam Mondal2-18/+17
+)Format logger ++) Remove toString() +++) Extract nested IF Issue-ID: SO-2226 Change-Id: Iff28408584b04ffd03b6aca0f647d0af9090a9c2 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-09updated all sql files including in tests to useChan, Mercy2-1/+13
updated all sql files including in tests to use the correct column name. Updated hibernate mapping to use the correct column name as well. Issue-ID: SO-2297 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4a2d3e82a7b182ea1d67d297c0a0d3a35c856255
2019-09-08Added ACTIVATED Orchestration Status same asSangalang, Felix1-0/+47
Added ACTIVATED Orchestration Status same as ACTIVE. Issue-ID: SO-2284 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia62b7ad228d80f3690c3748587a41ee2dc486087
2019-09-08Created external task utils in a common locationBoslet, Cory7-237/+24
Created external task utils in a common location then refactored external task to use these common utils Updated junit errors and failures in openstack Removed env param and updated unit test with class Remove env file from parm in unit test class Match argu to match class abstract to con. removed implementation within anonymous class Issue-ID: SO-2291 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I47c2850d750cbfe7ef67e2396fcb46db43e3cb97
2019-09-05Added index infra_active_requests optimal queryParthasarathy, Ramesh1-0/+21
Added index infra_active_requests optimal query Issue-ID: SO-2285 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia8af787661701c8ae5593c54581e76ba1696d967
2019-08-29sonar fix-remove unused importThugutla sailakshmi1-1/+0
sonar fix-remove unused import Issue-ID: SO-2174 Change-Id: I5c13bbf27aa0f03b448fca5c2cea7329512aff01 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-27Merge "Add generic neutron network parameters"Seshu Kumar M1-0/+5
2019-08-22Merge "Moved setNeutronNetworkId() call inside null check to prevent crash ↵Lukasz Muszkieta1-1/+1
at outputs.get() call"
2019-08-22Merge "Moved null check for outputs so that get() method call won't result ↵Lukasz Muszkieta1-4/+4
in crash."
2019-08-21Add generic neutron network parametersEric Multanen1-0/+5
Add the generic neutron network heat template parameters to the catalogdb. This will allow providing a name to networks different than the default network Change-Id: I22adea6eed11eeea7d99c9f3d753b6cf77088d6a Issue-ID: SO-2083 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-08-21Added null check for latestStack to prevent crashOleksandr Moliavko1-10/+14
at method calls; moved latestStack declaration according to comment by maintainer Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ic4bfeca94103f6c902808de39df752569580c066
2019-08-21Added null check for rootNode to prevent crash atOleksandr Moliavko1-13/+18
for loop. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I5ec16f3d73982c89e2bf5b14758274f1d4dd7740
2019-08-21Rewritten checks for status according to commentsOleksandr Moliavko1-5/+9
Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6023a043e2cf532de330060973d23a402a742e36
2019-08-19Added null check for heat to remove staticOleksandr Moliavko1-1/+5
analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I71eb14adcc1227af4470853e6e1acdb631a7efe8
2019-08-16Merge "Initial commit of validation framework to APIH"Steve Smokowski12-171/+460
2019-08-16Removed unused CSAR class.Oleksandr Moliavko1-189/+0
Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I0efbb38cb34b0b36d2659ebf36f6cd2d109e5deb
2019-08-16Replaced string concatenations in a loop withOleksandr Moliavko1-4/+9
StringBuffer appends to remove static analyzer warning about inefficient string operations Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I89e0e5b599a8263882b0f91fb0f9191734a04ec1
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven12-171/+460
Move ListenerRunner to common location Adjust request params name, update junit tests Update validations to work properly Properly escape period for the string split Issue-ID: SO-2232 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia468cf7062cccf30e28afeb7a5cddc37ceb2e002
2019-08-13Merge "Removed unused method setHPAParameters()"Lukasz Muszkieta1-18/+0
2019-08-13Removed unused method setHPAParameters()Oleksandr Moliavko1-18/+0
Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ic9de579495c1400bca233b679699ae857180520b