[midPoint-git] [Evolveum/midpoint] 0e3728: Add clusterwide configurable cache invalidation

mederly noreply at github.com
Fri Jun 28 09:31:14 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0e37283aa913022e8ec1369355538b5b7c65c69d
      https://github.com/Evolveum/midpoint/commit/0e37283aa913022e8ec1369355538b5b7c65c69d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsCachePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/cache/CacheConfigurationManager.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/util/src/main/java/com/evolveum/midpoint/util/caching/CacheConfiguration.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/SystemObjectCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ClusterCacheListener.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ClusterRestService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelRestService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorManager.java
    A repo/repo-api/src/main/java/com/evolveum/midpoint/CacheInvalidationContext.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/CacheDispatcher.java
    A repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/CacheInvalidationDetails.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/CacheListener.java
    A repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/Cacheable.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/AbstractGlobalCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheDispatcherImpl.java
    A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheRegistry.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/ChangeDescription.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalObjectCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalQueryCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/CacheRegistry.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/Cacheable.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/SystemConfigurationCacheableAdapter.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.java

  Log Message:
  -----------
  Add clusterwide configurable cache invalidation

1. Regular cache invalidation is triggered solely from RepositoryCache
(except for special cases like explicit request from GUI, etc).

2. The interfaces of participating objects were cleaned up a bit
and enhanced by providing CacheInvalidationContext (experimental).

3. Clusterwide invalidation is now configurable via caching profile,
although SystemConfigurationType and FunctionLibraryType are always
invalidated cluster-wide.


  Commit: 6975f686533cfe366f18b1a90284b7f7603c46c9
      https://github.com/Evolveum/midpoint/commit/6975f686533cfe366f18b1a90284b7f7603c46c9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemActionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfDashboard.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CaseTypeUtil.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/util/QueryUtils.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


  Commit: a6393c639c222338019e2605f9df5bff2ba2b9e4
      https://github.com/Evolveum/midpoint/commit/a6393c639c222338019e2605f9df5bff2ba2b9e4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestAutoassign.java

  Log Message:
  -----------
  Adapt TestAutoassign to new sysconfig invalidation

Now the new sysconfig is visible even during the clockwork run,
because the caches are invalidated from within
RepositoryCache.modifyObject call, not from Clockwork.executeChanges
as it was before (see MID-5497).


  Commit: 53f6e91d6ef30b239e5d8e708919e78359bd0e63
      https://github.com/Evolveum/midpoint/commit/53f6e91d6ef30b239e5d8e708919e78359bd0e63
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M .travis.yml
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/AuthenticationEvaluatorImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointPasswordValidator.java
    M model/model-impl/src/main/resources/ctx-model.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/12f02a0f1f0a...53f6e91d6ef3


More information about the midPoint-svn mailing list