From 39b7b9897494d9f14ca196c8f0e2f0bc7e57cf4f Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 16 Mar 2021 14:52:34 -0400 Subject: Use generated keystore in CSITs Added code to the CSITs to generate a self-signed certificate, which can then be mounted over the policy-keystore of each docker image when it is launched. Converted xacml's API params to BusTopicParams. Issue-ID: POLICY-3143 Change-Id: Ic1c25a7f29d87583b81515fd2caf72ba7c44924c Signed-off-by: Jim Hahn --- .../drools-apps/custom/APPC-CL-topic.properties | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 csit/config/drools-apps/custom/APPC-CL-topic.properties (limited to 'csit/config/drools-apps/custom/APPC-CL-topic.properties') diff --git a/csit/config/drools-apps/custom/APPC-CL-topic.properties b/csit/config/drools-apps/custom/APPC-CL-topic.properties new file mode 100644 index 00000000..f265b7c6 --- /dev/null +++ b/csit/config/drools-apps/custom/APPC-CL-topic.properties @@ -0,0 +1,28 @@ +# ============LICENSE_START======================================================= +# ONAP +# ================================================================================ +# Copyright (C) 2021 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=APPC-CL +dmaap.sink.topics=APPC-CL + +dmaap.source.topics.APPC-CL.servers=${env:DMAAP_SERVERS} +dmaap.source.topics.APPC-CL.https=true +dmaap.source.topics.APPC-CL.selfSignedCertificates=true + +dmaap.sink.topics.APPC-CL.servers=${env:DMAAP_SERVERS} +dmaap.sink.topics.APPC-CL.https=true +dmaap.sink.topics.APPC-CL.selfSignedCertificates=true -- cgit 1.2.3-korg