syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [syncope] branch master updated: NOJIRA: Fix typo in destination field (#123)
Date Tue, 01 Oct 2019 07:45:32 GMT
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new cdce502  NOJIRA: Fix typo in destination field (#123)
cdce502 is described below

commit cdce50214e8f0c4036b9f9633060c189421333dd
Author: Misagh Moayyed <mm1844@gmail.com>
AuthorDate: Tue Oct 1 11:15:26 2019 +0330

    NOJIRA: Fix typo in destination field (#123)
---
 .../apache/syncope/core/persistence/api/entity/task/PullTask.java | 2 +-
 .../syncope/core/persistence/jpa/entity/task/JPAPullTask.java     | 2 +-
 .../syncope/core/provisioning/java/data/TaskDataBinderImpl.java   | 2 +-
 .../java/propagation/PriorityPropagationTaskExecutor.java         | 2 +-
 .../provisioning/java/pushpull/DefaultRealmPullResultHandler.java | 8 ++++----
 .../syncope/core/provisioning/java/utils/ConnObjectUtils.java     | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/task/PullTask.java
b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/task/PullTask.java
index 2d8ffdd..d1bceb0 100644
--- a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/task/PullTask.java
+++ b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/task/PullTask.java
@@ -35,7 +35,7 @@ public interface PullTask extends ProvisioningTask {
 
     void setReconFilterBuilder(Implementation reconFilterBuilder);
 
-    Realm getDestinatioRealm();
+    Realm getDestinationRealm();
 
     void setDestinationRealm(Realm destinationRealm);
 
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/task/JPAPullTask.java
b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/task/JPAPullTask.java
index 1217211..2b5c678 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/task/JPAPullTask.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/task/JPAPullTask.java
@@ -100,7 +100,7 @@ public class JPAPullTask extends AbstractProvisioningTask implements PullTask
{
     }
 
     @Override
-    public Realm getDestinatioRealm() {
+    public Realm getDestinationRealm() {
         return destinationRealm;
     }
 
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/TaskDataBinderImpl.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/TaskDataBinderImpl.java
index a34a641..f747417 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/TaskDataBinderImpl.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/TaskDataBinderImpl.java
@@ -412,7 +412,7 @@ public class TaskDataBinderImpl implements TaskDataBinder {
 
                 fill(pullTaskTO, pullTask);
 
-                pullTaskTO.setDestinationRealm(pullTask.getDestinatioRealm().getFullPath());
+                pullTaskTO.setDestinationRealm(pullTask.getDestinationRealm().getFullPath());
                 pullTaskTO.setMatchingRule(pullTask.getMatchingRule() == null
                         ? MatchingRule.UPDATE : pullTask.getMatchingRule());
                 pullTaskTO.setUnmatchingRule(pullTask.getUnmatchingRule() == null
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/PriorityPropagationTaskExecutor.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/PriorityPropagationTaskExecutor.java
index 26f1b8e..de7549c 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/PriorityPropagationTaskExecutor.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/PriorityPropagationTaskExecutor.java
@@ -69,7 +69,7 @@ public class PriorityPropagationTaskExecutor extends AbstractPropagationTaskExec
      */
     protected static PropagationTaskCallable newPropagationTaskCallable(
         final PropagationTaskInfo taskInfo, final PropagationReporter reporter) {
-
+        
         PropagationTaskCallable callable = (PropagationTaskCallable) ApplicationContextProvider.getBeanFactory().
                 createBean(DefaultPropagationTaskCallable.class, AbstractBeanDefinition.AUTOWIRE_BY_TYPE,
false);
         callable.setTaskInfo(taskInfo);
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultRealmPullResultHandler.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultRealmPullResultHandler.java
index da34c29..007f02c 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultRealmPullResultHandler.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DefaultRealmPullResultHandler.java
@@ -138,7 +138,7 @@ public class DefaultRealmPullResultHandler
         RealmTO realmTO = connObjectUtils.getRealmTO(delta.getObject(), profile.getTask(),
orgUnit);
         if (realmTO.getFullPath() == null) {
             if (realmTO.getParent() == null) {
-                realmTO.setParent(profile.getTask().getDestinatioRealm().getFullPath());
+                realmTO.setParent(profile.getTask().getDestinationRealm().getFullPath());
             }
 
             realmTO.setFullPath(realmTO.getParent() + '/' + realmTO.getName());
@@ -177,7 +177,7 @@ public class DefaultRealmPullResultHandler
         RealmTO realmTO = connObjectUtils.getRealmTO(delta.getObject(), profile.getTask(),
orgUnit);
         if (realmTO.getFullPath() == null) {
             if (realmTO.getParent() == null) {
-                realmTO.setParent(profile.getTask().getDestinatioRealm().getFullPath());
+                realmTO.setParent(profile.getTask().getDestinationRealm().getFullPath());
             }
 
             realmTO.setFullPath(realmTO.getParent() + '/' + realmTO.getName());
@@ -232,7 +232,7 @@ public class DefaultRealmPullResultHandler
         Result resultStatus;
 
         try {
-            Realm realm = realmDAO.save(binder.create(profile.getTask().getDestinatioRealm(),
realmTO));
+            Realm realm = realmDAO.save(binder.create(profile.getTask().getDestinationRealm(),
realmTO));
 
             PropagationByResource<String> propByRes = new PropagationByResource<>();
             propByRes.addAll(ResourceOperation.CREATE, realm.getResourceKeys());
@@ -244,7 +244,7 @@ public class DefaultRealmPullResultHandler
             RealmTO actual = binder.getRealmTO(realm, true);
 
             result.setKey(actual.getKey());
-            result.setName(profile.getTask().getDestinatioRealm().getFullPath() + '/' + actual.getName());
+            result.setName(profile.getTask().getDestinationRealm().getFullPath() + '/' +
actual.getName());
 
             output = actual;
             resultStatus = Result.SUCCESS;
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
index 3f9ceae..c36d477 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
@@ -309,7 +309,7 @@ public class ConnObjectUtils {
         anyTO.setType(provision.getAnyType().getKey());
 
         // 1. fill with data from connector object
-        anyTO.setRealm(pullTask.getDestinatioRealm().getFullPath());
+        anyTO.setRealm(pullTask.getDestinationRealm().getFullPath());
         MappingUtils.getPullItems(provision.getMapping().getItems()).forEach(
                 item -> mappingManager.setIntValues(item, obj.getAttributeByName(item.getExtAttrName()),
anyTO));
 


Mime
View raw message