Examples of completeWhenPrimaryResourceErrored()


Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, new DefaultPropagationHandler(connObjectUtil, propagations));
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }

        final RoleTO savedTO = binder.getRoleTO(created.getResult());
        savedTO.setPropagationStatusTOs(propagations);
View Full Code Here

Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, new DefaultPropagationHandler(connObjectUtil, propagations));
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }
        final RoleTO updatedTO = binder.getRoleTO(updated.getResult());
        updatedTO.setPropagationStatusTOs(propagations);

        auditManager.audit(Category.role, RoleSubCategory.update, Result.success,
View Full Code Here

Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, new DefaultPropagationHandler(connObjectUtil, propagations));
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }
        roleTO.setPropagationStatusTOs(propagations);

        rwfAdapter.delete(roleId);
View Full Code Here

Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, propHanlder);
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }

        notificationManager.createTasks(created.getResult().getKey(), created.getPerformedTasks());

        final UserTO savedTO = binder.getUserTO(created.getResult().getKey());
View Full Code Here

Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, propHanlder);
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }

        // 3. create notification tasks
        notificationManager.createTasks(updated.getResult().getKey(), updated.getPerformedTasks());
View Full Code Here

Examples of org.apache.syncope.core.propagation.impl.DefaultPropagationHandler.completeWhenPrimaryResourceErrored()

        final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
        try {
            taskExecutor.execute(tasks, new DefaultPropagationHandler(connObjectUtil, propagations));
        } catch (PropagationException e) {
            LOG.error("Error propagation primary resource", e);
            propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
        }

        userTO.setPropagationStatusTOs(propagations);

        uwfAdapter.delete(userId);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.