aboutsummaryrefslogtreecommitdiffstats
path: root/policy-drools/do-start.sh
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-09-26 14:57:27 -0500
committerJorge Hernandez <jh1730@att.com>2017-09-26 14:57:27 -0500
commit3700dbd91de48e9adf52536b44c38ed422549784 (patch)
tree3fdea4ba9835b6f85ebfd25426b005414b28f239 /policy-drools/do-start.sh
parente7046a057f3708a3d17c0d1ffea75528ec69eaf7 (diff)
chmod + script execution issues in docker
Change-Id: I96f942cab9d220418be6fe622c86b4bb3eb4e6c9 Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-drools/do-start.sh')
-rw-r--r--policy-drools/do-start.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/policy-drools/do-start.sh b/policy-drools/do-start.sh
index 450fe872..e1857441 100644
--- a/policy-drools/do-start.sh
+++ b/policy-drools/do-start.sh
@@ -23,9 +23,6 @@ else
mkdir -p $POLICY_HOME/etc/ssl
cp config/policy-keystore $POLICY_HOME/etc/ssl
- # this should probably be done by install.sh
- mvn install:install-file archetype:crawl -Dfile="archetype-closedloop-demo-rules-1.0.0-SNAPSHOT.jar" -DgroupId=org.onap.policy.archetype -DartifactId=archetype-closedloop-demo-rules -Dversion="1.0.0-SNAPSHOT" -Dpackaging=jar -DgeneratePom=true -DupdateReleaseInfo=true
-
if [[ -x config/drools-tweaks.sh ]] ; then
echo "Executing tweaks"
# file may not be executable; running it as an
@@ -35,6 +32,7 @@ else
# wait for DB up
./wait-for-port.sh mariadb 3306
+
# now that DB is up, invoke database upgrade:
# sql provisioning scripts should be invoked here.
fi