From 49a696aba0240b68e534b65f896eaf535b231a8c Mon Sep 17 00:00:00 2001 From: jhh Date: Tue, 3 Mar 2020 18:15:17 -0600 Subject: decouple topics from controllers native policies will require topics configured at installation (there's no policy to add them). This configuration style also cleans the installation tidier (topics can be overriden or new ones added when being placed in the mounted config directory). Issue-ID: POLICY-2181 Signed-off-by: jhh Change-Id: I87fd6889c651147e9229b3487db8c95b34516dfd --- .../feature/config/DCAE_TOPIC-topic.properties | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 controlloop/common/feature-controlloop-management/src/main/feature/config/DCAE_TOPIC-topic.properties (limited to 'controlloop/common/feature-controlloop-management/src/main/feature/config/DCAE_TOPIC-topic.properties') diff --git a/controlloop/common/feature-controlloop-management/src/main/feature/config/DCAE_TOPIC-topic.properties b/controlloop/common/feature-controlloop-management/src/main/feature/config/DCAE_TOPIC-topic.properties new file mode 100644 index 000000000..d038f8760 --- /dev/null +++ b/controlloop/common/feature-controlloop-management/src/main/feature/config/DCAE_TOPIC-topic.properties @@ -0,0 +1,24 @@ +# ============LICENSE_START======================================================= +# ONAP +# ================================================================================ +# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END========================================================= + +dmaap.source.topics=DCAE_TOPIC + +dmaap.source.topics.DCAE_TOPIC.effectiveTopic=${env:DCAE_TOPIC} +dmaap.source.topics.DCAE_TOPIC.servers=${env:DMAAP_SERVERS} +dmaap.source.topics.DCAE_TOPIC.consumerGroup=${env:DCAE_CONSUMER_GROUP} +dmaap.source.topics.DCAE_TOPIC.https=true -- cgit 1.2.3-korg