diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-09-12 13:03:30 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-09-13 18:28:34 +0200 |
commit | 54f68945ef69716da1368aaad8faf8945bce820a (patch) | |
tree | d55f0fd9b513f157c9bc70c9108f37e90669065c /scripts | |
parent | 31c7509eb8a6ea5498e78b0c326f60733c0a9791 (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-x | scripts/clamp/clone_clamp_and_change_dockercompose.sh | 3 |
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 |