[midPoint-git] [Evolveum/midpoint] a7f896: Improve methods related to linked objects

mederly noreply at github.com
Fri May 22 20:54:05 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a7f896412e19901e2c192050ebfe481582c340d9
      https://github.com/Evolveum/midpoint/commit/a7f896412e19901e2c192050ebfe481582c340d9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelContext.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ModelExpressionThreadLocalHolder.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/SchemaTransformer.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/LinkedObjectsFunctions.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/expr/SequentialValueExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/SmartAssignmentCollection.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AbstractObjectBasedActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/DiscoverConnectorsExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ExecuteScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ReencryptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ValidateExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/helpers/OperationsHelper.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLinkedObjects.java
    M model/model-intest/src/test/resources/linked/archetype-device.xml
    A model/model-intest/src/test/resources/linked/service-whistle.xml
    M model/model-intest/src/test/resources/linked/template-user.xml
    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/TaskManagerQuartzImpl.java
    A repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/LogCompressor.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java
    A repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracingOutputCreator.java

  Log Message:
  -----------
  Improve methods related to linked objects

1) Moved utility methods to LinkedObjectsFunctions
2) Improved findAssigneeObjects to be relative (old/new) and to be
consistent with roleMembershipRef information
3) Improved OperationResult handling (in bulk actions, in model search
operation) to be able to trace linked operations better.

Unrelated changes:
- trying to make trace browsing faster by concatenating subsequent
log entries

This is part of MID-6109 implementation.


  Commit: 5233ba6fba409ba2d1f95aa47e0449bd2a8e8ca2
      https://github.com/Evolveum/midpoint/commit/5233ba6fba409ba2d1f95aa47e0449bd2a8e8ca2
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M gui/admin-gui/pom.xml
    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/security/BasicWebSecurityConfig.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/PageUrlMapping.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/channel/RestAuthenticationChannel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/SecurityUtils.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ClusterCacheListener.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ClusterRestService.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ClusterServiceConsts.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ExtensionSchemaRestService.java
    R 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/security/ClusterwideUserSessionManagerImpl.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/LoggingFeature.java
    M model/model-impl/src/main/resources/ctx-model.xml
    M model/model-test/src/main/resources/ctx-model-test.xml
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/AbstractRestController.java
    A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ClusterRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointXmlHttpMessageConverter.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointYamlHttpMessageConverter.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestApiIndex.java
    M testing/rest/src/test/resources/repo/system-configuration.xml

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


  Commit: 393baa994b620d7ff2c043e42bcf2eaa2d7d2e84
      https://github.com/Evolveum/midpoint/commit/393baa994b620d7ff2c043e42bcf2eaa2d7d2e84
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M model/model-impl/pom.xml
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestAuthenticationHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestAuthenticator.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestPasswordAuthenticator.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestSecurityQuestionsAuthenticator.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/RestServiceUtil.java
    M testing/rest/src/test/resources/logback-test.xml
    M testing/rest/src/test/resources/repo/system-configuration.xml

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


  Commit: e08eeb05661b2a66ae3347b1eabdf70a3f57eae9
      https://github.com/Evolveum/midpoint/commit/e08eeb05661b2a66ae3347b1eabdf70a3f57eae9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    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/lens/ClockworkAuthorizationHelper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryServiceImpl.java
    M repo/security-enforcer-api/src/main/java/com/evolveum/midpoint/security/enforcer/api/AuthorizationParameters.java
    M repo/security-enforcer-api/src/main/java/com/evolveum/midpoint/security/enforcer/api/FilterGizmo.java
    M repo/security-enforcer-api/src/main/java/com/evolveum/midpoint/security/enforcer/api/PositiveNegativeItemPaths.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/AutzItemPaths.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/QueryAutzItemPaths.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SecurityEnforcerImpl.java

  Log Message:
  -----------
  Move archetypeRef to ObjectSelectorType

This selector criterion was originally in SubjectedObjectSelectorType.
But we need to use it when selecting linked objects that uses
ObjectSelectorType (where it logically belongs, after all).

This is part of MID-6109 implementation.


Compare: https://github.com/Evolveum/midpoint/compare/3775584ebcd8...e08eeb05661b


More information about the midPoint-svn mailing list