diff options
author | Lathish <lathishbabu.ganesan@est.tech> | 2022-02-23 10:49:41 +0000 |
---|---|---|
committer | Lathish <lathishbabu.ganesan@est.tech> | 2022-02-28 11:00:07 +0000 |
commit | 461b8b72b5f68e7e0ea0abdda8a01ef20c18532d (patch) | |
tree | 663f05f8c596c1602242d0c506c1f93c79f7338a /csit | |
parent | fce51e880cf80bea2c238e42c5b8d9608bdde859 (diff) |
Update ACM Schema in db migrator
Issue-ID: POLICY-3944
Change-Id: If22c95d0fae99e6312ca7b079a5663476d3e06f0
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
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}'@'%' ;" |