summaryrefslogtreecommitdiffstats
path: root/policy-drools
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-06-05 10:19:09 -0500
committerJorge Hernandez <jh1730@att.com>2017-06-05 10:19:09 -0500
commit3ffb016f7b1cdd8644e82453bb1d11223014ef46 (patch)
tree6a37a2429924cb41a0768a4b16d332aa98034b50 /policy-drools
parentbe9c8aeac121c988923600e611f23b1ba7c516f3 (diff)
[POLICY-8] remove unused functionality
Change-Id: I90737c5510351b1f98c1c31fdcca86d0fdb9b90f Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-drools')
-rw-r--r--policy-drools/do-start.sh7
-rw-r--r--policy-drools/docker-install.sh1
2 files changed, 2 insertions, 6 deletions
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}