[midPoint-git] [Evolveum/midpoint] 3a51f3: repo-sqale: javadoc update/improvements around map...
virgo47
noreply at github.com
Thu Sep 30 15:05:41 CEST 2021
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 3a51f3703b5c3dff3e54700769fea6256717e0e3
https://github.com/Evolveum/midpoint/commit/3a51f3703b5c3dff3e54700769fea6256717e0e3
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleQueryContext.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryContext.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/QueryTableMapping.java
Log Message:
-----------
repo-sqale: javadoc update/improvements around mapping/query context
Commit: 6720171711819befa3c984ac99e1a54b85747eb6
https://github.com/Evolveum/midpoint/commit/6720171711819befa3c984ac99e1a54b85747eb6
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryContext.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/ResultListRowTransformer.java
Log Message:
-----------
repo-sqale: added ResultListRowTransformer#finishTransformation
Method is default and empty, so the interface is still "SAM" (single
abstract method) interface.
Method finishTransformation() is called after all the rows were
transformed and it can be extremely useful if some data were collected
during the transformation.
Example: Previously, if parent object for container was needed, it was
obtained immediately (cache map for repeated parents could be used,
of course) which meant potentially up to N queries (by OID, sure, which
is fast, but you should still shudder when you hear infamous N+1).
Now you can just collect all the distinct OID and then loaded in one
SELECT ... WHERE oid IN (...) query. Cool, isn't it?
Commit: 7c023b51b1652c88c85b1a30cfea543b3973107b
https://github.com/Evolveum/midpoint/commit/7c023b51b1652c88c85b1a30cfea543b3973107b
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QOperationExecutionMapping.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
Log Message:
-----------
MID-7235: initial mapping support for OperationExecutionType search
Commit: cb293cf096d0c18460a3df3fb43261fa51bd13a7
https://github.com/Evolveum/midpoint/commit/cb293cf096d0c18460a3df3fb43261fa51bd13a7
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
A config/sql/README.txt
A config/sql/generic-old/h2-4.4-all.sql
A config/sql/generic-old/h2-upgrade-4.0-4.4.sql
A config/sql/generic-old/h2-upgrade-4.3-4.4.sql
A config/sql/generic-old/mysql-upgrade-4.0-4.4-utf8mb4.sql
A config/sql/generic-old/mysql-upgrade-4.0-4.4.sql
A config/sql/generic-old/mysql-upgrade-4.3-4.4-utf8mb4.sql
A config/sql/generic-old/mysql-upgrade-4.3-4.4.sql
A config/sql/generic-old/oracle-4.4-all.sql
A config/sql/generic-old/oracle-upgrade-4.0-4.4.sql
A config/sql/generic-old/oracle-upgrade-4.3-4.4.sql
A config/sql/generic-old/postgresql-4.4-all.sql
A config/sql/generic-old/postgresql-upgrade-4.0-4.4.sql
A config/sql/generic-old/postgresql-upgrade-4.3-4.4.sql
A config/sql/generic-old/sqlserver-4.4-all.sql
A config/sql/generic-old/sqlserver-upgrade-4.0-4.4.sql
A config/sql/generic-old/sqlserver-upgrade-4.3-4.4.sql
R config/sql/h2-4.4-all.sql
R config/sql/h2-upgrade-4.0-4.4.sql
R config/sql/h2-upgrade-4.3-4.4.sql
R config/sql/mysql-upgrade-4.0-4.4-utf8mb4.sql
R config/sql/mysql-upgrade-4.0-4.4.sql
R config/sql/mysql-upgrade-4.3-4.4-utf8mb4.sql
R config/sql/mysql-upgrade-4.3-4.4.sql
A config/sql/native-new/postgres-new-audit.sql
A config/sql/native-new/postgres-new-quartz.sql
A config/sql/native-new/postgres-new-upgrade.sql
A config/sql/native-new/postgres-new.sql
R config/sql/oracle-4.4-all.sql
R config/sql/oracle-upgrade-4.0-4.4.sql
R config/sql/oracle-upgrade-4.3-4.4.sql
R config/sql/postgresql-4.4-all.sql
R config/sql/postgresql-upgrade-4.0-4.4.sql
R config/sql/postgresql-upgrade-4.3-4.4.sql
R config/sql/sqlserver-4.4-all.sql
R config/sql/sqlserver-upgrade-4.0-4.4.sql
R config/sql/sqlserver-upgrade-4.3-4.4.sql
R dist/src/main/var/README
A dist/src/main/var/README.txt
M repo/repo-cache/src/test/resources/test-config-new-repo.xml
R repo/repo-sqale/sql/pg-org-experiments.sql
R repo/repo-sqale/sql/pgnew-experiments.sql
R repo/repo-sqale/sql/pgnew-repo-audit.sql
R repo/repo-sqale/sql/pgnew-repo.sql
M repo/repo-sqale/src/test/resources/config-test.xml
M repo/repo-test-util/src/main/resources/test-config-new-repo.xml
Log Message:
-----------
MID-6943: reorganization of SQL scripts, added README with docs links
Commit: 40c67ed7ce2b991cff4ad1ae1549dce2980b1532
https://github.com/Evolveum/midpoint/commit/40c67ed7ce2b991cff4ad1ae1549dce2980b1532
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M infra/common/src/main/java/com/evolveum/midpoint/common/configuration/api/MidpointConfiguration.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryBeanConfig.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryBeanConfig.java
Log Message:
-----------
Sql/SqaleRepositoryBeanConfig initialization changes, see log details
SqlRepositoryBeanConfig (old repo) can now be initialized using
"generic" as a <type> value ("sql" and factory class still works too).
SqaleRepositoryBeanConfig (new repo) can be specified with "native".
Both "generic" and "native" is used in MID-6943 and the documentation
linked there.
Additionally, new repo does NOT support <repositoryServiceFactoryClass>.
Compare: https://github.com/Evolveum/midpoint/compare/374644621780...40c67ed7ce2b
More information about the midPoint-svn
mailing list