profModificationAction.setIusToUninstall(profileIUs);
//This is required for revert operations.
profModificationAction.setTimestamp(provActionInfo.getTimestamp());
//Review the profile modifiation operation
ResolutionResult resolutionResult = profModificationAction.reviewProfileChangeAction(
ProvisioningUtils.getProfile());
//Wrap ResolutionResult so that it can be send through the wire.
provisioningActionResultInfo = ProvWSUtils.wrapResolutionResult(resolutionResult);
int severity = resolutionResult.getSummaryStatus().getSeverity();
if (severity == IStatus.ERROR) {
provisioningActionResultInfo.setProceedWithInstallation(false);
if (log.isDebugEnabled()) {
log.debug("Failed to proceed with the provisioning action due an error," +
resolutionResult.getSummaryReport());
}
} else {
provisioningActionResultInfo.setProceedWithInstallation(true);
ProvWSUtils.saveResolutionResult(profModificationAction.getActionType(), resolutionResult,
MessageContext.getCurrentMessageContext());