aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-03-09 10:01:17 -0600
committerjhh <jorge.hernandez-herrero@att.com>2021-03-09 15:03:32 -0600
commit149df90bb72ece740accaf3ea037cf40defcd1bd (patch)
treef0895c1729c06403abecadca1065d3dfc25de35f /packages
parentdd9d31e90873e12623865fb21bf2e4603e3e0f19 (diff)
add no locking feature
It provides an interface to applications for locking purposes that always succeeds. It does not deny acquiring resource locks. Issue-ID: POLICY-3114 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6aebb5f40e4176e0ff7b0e6c6d4042a79dd0b7a3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/Dockerfile2
-rw-r--r--packages/install/pom.xml6
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 2277bc77..39d9ff06 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -73,7 +73,7 @@ RUN unzip -o install-drools.zip && \
chmod 600 $POLICY_HOME/config/* && \
rm -f $POLICY_INSTALL/*.conf && \
. $POLICY_HOME/etc/profile.d/env.sh && \
- $POLICY_HOME/bin/features install healthcheck distributed-locking lifecycle && \
+ $POLICY_HOME/bin/features install healthcheck distributed-locking lifecycle no-locking && \
$POLICY_HOME/bin/features enable lifecycle && \
find $HOME/.m2/ -name _maven.repositories -exec rm -v {} \; && \
find $HOME/.m2/ -name _remote.repositories -exec rm -v {} \; && \
diff --git a/packages/install/pom.xml b/packages/install/pom.xml
index c16a9a56..e11718db 100644
--- a/packages/install/pom.xml
+++ b/packages/install/pom.xml
@@ -139,6 +139,12 @@
<version>${project.version}</version>
<type>zip</type>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-pdp</groupId>
+ <artifactId>feature-no-locking</artifactId>
+ <version>${project.version}</version>
+ <type>zip</type>
+ </dependency>
</dependencies>
</project>