[midPoint-git] [Evolveum/midpoint] b0c3ce: Continuing approvals/certification schema cleanup.
Pavol Mederly
mederly at evolveum.com
Sat Apr 8 00:19:13 CEST 2017
Branch: refs/heads/feature/certification-work-items
Home: https://github.com/Evolveum/midpoint
Commit: b0c3ce5d3b24b847613fad1b4fe6c4bb4148eab2
https://github.com/Evolveum/midpoint/commit/b0c3ce5d3b24b847613fad1b4fe6c4bb4148eab2
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2017-04-07 (Fri, 07 Apr 2017)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertDecisions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCampaignDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCampaignListItemDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseOrWorkItemDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/SearchingUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/dto/DecisionDto.java
M gui/admin-gui/src/main/resources/localization/Midpoint.properties
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CertCampaignTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/WfContextUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-workflows-3.xsd
M infra/schema/src/test/resources/common/xml/ns/certification-case-1.xml
M model/certification-api/src/main/java/com/evolveum/midpoint/certification/api/OutcomeUtils.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertCaseOperationsHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertGeneralHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertResponseComputationHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertUpdateHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractCertificationTest.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/BasicCertificationTest.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/CriticalRolesCertificationTest.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/RoleInducementCertificationTest.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/SoDCertificationTest.java
M model/model-intest/src/test/resources/security/campaigns.xml
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/itemApproval/InitializeLoopThroughApproversInStage.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/BaseAuditHelper.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/tasks/WfTask.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/CertificationTest.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreter2Test.java
M repo/repo-sql-impl-test/src/test/resources/basic/objects.xml
M repo/repo-sql-impl-test/src/test/resources/cert/cert-campaign-1.xml
M repo/repo-sql-impl-test/src/test/resources/cert/cert-campaign-2.xml
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAccessCertificationCampaign.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAccessCertificationCase.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java
Log Message:
-----------
Continuing approvals/certification schema cleanup.
case.currentStageNumber -> stageNumber, overallOutcome:enum -> outcome:URI
case.currentReviewRequestedTimestamp -> currentStageCreateTimestamp
case.currentReviewDeadline -> currentStageDeadline
replaced stage outcome history by stage close events
campaign.start/end -> start/endTimestamp
removed stageName/DisplayName/Count from workflow context
automatedDecisionReason -> automatedCompletionReason
Commit: 7359f134364ecb0ce8c20ce4e866f50d96752b3c
https://github.com/Evolveum/midpoint/commit/7359f134364ecb0ce8c20ce4e866f50d96752b3c
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2017-04-07 (Fri, 07 Apr 2017)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M model/certification-api/src/main/java/com/evolveum/midpoint/certification/api/OutcomeUtils.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertCaseOperationsHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertResponseComputationHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractCertificationTest.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAccessCertificationCase.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/enums/RAccessCertificationResponse.java
Log Message:
-----------
currentStageOutcome: enum -> URI
Commit: 631c14bfddc122fa797fec4e5a2d52eabb2ca372
https://github.com/Evolveum/midpoint/commit/631c14bfddc122fa797fec4e5a2d52eabb2ca372
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2017-04-07 (Fri, 07 Apr 2017)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/WfContextUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/WorkflowManager.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/WorkflowManagerImpl.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PcpWfTask.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/tasks/WfTaskUtil.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestInfrastructure.java
Log Message:
-----------
Removed "approvedBy" from workflow context.
Commit: 4363f9ffd2d4af5a939cd2386ead97f39bb2dbbf
https://github.com/Evolveum/midpoint/commit/4363f9ffd2d4af5a939cd2386ead97f39bb2dbbf
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2017-04-07 (Fri, 07 Apr 2017)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CertCampaignTypeUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-workflows-3.xsd
M model/certification-api/src/main/java/com/evolveum/midpoint/certification/api/OutcomeUtils.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkflowEvent.java
M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/util/ApprovalUtils.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/WfTimedActionTriggerHandler.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/itemApproval/MidpointUtil.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/tasks/WfTaskController.java
Log Message:
-----------
graceful conversions from outcome URIs to enums (QNameUtil.matchUri instead of equals)
timed actions available in the schema for certifications
Commit: f6cbacbb0f8ce6f715d6a0ac4cc43099977fdacd
https://github.com/Evolveum/midpoint/commit/f6cbacbb0f8ce6f715d6a0ac4cc43099977fdacd
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2017-04-08 (Sat, 08 Apr 2017)
Changed paths:
M infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismReferenceValue.java
M infra/prism/src/main/java/com/evolveum/midpoint/prism/delta/builder/DeltaBuilder.java
M infra/prism/src/main/java/com/evolveum/midpoint/prism/query/builder/S_AtomicFilterEntry.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ExpressionConstants.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CertCampaignTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/WfContextUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/QNameUtil.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertQueryHelper.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertTimedActionTriggerHandler.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertUpdateHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractCertificationTest.java
A model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/EscalationTest.java
M model/certification-impl/testng-integration.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/WorkflowManagerImpl.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/activiti/dao/WorkItemManager.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/ActivitiUtil.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/WfTimedActionTriggerHandler.java
Log Message:
-----------
First attempt at certification work item escalation.
(Currently no timed escalations, only explicitly triggered.
Also, no notifications yet.)
Compare: https://github.com/Evolveum/midpoint/compare/1f3f8f5f788c...f6cbacbb0f8c
More information about the midPoint-svn
mailing list