Age | Commit message (Collapse) | Author | Files | Lines |
|
Calculate standard deviation correctly in
stats in SamplerHistogramTimeMeasure
Change-Id: I1448cf219872987ce348bbd6e70d6ac5ac99bdc2
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
We may not be able to create a lock reference temporarily.
We should indicate that by returning null, so the caller
can try again
Change-Id: If83567d64fd077b1a8eb39f66b8292c0ba6adefd
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
createLockRef might fail because of Cassandra LWT failures.
atomicPut should keep retrying until success.
Change-Id: I044cb9277e17d19d7ffd4a02936f9eb6d8487bd3
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Added testcase for updateOnBoardApp method
Issue-ID: MUSIC-305
Change-Id: Iff497e243935ee42538623da48a8969a295307fc
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
|
|
Added testcase for deleteOnboardApp service method
Issue-ID: MUSIC-305
Change-Id: I05a4a30cbff33bbc48f908b6e68086c7ed492a83
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
|
|
Added testcase for service layer getOnboardedInfoSearch method
Issue-ID: MUSIC-305
Change-Id: If5ebc6969f3a4672b79e389147ec90de578596b0
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
|
|
refactored the class and updated unit test cases as per the code changes
Issue-ID: MUSIC-212
Change-Id: Id66854be3894d36e2c2b0a6d86c2f6bb29e48db6
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
Implement simple benchmarks for 4 different put scenarios:
- Music Entry Consistency
- Music Eventual
- Music Sequential Consistent (Using LWT)
- Pure Consistent (Using LWT)
Change-Id: Ia4b989c640a198f03086e781450e79c8c43918df
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
acquireLock might fail right after generating a
new lock reference because we are not making a SERIAL get.
atomicPut should keep retrying until it acquires the lock.
Change-Id: I7b0f85a0d0229e28a56cdd41ec69fcde8d8398fe
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Add time measurements to MusicCore.atomicPut and
dependent Cassandra execute path
Change-Id: I44455d7232e12d29a648c3d59d9aa102bf1ab232
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Refactor MusicUtil and CassaDataStore to make
Cassandra connection initialization process
more simple and readable
Change-Id: Ied7d3e82dc86dd7d35cd513b13ff0c865dd40b4b
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Move runnable test classes which are not actually
tests from src/test to src/main in order for maven
to include them in fat jar
Change-Id: Ib57db631b1c91ae796fa33becc9f06d05eef4219
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Added a TimeMeasure interface as a utility class
to be able to measure running time of specific parts
of code. Usually, this will be used for benchmarking.
Implemented SamplerHistogramTimeMeasurement that uses
reservior sampling to calculate percentiles of large
amount of data.
Also updated maven pom.xml:
- update java version from 1.7 to 1.8 to be able to use java 8
- update guava to 27.0 to use Stats Percentiles
- update cassandra java plugin version to 3.6 to fix guava dependency problem
Change-Id: I168432ff2e6f5507fedc1678684dd96608703e5a
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Implement ComparisonPoints1 benchmarks to
test 4 different put scenarios:
- Music Entry Consistency
- Music Eventual
- Music Sequential Consistent (Using LWT)
- Pure Consistent (Using LWT)
Change-Id: Id9052a0b14686be93189021e19f2dc293188c52b
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
|
|
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>
|
|
Change-Id: I31fedd52e138c848bf12ed0be27c348f4f96bcb5
Issue-ID: MUSIC-262
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: I4384ed522e7849ba9ca355efa63a08512f11ccec
Issue-ID: MUSIC-222
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: I7f96eaa48afed96d62ad7662139167e8a17d00d7
Issue-ID: MUSIC-204
Signed-off-by: srupane kondreddy <sk5300@research.att.com>
|
|
Change-Id: Ib7db75a2df76ee7dcca92d69d07c3b947736deab
Issue-ID: MUSIC-204
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
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>
|
|
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>
|
|
This reverts commit 7addd52dc73e6571028ca7f6a018e75ec1c9b0ca.
Change-Id: I0875ce10521363b8e17eb6cd2cf9d8848e572bea
Issue-ID: MUSIC-189
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: I4075d0efb03bf2a153976354947be1329660c1f1
Issue-ID: MUSIC-148
Signed-off-by: srupane kondreddy <sk5300@research.att.com>
|
|
Change-Id: I250cef00bbea068196f54f442ed7d47fe0dd4aab
Issue-ID: MUSIC-148
Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
|
|
Change-Id: I54a94e30da52ad9a01df13d16bbf790fb1245464
Issue-ID: MUSIC-149
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Ignore broken test cases related to locking
Change-Id: Ic54920647519255bfeb3cb59f5d36299e0d1984f
Issue-ID: MUSIC-148
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: I9ac45fc4dc93a8dad86ead9676129411ca8a5a26
Issue-ID: MUSIC-148
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: Idbadcf1d1ae6203b97f50b6659a929595cb53b20
Issue-ID: MUSIC-148
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
Change-Id: I085acf8336d5f27782ee12768846a5befd3ee60d
Issue-ID: MUSIC-148
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
|
|
|
|
|
|
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>
|
|
to increase the coverage
Issue-ID: MUSIC-142
Change-Id: I582059e5544f3c092de832d54fcf0b5f15df62c0
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
To increase the coverage
Issue-ID: MUSIC-141
Change-Id: I86c9e8bb0fdeb7dd3ea587cb8087e95fdbb567e3
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
To increase the coverage
Issue-ID: MUSIC-140
Change-Id: Ic92c8a883d758341ab1ec11ad9bb0f062501fe79
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
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>
|
|
|
|
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>
|
|
Move string literal to left of string comparison
Issue-ID: MUSIC-135
Change-Id: I622f2682e98c7927b66d11058da98c13b6b12942
Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
|
|
|
|
Adding a constant to remove duplicate string
Issue-ID: MUSIC-133
Change-Id: I1c9e82cf210c2dd0f00bec53c95fa5281f368568
Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
|
|
Fixed sonar code-smells/issues across this file
Issue-ID: MUSIC-132
Change-Id: I8085caf301a46165675ff20a80b0fac1fbf885ff
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|