aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-06-25Some bug fixes and Minor Chages.Thomas Nelson arthudent35-152/+166
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-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 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-02AuthUtil tests addedTschaen, Brendan2-0/+132
Change-Id: I78a13b43c85cb208c217841ed85eaf0284aad930 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-02Increase MusicUtil Code CoverageTschaen, Brendan1-0/+114
Change-Id: I99bdec64d00a3822e4f40ed75b496c591b070057 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-06-01Update unit tests for holders apiTschaen, Brendan2-2/+205
Change-Id: Ib4d6ce287cdacc2c0aad36c2936075087a9e6f49 Issue-ID: MUSIC-405 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-05-17Merge "Update junit test"Brendan Tschaen1-3/+20
2019-05-16CADI and a few small updates.Nelson, Thomas (arthurdent3)10-1368/+376
- 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-3/+20
Change-Id: I1c39d008958cebed0454b5a1f980e3c88082c876 Issue-ID: MUSIC-395 Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
2019-05-13Changes Listed below:Nelson, Thomas (arthurdent3)3-55/+77
- 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-03-17Update logbax.xml and create test resources.Nelson,Thomas(tn1381)(arthurdent3)6-0/+444
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-07Remove straggling zookeper referencesTschaen, Brendan2-5/+1
Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4faac78bc898b07902ce97ac6112f0dcd4a3729a
2019-02-28Complete new authentication across REST APIsTschaen, Brendan1-3/+3
Change-Id: I0d8ae84bdebbad986d557f722047318d5b72b591 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-27Admin api tests w/ mocked authorizationTschaen, Brendan4-140/+262
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, Brendan8-1023/+201
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 "Caching util test cases"Thomas Nelson6-1255/+1244
2019-02-22Create authentication interfaceTschaen, Brendan5-10/+8
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Caching util test casesTschaen, Brendan6-1255/+1244
And cleaning up of other tests Issue-ID: MUSIC-341 Change-Id: Ida4ee49b2a923c64a2ce66c310db9b0dd502b8d7 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Merge "Fixed major Sonar issues in JsonDelete"Thomas Nelson1-8/+7
2019-02-20Conditional test casesTschaen, Brendan5-400/+722
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, Brendan8-3856/+2022
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-19Fixed major Sonar issues in JsonDeleter.bogacki1-8/+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-14Merge "Added test case to improve code coverage"Thomas Nelson1-2/+16
2019-02-14Unit test coverage lines for MusicUtil.javaDriptaroop Das1-0/+7
Unit test coverage lines for MusicUtil.java Issue-ID: MUSIC-332 Change-Id: I26afea2e78a1bf23cfa61f413cae48c80d187f3c Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-13Merge "Added unit test case"Bharath Balasubramanian1-0/+8
2019-02-13Added test case to improve code coverageJegadeesh Babu1-2/+16
Added test case to improve code coverage Issue-ID: MUSIC-324 Change-Id: I0bec3c6a1d890cd920fe9a21de7e75590114f48d Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-06Added unit test caseJegadeesh Babu1-0/+8
Added unit test case to reach min coverage limit Issue-ID: MUSIC-308 Change-Id: I4b96218d977c176285abe1903bf570e3525a9ce2 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-05Merge changes from topic 'sudars_19_music_291_1'Thomas Nelson2-0/+263
* changes: MusicServiceException-Junit test cases added MusicQueryException - Junit Test Case Added
2019-02-05Merge "MusicPolicyVoilationException-Junit TestCase added"Thomas Nelson1-0/+106
2019-02-05Merge "MusicLockingExceptionTest - Junit test cases"Thomas Nelson1-0/+104
2019-01-31Remove callback testsTschaen, Brendan2-211/+0
Change-Id: I11b3571ed5b6483c32cd0cc81a9f1e9d5aa3899b Issue-ID: MUSIC-300 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-01-30Merge "Push variuos changes"Bharath Balasubramanian21-673/+2041
2019-01-30Merge "added test file for MusicDigest.java"Bharath Balasubramanian1-0/+60
2019-01-30Merge "added file to test JsonCallBackResponse.java"Bharath Balasubramanian1-0/+108
2019-01-30Merge "added file to test JsonCallBack.java"Bharath Balasubramanian1-0/+103
2019-01-29Push variuos changesNelson,Thomas(tn1381)(arthurdent3)23-644/+2146
- 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-29Merge "added test case to JsonUpdateTest.java"Thomas Nelson1-0/+7
2019-01-29Merge "added test case to JsonTableTest.java"Thomas Nelson1-0/+8
2019-01-29Merge "added test file for AppMessages.java"Thomas Nelson1-0/+65
2019-01-29MusicServiceException-Junit test cases addedSudarshan Kumar1-0/+145
MusicServiceException-Junit test cases added Issue-ID: MUSIC-293 Change-Id: I101a1efc50a0e34d4610e8821f50e6e426849bff Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-29MusicQueryException - Junit Test Case AddedSudarshan Kumar1-0/+118
MusicQueryException - Junit Test Case Added Issue-ID: MUSIC-292 Change-Id: I7211cd1d714707370ba4c676b5a78f4772336905 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-29MusicPolicyVoilationException-Junit TestCase addedSudarshan Kumar1-0/+106
MusicPolicyVoilationException-Junit Testcase added Issue-ID: MUSIC-291 Change-Id: Ib4bb2ce2257f5fdf2293828acddf54ed9fdddb79 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-28added test file for AppMessages.javaSandeep J1-0/+65
to increase code coverage Issue-ID: MUSIC-182 Change-Id: I0293f5d22dfa5ff0f9ba043fd32880e247acfdac Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-28added test file for MusicHealthCheck.javaSandeep J1-0/+54
to increase code coverage Issue-ID: MUSIC-182 Change-Id: I5dd50042d302f6637c184e4df2bef8df95a326d9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-25Merge "added test cases to JsonResponseTest.java"release-3.0.24Thomas Nelson1-0/+45
2019-01-25Merge "Additional Test Case Added"Thomas Nelson1-2/+16
2019-01-25Merge "added file to test JsonNotification.java"Thomas Nelson1-0/+116