From 3ffb016f7b1cdd8644e82453bb1d11223014ef46 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Mon, 5 Jun 2017 10:19:09 -0500 Subject: [POLICY-8] remove unused functionality Change-Id: I90737c5510351b1f98c1c31fdcca86d0fdb9b90f Signed-off-by: Jorge Hernandez --- policy-drools/do-start.sh | 7 ++----- policy-drools/docker-install.sh | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'policy-drools') diff --git a/policy-drools/do-start.sh b/policy-drools/do-start.sh index 0d57d834..7fead2f6 100644 --- a/policy-drools/do-start.sh +++ b/policy-drools/do-start.sh @@ -35,11 +35,8 @@ else # wait for DB up ./wait-for-port.sh mariadb 3306 - # now that DB is up, invoke database upgrade - # (which does nothing if the db is already up-to-date) - dbuser=$(echo $(grep '^JDBC_USER=' base.conf | cut -f2 -d=)) - dbpw=$(echo $(grep '^JDBC_PASSWORD=' base.conf | cut -f2 -d=)) - db_upgrade_droolspdp_remote.sh $dbuser $dbpw mariadb + # now that DB is up, invoke database upgrade: + # sql provisioning scripts should be invoked here. fi echo "Starting processes" diff --git a/policy-drools/docker-install.sh b/policy-drools/docker-install.sh index fd920648..bfe83b84 100644 --- a/policy-drools/docker-install.sh +++ b/policy-drools/docker-install.sh @@ -820,7 +820,6 @@ function do_install() # install features SOURCE_DIR=$PWD cd $POLICY_HOME - jar xf ${SOURCE_DIR}/policy-persistence-*.zip jar xf ${SOURCE_DIR}/policy-healthcheck-*.zip cd ${SOURCE_DIR} -- cgit 1.2.3-korg