diff options
author | Liam Fallon <liam.fallon@est.tech> | 2022-03-01 19:44:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-03-01 19:44:46 +0000 |
commit | e1b946526cfe247b339854988ad66a8fc3df14ee (patch) | |
tree | 02ae3be19e161d127851478a3c7cb3d95f034304 /csit | |
parent | 559b64712ea273799bc80c114163276f71dffd51 (diff) | |
parent | 461b8b72b5f68e7e0ea0abdda8a01ef20c18532d (diff) |
Merge "Update ACM Schema in db migrator"
Diffstat (limited to 'csit')
-rw-r--r-- | csit/config/clamp/AcRuntimeParameters.yaml | 2 | ||||
-rwxr-xr-x | csit/config/db/db.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/csit/config/clamp/AcRuntimeParameters.yaml b/csit/config/clamp/AcRuntimeParameters.yaml index f17d3eb6..40031828 100644 --- a/csit/config/clamp/AcRuntimeParameters.yaml +++ b/csit/config/clamp/AcRuntimeParameters.yaml @@ -7,7 +7,7 @@ spring: converters: preferred-json-mapper: gson datasource: - url: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/clamp-acm + url: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/clampacm driverClassName: org.mariadb.jdbc.Driver username: policy_user password: policy_user diff --git a/csit/config/db/db.sh b/csit/config/db/db.sh index 7cc94fdb..d1300091 100755 --- a/csit/config/db/db.sh +++ b/csit/config/db/db.sh @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -for db in migration pooling policyadmin operationshistory controlloop +for db in migration pooling policyadmin operationshistory clampacm do mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" |