aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-06-26Sonar fixes for MusicApplicationNelson, Thomas (tn1381)5-37/+47
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 Nelson34-850/+1218
2019-06-25Clean up some unneded files.Nelson, Thomas (tn1381)8-535/+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-25Merge "added file to test MusicReponse.java"Thomas Nelson1-0/+62
2019-06-25Merge "added file to test AuthorisationError.java"Thomas Nelson1-0/+51
2019-06-25Merge "added file to test PreparedQueryObject"Thomas Nelson1-0/+75
2019-06-25Merge "added test case to JsonInsertTest.java"Thomas Nelson1-3/+11
2019-06-25Some bug fixes and Minor Chages.Thomas Nelson arthudent334-850/+1218
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-25added file to test AuthorisationError.javaSandeep J1-0/+51
to increase code coverage Issue-ID: MUSIC-412 Change-Id: I524de3158652b485bc50963313e6bbbf10fa8540 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-06-25added file to test PreparedQueryObjectSandeep J1-0/+75
to increase code coverage Issue-ID: MUSIC-412 Change-Id: Id231f3b0f122d9b9e95988a45eb8cd18ecdb0136 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-06-19Merge "added test cases to JsonResponseTest.java"Thomas Nelson1-0/+22
2019-06-17added test case to JsonOnboardTest.javaSandeep J1-1/+10
to increase code coverage Issue-ID: MUSIC-412 Change-Id: If3cea8de2e00fea19a5636e47fde9a30c2a395a8 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-06-17added file to test MusicReponse.javaSandeep J1-0/+62
to increase code coverage Issue-ID: MUSIC-412 Change-Id: I42f00d6d2379a56c2a8559872c41978aa886d64f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-06-17added test case to JsonInsertTest.javaSandeep J1-3/+11
to increase code coverage Issue-ID: MUSIC-412 Change-Id: I83d1d2f5d70ff5b73119f5c4e0d27e512de0f261 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-06-17added test cases to JsonResponseTest.javaSandeep J1-0/+22
to increase code coverage Issue-ID: MUSIC-412 Change-Id: Ia4e9c7772326e0011d0e63968f4dec9ce07249a9 Signed-off-by: Sandeep J <sandeejh@in.ibm.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 Tschaen4-35/+55
2019-06-02AuthUtil tests addedTschaen, Brendan4-41/+141
Change-Id: I78a13b43c85cb208c217841ed85eaf0284aad930 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-02Increase MusicUtil Code CoverageTschaen, Brendan2-16/+114
Change-Id: I99bdec64d00a3822e4f40ed75b496c591b070057 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-01Update unit tests for holders apiTschaen, Brendan3-3/+206
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)4-35/+55
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 Tschaen2-5/+23
2019-05-16CADI and a few small updates.Nelson, Thomas (arthurdent3)43-4332/+3003
- 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)2-5/+23
Change-Id: I1c39d008958cebed0454b5a1f980e3c88082c876 Issue-ID: MUSIC-395 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-05-13Changes Listed below:Nelson, Thomas (arthurdent3)31-1500/+1979
- 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-17Update logbax.xml and create test resources.Nelson,Thomas(tn1381)(arthurdent3)7-1/+445
Also update pom to reflect that test resources are located in a different dir. Issue-ID: MUSIC-365 Change-Id: Ie118621dfdea9819403d3adf4f9d54cd2571ecdc Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
2019-03-08Merge "Unit test coverage lines for MusicUtil.java"Thomas Nelson1-0/+7
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, Brendan7-39/+8
Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4faac78bc898b07902ce97ac6112f0dcd4a3729a
2019-02-28Complete new authentication across REST APIsTschaen, Brendan10-299/+106
Change-Id: I0d8ae84bdebbad986d557f722047318d5b72b591 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-27Admin api tests w/ mocked authorizationTschaen, Brendan5-141/+263
Change-Id: I2069a4c1e9e6985615fce77cfb2a255fc9e322f3 Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-26Test for wrong user, missing required inputsTschaen, Brendan2-16/+404
Change-Id: If7625349ea0cbb9bedf15554ca72d29dbaa1ba0d Issue-ID: MUSIC-341 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-26Remove zookeeper referenceTschaen, Brendan24-3113/+225
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 Nelson8-1363/+1342
2019-02-24RestMusicQAPI.java - Sonar FixesDriptaroop Das1-14/+9
RestMusicQAPI.java - Sonar Fixes Issue-ID: MUSIC-347 Change-Id: I165a64bb498b8f59e84538fd293fbea4ccd913e4 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-24CassaLockStore.java - Sonar FixesDriptaroop Das1-5/+5
CassaLockStore.java - Sonar Fixes Issue-ID: MUSIC-346 Change-Id: If26ec9ccaa8bf1b1cbd2aa2d848ad08b634cc611 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-22Create authentication interfaceTschaen, Brendan15-242/+333
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Caching util test casesTschaen, Brendan8-1363/+1342
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