From 149df90bb72ece740accaf3ea037cf40defcd1bd Mon Sep 17 00:00:00 2001 From: jhh Date: Tue, 9 Mar 2021 10:01:17 -0600 Subject: 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 Change-Id: I6aebb5f40e4176e0ff7b0e6c6d4042a79dd0b7a3 Signed-off-by: jhh --- packages/docker/src/main/docker/Dockerfile | 2 +- packages/install/pom.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'packages') 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 @@ ${project.version} zip + + org.onap.policy.drools-pdp + feature-no-locking + ${project.version} + zip + -- cgit 1.2.3-korg