aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2019-07-19Sonar Fix: AuthUtil.javaArundathi Patil1-2/+4
Fixed sonar issues across this file Issue-ID: MUSIC-460 Change-Id: Ib421c3980085a3114c4f2d3f102a391e9c8f2155 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-16Merge "Sonar Fix: Marked field as private"Thomas Nelson1-2/+2
2019-07-16Merge "Fixed sonar issues in MusicHealthCheck.java"Thomas Nelson1-3/+1
2019-07-11Sonar Fix: Marked field as privateSudarshan Kumar1-2/+2
Sonar Fix: Marked field as private Issue-ID: MUSIC-434 Change-Id: If2e2e405933173b2b5eb09f407492a5097f4a291 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-10Sonar Fix - Remove the boxing to BooleanSudarshan Kumar1-8/+10
Remove the boxing to Boolean. The argument is already of the same type Issue-ID: MUSIC-431 Change-Id: Ia5eb5f180d50fd8737c456ae53a493bbcb2b28a7 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-09Merge "Sonar reduce method parameter"Thomas Nelson3-19/+150
2019-07-09Merge "Sonar Fix - added static for the fields"Thomas Nelson1-3/+3
2019-07-09Merge "Sonar fix in RestMusicHealthCheckAPI.java"Thomas Nelson1-6/+8
2019-07-09Merge "MUSIC-ORM-Implemetation"Thomas Nelson11-644/+1872
2019-07-09Merge "Fixed sonar issues in MusicDataStoreHandle.java"Thomas Nelson1-3/+3
2019-07-09Sonar Fix - added static for the fieldsMamtha1-3/+3
Sonar Fix - added static for the fields Issue-ID: MUSIC-407 Change-Id: If9ce53f870381e10acf412163b409606ed128a5f Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2019-07-09Sonar fix- RestMusicVersionAPI.javaArundathi Patil1-7/+6
Fixed multiple sonar issues in this file Issue-ID: MUSIC-430 Change-Id: Ic8029d4c3b96f23ea18a94ca7f0683e10c9552d6 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-09Sonar fix in RestMusicHealthCheckAPI.javaArundathi Patil1-6/+8
Fixed sonar issues in this file Issue-ID: MUSIC-429 Change-Id: If56fa1064651e6df2c49fc5835efdd310ead5bbe Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-05Fixed sonar issues in MusicHealthCheck.javaArundathi Patil1-3/+1
Fixed multiple sonar issues across this file Issue-ID: MUSIC-428 Change-Id: I9e6843226bc3544411334af7070e5c67f072e159 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-05Fixed sonar issues in MusicDataStoreHandle.javaArundathi Patil1-3/+3
Fixed multiple sonar issues across this file Issue-ID: MUSIC-424 Change-Id: If2b132fc03e1ec3b3485774d708de06b1d12cd93 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-05Sonar reduce method parameterArindam Mondal3-19/+150
+)update ++)updateAtomic Issue-ID: MUSIC-408 Change-Id: I89d981a31a00f024b3a7be24f5845a0a40c4a6a2 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-07-02MUSIC-ORM-ImplemetationSudarshan Kumar11-644/+1872
MUSIC-ORM-Implemetation Issue-ID: MUSIC-348 Change-Id: Ifb6d4a1f331e080bdbeab236942e73ab13a69dad Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-01Enhance PreparedQueryObjectTschaen, Brendan1-13/+43
Change-Id: I3da1ff5b5e8b63b6cf15a16cec5660e9ec9cf73d Issue-ID: MUSIC-422 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-27Merge "Sonar fixes for MusicApplication"Brendan Tschaen3-35/+45
2019-06-26Sonar Changes for Authentication ClassesNelson, Thomas (tn1381)4-79/+120
Issue-ID: MUSIC-418 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com> Change-Id: I42240c66179a8a7a1b27093d3fffc180a73f4d14 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
2019-06-26Sonar fixes for MusicApplicationNelson, Thomas (tn1381)3-35/+45
and util files. Fixed Testing issuse Update Gitignore to include vscode. Issue-ID: MUSIC-419 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com> Change-Id: I202613f905e2ef0cde338e7c98074faf68bc649a Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
2019-06-25Merge "Some bug fixes and Minor Chages."Thomas Nelson27-636/+1051
2019-06-25Clean up some unneded files.Nelson, Thomas (tn1381)4-275/+0
Added a missed file. Issue-ID: MUSIC-415 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com> Change-Id: I5dac9778b975529dc5b34b1e771de0a046b925da Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
2019-06-25Some bug fixes and Minor Chages.Thomas Nelson arthudent327-636/+1051
Remove some Commented out code. Cleaned up Variables. Encryption of passwords added Updated Test Cases Fixed some errors in how they were reported. Reduced Logging clutter Some Vulnerability fixes. Change-Id: I64c7935d167d4a976681b5a18fd51aa667d0cd95 Issue-ID: MUSIC-413 Signed-off-by: Thomas Nelson arthudent3 <nelson24@att.com>
2019-06-12Use logger to log exceptionArindam Mondal1-3/+5
Issue-ID: MUSIC-410 Change-Id: Ief175a400c2c336eeb03807d71c4ef7a05a1b748 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-06-03Merge "Bug Fix for Empty Body."Brendan Tschaen3-35/+54
2019-06-02AuthUtil tests addedTschaen, Brendan2-41/+9
Change-Id: I78a13b43c85cb208c217841ed85eaf0284aad930 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-02Increase MusicUtil Code CoverageTschaen, Brendan1-16/+0
Change-Id: I99bdec64d00a3822e4f40ed75b496c591b070057 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-01Update unit tests for holders apiTschaen, Brendan1-1/+1
Change-Id: Ib4d6ce287cdacc2c0aad36c2936075087a9e6f49 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-05-28Bug Fix for Empty Body.Nelson, Thomas (arthurdent3)3-35/+54
Updated a few missing checks for this. Update api name, add properties to be more forgiving for lock type Change-Id: I4743110bdc654e4346052bd0e045270fd4925417 Issue-ID: MUSIC-398 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-05-17Merge "Update junit test"Brendan Tschaen1-2/+3
2019-05-16CADI and a few small updates.Nelson, Thomas (arthurdent3)32-2963/+2626
- Include CADI and remove Admin API and admin code. - A few Sonar Fixes. - Properties File Clean up. - Read/Write Locking API. - Various whitespace fixes. Issue-ID: MUSIC-394 Change-Id: I58e1b64b71796bb6bda1c97ea688f434a836d3c7 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-05-15Update junit testNelson, Thomas (arthurdent3)1-2/+3
Change-Id: I1c39d008958cebed0454b5a1f980e3c88082c876 Issue-ID: MUSIC-395 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-05-13Changes Listed below:Nelson, Thomas (arthurdent3)25-1165/+1644
- Added build version API - Updated Keyspace active to use Properties setting - Update Libraries Netty,jbcrypt,Jackson Databind and log4j - Removed some irrelivant files - Updated some usint tests to ignore some tests(This will be updated soon) - Bugfixes - Missing Values, inform user. - Respond with proper error - Fix Locking Contention issue. - Add locking retry for atomic calls. Change-Id: Ie218dd92edb0c20e4a0efe33eeaaec84e5293c44 Issue-ID: MUSIC-393 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-04-10Merge "Log stack traces with logger"Bharath Balasubramanian10-53/+112
2019-04-10Merge "Log exceptions from CachingUtil.java"Thomas Nelson1-26/+29
2019-03-28Log stack traces with loggerr.bogacki10-53/+112
Fixed critical sonar issues: -"Either log or rethrow this exception" Change-Id: I99a550f2cf40bd6c34a0f8ca1893c964669c76de Issue-ID: MUSIC-367 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-25Merge "Respond error codes responses for wrong urls"2.5.8Bharath Balasubramanian1-0/+2
2019-03-20Respond error codes responses for wrong urlsTschaen, Brendan1-0/+2
Change-Id: I7fddb09af825755394b0f75e993bc9ea64a8c82d Issue-ID: MUSIC-368 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-03-19Log exceptions from CachingUtil.javar.bogacki1-26/+29
Fixed critical sonar issues: -log exceptions stack traces -fixed imports. Change-Id: I4fc3c79852cd0c483abef975bcd7e535f3de48f3 Issue-ID: MUSIC-366 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-08Merge "Sonar Fixes - MusicDataStoreHandle.java"Thomas Nelson1-1/+2
2019-03-08Merge "CassaLockStore.java - Sonar Fixes"Thomas Nelson1-5/+5
2019-03-08Merge "RestMusicQAPI.java - Sonar Fixes"Thomas Nelson1-13/+9
2019-03-08Merge "Remove unused property file"Thomas Nelson1-257/+0
2019-03-07Remove unused property fileTschaen, Brendan1-257/+0
Change-Id: Iaf96335db0ddf6d719ce00ca0dafb7df420419ac Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-03-07Remove straggling zookeper referencesTschaen, Brendan5-34/+7
Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4faac78bc898b07902ce97ac6112f0dcd4a3729a
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