[midPoint-git] [Evolveum/midpoint] b7d35e: Add outdated DB schema checking (MID-4923)
Pavol Mederly
mederly at evolveum.com
Sat Sep 29 01:56:03 CEST 2018
Branch: refs/heads/tmp/tier-devel
Home: https://github.com/Evolveum/midpoint
Commit: b7d35e8ee7042a31300f6a526300de0cfe1a4754
https://github.com/Evolveum/midpoint/commit/b7d35e8ee7042a31300f6a526300de0cfe1a4754
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2018-09-29 (Sat, 29 Sep 2018)
Changed paths:
M config/sql/_all/h2-3.9-all.sql
M config/sql/_all/h2-upgrade-3.8-3.9.sql
M config/sql/_all/mysql-3.9-all-utf8mb4.sql
M config/sql/_all/mysql-3.9-all.sql
M config/sql/_all/mysql-upgrade-3.8-3.9-utf8mb4.sql
M config/sql/_all/mysql-upgrade-3.8-3.9.sql
M config/sql/_all/oracle-3.9-all.sql
M config/sql/_all/oracle-upgrade-3.8-3.9.sql
M config/sql/_all/postgresql-3.9-all.sql
M config/sql/_all/postgresql-upgrade-3.8-3.9.sql
M config/sql/_all/sqlserver-3.9-all.sql
M config/sql/_all/sqlserver-upgrade-3.8-3.9.sql
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SchemaChecker.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryConfiguration.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RGlobalMetadata.java
Log Message:
-----------
Add outdated DB schema checking (MID-4923)
This is a preliminary support for outdated DB schema checking.
Preliminary because e.g.
1) it assumes that any version mismatch means that the schema is
outdated (as opposed to newer than required);
2) no attempt at automated remediation is made -- only a generic
error message is output, pointing to midPoint wiki (release notes)
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the midPoint-svn
mailing list