summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-04-13 17:27:35 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-04-14 11:08:02 -0500
commite05a96429ac2d4823011c9dc70accdd0f581b862 (patch)
tree3b734433d1e3c4ca1a12dc407cfebee8c1fb2546 /packages
parent8f8a6d8d207e30303efbedd7f60ca397c2c61970 (diff)
Add legacy-config new feature
This feature makes the legacy configuration optional. It was used by brmsgw and other tooling to provision via its DMaaP channel. The capability to configure via PdpConfiguration object is kept in the core preserving backwards compatibility, but the DMaaP provisioning channel(s) are optional. Issue-ID: POLICY-2618 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia7198ac3b2810d85133c06ba5217a9c28e07ac4c 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 361d9a8f..691fc665 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 no-locking && \
+ $POLICY_HOME/bin/features install healthcheck distributed-locking lifecycle no-locking legacy-config && \
$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 db4ac39b..7bc21f69 100644
--- a/packages/install/pom.xml
+++ b/packages/install/pom.xml
@@ -145,6 +145,12 @@
<version>${project.version}</version>
<type>zip</type>
</dependency>
+ <dependency>
+ <groupId>org.onap.policy.drools-pdp</groupId>
+ <artifactId>feature-legacy-config</artifactId>
+ <version>${project.version}</version>
+ <type>zip</type>
+ </dependency>
</dependencies>
</project>