/
Upgrade/rollback of database tables
Upgrade/rollback of database tables
POLICY-1787: Support mariadb upgrade/rollback functionalityClosed
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
OOM Meeting Notes - 2024-10-23
OOM Meeting Notes - 2024-10-23
More like this
CPS-2669: Liquibase tagging and rollback tests
CPS-2669: Liquibase tagging and rollback tests
More like this
Database, Java, Python, Docker, Kubernetes, and Image Versions
Database, Java, Python, Docker, Kubernetes, and Image Versions
More like this
OPA Policy Deploy
OPA Policy Deploy
More like this
Migration - Allow element version update
Migration - Allow element version update
More like this
OOM Meeting Notes - 2024-05-08
OOM Meeting Notes - 2024-05-08
More like this