Update locking to use Threadsafe set 29/96529/2
authorThomas Nelson (arthurdent3) <nelson24@att.com>
Wed, 2 Oct 2019 22:09:23 +0000 (18:09 -0400)
committerThomas Nelson (arthurdent3) <nelson24@att.com>
Thu, 3 Oct 2019 21:28:55 +0000 (17:28 -0400)
commit48b02dfdc78a6412d568a14b015ccb9439a1dbb5
treeae9dfd7d47d643fcd7e1b4206b525ee0f98f1550
parenta681a9e295dc2b8f35dd42251f795d0079471ac0
Update locking to use Threadsafe set

Had to create whole new method for Atomic Lock Creation.
Added thread safe set to contol lock creation per key.
Updated the deadlock to use local_quorum
Removed some uneeded import
Updated some logging.

Issue-ID: MUSIC-512
Signed-off-by: Thomas Nelson (arthurdent3) <nelson24@att.com>
Change-Id: I7e1a4c34de5dc9a0e90adf30d1f4d1bac698ceae
Signed-off-by: Thomas Nelson (arthurdent3) <nelson24@att.com>
distribution/music/Dockerfile
distribution/music/startup.sh
music-core/src/main/java/org/onap/music/datastore/MusicDataStore.java
music-core/src/main/java/org/onap/music/lockingservice/cassandra/CassaLockStore.java
music-core/src/main/java/org/onap/music/main/MusicCore.java
music-core/src/main/java/org/onap/music/service/MusicCoreService.java
music-core/src/main/java/org/onap/music/service/impl/MusicCassaCore.java
music-rest/src/main/java/org/onap/music/conductor/conditionals/MusicConditional.java
music-rest/src/test/java/org/onap/music/unittests/TstRestMusicLockAPI.java