/
Upgrade/rollback of database tables
Upgrade/rollback of database tables
https://lf-onap.atlassian.net/browse/POLICY-1787
Move table creation into the upgrade/downgrade/install scripts in order to support upgrade/rollback of ONAP releases.
Links
Liquibase may be the required solution.
Policy database DDL can be exported from MariaDB to a file using HeidiSQL.
MariaDB and Postgres(8.2+) work with Liquibase, Cassandra requires an extension.
It can also be used with Hibernate.
Testing
Liquibase Docker Compose Testing
Notes
We can either integrate Liquibase as part of our application code (Spring boot/Hibernate is the easiest option) or as part of our CI/CD pipeline.
Need to address the table-creation JPA errors currently appearing in the logs
, multiple selections available,
Related content
Allow underlying database to be configured: MariaDB or Postgres
Allow underlying database to be configured: MariaDB or Postgres
More like this
SO Component
SO Component
More like this
OOM Guilin Release Proposal
OOM Guilin Release Proposal
More like this
OOM Configuration Management
OOM Configuration Management
More like this
Liquibase Docker Testing
Liquibase Docker Testing
More like this
Database additions for Pdp group policy deploy/undeploy audit
Database additions for Pdp group policy deploy/undeploy audit
More like this