[midPoint-git] [Evolveum/midpoint] 3d9a51: Improve tracing

mederly noreply at github.com
Tue Oct 1 10:44:01 UTC 2019


  Branch: refs/heads/tmp/fixes
  Home:   https://github.com/Evolveum/midpoint
  Commit: 3d9a51878a0cfbd1eefeec7e13e5cb962e47d689
      https://github.com/Evolveum/midpoint/commit/3d9a51878a0cfbd1eefeec7e13e5cb962e47d689
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-09-30 (Mon, 30 Sep 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/PrismContainerWrapperColumnPanel.java
    A infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/DeltaSetTripleType.java
    A infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaItemType.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaType.java
    A infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemType.java
    A infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ObjectDeltaObjectType.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/BeanMarshaller.java
    M infra/prism-impl/src/main/resources/xml/ns/public/types-3.xsd
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/VariablesMap.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/PolicyRuleTypeUtil.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/TraceUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-model-context-3.xsd
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestSerialization.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractValueTransformationExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionEvaluationContext.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionFactory.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/DashboardServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Construction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/OutboundProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/AssignmentModificationConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/CompositeConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ExclusionConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/HasAssignmentConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/MultiplicityConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ObjectModificationConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/PolicySituationConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/StateConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/TransitionConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/CancelCaseRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/ClaimWorkItemsRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/CompleteWorkItemsRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/DelegateWorkItemsRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/OpenCaseRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/ReleaseWorkItemsRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/Request.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/access/WorkItemManager.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/WorkflowEngine.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/CancelCaseAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/ClaimWorkItemsAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/CloseCaseAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/CloseStageAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/CompleteWorkItemsAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/DelegateWorkItemsAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/OpenCaseAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/OpenStageAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/ReleaseWorkItemsAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/hook/WfHook.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PrimaryChangeProcessor.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/entitlements/AddAssociationAspect.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/AssignmentPolicyAspectPart.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/ObjectPolicyAspectPart.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/PolicyRuleBasedAspect.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTestPolicy.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionVariables.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Source.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java

  Log Message:
  -----------
  Improve tracing

1. Tracing mapping (sources, outputs)
2. Tracing value transformation steps (sources, outputs)
3. Tracing script execution (input variables, outputs)
4. Tracing policy rules and constraints evaluation
5. Establishing op. result structure for workflow processing
6. Added object content to repo add/get/search operations traces
7. Optimized script variables dumps and traces (using aliases)
8. Added an option to disable writing trace file


  Commit: 20d218b76cb06495163a117e5024da21953e32e4
      https://github.com/Evolveum/midpoint/commit/20d218b76cb06495163a117e5024da21953e32e4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/helpers/AuditHelper.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PrimaryChangeProcessor.java
    M repo/repo-cache/pom.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java

  Log Message:
  -----------
  Allow case.objectRef to point to non-existing obj

This is a first part of MID-5554 resolution. We eliminate error
log entries here.

Also adding asynchronousObjectReference to OperationResultType.


  Commit: ad0006c413f4ebc54f76e628d0f292378a60e53c
      https://github.com/Evolveum/midpoint/commit/ad0006c413f4ebc54f76e628d0f292378a60e53c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/MutablePrismReferenceDefinition.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestSerialization.java

  Log Message:
  -----------
  Store full objects in cases when needed

This is the second part of MID-5554 resolution. When object creation
is being approved, case.objectRef contains full object.


Compare: https://github.com/Evolveum/midpoint/compare/3d9a51878a0c%5E...ad0006c413f4


More information about the midPoint-svn mailing list