summaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
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-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-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
2019-08-13Merge "Removed duplicate use of networkType field in String.format() call to ↵Lukasz Muszkieta1-2/+2
prevent static analyzer warning"
2019-08-13Removed duplicate use of networkType field inOleksandr Moliavko1-2/+2
String.format() call to prevent static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I1e3ea352aac9a88172b683d267b2f3c804bb362b
2019-08-12Merge "Sonar fix in mso-adapter-utils"Lukasz Muszkieta2-34/+29
2019-08-12Merge "Change collections size with isEmpty"Seshu Kumar M1-2/+2
2019-08-12Merge "Move string literal left side-avoid null pointer ex"Seshu Kumar M1-1/+1
2019-08-12Sonar fix in mso-adapter-utilsParshad Patel2-34/+29
Either log or rethrow this exception Remove this unused import Make "workloadStatusReason" transient or serializable Issue-ID: SO-1841 Change-Id: I01fe8ce059b5fde95d300d2d0e5b4a1a114c479a Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-12Move string literal left side-avoid null pointer exsindhu36721-1/+1
Move string literal left side so.adapters.vnfmadapter WebSecurityConfigImpl class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I6669a11bf95a41e3efa18d907f2b3f3eb3f3f1b3
2019-08-12Change collections size with isEmptysindhu36721-2/+2
Change collections size with isEmpty mso-adapter-utils class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I784a5839d003c42a9880287d304060cd9639f1b6
2019-08-09Replace collections size with isEmptysindhu36721-3/+3
Replace collections size with isEmpty mso-adapter-utils class Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Icf6fc86d9d6f02571938804d214b5b5bfca72698
2019-08-09Merge "Remove unused SDNCServiceRequest constructors"Lukasz Muszkieta1-14/+0
2019-08-09Merge changes I8e443077,I51a9106a,I54076323subhash kumar singh3-55/+46
* changes: fix sonar issue fix sonar issue fix sonar issue
2019-08-09Remove unused SDNCServiceRequest constructorsArtem Naluzhnyy1-14/+0
Coverity-scan: CID-211570 Issue-ID: SO-2211 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: Id73831f5ef51bdea2e24c40c10d744df662b50ad
2019-08-09Merge "Add SO re-name the migration sql for version conflict"Steve Smokowski1-0/+0
2019-08-09Merge "add rainy day handling with SERVICE_ROLE and type"Steve Smokowski4-4/+9
2019-08-09fix sonar issuesarada prasad sahoo1-12/+9
fix sonar issues Issue-ID: SO-1811 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: I8e443077864d758149bb5f62bc5dc5f718c29204
2019-08-09fix sonar issuesarada prasad sahoo2-43/+37
fix sonar issues Issue-ID: SO-1811 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: I51a9106ad99e7bb101c3d6c9a33603ac202d7cb6
2019-08-09Moved setNeutronNetworkId() call inside null checkOleksandr Moliavko1-1/+1
to prevent crash at outputs.get() call Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I51ad7a6de93c88ce6743234b943f9abcbc065a70
2019-08-09Moved null check for outputs so that get() methodOleksandr Moliavko1-4/+4
call won't result in crash. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I23deef70ec7efec22cd31489666341a3b53c9899
2019-08-08add rainy day handling with SERVICE_ROLE and typeMnushkin, Dmitry4-4/+9
add rainy day handling with SERVICE_ROLE and type Issue-ID: SO-2205 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib85ccd787d4c8b210abb983e1f114da3d36be2b6
2019-08-08Add SO re-name the migration sql for version conflictBonkur, Venkat (vb8416)1-0/+0
Rename the version from V6.1 to V6.3 for V6.1__AlterColumnActionCategoryControllerSelectionCategory.sql There is another script with same version in the att ecomp. Issue-ID: SO-2209 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Ia7e527419dfe149f8cbdd9d0748768f8b7bc9904
2019-08-08fix sonar issuesarada prasad sahoo1-15/+16
fix sonar issues Issue-ID: SO-1811 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: Iba1f585de7465da5649b60e6990a737936656ac7
2019-08-08Merge "VNFM adapter support two way TLS"Seshu Kumar M5-22/+163
2019-08-08Avoid local variables shadow class fieldssindhu36721-15/+15
Avoid local variables shadow class fields mso catalog db adapter Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Ie2a62a76ca43a5c7f2e0cdee00263230a2ae154d
2019-08-08Merge "Replace duplicated String literals"Seshu Kumar M3-20/+22
2019-08-08Shift string literal to left side of equals(avoid null pointer ex)sindhu36722-2/+2
Avoid null pointer exception mso-openstack-adapters classes Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: Ie7099318a79162aed26ec3a8e4a013cece367736
2019-08-08Replace duplicated String literalssindhu36723-20/+22
Replace duplicated String literals mso-openstack-adapters files Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I3089f407ffd01afbccaada81c2aef290299dfe32
2019-08-02VNFM adapter support two way TLSMichaelMorris5-22/+163
Change-Id: Icdb57587c9070bcce405eeaea4275fea0af0533a Issue-ID: SO-2190 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-08-02Fix Blocker BugLukasz Muszkieta1-4/+5
Change-Id: I6be7c799896d32ffd20591ce9b8a0957d506b5c3 Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-08-02Merge "General sonar fixes"Seshu Kumar M3-6/+7
2019-08-02Merge "Add oauth for calls from VNFM to VNFM adapter"Seshu Kumar M7-11/+180
2019-08-02General sonar fixesArindam Mondal3-6/+7
+) Add logger to log exception ++) Format logger Issue-ID: SO-2187 Change-Id: Id77271340070a61e7ce82822321d7e5b8b03f759 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-08-01Add SO Increase Action_category column widthBonkur, Venkat (vb8416)1-0/+3
Action_category column width in Controller_selection_category table is increased to accommodate activity categories like DistributeTrafficCheck which are longer than the column width. Issue-ID: SO-2185 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: Ia5c813bfabfc95d4502c7ade4413672c64ad8ada