From e3a4e81b5e0ad5fec4d215ab7ef1b4f310370984 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 17 Apr 2019 13:58:47 +0000 Subject: Add DMaaP sim configuration files Add configurtion files that work with the DMaaP simulator. Issue-ID: POLICY-1643 Change-Id: I719f9db4ec5273a32ba350811eb39b4238002341 Signed-off-by: liamfallon --- .../resources/ApexStarterConfigParameters_sim.json | 16 ++++++++++++++++ .../src/test/resources/topic_sim.properties | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 services/services-onappf/src/test/resources/ApexStarterConfigParameters_sim.json create mode 100644 services/services-onappf/src/test/resources/topic_sim.properties (limited to 'services/services-onappf/src/test') diff --git a/services/services-onappf/src/test/resources/ApexStarterConfigParameters_sim.json b/services/services-onappf/src/test/resources/ApexStarterConfigParameters_sim.json new file mode 100644 index 000000000..a17d880ad --- /dev/null +++ b/services/services-onappf/src/test/resources/ApexStarterConfigParameters_sim.json @@ -0,0 +1,16 @@ +{ + "name":"ApexStarterParameterGroup", + "restServerParameters": { + "host": "0.0.0.0", + "port": 6970, + "userName": "healthcheck", + "password": "zb!XztG34", + "https": true + }, + "pdpStatusParameters":{ + "timeIntervalMs": 120000, + "pdpType":"apex", + "description":"Pdp Heartbeat", + "supportedPolicyTypes":[{"name":"onap.policies.controlloop.Operational","version":"1.0.0"}] + } +} diff --git a/services/services-onappf/src/test/resources/topic_sim.properties b/services/services-onappf/src/test/resources/topic_sim.properties new file mode 100644 index 000000000..2bdf8c7b1 --- /dev/null +++ b/services/services-onappf/src/test/resources/topic_sim.properties @@ -0,0 +1,22 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2019 Nordix Foundation. +# ================================================================================ +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +dmaap.sink.topics=POLICY-PDP-PAP +dmaap.sink.topics.POLICY-PDP-PAP.servers=localhost:6845 +dmaap.source.topics=POLICY-PDP-PAP +dmaap.source.topics.POLICY-PDP-PAP.servers=localhost:6845 -- cgit 1.2.3-korg