music.git
4 years agoSonar Fix: Marked field as private 44/91244/1
Sudarshan Kumar [Thu, 11 Jul 2019 10:27:55 +0000 (15:57 +0530)]
Sonar Fix: Marked field as private

Sonar Fix: Marked field as private

Issue-ID: MUSIC-434
Change-Id: If2e2e405933173b2b5eb09f407492a5097f4a291
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
4 years agoMerge "Sonar reduce method parameter"
Thomas Nelson [Tue, 9 Jul 2019 14:49:05 +0000 (14:49 +0000)]
Merge "Sonar reduce method parameter"

4 years agoMerge "Sonar Fix - added static for the fields"
Thomas Nelson [Tue, 9 Jul 2019 14:48:20 +0000 (14:48 +0000)]
Merge "Sonar Fix -  added static for the fields"

4 years agoMerge "Sonar fix in RestMusicHealthCheckAPI.java"
Thomas Nelson [Tue, 9 Jul 2019 14:47:39 +0000 (14:47 +0000)]
Merge "Sonar fix in RestMusicHealthCheckAPI.java"

4 years agoMerge "MUSIC-ORM-Implemetation"
Thomas Nelson [Tue, 9 Jul 2019 14:46:36 +0000 (14:46 +0000)]
Merge "MUSIC-ORM-Implemetation"

4 years agoMerge "Fixed sonar issues in MusicDataStoreHandle.java"
Thomas Nelson [Tue, 9 Jul 2019 14:44:36 +0000 (14:44 +0000)]
Merge "Fixed sonar issues in MusicDataStoreHandle.java"

4 years agoSonar Fix - added static for the fields 84/91084/1
Mamtha [Tue, 9 Jul 2019 11:43:28 +0000 (17:13 +0530)]
Sonar Fix -  added static for the fields

Sonar Fix -  added static for the fields

Issue-ID: MUSIC-407
Change-Id: If9ce53f870381e10acf412163b409606ed128a5f
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agoSonar fix- RestMusicVersionAPI.java 60/91060/1
Arundathi Patil [Tue, 9 Jul 2019 03:27:45 +0000 (08:57 +0530)]
Sonar fix- RestMusicVersionAPI.java

Fixed multiple sonar issues in this file

Issue-ID: MUSIC-430
Change-Id: Ic8029d4c3b96f23ea18a94ca7f0683e10c9552d6
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoSonar fix in RestMusicHealthCheckAPI.java 59/91059/1
Arundathi Patil [Tue, 9 Jul 2019 03:17:49 +0000 (08:47 +0530)]
Sonar fix in RestMusicHealthCheckAPI.java

Fixed sonar issues in this file

Issue-ID: MUSIC-429
Change-Id: If56fa1064651e6df2c49fc5835efdd310ead5bbe
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoFixed sonar issues in MusicDataStoreHandle.java 67/90967/1
Arundathi Patil [Fri, 5 Jul 2019 15:27:20 +0000 (20:57 +0530)]
Fixed sonar issues in MusicDataStoreHandle.java

Fixed multiple sonar issues across this file

Issue-ID: MUSIC-424
Change-Id: If2b132fc03e1ec3b3485774d708de06b1d12cd93
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoSonar reduce method parameter 39/89339/2
Arindam Mondal [Wed, 5 Jun 2019 09:25:23 +0000 (18:25 +0900)]
Sonar reduce method parameter

+)update
++)updateAtomic

Issue-ID: MUSIC-408
Change-Id: I89d981a31a00f024b3a7be24f5845a0a40c4a6a2
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
4 years agoMUSIC-ORM-Implemetation 14/90614/2
Sudarshan Kumar [Thu, 27 Jun 2019 18:55:15 +0000 (00:25 +0530)]
MUSIC-ORM-Implemetation

MUSIC-ORM-Implemetation

Issue-ID: MUSIC-348
Change-Id: Ifb6d4a1f331e080bdbeab236942e73ab13a69dad
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
4 years agoEnhance PreparedQueryObject 50/90750/1
Tschaen, Brendan [Mon, 1 Jul 2019 19:00:07 +0000 (15:00 -0400)]
Enhance PreparedQueryObject

Change-Id: I3da1ff5b5e8b63b6cf15a16cec5660e9ec9cf73d
Issue-ID: MUSIC-422
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
4 years agoMerge "Update Netty Library version"
Brendan Tschaen [Thu, 27 Jun 2019 16:07:50 +0000 (16:07 +0000)]
Merge "Update Netty Library version"

4 years agoMerge "Sonar fixes for MusicApplication"
Brendan Tschaen [Thu, 27 Jun 2019 15:55:01 +0000 (15:55 +0000)]
Merge "Sonar fixes for MusicApplication"

4 years agoUpdate Netty Library version 40/90540/1
Nelson, Thomas (tn1381) [Wed, 26 Jun 2019 15:54:59 +0000 (11:54 -0400)]
Update Netty Library version

Issue-ID: MUSIC-406
Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
Change-Id: I088f6e727ad10971e245508ba862272d43170080

4 years agoSonar Changes for Authentication Classes 90/90490/2
Nelson, Thomas (tn1381) [Tue, 25 Jun 2019 23:44:53 +0000 (19:44 -0400)]
Sonar Changes for Authentication Classes

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>
4 years agoSonar fixes for MusicApplication 89/90489/2
Nelson, Thomas (tn1381) [Tue, 25 Jun 2019 23:48:27 +0000 (19:48 -0400)]
Sonar fixes for MusicApplication

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>
4 years agoMerge "Some bug fixes and Minor Chages."
Thomas Nelson [Tue, 25 Jun 2019 14:31:10 +0000 (14:31 +0000)]
Merge "Some bug fixes and Minor Chages."

4 years agoClean up some unneded files. 46/90446/3
Nelson, Thomas (tn1381) [Tue, 25 Jun 2019 13:06:58 +0000 (09:06 -0400)]
Clean up some unneded files.

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>
4 years agoMerge "added file to test MusicReponse.java"
Thomas Nelson [Tue, 25 Jun 2019 13:39:22 +0000 (13:39 +0000)]
Merge "added file to test MusicReponse.java"

4 years agoMerge "added file to test AuthorisationError.java"
Thomas Nelson [Tue, 25 Jun 2019 13:25:03 +0000 (13:25 +0000)]
Merge "added file to test AuthorisationError.java"

4 years agoMerge "added file to test PreparedQueryObject"
Thomas Nelson [Tue, 25 Jun 2019 13:24:50 +0000 (13:24 +0000)]
Merge "added file to test PreparedQueryObject"

4 years agoMerge "added test case to JsonInsertTest.java"
Thomas Nelson [Tue, 25 Jun 2019 13:23:39 +0000 (13:23 +0000)]
Merge "added test case to JsonInsertTest.java"

4 years agoSome bug fixes and Minor Chages. 01/90201/2
Thomas Nelson arthudent3 [Wed, 19 Jun 2019 22:19:10 +0000 (22:19 +0000)]
Some bug fixes and Minor Chages.

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>
4 years agoadded file to test AuthorisationError.java 39/90439/1
Sandeep J [Tue, 25 Jun 2019 10:31:45 +0000 (16:01 +0530)]
added file to test AuthorisationError.java

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: I524de3158652b485bc50963313e6bbbf10fa8540
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoadded file to test PreparedQueryObject 33/90433/1
Sandeep J [Tue, 25 Jun 2019 10:06:03 +0000 (15:36 +0530)]
added file to test PreparedQueryObject

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: Id231f3b0f122d9b9e95988a45eb8cd18ecdb0136
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoFix missed Log output 94/90194/1
Nelson, Thomas (tn1381) [Wed, 19 Jun 2019 21:24:19 +0000 (17:24 -0400)]
Fix missed Log output

Issue-ID: MUSIC-406
Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
Change-Id: I5a835b1bec73764b77b2e354284be98b7e87f919

4 years agoMerge "Update Version to Snapshot and"
Thomas Nelson [Wed, 19 Jun 2019 14:37:14 +0000 (14:37 +0000)]
Merge "Update Version to Snapshot and"

4 years agoMerge "added test cases to JsonResponseTest.java"
Thomas Nelson [Wed, 19 Jun 2019 13:41:03 +0000 (13:41 +0000)]
Merge "added test cases to JsonResponseTest.java"

4 years agoUpdate Version to Snapshot and 18/90018/1
Nelson, Thomas (tn1381) [Mon, 17 Jun 2019 15:02:28 +0000 (15:02 +0000)]
Update Version to Snapshot and

Update lbcrypt library to new versionZ

Issue-ID: MUSIC-406

Change-Id: I14a81b89287c90a2c91a0f4ef09675a348aef67a
Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
4 years agoadded test case to JsonOnboardTest.java 85/89985/2
Sandeep J [Mon, 17 Jun 2019 08:05:43 +0000 (13:35 +0530)]
added test case to JsonOnboardTest.java

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: If3cea8de2e00fea19a5636e47fde9a30c2a395a8
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoadded file to test MusicReponse.java 87/89987/1
Sandeep J [Mon, 17 Jun 2019 08:20:03 +0000 (13:50 +0530)]
added file to test MusicReponse.java

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: I42f00d6d2379a56c2a8559872c41978aa886d64f
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoadded test case to JsonInsertTest.java 84/89984/1
Sandeep J [Mon, 17 Jun 2019 07:58:21 +0000 (13:28 +0530)]
added test case to JsonInsertTest.java

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: I83d1d2f5d70ff5b73119f5c4e0d27e512de0f261
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoadded test cases to JsonResponseTest.java 83/89983/1
Sandeep J [Mon, 17 Jun 2019 07:49:05 +0000 (13:19 +0530)]
added test cases to JsonResponseTest.java

to increase code coverage

Issue-ID: MUSIC-412
Change-Id: Ia4e9c7772326e0011d0e63968f4dec9ce07249a9
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
4 years agoUse logger to log exception 28/89728/1
Arindam Mondal [Wed, 12 Jun 2019 04:11:56 +0000 (13:11 +0900)]
Use logger to log exception

Issue-ID: MUSIC-410
Change-Id: Ief175a400c2c336eeb03807d71c4ef7a05a1b748
Signed-off-by: arind.mondal <arind.mondal@samsung.com>
4 years agoDublin Release Notes 27/89527/1
Tschaen, Brendan [Thu, 6 Jun 2019 15:09:32 +0000 (11:09 -0400)]
Dublin Release Notes

Change-Id: Ifa6615aa9cc0d9279250c49a8c9062137531b384
Issue-ID: MUSIC-409
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
4 years agoFix vulnerability in code where password is 67/89267/1
Nelson, Thomas (tn1381) [Tue, 4 Jun 2019 16:49:02 +0000 (12:49 -0400)]
Fix vulnerability in code where password is

being exposed in logs.

Issue-ID: MUSIC-406
Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
Change-Id: I5af16bf25a967ae27875b8c42cf746c3fa857a27

4 years agoMerge "Bug Fix for Empty Body."
Brendan Tschaen [Mon, 3 Jun 2019 16:53:28 +0000 (16:53 +0000)]
Merge "Bug Fix for Empty Body."

4 years agoAuthUtil tests added 07/89107/2
Tschaen, Brendan [Sun, 2 Jun 2019 23:00:24 +0000 (19:00 -0400)]
AuthUtil tests added

Change-Id: I78a13b43c85cb208c217841ed85eaf0284aad930
Issue-ID: MUSIC-405
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
4 years agoIncrease MusicUtil Code Coverage 04/89104/1
Tschaen, Brendan [Sun, 2 Jun 2019 17:56:14 +0000 (13:56 -0400)]
Increase MusicUtil Code Coverage

Change-Id: I99bdec64d00a3822e4f40ed75b496c591b070057
Issue-ID: MUSIC-405
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
4 years agoUpdate unit tests for holders api 97/89097/1
Tschaen, Brendan [Sun, 2 Jun 2019 01:26:25 +0000 (21:26 -0400)]
Update unit tests for holders api

Change-Id: Ib4d6ce287cdacc2c0aad36c2936075087a9e6f49
Issue-ID: MUSIC-405
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
4 years agoBug Fix for Empty Body. 91/88591/1
Nelson, Thomas (arthurdent3) [Tue, 28 May 2019 04:18:08 +0000 (04:18 +0000)]
Bug Fix for Empty Body.

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>
4 years agoMerge "Update junit test"
Brendan Tschaen [Fri, 17 May 2019 14:49:51 +0000 (14:49 +0000)]
Merge "Update junit test"

4 years agoCADI and a few small updates. 07/87707/2
Nelson, Thomas (arthurdent3) [Tue, 14 May 2019 20:23:59 +0000 (20:23 +0000)]
CADI and a few small updates.

- 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>
4 years agoUpdate junit test 95/87795/1
Nelson, Thomas (arthurdent3) [Wed, 15 May 2019 17:59:33 +0000 (17:59 +0000)]
Update junit test

Change-Id: I1c39d008958cebed0454b5a1f980e3c88082c876
Issue-ID: MUSIC-395
Signed-off-by: Nelson, Thomas (arthurdent3) <nelson24@att.com>
4 years agoChanges Listed below: 63/87363/4
Nelson, Thomas (arthurdent3) [Thu, 9 May 2019 14:16:37 +0000 (14:16 +0000)]
Changes Listed below:

- 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>
4 years agoUpdate oparent version 68/86768/1
Jessica Wagantall [Thu, 2 May 2019 02:15:57 +0000 (19:15 -0700)]
Update oparent version

Update oparent version to 2.0.0 which supports
global-jjb maven-stage job.

Change-Id: I14f32e240505dd9fd1ecd6708560a191e420e67f
Issue-ID: CIMAN-234
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoMerge "Log stack traces with logger"
Bharath Balasubramanian [Wed, 10 Apr 2019 20:48:49 +0000 (20:48 +0000)]
Merge "Log stack traces with logger"

5 years agoMerge "Log exceptions from CachingUtil.java"
Thomas Nelson [Wed, 10 Apr 2019 12:36:23 +0000 (12:36 +0000)]
Merge "Log exceptions from CachingUtil.java"

5 years agoRemoving failing trigger job 64/84264/2
Tschaen, Brendan [Thu, 4 Apr 2019 17:33:59 +0000 (13:33 -0400)]
Removing failing trigger job

Change-Id: Ibe27bfd3bc152b09db4363bfb2151dbb7da25645
Issue-ID: MUSIC-375
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoLog stack traces with logger 76/82676/2
r.bogacki [Tue, 19 Mar 2019 13:27:16 +0000 (14:27 +0100)]
Log stack traces with logger

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>
5 years agoMerge "Respond error codes responses for wrong urls" 2.5.8
Bharath Balasubramanian [Mon, 25 Mar 2019 23:12:05 +0000 (23:12 +0000)]
Merge "Respond error codes responses for wrong urls"

5 years agoRespond error codes responses for wrong urls 38/82838/1
Tschaen, Brendan [Wed, 20 Mar 2019 17:53:28 +0000 (13:53 -0400)]
Respond error codes responses for wrong urls

Change-Id: I7fddb09af825755394b0f75e993bc9ea64a8c82d
Issue-ID: MUSIC-368
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoLog exceptions from CachingUtil.java 50/82650/1
r.bogacki [Tue, 19 Mar 2019 09:26:32 +0000 (10:26 +0100)]
Log exceptions from CachingUtil.java

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>
5 years agoMerge "Update logbax.xml and create test resources."
Bharath Balasubramanian [Mon, 18 Mar 2019 13:34:20 +0000 (13:34 +0000)]
Merge "Update logbax.xml and create test resources."

5 years agoUpdate logbax.xml and create test resources. 31/82531/1
Nelson,Thomas(tn1381)(arthurdent3) [Sun, 17 Mar 2019 05:15:13 +0000 (01:15 -0400)]
Update logbax.xml and create test resources.

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>
5 years agoUpdate INFO.yaml file 25/82325/1
Jessica Wagantall [Fri, 15 Mar 2019 01:21:14 +0000 (18:21 -0700)]
Update INFO.yaml file

Update missing information blocks and
indentation to pass verify job.

Change-Id: Id022875a769806aff7f130c289230dca3312b2f0
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoMerge "update version of jackson datatype"
Bharath Balasubramanian [Mon, 11 Mar 2019 20:40:34 +0000 (20:40 +0000)]
Merge "update version of jackson datatype"

5 years agoMerge "Unit test coverage lines for MusicUtil.java"
Thomas Nelson [Fri, 8 Mar 2019 21:31:42 +0000 (21:31 +0000)]
Merge "Unit test coverage lines for MusicUtil.java"

5 years agoMerge "Sonar Fixes - MusicDataStoreHandle.java"
Thomas Nelson [Fri, 8 Mar 2019 21:30:31 +0000 (21:30 +0000)]
Merge "Sonar Fixes - MusicDataStoreHandle.java"

5 years agoMerge "CassaLockStore.java - Sonar Fixes"
Thomas Nelson [Fri, 8 Mar 2019 21:30:09 +0000 (21:30 +0000)]
Merge "CassaLockStore.java - Sonar Fixes"

5 years agoMerge "RestMusicQAPI.java - Sonar Fixes"
Thomas Nelson [Fri, 8 Mar 2019 21:29:35 +0000 (21:29 +0000)]
Merge "RestMusicQAPI.java - Sonar Fixes"

5 years agoMerge "Remove unused property file"
Thomas Nelson [Fri, 8 Mar 2019 21:28:20 +0000 (21:28 +0000)]
Merge "Remove unused property file"

5 years agoMerge "Remove straggling zookeper references"
Thomas Nelson [Fri, 8 Mar 2019 21:27:57 +0000 (21:27 +0000)]
Merge "Remove straggling zookeper references"

5 years agoupdate version of jackson datatype 75/81875/1
Nelson,Thomas(tn1381)(arthurdent3) [Fri, 8 Mar 2019 21:07:52 +0000 (16:07 -0500)]
update version of jackson datatype

this is to resolve a vulnerbility.
Issue-ID: MUSIC-363

Change-Id: Ieef2f72adc8cb3258e334cc454475d764f7ee52f
Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
5 years agoRemove unused property file 48/79948/1
Tschaen, Brendan [Thu, 7 Mar 2019 22:00:20 +0000 (17:00 -0500)]
Remove unused property file

Change-Id: Iaf96335db0ddf6d719ce00ca0dafb7df420419ac
Issue-ID: MUSIC-361
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoRemove straggling zookeper references 47/79947/1
Tschaen, Brendan [Thu, 7 Mar 2019 21:43:47 +0000 (16:43 -0500)]
Remove straggling zookeper references

Issue-ID: MUSIC-361
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I4faac78bc898b07902ce97ac6112f0dcd4a3729a

5 years agoUpdate voting app with basic auth 44/79944/1
Tschaen, Brendan [Thu, 7 Mar 2019 21:02:44 +0000 (16:02 -0500)]
Update voting app with basic auth

Change-Id: Ia9ec983950faa651d31b07fe19934cf4fe389421
Issue-ID: MUSIC-360
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoComplete new authentication across REST APIs 94/79394/2
Tschaen, Brendan [Thu, 28 Feb 2019 18:57:51 +0000 (13:57 -0500)]
Complete new authentication across REST APIs

Change-Id: I0d8ae84bdebbad986d557f722047318d5b72b591
Issue-ID: MUSIC-345
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoAdmin api tests w/ mocked authorization 05/79305/1
Tschaen, Brendan [Wed, 27 Feb 2019 21:44:36 +0000 (16:44 -0500)]
Admin api tests w/ mocked authorization

Change-Id: I2069a4c1e9e6985615fce77cfb2a255fc9e322f3
Issue-ID: MUSIC-341
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoTest for wrong user, missing required inputs 28/79228/1
Tschaen, Brendan [Tue, 26 Feb 2019 22:35:35 +0000 (17:35 -0500)]
Test for wrong user, missing required inputs

Change-Id: If7625349ea0cbb9bedf15554ca72d29dbaa1ba0d
Issue-ID: MUSIC-341
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoRemove zookeeper reference 36/79136/2
Tschaen, Brendan [Mon, 25 Feb 2019 22:31:00 +0000 (17:31 -0500)]
Remove zookeeper reference

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>
5 years agoMerge "Sonar Fixes - CadiAuthFilter.java"
Thomas Nelson [Mon, 25 Feb 2019 22:38:33 +0000 (22:38 +0000)]
Merge "Sonar Fixes - CadiAuthFilter.java"

5 years agoMerge "Caching util test cases"
Thomas Nelson [Mon, 25 Feb 2019 22:37:37 +0000 (22:37 +0000)]
Merge "Caching util test cases"

5 years agoRestMusicQAPI.java - Sonar Fixes 74/79074/1
Driptaroop Das [Sun, 24 Feb 2019 18:06:40 +0000 (23:36 +0530)]
RestMusicQAPI.java - Sonar Fixes

RestMusicQAPI.java - Sonar Fixes

Issue-ID: MUSIC-347
Change-Id: I165a64bb498b8f59e84538fd293fbea4ccd913e4
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoCassaLockStore.java - Sonar Fixes 72/79072/1
Driptaroop Das [Sun, 24 Feb 2019 17:58:20 +0000 (23:28 +0530)]
CassaLockStore.java - Sonar Fixes

CassaLockStore.java - Sonar Fixes

Issue-ID: MUSIC-346
Change-Id: If26ec9ccaa8bf1b1cbd2aa2d848ad08b634cc611
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoCreate authentication interface 26/79026/1
Tschaen, Brendan [Fri, 22 Feb 2019 15:41:19 +0000 (10:41 -0500)]
Create authentication interface

Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79
Issue-ID: MUSIC-345
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoCaching util test cases 72/78972/2
Tschaen, Brendan [Thu, 21 Feb 2019 21:00:27 +0000 (16:00 -0500)]
Caching util test cases

And cleaning up of other tests

Issue-ID: MUSIC-341
Change-Id: Ida4ee49b2a923c64a2ce66c310db9b0dd502b8d7
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoMerge "Sonar vulnerability fixes in MusicDataStoreHandle"
Thomas Nelson [Thu, 21 Feb 2019 14:16:45 +0000 (14:16 +0000)]
Merge "Sonar vulnerability fixes in MusicDataStoreHandle"

5 years agoMerge "Fixed major Sonar issues in JsonDelete"
Thomas Nelson [Thu, 21 Feb 2019 14:14:10 +0000 (14:14 +0000)]
Merge "Fixed major Sonar issues in JsonDelete"

5 years agoConditional test cases 87/78887/4
Tschaen, Brendan [Thu, 21 Feb 2019 00:31:04 +0000 (19:31 -0500)]
Conditional test cases

Additional coverage for other tests.
Remove unused Benchmark api

Change-Id: Ib091f1827a226a4a50e3427b20af4c8b12c363c3
Issue-ID: MUSIC-341
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
5 years agoUpdate MUSIC test cases. 68/78868/1
Tschaen, Brendan [Wed, 20 Feb 2019 19:35:04 +0000 (14:35 -0500)]
Update MUSIC test cases.

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>
5 years agoMerge "MusicHealthCheck.java - Multiple Sonar Fixes"
Thomas Nelson [Wed, 20 Feb 2019 18:55:43 +0000 (18:55 +0000)]
Merge "MusicHealthCheck.java - Multiple Sonar Fixes"

5 years agoSonar Fixes - MusicDataStoreHandle.java 74/78774/1
Driptaroop Das [Tue, 19 Feb 2019 19:08:32 +0000 (00:38 +0530)]
Sonar Fixes - MusicDataStoreHandle.java

Sonar Fixes - MusicDataStoreHandle.java

Issue-ID: MUSIC-340
Change-Id: I693e1bc924df35e173036b0df34cd1d17d36a1c8
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoFixed major Sonar issues in JsonDelete 40/78740/3
r.bogacki [Tue, 19 Feb 2019 10:24:29 +0000 (11:24 +0100)]
Fixed major Sonar issues in JsonDelete

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>
5 years agoSonar vulnerability fixes in MusicDataStoreHandle 39/78639/1
r.bogacki [Mon, 18 Feb 2019 09:42:11 +0000 (10:42 +0100)]
Sonar vulnerability fixes in MusicDataStoreHandle

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>
5 years agoTesting gerrit flow for Issue-ID: MUSIC-294 14/78514/1
Bharath [Thu, 14 Feb 2019 17:46:34 +0000 (12:46 -0500)]
Testing gerrit flow for Issue-ID: MUSIC-294

Change-Id: I1563ecc92214472333d457116a19b1beadfb2d52
Signed-off-by: Bharath <bharathb@research.att.com>
5 years agoMerge "Introduced local variable"
Thomas Nelson [Thu, 14 Feb 2019 17:18:49 +0000 (17:18 +0000)]
Merge "Introduced local variable"

5 years agoMerge "Fixed Sonar issues in ZkStatelessLockService"
Thomas Nelson [Thu, 14 Feb 2019 17:14:51 +0000 (17:14 +0000)]
Merge "Fixed Sonar issues in ZkStatelessLockService"

5 years agoMerge "Added test case to improve code coverage"
Thomas Nelson [Thu, 14 Feb 2019 17:12:12 +0000 (17:12 +0000)]
Merge "Added test case to improve code coverage"

5 years agoMerge "Removed Duplicate logger statements"
Thomas Nelson [Thu, 14 Feb 2019 16:55:46 +0000 (16:55 +0000)]
Merge "Removed Duplicate logger statements"

5 years agoUnit test coverage lines for MusicUtil.java 78/78478/1
Driptaroop Das [Thu, 14 Feb 2019 12:44:16 +0000 (18:14 +0530)]
Unit test coverage lines for MusicUtil.java

Unit test coverage lines for MusicUtil.java

Issue-ID: MUSIC-332
Change-Id: I26afea2e78a1bf23cfa61f413cae48c80d187f3c
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoFixed Sonar issues in ZkStatelessLockService 73/78273/3
r.bogacki [Tue, 12 Feb 2019 09:19:11 +0000 (10:19 +0100)]
Fixed Sonar issues in ZkStatelessLockService

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>
5 years agoMerge "Sonar code duplicates moved to MusicUtil.java"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:47:17 +0000 (13:47 +0000)]
Merge "Sonar code duplicates moved to MusicUtil.java"

5 years agoMerge "Sonar Vulnerability Fixes: CachingUtil.java"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:46:44 +0000 (13:46 +0000)]
Merge "Sonar Vulnerability Fixes: CachingUtil.java"

5 years agoMerge "Added unit test case"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:46:38 +0000 (13:46 +0000)]
Merge "Added unit test case"

5 years agoMerge "added local variable instead of using method args"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:46:24 +0000 (13:46 +0000)]
Merge "added local variable instead of using method args"

5 years agoMerge "Sonar vulnerability fixes in CronJobManager"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:46:18 +0000 (13:46 +0000)]
Merge "Sonar vulnerability fixes in CronJobManager"

5 years agoMerge "Cleaning up Sonar issues in JerseyConfig"
Bharath Balasubramanian [Wed, 13 Feb 2019 13:46:11 +0000 (13:46 +0000)]
Merge "Cleaning up Sonar issues in JerseyConfig"