[midPoint-git] [Evolveum/midpoint] 7f06c0: MID-6318: SqlAuditServiceImpl.customColumns taken ...
virgo47
noreply at github.com
Tue Aug 18 20:12:23 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 7f06c0c6cf4503f25e118fa15d128f779dd5aecc
https://github.com/Evolveum/midpoint/commit/7f06c0c6cf4503f25e118fa15d128f779dd5aecc
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/QueryModelMapping.java
Log Message:
-----------
MID-6318: SqlAuditServiceImpl.customColumns taken over by mapping
Commit: f408a854fec38556981ec90a48f600ceb8b239e2
https://github.com/Evolveum/midpoint/commit/f408a854fec38556981ec90a48f600ceb8b239e2
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/QueryModelMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditDeltaMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditEventRecordMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditItemMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditPropertyValueMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditRefValueMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditResourceMapping.java
Log Message:
-----------
MID-6318: QueryModelMapping.columns removed, useless so far
Only extensionColumns are currently registered.
Commit: 048eee62510b7fdf1f4ffdfc0bd01a08e1b786a2
https://github.com/Evolveum/midpoint/commit/048eee62510b7fdf1f4ffdfc0bd01a08e1b786a2
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceFactory.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryConfiguration.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/JdbcSession.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/SqlTableMetadata.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querydsl/MidpointOracleTemplates.java
M repo/repo-test-util/src/main/resources/test-config.xml
Log Message:
-----------
MID-6318: added feature to auto-create custom columns (mainly for tests)
- Added JdbcSession.addColumn meant for custom/extension columns.
- Added MidpointOracleTemplates that maps JDBC NVARCHAR to varchar2.
- Helper class SqlTableMetadata for finding existing columns.
- And repo config XML supports boolean tag createMissingCustomColumns.
(by default false)
- This fixes model-intest even without rather fishy if enabling/checking
custom columns only if they were configured (it would still fail if
one name was configured and other one used).
Compare: https://github.com/Evolveum/midpoint/compare/bde49c63068a...048eee62510b
More information about the midPoint-svn
mailing list