protected void assertWillUnassignPendingOperationExecuting(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.DELETE) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.EXECUTING) .assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end(); }
protected void assertWillUnassignPendingOperationCompleted(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.DELETE) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.COMPLETED) .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .assertId() .end() .end(); }
@Override protected void assertWillUnassignPendingOperationExecuting(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.MODIFY) .item(SchemaConstants.PATH_ACTIVATION_ADMINISTRATIVE_STATUS) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.EXECUTING) .assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end(); }
@Override protected void assertWillUnassignPendingOperationCompleted(ShadowAsserter<Void> shadowRepoAsserter) { shadowRepoAsserter .pendingOperations() .by() .changeType(ChangeTypeType.MODIFY) .item(SchemaConstants.PATH_ACTIVATION_ADMINISTRATIVE_STATUS) .find() .assertRequestTimestamp(accountWillSecondReqestTimestampStart, accountWillSecondReqestTimestampEnd) .assertExecutionStatus(PendingOperationExecutionStatusType.COMPLETED) .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .assertId() .end() .end(); }
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowRepoAsserter, false, null); .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowModelAsserter, false, ActivationStatusType.ENABLED); // backing store not yet updated
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowRepoAsserter, true, null);
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountJackCompletionTimestampStart, accountJackCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowRepoAsserter, true, null); .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountJackCompletionTimestampStart, accountJackCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowModelAsserter, true, ActivationStatusType.DISABLED);
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowRepoAsserter, true, null); .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowModelAsserterNoFetch, true, null);
.assertId() .assertType(PendingOperationTypeType.MANUAL) .end();
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowRepoAsserter, false, null); .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertUnassignedShadow(shadowModelAsserter, false, ActivationStatusType.ENABLED); // backing store not yet updated
.assertId() .assertType(PendingOperationTypeType.MANUAL) .end();
.display() .end() .end() .end() .attributes() .assertRequestTimestamp(accountWillReqestTimestampStart, accountWillReqestTimestampEnd) .assertExecutionStatus(getExpectedExecutionStatus(propagationExecutionStage)) .end() .end(); assertAttributeFromCache(shadowModelAsserter, ATTR_FULLNAME_QNAME, expectedFullName);
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end() .attributes() .assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end(); assertAttributeFromBackingStore(shadowModelAsserter, ATTR_DESCRIPTION_QNAME, ACCOUNT_WILL_DESCRIPTION_MANUAL);
.assertType(PendingOperationTypeType.MANUAL) .assertRequestTimestamp(accountWillReqestTimestampStart, accountWillReqestTimestampEnd) .end() .end() .attributes() .assertType(PendingOperationTypeType.MANUAL) .assertRequestTimestamp(accountWillReqestTimestampStart, accountWillReqestTimestampEnd) .end() .end() .attributes()
.assertResultStatus(OperationResultStatusType.SUCCESS) .assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .end() .end() .attributes()
.assertCompletionTimestamp(accountWillCompletionTimestampStart, accountWillCompletionTimestampEnd) .assertId() .end() .end(); assertWillUnassignPendingOperationCompleted(shadowRepoAsserter);
.assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end() .attributes()
.assertResultStatus(OperationResultStatusType.IN_PROGRESS) .assertId() .end() .end() .attributes()