[midPoint-git] [Evolveum/midpoint] 4845ca: Add first link-related tests (MID-6109)

mederly noreply at github.com
Mon Apr 27 16:10:17 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4845cac3fddda34d89d9b35c077c5f66401690c5
      https://github.com/Evolveum/midpoint/commit/4845cac3fddda34d89d9b35c077c5f66401690c5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/CollectionProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractConfiguredModelIntegrationTest.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractEmptyModelIntegrationTest.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCustomRelations.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLinkedObjects.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/util/CheckingProgressListener.java
    A model/model-intest/src/test/resources/common/system-configuration-empty.xml
    A model/model-intest/src/test/resources/custom-relations/system-configuration.xml
    A model/model-intest/src/test/resources/custom-relations/user-abraham.xml
    A model/model-intest/src/test/resources/custom-relations/user-isaac.xml
    A model/model-intest/src/test/resources/linked/archetype-token.xml
    A model/model-intest/src/test/resources/linked/service-medallion.xml
    A model/model-intest/src/test/resources/linked/user-cavin.xml
    A model/model-intest/src/test/resources/linked/user-grammi.xml
    A model/model-intest/src/test/resources/linked/user-gruffy.xml
    A model/model-intest/src/test/resources/linked/user-zummi.xml
    M model/model-intest/testng-integration-full.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResource.java

  Log Message:
  -----------
  Add first link-related tests (MID-6109)

Created experimental midpoint.findAssignee/findAssignees methods
to make inter-object links navigation easier.

Also introduced experimental AbstractEmptyModelIntegrationTest.

Cleaning up display() calls when asserters are created. (We decided
to call display() automatically only when creating asserters in known
contexts like "before" and "after" some operation.)


  Commit: 355acb9ce50baa555d9e29b348faf3df5c99ed4b
      https://github.com/Evolveum/midpoint/commit/355acb9ce50baa555d9e29b348faf3df5c99ed4b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsCachePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsCachePanel.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/match/MatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/DefaultMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/DistinguishedNameMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/ExchangeEmailAddressesMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/MatchingRuleRegistryImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/PolyStringNormMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/PolyStringOrigMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/PolyStringStrictMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/StringIgnoreCaseMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/UuidMatchingRule.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/match/XmlMatchingRule.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ExpressionProfiles.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/QNameUtil.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/caching/AbstractThreadLocalCache.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/evaluator/caching/AbstractSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibrary.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionEvaluatorFactory.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionFactory.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/ExpressionTestUtil.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptTest.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestScriptCaching.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/triggerSetter/TriggerCreatorGlobalState.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkHookHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusConstraintsChecker.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ScriptExecutor.java
    M model/model-impl/src/main/resources/ctx-model.xml
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportServiceImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConfiguredConnectorInstanceEntry.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConstraintsChecker.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceCache.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/Cacheable.java
    A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/AbstractGlobalCacheValue.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheDispatcherImpl.java
    M 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/GlobalCacheObjectValue.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalCacheObjectVersionValue.java
    A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalCacheQueryValue.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/GlobalVersionCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalObjectCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalQueryCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalVersionCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/QueryKey.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    A repo/repo-cache/src/test/java/com/evolveum/midpoint/repo/cache/CacheInvalidationPerformanceTest.java
    M repo/repo-cache/src/test/resources/logback-test.xml
    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
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractHigherUnitTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Add cache diagnostic features

1) Added "secondary size" for query caches (# of results)
2) Added "dump cache content to log" feature

Also other minor changes e.g. renaming MatchingRule.isSupported(type)
to supports(type).


  Commit: 69fc1ad58e6cecc13d0443769cb081eee47b5dc6
      https://github.com/Evolveum/midpoint/commit/69fc1ad58e6cecc13d0443769cb081eee47b5dc6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceTasksPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/dto/ApprovalProcessExecutionInformationDto.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractDirectManualResourceTest.java
    M pom.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java

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


Compare: https://github.com/Evolveum/midpoint/compare/e3b9f01b3fc8...69fc1ad58e6c


More information about the midPoint-svn mailing list