From 491f6722e91c59f61939c99f03294baa41cf7d60 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Thu, 17 Aug 2017 15:16:53 -0500 Subject: remove DCAE custom config from drools-tweaks.sh It has become unnessary since drools-tweaks since the drools-applications side is changing to use configurable values from base.conf Change-Id: I1a601b27a3acbd3b4d90e5a023c2f2fe8b0861d0 Issue-ID: POLICY-159 Signed-off-by: Jorge Hernandez --- README.md | 2 +- config/drools/drools-tweaks.sh | 24 ++++++++++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) mode change 100755 => 100644 config/drools/drools-tweaks.sh diff --git a/README.md b/README.md index e72fc1dd..662800c6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ To build it using Maven 3, first build 'policy/common', 'policy/engine', 'policy target/policy-pe target/policy-drools -In addition, the 'config' dirctory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file. +In addition, the 'config' directory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file. If you want to call the docker-compose, the following needs to be setup before doing so: diff --git a/config/drools/drools-tweaks.sh b/config/drools/drools-tweaks.sh old mode 100755 new mode 100644 index 09d13416..8bff59c2 --- a/config/drools/drools-tweaks.sh +++ b/config/drools/drools-tweaks.sh @@ -1,7 +1,23 @@ #! /bin/bash -${POLICY_HOME}/bin/features enable healthcheck +### +# ============LICENSE_START======================================================= +# ONAP +# ================================================================================ +# Copyright (C) 2017 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========================================================= +### -sed -i -e 's/DCAE-CL-EVENT/unauthenticated.TCA_EVENT_OUTPUT/' \ - -e '/TCA_EVENT_OUTPUT\.servers/s/servers=.*$/servers=10.0.4.102/' \ - $POLICY_HOME/config/v*-controller.properties +${POLICY_HOME}/bin/features enable healthcheck -- cgit 1.2.3-korg