aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/datastore
AgeCommit message (Collapse)AuthorFilesLines
2019-09-26Split music src into music-core and music-restArthur Martella14-3027/+0
Separating music into two directories to build with two pom files. Hopefully this should allow both jars to be deployed in nexus. Do not merge without careful review!!! Issue-ID: MUSIC-505 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com> Change-Id: I9dd2074e7f4499216c2bcd00095829dd43e2d0f9
2019-09-26Read lock promotionTschaen, Brendan1-79/+22
Change-Id: Ib2515c728503fb729e6ecc2e09973bbfa9e2e317 Issue-ID: MUSIC-508 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-09-17Merge "Deadlock detection by owner"Thomas Nelson1-1/+22
2019-09-16Deadlock detection by ownerArthur Martella1-1/+22
Issue-ID: MUSIC-502 Signed-off-by: Martella, Arthur <arthur.martella.1@att.com> Change-Id: Iec20cfeec96d7031c691055ffba2f65c34854adf
2019-08-29sonar-463 Immediately return this expression instead of assigning it to the ↵Thugutla sailakshmi1-2/+1
temporary variable "ks" Immediately return this expression Issue-ID: MUSIC-463 Change-Id: Idd4745e9b6c6c956d736172302d272ec20946048 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-16Issue-ID: MUSIC-481. Removed commented out lines of code.Mamtha5-26/+5
Issue-ID: MUSIC-481. Removed commented out code. Code cleanup Change-Id: I1565f2d9312a9d6daa232074fee35577dfe197c2 Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2019-08-12Sonar Fix: Removed commented out lines of codeMamtha1-12/+0
Sonar Fix: Removed commented out lines of code. Issue-ID: MUSIC-481 Change-Id: Iee6d633697949f22d2d00069f12fba8253bb2a07 Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2019-07-19Sonar Fix: JsonSelect.javaArundathi Patil1-1/+1
Fixed sonar issues in this file Issue-ID: MUSIC-426 Change-Id: I3080f15e2ba3909db21c5c529a0ed2b58ceeff41 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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-09Merge "MUSIC-ORM-Implemetation"Thomas Nelson7-12/+1401
2019-07-09Merge "Fixed sonar issues in MusicDataStoreHandle.java"Thomas Nelson1-3/+3
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-02MUSIC-ORM-ImplemetationSudarshan Kumar7-12/+1401
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-25Merge "Some bug fixes and Minor Chages."Thomas Nelson4-38/+41
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 arthudent34-38/+41
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-05-17Merge "Update junit test"Brendan Tschaen1-2/+3
2019-05-16CADI and a few small updates.Nelson, Thomas (arthurdent3)6-7/+52
- 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)6-95/+182
- 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-28Log stack traces with loggerr.bogacki1-8/+16
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-08Merge "Sonar Fixes - MusicDataStoreHandle.java"Thomas Nelson1-1/+2
2019-02-25Merge "Caching util test cases"Thomas Nelson1-10/+0
2019-02-22Create authentication interfaceTschaen, Brendan1-1/+1
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Caching util test casesTschaen, Brendan1-10/+0
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-20Sonar Fixes - MusicDataStoreHandle.javaDriptaroop Das1-2/+2
Sonar Fixes - MusicDataStoreHandle.java Issue-ID: MUSIC-340 Change-Id: I693e1bc924df35e173036b0df34cd1d17d36a1c8 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-19Fixed major Sonar issues in JsonDeleter.bogacki1-4/+6
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-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-01-29Push variuos changesNelson,Thomas(tn1381)(arthurdent3)19-556/+476
- 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-14Merge "Fixed sonar fix in JsonNotification.java"Bharath Balasubramanian1-0/+8
2019-01-14Merge "Fixed sonar issue in JsonInsert.java"Bharath Balasubramanian1-6/+13
2019-01-14Merge "Fixed sonar issues in JSONCallbackResponse.java"Bharath Balasubramanian1-12/+12
2018-12-12Fixed sonar issues in JSONCallbackResponse.javaezhil1-12/+12
Fixed minor sonar issues Issue-ID: MUSIC-260 Change-Id: I613d7e92dea8c2a0c5103d3d2d6be3589052df76 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-10Fixed Sonar issues in JsonUpdateezhil1-5/+12
Update logger interface Renamed variable and Logged error Issue-ID: MUSIC-216 Change-Id: I341c0e14c13fb071d0a606eba27e79b4ee510ede Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-10Fixed sonar issue in JsonInsert.javaezhil1-6/+13
Logged IO exception using EELFLoggerDelegate Issue-ID: MUSIC-256 Change-Id: I0ffa5b9f63d5128a8ef05e1ba354696ff4f64d30 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-10Fixed sonar fix in JsonNotification.javaezhil1-0/+8
Logged exception using EELFLoggerDelegate Issue-ID: MUSIC-257 Change-Id: I6f4b8c4b8020b76c260fbd3d545f4072c8cbfc65 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-06Merge "Fixed sonar issue in JsonSelect"Thomas Nelson1-1/+1
2018-12-06Merge "fixed sonar issues in AAFResonse.java"Thomas Nelson1-5/+8
2018-12-05fixed sonar issues in AAFResonse.javaSandeep J1-5/+8
changed return type to "List" rather than the implementation "ArrayList" Issue-ID: MUSIC-182 Change-Id: I1c75a5aaa7401a1a02c3680304924fe459c13aa6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-29Fixed sonar issue in JsonSelectezhil1-1/+1
Fixed logger issue Issue-ID: MUSIC-214 Change-Id: I501cc357e81bafc1377b3bc3e9913a03ed000ba0 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-29Sonar Fix: MusicDataStoreArundathi Patil1-30/+40
Fixed sonar issues/code-smells across this file. Issue-ID: MUSIC-201 Change-Id: I13ee35c8b7b6096bce3d46082878140b8da5c57f Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-15fixed sonar issues in MusicDataStore.javaSandeep J1-4/+7
fixed sonar issues as detailed in MUSIC-184 Issue-ID: MUSIC-184 Change-Id: I0a71f6c709bda3d39d144d7231e37c7045dcf0fa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-04Added fix for OOF issue.Thomas Nelson Jr (arthurdent3) tn1381@att.com1-1/+1
Updated Pom files for Library version change. Change-Id: Ibf10eba8923353010b66ac8496fb53815f3affc4 Issue-ID: MUSIC-143 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-09-17Update distribution files to support helm chartsThomas Nelson Jr (arthurdent3) tn1381@att.com1-1/+1
Helm Charts require new Docker images. Refined Cassandra and Cassandra cql loader. Change-Id: Ie7726025afd63e256a43aef9f39d53c32c90c77b Issue-ID: MUSIC-99 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-09-12Move string literal to left of string comparisonSooriyaa1-1/+1
Move string literal to left of string comparison Issue-ID: MUSIC-135 Change-Id: I622f2682e98c7927b66d11058da98c13b6b12942 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-06Merge "JsonNotification.java: Fixed sonar issue"Thomas Nelson1-1/+0