diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | config/drools/drools-tweaks.sh | 24 |
2 files changed, 21 insertions, 5 deletions
@@ -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 |