Syncope-2_0_X-deploy - Build # 668 - Still Failing

2017-10-19 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #668)

Status: Still Failing

Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/668/ 
to view the results.

syncope git commit: Removing some duplicate code + another typo

2017-10-19 Thread coheigea
Repository: syncope
Updated Branches:
  refs/heads/2_0_X de750537b -> 16a55aa15


Removing some duplicate code + another typo


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

Branch: refs/heads/2_0_X
Commit: 16a55aa1548a215580b9b298edee5197772361b1
Parents: de75053
Author: Colm O hEigeartaigh 
Authored: Thu Oct 19 11:08:44 2017 +0100
Committer: Colm O hEigeartaigh 
Committed: Thu Oct 19 12:18:30 2017 +0100

--
 .../apache/syncope/client/console/SyncopeConsoleApplication.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/16a55aa1/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
index 4bf1188..cfcdfbf 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
@@ -115,7 +115,7 @@ public class SyncopeConsoleApplication extends 
AuthenticatedWebApplication {
 
 @SuppressWarnings("unchecked")
 protected void populatePageClasses(final Properties props) {
-Enumeration propNames = (Enumeration) 
props.propertyNames();
+Enumeration propNames = (Enumeration) 
props.propertyNames();
 while (propNames.hasMoreElements()) {
 String name = propNames.nextElement();
 if (name.startsWith("page.")) {



Syncope-master-deploy - Build # 2621 - Still Failing

2017-10-19 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #2621)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/Syncope-master-deploy/2621/ to view the results.

Syncope-master-deploy - Build # 2620 - Still Failing

2017-10-19 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #2620)

Status: Still Failing

Check console output at 
https://builds.apache.org/job/Syncope-master-deploy/2620/ to view the results.

syncope git commit: Removing some duplicate code + another typo

2017-10-19 Thread coheigea
Repository: syncope
Updated Branches:
  refs/heads/master 0984dfd22 -> 3f47e9bde


Removing some duplicate code + another typo


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

Branch: refs/heads/master
Commit: 3f47e9bdee9e8ffeb606b2717e34ecbfe2801fb4
Parents: 0984dfd
Author: Colm O hEigeartaigh 
Authored: Thu Oct 19 11:08:44 2017 +0100
Committer: Colm O hEigeartaigh 
Committed: Thu Oct 19 11:09:02 2017 +0100

--
 .../apache/syncope/client/console/SyncopeConsoleApplication.java   | 2 +-
 .../src/main/java/org/apache/syncope/core/logic/ResourceLogic.java | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/3f47e9bd/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
index 28a35c9..ba08b8a 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
@@ -112,7 +112,7 @@ public class SyncopeConsoleApplication extends 
AuthenticatedWebApplication {
 
 @SuppressWarnings("unchecked")
 protected void populatePageClasses(final Properties props) {
-Enumeration propNames = (Enumeration) 
props.propertyNames();
+Enumeration propNames = (Enumeration) 
props.propertyNames();
 while (propNames.hasMoreElements()) {
 String name = propNames.nextElement();
 if (name.startsWith("page.")) {

http://git-wip-us.apache.org/repos/asf/syncope/blob/3f47e9bd/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java
--
diff --git 
a/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java 
b/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java
index b476387..b4a0f13 100644
--- a/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java
+++ b/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java
@@ -113,7 +113,6 @@ public class ResourceLogic extends 
AbstractTransactionalLogic {
 private ConnectorFactory connFactory;
 
 protected void securityChecks(final Set effectiveRealms, final 
String realm, final String key) {
-effectiveRealms.stream().anyMatch(ownedRealm -> 
realm.startsWith(ownedRealm));
 boolean authorized = effectiveRealms.stream().anyMatch(ownedRealm -> 
realm.startsWith(ownedRealm));
 if (!authorized) {
 throw new DelegatedAdministrationException(realm, 
ExternalResource.class.getSimpleName(), key);



Syncope-2_0_X-deploy - Build # 667 - Still Failing

2017-10-19 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #667)

Status: Still Failing

Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/667/ 
to view the results.

[1/2] syncope git commit: Small cleanup

2017-10-19 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 30895e110 -> de750537b
  refs/heads/master ed30ef800 -> 0984dfd22


Small cleanup


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

Branch: refs/heads/2_0_X
Commit: de750537b9e7a71887e382f6f30af30d59657790
Parents: 30895e1
Author: Francesco Chicchiriccò 
Authored: Thu Oct 19 11:33:59 2017 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Oct 19 11:33:59 2017 +0200

--
 .../api/pushpull/ProvisioningProfile.java   |  3 +-
 .../pushpull/AbstractPullResultHandler.java | 70 +---
 2 files changed, 48 insertions(+), 25 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/de750537/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/pushpull/ProvisioningProfile.java
--
diff --git 
a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/pushpull/ProvisioningProfile.java
 
b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/pushpull/ProvisioningProfile.java
index 83eb098..4c02da1 100644
--- 
a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/pushpull/ProvisioningProfile.java
+++ 
b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/pushpull/ProvisioningProfile.java
@@ -19,7 +19,6 @@
 package org.apache.syncope.core.provisioning.api.pushpull;
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.List;
 import org.apache.syncope.common.lib.types.ConflictResolutionAction;
 import org.apache.syncope.core.persistence.api.entity.task.ProvisioningTask;
@@ -52,7 +51,7 @@ public class ProvisioningProfile getResults() {
+public List getResults() {
 return results;
 }
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/de750537/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/AbstractPullResultHandler.java
--
diff --git 
a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/AbstractPullResultHandler.java
 
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/AbstractPullResultHandler.java
index 6c54260..e09f39b 100644
--- 
a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/AbstractPullResultHandler.java
+++ 
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/AbstractPullResultHandler.java
@@ -295,7 +295,7 @@ public abstract class AbstractPullResultHandler extends 
AbstractSyncopeResultHan
 }
 
 protected List update(
-final SyncDelta delta, final List anys, final Provision 
provision) throws JobExecutionException {
+final SyncDelta delta, final List anyKeys, final Provision 
provision) throws JobExecutionException {
 
 if (!profile.getTask().isPerformUpdate()) {
 LOG.debug("PullTask not configured for update");
@@ -303,12 +303,12 @@ public abstract class AbstractPullResultHandler extends 
AbstractSyncopeResultHan
 return Collections.emptyList();
 }
 
-LOG.debug("About to update {}", anys);
+LOG.debug("About to update {}", anyKeys);
 
 List results = new ArrayList<>();
 
 SyncDelta workingDelta = delta;
-for (String key : anys) {
+for (String key : anyKeys) {
 LOG.debug("About to update {}", key);
 
 ProvisioningReport result = new ProvisioningReport();
@@ -387,7 +387,7 @@ public abstract class AbstractPullResultHandler extends 
AbstractSyncopeResultHan
 
 protected List deprovision(
 final SyncDelta delta,
-final List anys,
+final List anyKeys,
 final Provision provision,
 final boolean unlink)
 throws JobExecutionException {
@@ -400,11 +400,11 @@ public abstract class AbstractPullResultHandler extends 
AbstractSyncopeResultHan
 return Collections.emptyList();
 }
 
-LOG.debug("About to deprovision {}", anys);
+LOG.debug("About to deprovision {}", anyKeys);
 
 final List results = new ArrayList<>();
 
-for (String key : anys) {
+for (String key : anyKeys) {
 LOG.debug("About to unassign resource {}", key);
 
 ProvisioningReport result = new ProvisioningReport();
@@ -500,7 +500,7 @@ public abstract class AbstractPullResultHandler extends