[midPoint-git] [Evolveum/midpoint] b8c6c3: SqaleRepositoryConfiguration: added min pool size ...

virgo47 noreply at github.com
Thu Oct 7 21:57:06 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b8c6c37992c9b719942dd089020eb52095a23783
      https://github.com/Evolveum/midpoint/commit/b8c6c37992c9b719942dd089020eb52095a23783
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryConfiguration.java

  Log Message:
  -----------
  SqaleRepositoryConfiguration: added min pool size floor

MP needs at least 2 connections for some cases where nested connection
is used, so min/maxPoolSize can't be set lower.
Also, if maxPoolSize < minPoolSize, the lower number is used for min.


  Commit: c27cf3276755f0d1b516b15b75ccad0c41f186f3
      https://github.com/Evolveum/midpoint/commit/c27cf3276755f0d1b516b15b75ccad0c41f186f3
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java

  Log Message:
  -----------
  repo-sqale: fixes around transactions/commits, mostly cleanup

But adding object if overwrite doesn't find it used nested connection,
this is now fixed and it uses already running transaction.


  Commit: a7db70a6f378273e17c4219e4966d9230b459aa5
      https://github.com/Evolveum/midpoint/commit/a7db70a6f378273e17c4219e4966d9230b459aa5
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryBeanConfig.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryConfiguration.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditServiceFactory.java
    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/SqlRepositoryBeanConfig.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/DataSourceFactory.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/JdbcRepositoryConfiguration.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/JdbcPingTaskHandler.java

  Log Message:
  -----------
  JdbcRepositoryConfiguration: added getJdbcUrl(String) method

This is implemented for new repo to add ApplicationName to PG connection
so it can be identified in PG_STAT_ACTIVITY.APPLICATION_NAME.
Repo uses "mp-repo", audit "mp-audit" and task manager "mp-scheduler".
SqaleAuditServiceFactory missing call of config.init() is now fixed.


Compare: https://github.com/Evolveum/midpoint/compare/7e14dbd9ce03...a7db70a6f378


More information about the midPoint-svn mailing list