aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-09-12 13:03:30 +0200
committersebdet <sebastien.determe@intl.att.com>2019-09-13 18:28:34 +0200
commit54f68945ef69716da1368aaad8faf8945bce820a (patch)
treed55f0fd9b513f157c9bc70c9108f37e90669065c /scripts
parent31c7509eb8a6ea5498e78b0c326f60733c0a9791 (diff)
Modify Db script
Change db script so that it uses the autogenerated test data instead of a predefined one Issue-ID: CLAMP-496 Change-Id: I211913acbe49f93696e8d21674936fd589964b4a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clamp/clone_clamp_and_change_dockercompose.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/clamp/clone_clamp_and_change_dockercompose.sh b/scripts/clamp/clone_clamp_and_change_dockercompose.sh
index 0c30b26a..afd60e78 100755
--- a/scripts/clamp/clone_clamp_and_change_dockercompose.sh
+++ b/scripts/clamp/clone_clamp_and_change_dockercompose.sh
@@ -39,5 +39,4 @@ sed -i '/image: onap\/clamp-backend/c\ image: nexus3.onap.org:10001\/onap\/cl
sed -i '/image: onap\/clamp-frontend/c\ image: nexus3.onap.org:10001\/onap\/clamp-frontend:4.1-STAGING-latest' docker-compose.yml
# Add the sql to create template so it is played by docker-compose later
-cp ../../../src/test/resources/sql/loop-examples.sql ../../sql/bulkload/
-echo 'mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < loop-examples.sql' >> ../../sql/load-sql-files-tests-automation.sh
+echo '/docker-entrypoint-initdb.d/dump/load-fake-data.sh' >> $WORKSPACE/archives/clamp-clone/clamp/extra/sql/bootstrap-database.sh