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/SO-http-client.properties | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 csit/config/drools-apps/custom/SO-http-client.properties (limited to 'csit/config/drools-apps/custom/SO-http-client.properties') diff --git a/csit/config/drools-apps/custom/SO-http-client.properties b/csit/config/drools-apps/custom/SO-http-client.properties new file mode 100644 index 00000000..7e71e359 --- /dev/null +++ b/csit/config/drools-apps/custom/SO-http-client.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========================================================= + +http.client.services=SO + +http.client.services.SO.managed=true +http.client.services.SO.https=false +http.client.services.SO.host=${envd:SO_HOST} +http.client.services.SO.port=${envd:SO_PORT} +http.client.services.SO.userName=${envd:SO_USERNAME} +http.client.services.SO.password=${envd:SO_PASSWORD} +http.client.services.SO.contextUriPath=${envd:SO_CONTEXT_URI} +http.client.services.SO.selfSignedCertificates=true -- cgit 1.2.3-korg