Distinguish lock from refresh 23/56323/3
authorJim Hahn <jrh3@att.com>
Thu, 12 Jul 2018 21:47:09 +0000 (17:47 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 16 Jul 2018 13:54:28 +0000 (09:54 -0400)
commit1480379b0e9907c0d41e8a782468c30f0ee83196
treefbac13a23903776225b5ffe749e56007afd82263
parentb65c92040c5acbf9013eccc5c9ce80dbd6587458
Distinguish lock from refresh

This is the first step of separating the lock "refresh" operation
from the original "lock" operation.  This step entails adding the
refresh() method to both the default and the feature-distriubted
locking mechanisms.
Change method call, in junit test, from lock to refresh.
Change branch name in git review.

Change-Id: I506de7a96cb3ee786839aca04ad67cdd7378832c
Issue-ID: POLICY-872
Signed-off-by: Jim Hahn <jrh3@att.com>
feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockingFeature.java
feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/TargetLock.java
feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/TargetLockTest.java
policy-core/src/main/java/org/onap/policy/drools/core/lock/PolicyResourceLockFeatureAPI.java
policy-core/src/main/java/org/onap/policy/drools/core/lock/PolicyResourceLockManager.java
policy-core/src/main/java/org/onap/policy/drools/core/lock/SimpleLockManager.java
policy-core/src/test/java/org/onap/policy/drools/core/lock/PolicyResourceLockFeatureAPITest.java
policy-core/src/test/java/org/onap/policy/drools/core/lock/PolicyResourceLockManagerTest.java
policy-core/src/test/java/org/onap/policy/drools/core/lock/SimpleLockManagerTest.java