Add legacy-config new feature 21/120521/4
authorjhh <jorge.hernandez-herrero@att.com>
Tue, 13 Apr 2021 22:27:35 +0000 (17:27 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Wed, 14 Apr 2021 16:08:02 +0000 (11:08 -0500)
commite05a96429ac2d4823011c9dc70accdd0f581b862
tree3b734433d1e3c4ca1a12dc407cfebee8c1fb2546
parent8f8a6d8d207e30303efbedd7f60ca397c2c61970
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>
18 files changed:
feature-legacy-config/lombok.config [new file with mode: 0644]
feature-legacy-config/pom.xml [new file with mode: 0644]
feature-legacy-config/src/assembly/zip.xml [new file with mode: 0644]
feature-legacy-config/src/main/feature/config/feature-legacy-config.properties [new file with mode: 0644]
feature-legacy-config/src/main/java/org/onap/policy/drools/legacy/config/LegacyConfig.java [new file with mode: 0644]
feature-legacy-config/src/main/java/org/onap/policy/drools/legacy/config/LegacyConfigFeature.java [new file with mode: 0644]
feature-legacy-config/src/main/java/org/onap/policy/drools/server/restful/RestLegacyConfigManager.java [new file with mode: 0644]
feature-legacy-config/src/main/resources/META-INF/services/org.onap.policy.drools.features.PolicyEngineFeatureApi [new file with mode: 0644]
feature-legacy-config/src/test/java/org/onap/policy/drools/legacy/config/LegacyConfigFeatureTest.java [new file with mode: 0644]
feature-legacy-config/src/test/java/org/onap/policy/drools/legacy/config/LegacyConfigTest.java [new file with mode: 0644]
feature-legacy-config/src/test/java/org/onap/policy/drools/server/restful/RestLegacyConfigTest.java [new file with mode: 0644]
feature-legacy-config/src/test/resources/bad-properties-1/feature-legacy-config.properties [new file with mode: 0644]
feature-legacy-config/src/test/resources/feature-legacy-config.properties [new file with mode: 0644]
feature-legacy-config/src/test/resources/properties-2/feature-legacy-config.properties [new file with mode: 0644]
packages/docker/src/main/docker/Dockerfile
packages/install/pom.xml
policy-management/src/main/server/config/engine.properties
pom.xml