summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-08-17 15:16:53 -0500
committerJorge Hernandez <jh1730@att.com>2017-08-17 15:30:23 -0500
commit491f6722e91c59f61939c99f03294baa41cf7d60 (patch)
tree966c945cc1bb9bac3486aa05166c984881683f37
parent27a974f4b39957653282093ac35aa257eea6491b (diff)
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 <jh1730@att.com>
-rw-r--r--README.md2
-rw-r--r--[-rwxr-xr-x]config/drools/drools-tweaks.sh24
2 files changed, 21 insertions, 5 deletions
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
index 09d13416..8bff59c2 100755..100644
--- 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