You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/07/14 12:44:15 UTC

[1/2] syncope git commit: [SYNCOPE-1159] The same when pushing Realms

Repository: syncope
Updated Branches:
  refs/heads/2_0_X e7528831f -> 5f6f7eab8
  refs/heads/master daae6a797 -> 3d308753f


[SYNCOPE-1159] The same when pushing Realms


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/5f6f7eab
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/5f6f7eab
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/5f6f7eab

Branch: refs/heads/2_0_X
Commit: 5f6f7eab8558e6792d256883badab9ea1662c5e5
Parents: e752883
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Jul 14 14:34:07 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Jul 14 14:34:07 2017 +0200

----------------------------------------------------------------------
 .../syncope/core/provisioning/java/pushpull/PushJobDelegate.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/5f6f7eab/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
index 76ff65b..8a4a036 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
@@ -148,7 +148,7 @@ public class PushJobDelegate extends AbstractProvisioningJobDelegate<PushTask> {
                     createBean(RealmPushResultHandlerImpl.class, AbstractBeanDefinition.AUTOWIRE_BY_NAME, false);
             rhandler.setProfile(profile);
 
-            for (Realm realm : realmDAO.findAll()) {
+            for (Realm realm : realmDAO.findDescendants(profile.getTask().getSourceRealm())) {
                 // Never push the root realm
                 if (realm.getParent() != null) {
                     try {


[2/2] syncope git commit: [SYNCOPE-1159] The same when pushing Realms

Posted by il...@apache.org.
[SYNCOPE-1159] The same when pushing Realms


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/3d308753
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/3d308753
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/3d308753

Branch: refs/heads/master
Commit: 3d308753f48e758f93b9efb6c527da58fa55b655
Parents: daae6a7
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Jul 14 14:34:07 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Jul 14 14:44:02 2017 +0200

----------------------------------------------------------------------
 .../syncope/core/provisioning/java/pushpull/PushJobDelegate.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/3d308753/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
index 76ff65b..8a4a036 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
@@ -148,7 +148,7 @@ public class PushJobDelegate extends AbstractProvisioningJobDelegate<PushTask> {
                     createBean(RealmPushResultHandlerImpl.class, AbstractBeanDefinition.AUTOWIRE_BY_NAME, false);
             rhandler.setProfile(profile);
 
-            for (Realm realm : realmDAO.findAll()) {
+            for (Realm realm : realmDAO.findDescendants(profile.getTask().getSourceRealm())) {
                 // Never push the root realm
                 if (realm.getParent() != null) {
                     try {