aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-12-20Merge "added files to convert project to spring boot" into dev-cassandra-onlyBharath Balasubramanian4-0/+269
2018-12-12added files to convert project to spring bootSandeep J4-0/+269
also made changes to pom to add required dependencies. fix junit cases, upgrading to mockito 2.x Issue-ID: MUSIC-212 Change-Id: Ieeeaa6d62e03e962534182183aae8ae838d93eba Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-12Read/Write locking implementationTschaen, Brendan4-20/+90
Change-Id: I31fedd52e138c848bf12ed0be27c348f4f96bcb5 Issue-ID: MUSIC-262 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-03Cassa lockstore return string for peekLockTschaen, Brendan2-8/+6
Change-Id: I4384ed522e7849ba9ca355efa63a08512f11ccec Issue-ID: MUSIC-222 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-28music as a service impl v3srupane kondreddy17-862/+1248
Change-Id: I7f96eaa48afed96d62ad7662139167e8a17d00d7 Issue-ID: MUSIC-204 Signed-off-by: srupane kondreddy <sk5300@research.att.com>
2018-11-27Add getLockQueue to music apiTschaen, Brendan2-24/+118
Change-Id: Ib7db75a2df76ee7dcca92d69d07c3b947736deab Issue-ID: MUSIC-204 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20Improve timestamp and query handlingMohammad Salehe4-79/+77
Add timeSlot parameter to CassaDataStore.executePut to prevent inconsistent timestamps Rename CassaDataStore.executeEventualGet and CassaDataStore.executeCriticalPut to reflect their real functionality Use simple bound statement instead of prepared queries to improve performance Change-Id: I439c5279f1c8e645740a9650ab8807c5ffa1725a Issue-ID: MUSIC-148 Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
2018-11-20Implement sequential lock referencesMohammad Salehe4-78/+78
Use guard column for sequential lock references Move v2sTimeStampInMicroseconds as a static method to MusicUtil Use v2sTimeStamp in CassaDataStore.executePut Change-Id: I48b817c4bfe04ec50f5ad6e7cdc91b34fd607feb Issue-ID: MUSIC-148 Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
2018-11-15Revert "music core implemented as a service"Tschaen, Brendan19-636/+362
This reverts commit 7addd52dc73e6571028ca7f6a018e75ec1c9b0ca. Change-Id: I0875ce10521363b8e17eb6cd2cf9d8848e572bea Issue-ID: MUSIC-189 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-13music core implemented as a servicesrupane kondreddy19-362/+636
Change-Id: I4075d0efb03bf2a153976354947be1329660c1f1 Issue-ID: MUSIC-148 Signed-off-by: srupane kondreddy <sk5300@research.att.com>
2018-11-01Fix property loading in jarTschaen, Brendan2-0/+39
Change-Id: Idbadcf1d1ae6203b97f50b6659a929595cb53b20 Issue-ID: MUSIC-148 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-10-16Include Cassandra lockingTschaen, Brendan38-3136/+884
Change-Id: I085acf8336d5f27782ee12768846a5befd3ee60d Issue-ID: MUSIC-148 Signed-off-by: Tschaen, Brendan <ctschaen@att.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.com6-108/+117
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-18Merge "MusicServiceException.java: Fixed sonar issues"Thomas Nelson1-19/+19
2018-09-17MusicServiceException.java: Fixed sonar issuesArundathi Patil1-19/+19
Sonar Link: https://sonar.onap.org/code?id=org.onap.music%3AMUSIC&selected=org.onap.music%3AMUSIC%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fmusic%2Fexceptions%2FMusicServiceException.java Issue-ID: MUSIC-137 Change-Id: Ibb96c29aa17d7f8f42d1ceb5aa9581b2b250e2dc Signed-off-by: Arundathi Patil <arundpil@in.ibm.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-10Merge "RestMusicQAPI.java: Fixed sonar issues"Thomas Nelson1-22/+13
2018-09-10Adding a constant to remove duplicate stringSooriyaa1-4/+5
Adding a constant to remove duplicate string Issue-ID: MUSIC-133 Change-Id: I1c9e82cf210c2dd0f00bec53c95fa5281f368568 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-07RestMusicQAPI.java: Fixed sonar issuesArundathi Patil1-22/+13
Fixed sonar code-smells/issues across this file Issue-ID: MUSIC-132 Change-Id: I8085caf301a46165675ff20a80b0fac1fbf885ff Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-06Merge "JsonNotification.java: Fixed sonar issue"Thomas Nelson1-1/+0
2018-09-06Merge "Removing the literal true boolean value"Thomas Nelson1-2/+2
2018-09-06Merge "Remove the unused import"Thomas Nelson1-2/+0
2018-09-06Merge "Added error log in MusicConditional class"Thomas Nelson1-0/+4
2018-09-06Merge "replaced stacktrace with error log"Thomas Nelson1-2/+5
2018-09-05Merge "RestMusicVersionAPI.java: Fixed sonar issue"Bharath Balasubramanian1-3/+0
2018-09-05Merge "Remove the literal false boolean value"Bharath Balasubramanian1-1/+1
2018-09-05Merge "Move string literal to left of string comparison"Bharath Balasubramanian1-1/+1
2018-09-05Merge "Added bug fix reported in SonarQube for MusicUtil"Bharath Balasubramanian1-2/+2
2018-09-05Merge "Added fix for potential nullpointer exception"Bharath Balasubramanian1-1/+0
2018-09-05Added error log in MusicConditional classChandan Ghosh1-0/+4
Added error log in MusicConditional class where it was missing. Reported in Sonar. Issue-ID: MUSIC-129 Change-Id: I8d3102547015313520b67058312e4072f621ca34 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-09-05Move string literal to left of string comparisonSooriyaa1-1/+1
Move string literal to left of string comparison Issue-ID: MUSIC-131 Change-Id: I210469c9c7e827df51f20fb7f580282a145b4464 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-05replaced stacktrace with error logChandan Ghosh1-2/+5
Replaced stacktrace with error log. Reported in SonarQube. Issue-ID: MUSIC-129 Change-Id: I54626e3b8d80cf7242cd1e67b627aa73266f1e8d Signed-off-by: Chandan Ghosh <cghosh12@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-09-04Remove the unused importSooriyaa1-2/+0
Remove the unused import Issue-ID: MUSIC-128 Change-Id: Ic12deb0959761f2878fdf20b71e012ee3a0bac2e Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-04RestMusicVersionAPI.java: Fixed sonar issueArundathi Patil1-3/+0
Fixed sonar code-smells/issues across this file. Issue-ID: MUSIC-127 Change-Id: I8a79a09ce5ec8c0f7e6e0f664f570dc61a848040 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04Removed unused imports. added error logChandan Ghosh1-17/+3
Issue-ID: MUSIC-126 Change-Id: I1a73518da1c3d028ce9e8933def60c02b26482ff Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-09-04Removing the literal true boolean valueSooriyaa1-2/+2
Removing the literal true boolean value Issue-ID: MUSIC-125 Change-Id: Id126541571cc3eb2475f064421b0baaeada8e0e7 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-03Merge "Added fix for potential nullpointerexception"Bharath Balasubramanian2-9/+14
2018-09-03Merge "MusicLockState.java: Fixed sonar issue"Bharath Balasubramanian1-1/+4
2018-09-03Merge "JsonDelete.java: Fixed sonar issue"Bharath Balasubramanian1-1/+3
2018-09-03ProtocolSupport.java: fixed sonar issueArundathi Patil1-0/+2
Fixed sonar code-smella/issues accross this file Issue-ID: MUSIC-124 Change-Id: Iebfaae30d941761ffbe59920cf6301cf22daae44 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-03MusicLockState.java: Fixed sonar issueArundathi Patil1-1/+4
Fixed sonar code-smells/issues accross this file Issue-ID: MUSIC-123 Change-Id: I7b288ea53029488e827f31c1dabd7ad276de97a2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-03JsonDelete.java: Fixed sonar issueArundathi Patil1-1/+3
Fixed sonar issue, declare variable on seperate line. Issue-ID: MUSIC-121 Change-Id: Idf2cdb49a7d021d275dea5685a77e98b9c94fe9e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-03Added fix for potential nullpointerexceptionChandan Ghosh2-9/+14
Added fix for potential nullpointerexception and added error log reported in sonarqube Issue-ID: MUSIC-119 Change-Id: I13b3b13b1caa209c0f9ff9f19b38a62c4486c2fe Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-08-31Merge "jsonSelect.java: Fixed sonar issue"Bharath Balasubramanian1-2/+3
2018-08-31jsonSelect.java: Fixed sonar issueArundathi Patil1-2/+3
Fixed sonar issue, either log or rethrow this error Issue-ID: MUSIC-116 Change-Id: Iace6b3251a2b3b60cfd8ce99d6a0ed8ecf80fe02 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-31JsonConditional.java: Fixed sonar issueArundathi Patil1-2/+2
Fixed sonar issue, use transient keyword for variables. Issue-ID: MUSIC-117 Change-Id: I9c8ef0b9fb3239c98a09058cf14019df095e440b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-29Added fix for potential nullpointer exceptionChandan Ghosh1-8/+12
Added fix for potential nullpointerexception reported in sonarqube Issue-ID: MUSIC-114 Change-Id: I6792a357534880fb85d353e2832b16aca2415c8b Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-08-29Added bug fix reported in SonarQube for MusicUtilChandan Ghosh1-2/+2
Added bug fix reported in SonarQube for MusicUtil Issue-ID: MUSIC-107 Change-Id: I6792a357505880fb85d353e3872b16aca2412c8b Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>