aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/rest/RestMusicDataAPI.java
AgeCommit message (Collapse)AuthorFilesLines
2019-09-26Split music src into music-core and music-restArthur Martella1-1052/+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-07-02MUSIC-ORM-ImplemetationSudarshan Kumar1-629/+95
MUSIC-ORM-Implemetation Issue-ID: MUSIC-348 Change-Id: Ifb6d4a1f331e080bdbeab236942e73ab13a69dad Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-06-25Some bug fixes and Minor Chages.Thomas Nelson arthudent31-54/+242
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-28Bug Fix for Empty Body.Nelson, Thomas (arthurdent3)1-23/+40
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-16CADI and a few small updates.Nelson, Thomas (arthurdent3)1-803/+634
- 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-426/+427
- 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-19/+37
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-28Complete new authentication across REST APIsTschaen, Brendan1-37/+19
Change-Id: I0d8ae84bdebbad986d557f722047318d5b72b591 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-26Remove zookeeper referenceTschaen, Brendan1-13/+1
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 Nelson1-98/+98
2019-02-22Create authentication interfaceTschaen, Brendan1-122/+71
Change-Id: I2172870be0056d6b050eb73c9a53c12f05360d79 Issue-ID: MUSIC-345 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-21Caching util test casesTschaen, Brendan1-98/+98
And cleaning up of other tests Issue-ID: MUSIC-341 Change-Id: Ida4ee49b2a923c64a2ce66c310db9b0dd502b8d7 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2019-02-19Fixed major Sonar issues in JsonDeleter.bogacki1-5/+1
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-12Removed sub-expressions from RestMusicDataAPIr.bogacki1-2/+5
Fixed critical Sonar issue related to identical sub-expressions on both sides of operator. Added more details to error logger. Change-Id: I421c4ac3894c08b6b174fdaeb6e68be50e024e63 Issue-ID: MUSIC-328 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-01-29Push variuos changesNelson,Thomas(tn1381)(arthurdent3)1-346/+496
- 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-11fixed sonar issue in RestMusicDataAPISandeep J1-7/+4
fixed sonar issue Issue-ID: MUSIC-212 Change-Id: I130cf5e79a1f15fddd681d66c28eb4504e48fa5e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-24Align error handling across classesTschaen, Brendan1-13/+12
Change-Id: I8e22d87898eaed672ca1549250db056c22e1c7b5 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Issue-ID: MUSIC-153
2018-09-17Update distribution files to support helm chartsThomas Nelson Jr (arthurdent3) tn1381@att.com1-10/+10
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-08-20Update swagger.json and other updates.Nelson, Thomas (tn1381)1-1/+1
Change-Id: I84753300e64ba82072e65ef1bde2cb76771ee046 Issue-ID: MUSIC-97 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
2018-07-16various UpdatesThomas Nelson Jr (arthurdent3) tn1381@att.com1-63/+237
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-2/+9
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-28Documentation addedNelson,Thomas(tn1381)(arthurdent3)1-54/+12
Change-Id: I5fdf2b042451ea666a36a3ca31fb0783e0239878 Issue-ID: MUSIC-62 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
2018-03-27Code Coverage, Auth ID, DockerNelson,Thomas(tn1381)(arthurdent3)1-365/+360
Change-Id: If9212aea5a643f2db6c18090f17cd2da71f5a968 Issue-ID: MUSIC-44, MUSIC-65, MUSIC-56 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
2018-03-22Fix for HAS to run its CSITThomas Nelson Jr (arthurdent3) tn1381@att.com1-22/+85
Default action of AID(AuthID) was to allow only one keyspace. HAS required the ability to create more than one. Also included are some Logging and response fixes. Change-Id: I30b7d0f5a5c6e535ff2b737dc58b8d4fbd427d02 Issue-ID: MUSIC-64, OPTFRA-191 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-18CLM ChangesThomas Nelson Jr (arthurdent3) tn1381@att.com1-49/+65
Change-Id: Id34c036653bf0816e5c67004e4dcf7da90e470e7 Issue-ID: MUSIC-47, MUSIC-48, MUSIC-49 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-13Docker update and POM fixThomas Nelson Jr (arthurdent3) tn1381@att.com1-167/+154
Update the docker for cassandra to change ownership of imported files. Update the POM to fix bug Numerous bug fixes fro Logging and Error reporting. Change-Id: I518807f9796734134341ebefd109219050a84b51 Issue-ID: MUSIC-56, MUSIC-57, MUSIC-58 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-08Docker Updates for CSITThomas Nelson Jr (arthurdent3) tn1381@att.com1-1/+6
Udates fro Docker and also a few bug fixes. Change-Id: I48d8ee81412c7ce664e6b3e33c06e952afad734e Issue-ID: MUSIC-32, MUSIC-51 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
2018-03-06More Unit tests for Sonar coverageThomas Nelson Jr (arthurdent3) tn1381@att.com1-3/+8
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-49/+163
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-20/+27
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-63/+111
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/+1088
Issue-ID: MUSIC-21 Change-Id: I89ceab0891b4b7cb999dab532d6bae9092f027cc Signed-off-by: arthurdent3 <tn1381@att.com>