X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fclamp%2Fcharts%2Fmariadb%2Fresources%2Fconfig%2Fmariadb%2Fdocker-entrypoint-initdb.d%2Fload-sql-files-tests-automation.sh;fp=kubernetes%2Fclamp%2Fcharts%2Fmariadb%2Fresources%2Fconfig%2Fmariadb%2Fdocker-entrypoint-initdb.d%2Fload-sql-files-tests-automation.sh;h=0755826cde1c574b138169797f8d1754ba552102;hb=0d2232e88fc6705156a56281fe8e5c29aeafde36;hp=1c8f3bf8f232e5c6da2b6829d7a72f9c78a2b51a;hpb=44bb1331811826ab4ac256a8c60b9333e68bd2da;p=oom.git diff --git a/kubernetes/clamp/charts/mariadb/resources/config/mariadb/docker-entrypoint-initdb.d/load-sql-files-tests-automation.sh b/kubernetes/clamp/charts/mariadb/resources/config/mariadb/docker-entrypoint-initdb.d/load-sql-files-tests-automation.sh old mode 100644 new mode 100755 index 1c8f3bf8f2..0755826cde --- a/kubernetes/clamp/charts/mariadb/resources/config/mariadb/docker-entrypoint-initdb.d/load-sql-files-tests-automation.sh +++ b/kubernetes/clamp/charts/mariadb/resources/config/mariadb/docker-entrypoint-initdb.d/load-sql-files-tests-automation.sh @@ -7,6 +7,7 @@ # Copyright (C) 2017 AT&T Intellectual Property. All rights # reserved. # Modifications Copyright © 2018 Amdocs,Bell Canada +# Modifications Copyright © 2019 AT&T # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,5 +26,8 @@ ### cd /docker-entrypoint-initdb.d/bulkload +### Keep previous DB for now (SOON DEPRECATED) mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < clds-create-db-objects.sql mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < clds-stored-procedures.sql +## New model creation +mysql -uroot -p$MYSQL_ROOT_PASSWORD -f cldsdb4 < create-tables.sql