aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/datastore/MusicDataStore.java
AgeCommit message (Collapse)AuthorFilesLines
2019-09-26Split music src into music-core and music-restArthur Martella1-523/+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-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.Mamtha1-8/+0
Issue-ID: MUSIC-481. Removed commented out code. Code cleanup Change-Id: I1565f2d9312a9d6daa232074fee35577dfe197c2 Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2019-06-25Some bug fixes and Minor Chages.Thomas Nelson arthudent31-20/+20
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-05-16CADI and a few small updates.Nelson, Thomas (arthurdent3)1-1/+0
- 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-13Changes Listed below:Nelson, Thomas (arthurdent3)1-45/+35
- 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-02-22Create authentication interfaceTschaen, Brendan1-1/+1
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.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)1-109/+212
- Spring Boot - Cadi - Cassandra Locking Change-Id: Ie9882f81f0ca141bdb7862cdabf978481fcd7c4a Issue-ID: MUSIC-296,MUSIC-272 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.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-05Remove the literal false boolean valueSooriyaa1-1/+1
Remove the literal false boolean value Issue-ID: MUSIC-130 Change-Id: I99f7168abc2d354919b2b01006b89ec26e762864 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-08-08Updates to Callback Api and ConnectionThomas Nelson Jr1-7/+46
Change-Id: I6a3f0537a616ae4d54b47fa2c70ba5128e39f123 Issue-ID: MUSIC-92 Signed-off-by: Thomas Nelson Jr <tn1381@att.com>
2018-07-16various UpdatesThomas Nelson Jr (arthurdent3) tn1381@att.com1-4/+23
Q-api, triggers, conductor conditional updates. Bug fixes Change-Id: Iec392309787cd90f0a2827a2955399723640e800 Issue-ID: MUSIC-93 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-06-05Update Master to include jar folder.Thomas Nelson Jr (arthurdent3) tn1381@att.com1-0/+2
This will put jar folder form separate branch into this where it belongs and we can build properly for beijing. Cassablanca will have a parent pom approach. Change-Id: Ieae3fce5ab42faddf4964285533fdc59d8b963de Issue-ID: MUSIC-79 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-27Code Coverage, Auth ID, DockerNelson,Thomas(tn1381)(arthurdent3)1-3/+4
Change-Id: If9212aea5a643f2db6c18090f17cd2da71f5a968 Issue-ID: MUSIC-44, MUSIC-65, MUSIC-56 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
2018-03-06More Unit tests for Sonar coverageThomas Nelson Jr (arthurdent3) tn1381@att.com1-19/+20
Change-Id: I5cc3d490bdc70dfa0ed69e1ee6d954ef2846f8e5 Issue-ID: MUSIC-40 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-04Sonar Fixes to increate Coverage on Unit testsThomas Nelson Jr (arthurdent3) tn1381@att.com1-2/+20
Including bug fix that added proper Exception handling on REST Calls. Change-Id: I618faa69ab549e76c148bb7c664a5ffe0eae84ca Issue-ID: MUSIC-44, MUSIC-45 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-02-23Changes related to Authentication and AtomicThomas Nelson Jr (arthurdent3)1-1/+7
Authentication Fixes Atomic with delete added. Issue-ID: MUSIC-38,MUSIC-39 Change-Id: Ide2974a42ff8618d8a94ef7e8a1b0abde3630550 Signed-off-by: Thomas Nelson Jr (arthurdent3) <tn1381@att.com>
2018-02-20Applying bug fixesThomas Nelson Jr (arthurdent3)1-30/+36
To many overlapping changes so including all of them. When pushing individually build was breaking. Issue-ID: MUSIC-33,MUSIC-34,MUSIC-35,MUSIC-36,MUSIC-37 Change-Id: I15b6f7c683d0d2eeadd99c2376dedd6c43a67a8c Signed-off-by: Thomas Nelson Jr (arthurdent3) <tn1381@att.com>
2018-02-05Initial code Import.arthurdent31-0/+391
Issue-ID: MUSIC-21 Change-Id: I89ceab0891b4b7cb999dab532d6bae9092f027cc Signed-off-by: arthurdent3 <tn1381@att.com>