syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: [SYNCOPE-1159] The same when pushing Realms
Date Fri, 14 Jul 2017 12:44:16 GMT
[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ò <ilgrosso@apache.org>
Authored: Fri Jul 14 14:34:07 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@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 {


Mime
View raw message