[midPoint-git] [Evolveum/midpoint] 8774ba: Recognize "starting" as separate node state

mederly noreply at github.com
Tue Jan 14 17:00:47 UTC 2020


  Branch: refs/heads/support-4.0
  Home:   https://github.com/Evolveum/midpoint
  Commit: 8774bac7c0abc8b39389425255e8176fe2524233
      https://github.com/Evolveum/midpoint/commit/8774bac7c0abc8b39389425255e8176fe2524233
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/AbstractSpringBootApplication.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/MidPointSpringApplication.java
    M infra/common/src/main/java/com/evolveum/midpoint/common/LoggingConfigurationManager.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/ClusterwideUserSessionManagerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/NodeAuthenticationEvaluatorImpl.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportManagerImpl.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheRegistry.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SystemConfigurationChangeDispatcherImpl.java
    M repo/task-api/pom.xml
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/ClusterExecutionOptions.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskManager.java
    M repo/task-quartz-impl/pom.xml
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/NodeIdComputer.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/TaskManagerQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterManager.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/NodeRegistrar.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/RemoteNodesManager.java

  Log Message:
  -----------
  Recognize "starting" as separate node state

1. Replaced node.running with node.operationalStatus (up/down/starting).
2. The transition from Starting to Up state along with the start of
   Cluster Manager thread and Quartz Scheduler is now hooked to Spring
   ApplicationReadyEvent (at least for now), instead of postInit method.
3. Some other minor changes were done.

All of this is related to MID-5904.

(cherry picked from commit 4b293d699cfdda379cbd4258938a23bbd4fc17f3)


  Commit: 21e9aab972b5ad8d6dc20d833aecb868bf6ec88c
      https://github.com/Evolveum/midpoint/commit/21e9aab972b5ad8d6dc20d833aecb868bf6ec88c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskManager.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/TaskManagerQuartzImpl.java

  Log Message:
  -----------
  Add node startup delay parameter

This is to make sure that node is declared UP only after it is really
able to receive REST calls, e.g. cache invalidation ones.

Until some better solution is found, the current approach is to delay
this transition for 'nodeStartupDelay' seconds.

This is related to MID-5904.

(cherry picked from commit f2a5ec62af9a5d258920095548f0010acca73866)


  Commit: 132d1539efb02b1dac8f8a7889ea374da549fa66
      https://github.com/Evolveum/midpoint/commit/132d1539efb02b1dac8f8a7889ea374da549fa66
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java

  Log Message:
  -----------
  Make checkstyle happy after cherry-picking


Compare: https://github.com/Evolveum/midpoint/compare/fb27a584c459...132d1539efb0


More information about the midPoint-svn mailing list