aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-02-28Complete new authentication across REST APIsTschaen, Brendan9-296/+103
Change-Id: I0d8ae84bdebbad986d557f722047318d5b72b591 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-27Admin api tests w/ mocked authorizationTschaen, Brendan1-1/+1
Change-Id: I2069a4c1e9e6985615fce77cfb2a255fc9e322f3 Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-26Remove zookeeper referenceTschaen, Brendan16-2090/+24
Test cachingUtil, and other test coverage increase Remove unused code Rebased ontop of authentication changes Change-Id: I795a9a90d0863b03cc2a4917d4ff13a0a6fca1cc Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-25Merge "Sonar Fixes - CadiAuthFilter.java"Thomas Nelson2-45/+12
2019-02-25Merge "Caching util test cases"Thomas Nelson2-108/+98
2019-02-22Create authentication interfaceTschaen, Brendan10-232/+325
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Caching util test casesTschaen, Brendan2-108/+98
And cleaning up of other tests Issue-ID: MUSIC-341 Change-Id: Ida4ee49b2a923c64a2ce66c310db9b0dd502b8d7 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Merge "Sonar vulnerability fixes in MusicDataStoreHandle"Thomas Nelson1-4/+7
2019-02-21Merge "Fixed major Sonar issues in JsonDelete"Thomas Nelson2-9/+7
2019-02-20Conditional test casesTschaen, Brendan2-321/+2
Additional coverage for other tests. Remove unused Benchmark api Change-Id: Ib091f1827a226a4a50e3427b20af4c8b12c363c3 Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-20Update MUSIC test cases.Tschaen, Brendan2-1/+2
Fix some old test cases that were expecting incorrect output Refactor to REST API suite to re-use cassandra instance Change-Id: I9400b3e1e3ce35114e587336f0841207493c9680 Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-20Merge "MusicHealthCheck.java - Multiple Sonar Fixes"Thomas Nelson1-15/+4
2019-02-19Fixed major Sonar issues in JsonDeleter.bogacki2-9/+7
Removed unnecessary imports. Changed return type from ArrayList to List. Change-Id: I9a17c9848b33be9f6ca5a2d51ee4b3f18abfcc38 Issue-ID: MUSIC-338 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-18Sonar vulnerability fixes in MusicDataStoreHandler.bogacki1-4/+7
Removed unnecessary imports. Added private constructor for static utility class. Change-Id: I2e41ba263194dbb3e7e6ae70074c85bfd69b7ab1 Issue-ID: MUSIC-335 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-14Merge "Introduced local variable"Thomas Nelson1-2/+3
2019-02-14Merge "Fixed Sonar issues in ZkStatelessLockService"Thomas Nelson1-15/+23
2019-02-14Merge "Removed Duplicate logger statements"Thomas Nelson1-8/+1
2019-02-13Fixed Sonar issues in ZkStatelessLockServicer.bogacki1-15/+23
Fixed potential NullPointerException. Added restoring of the interrupted state. Removed unnecessary imports. Added missing loggers. Change-Id: I62bb8ef2b4893c60c1cea7dcd4ba29f2908b4d05 Issue-ID: MUSIC-329 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-13Merge "Sonar code duplicates moved to MusicUtil.java"Bharath Balasubramanian3-207/+150
2019-02-13Merge "Sonar Vulnerability Fixes: CachingUtil.java"Bharath Balasubramanian1-18/+11
2019-02-13Merge "added local variable instead of using method args"Bharath Balasubramanian1-3/+4
2019-02-13Merge "Sonar vulnerability fixes in CronJobManager"Bharath Balasubramanian1-14/+8
2019-02-13Merge "Cleaning up Sonar issues in JerseyConfig"Bharath Balasubramanian1-53/+44
2019-02-13Merge "Fix for code Vulnerability,reported by Sonar"Bharath Balasubramanian1-6/+4
2019-02-13Removed Duplicate logger statementsJegadeesh Babu1-8/+1
Used logger statements as per convention Issue-ID: MUSIC-330 Change-Id: Iaea377861e1b2c5ea0724a664de2ef2db88d76cd Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-12Introduced local variableJegadeesh Babu1-2/+3
Introduced local variable instead of using method args Issue-ID: MUSIC-323 Change-Id: I670c49e2b28ba280d3446868ac042dfdae2b6c16 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-12Fix for code Vulnerability,reported by SonarJegadeesh Babu1-6/+4
Removed and printStackTrace and added logger Issue-ID: MUSIC-314 Change-Id: Ieeb33d6e58ec469c6fb540d943bae97b703ebbda Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-12Removed sub-expressions from RestMusicDataAPIr.bogacki1-2/+5
Fixed critical Sonar issue related to identical sub-expressions on both sides of operator. Added more details to error logger. Change-Id: I421c4ac3894c08b6b174fdaeb6e68be50e024e63 Issue-ID: MUSIC-328 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-11Cleaning up Sonar issues in JerseyConfigr.bogacki1-53/+44
Unnecessary imports have been removed. Formatting done according to ONAP and Google Java Style. Issue-ID: MUSIC-321 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I04ed46d1cb5daa601713e1a4ee0e024b7d1ad55d
2019-02-11added local variable instead of using method argsJegadeesh Babu1-3/+4
Added local variable sonar bug fix Issue-ID: MUSIC-322 Change-Id: I73c90d2fbfea4bd91f767bbb67eb1774a75ce3f1 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-11Sonar vulnerability fixes in CronJobManagerr.bogacki1-14/+8
Change-Id: I16133a60013cc63dd389a1aa14ddda693441570b Issue-ID: MUSIC-320 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-08Sonar code duplicates moved to MusicUtil.javar.bogacki3-207/+150
Change-Id: I08e089171e94c78c8977d20aea29b0eb97f57a74 Issue-ID: MUSIC-317 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-08Sonar Vulnerability Fixes: CachingUtil.javar.bogacki1-18/+11
Replaced prinStackTrace with logger Change-Id: I5c42dd8c4f1f5add0b66b11e21b964787d5f3348 Issue-ID: MUSIC-316 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-07Sonar Fixes - CadiAuthFilter.javaDriptaroop Das2-45/+12
Sonar Fixes - CadiAuthFilter.java Issue-ID: MUSIC-313 Change-Id: I8c9b3197cc72b331201f2b8742b036be58fea616 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-01Merge "Sonar Fixes - MusicAuthentication.java"Thomas Nelson1-5/+3
2019-02-01Sonar Fixes - MusicAuthentication.javaDriptaroop Das1-5/+3
Sonar Fixes - MusicAuthentication.java Issue-ID: MUSIC-304 Change-Id: I70518240f7c736b5301d6a1104c131328643391b Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-31MusicConditional.java - Multiple Sonar FixDriptaroop Das1-16/+10
MusicConditional.java - Multiple Sonar Fix Issue-ID: MUSIC-301 Change-Id: I570bf949313d430de9aa16351c8cf339f288b8c7 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-31MusicHealthCheck.java - Multiple Sonar FixesDriptaroop Das1-15/+4
MusicHealthCheck.java - Multiple Sonar Fixes Issue-ID: MUSIC-302 Change-Id: I8e9b8be0d35b5a8d3042ffe056b4d29c5bb7888e Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-29Push variuos changesNelson,Thomas(tn1381)(arthurdent3)66-3749/+5921
- Spring Boot - Cadi - Cassandra Locking Change-Id: Ie9882f81f0ca141bdb7862cdabf978481fcd7c4a Issue-ID: MUSIC-296,MUSIC-272 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
2019-01-25Merge "multiple sonar fixes - RestMusicAdminAPI.java"Thomas Nelson1-114/+46
2019-01-25multiple sonar fixes - RestMusicAdminAPI.javaDriptaroop Das1-114/+46
multiple sonar fixes - RestMusicAdminAPI.java Updated to make the proper change. Response object was needed. Minor Bug fix from patch 2 Issue-ID: MUSIC-283 Change-Id: I0c1ac31f3482b32f2a796b842275c009126e1c2b Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com> Signed-off-by: Thomas Nelson <nelson24@att.com>
2019-01-25Merge "Sonar Fixes - MusicHealthCheck.java"Thomas Nelson1-2/+2
2019-01-18AppMessages.java - Sonar FixesDriptaroop Das1-16/+3
AppMessages.java - Sonar Fixes Issue-ID: MUSIC-275 Change-Id: I3de5a36510e1051efc8b68df995e2f88c38215bf Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-18Sonar Fixes - MusicHealthCheck.javaDriptaroop Das1-2/+2
Sonar Fixes - MusicHealthCheck.java Issue-ID: MUSIC-274 Change-Id: I0e63d3dabf47c2aa340408638c85dd2534baaf67 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-17Merge "fixed sonar issue in RestMusicDataAPI"Thomas Nelson1-7/+4
2019-01-17Merge "fixed sonar issue in RestMusicQAPI.java"Thomas Nelson1-17/+4
2019-01-17Merge "fixed sonar issues in RestMusicAdminAPI.java"Thomas Nelson1-6/+3
2019-01-17Merge "fixed sonar issue in MusicUtil.java"Thomas Nelson1-1/+3
2019-01-17Merge "fixed sonar issues in CachingUtil.java"Thomas Nelson1-5/+10
2019-01-17Merge "fixed sonar issue in ZNodeName.java"Thomas Nelson1-1/+3