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 2018/04/04 07:18:55 UTC

[1/3] syncope git commit: [SYNCOPE-1254] Fighting (and losing) with Java 8 lambda

Repository: syncope
Updated Branches:
  refs/heads/master a8eff1cc2 -> a346bbf6a


[SYNCOPE-1254] Fighting (and losing) with Java 8 lambda


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

Branch: refs/heads/master
Commit: 8ef021e23f67027dda842559029fd65788beb865
Parents: a8eff1c
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Apr 3 13:13:07 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Apr 3 13:13:07 2018 +0200

----------------------------------------------------------------------
 .../wizards/resources/ConnectorDetailsPanel.java     | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/8ef021e2/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ConnectorDetailsPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ConnectorDetailsPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ConnectorDetailsPanel.java
index 1a5f9a7..d69b7d3 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ConnectorDetailsPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ConnectorDetailsPanel.java
@@ -19,7 +19,6 @@
 package org.apache.syncope.client.console.wizards.resources;
 
 import java.util.ArrayList;
-import java.util.Collections;
 import java.util.List;
 import java.util.stream.Collectors;
 import org.apache.syncope.client.console.SyncopeConsoleSession;
@@ -56,14 +55,12 @@ public class ConnectorDetailsPanel extends WizardStep {
 
             @Override
             protected List<String> load() {
-                List<RealmTO> allRealms = new RealmRestClient().list();
-                allRealms.removeAll(allRealms.stream().filter(realm
-                        -> authRealms.stream().anyMatch(fullpath -> realm.getFullPath().startsWith(fullpath))).
-                        collect(Collectors.toList()));
-
-                List<String> result = allRealms.stream().map(RealmTO::getFullPath).collect(Collectors.toList());
-                Collections.sort(result);
-                return result;
+                return new RealmRestClient().list().stream().
+                        filter(realm -> authRealms.stream().
+                        anyMatch(authRealm -> realm.getFullPath().startsWith(authRealm))).
+                        map(RealmTO::getFullPath).
+                        sorted().
+                        collect(Collectors.toList());
             }
         };
 


[2/3] syncope git commit: Adjusting JRebel conf to new style

Posted by il...@apache.org.
Adjusting JRebel conf to new style


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

Branch: refs/heads/master
Commit: de75581b61aacc19b5aba39224160294a9deaae2
Parents: 8ef021e
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Apr 3 17:06:52 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Apr 3 17:06:52 2018 +0200

----------------------------------------------------------------------
 fit/console-reference/pom.xml | 2 +-
 fit/core-reference/pom.xml    | 2 +-
 fit/enduser-reference/pom.xml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/de75581b/fit/console-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/console-reference/pom.xml b/fit/console-reference/pom.xml
index 253b043..bbd431d 100644
--- a/fit/console-reference/pom.xml
+++ b/fit/console-reference/pom.xml
@@ -396,7 +396,7 @@ under the License.
               <configuration>
                 <properties>
                   <cargo.jvmargs>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-                    -noverify -javaagent:${env.REBEL_HOME}/legacy/jrebel.jar -Drebel.spring_plugin=true
+                    -noverify -agentpath:${env.REBEL_HOME}/lib/libjrebel64.so -Drebel.spring_plugin=true
                     -Dwicket.configuration=development
                     -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m -Xmx1024m -Xms512m</cargo.jvmargs>
                 </properties>

http://git-wip-us.apache.org/repos/asf/syncope/blob/de75581b/fit/core-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index 05555a9..3b04b62 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -1028,7 +1028,7 @@ under the License.
               <configuration>
                 <properties>
                   <cargo.jvmargs>-Xdebug -Djaxb.debug=true -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-                    -noverify -javaagent:${env.REBEL_HOME}/legacy/jrebel.jar -Drebel.spring_plugin=true         
+                    -noverify -agentpath:${env.REBEL_HOME}/lib/libjrebel64.so -Drebel.spring_plugin=true
                     -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m -Xmx1024m -Xms512m</cargo.jvmargs>
                 </properties>
               </configuration>

http://git-wip-us.apache.org/repos/asf/syncope/blob/de75581b/fit/enduser-reference/pom.xml
----------------------------------------------------------------------
diff --git a/fit/enduser-reference/pom.xml b/fit/enduser-reference/pom.xml
index c9eb188..c2fe31a 100644
--- a/fit/enduser-reference/pom.xml
+++ b/fit/enduser-reference/pom.xml
@@ -547,7 +547,7 @@ under the License.
               <configuration>
                 <properties>
                   <cargo.jvmargs>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
-                    -noverify -javaagent:${env.REBEL_HOME}/legacy/jrebel.jar -Drebel.spring_plugin=true
+                    -noverify -agentpath:${env.REBEL_HOME}/lib/libjrebel64.so -Drebel.spring_plugin=true
                     -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m -Xmx1024m -Xms512m</cargo.jvmargs>
                 </properties>
               </configuration>


[3/3] syncope git commit: Upgrading HikariCP and AspectJ

Posted by il...@apache.org.
Upgrading HikariCP and AspectJ


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

Branch: refs/heads/master
Commit: a346bbf6abeb25923fe780bbae0df29735d80f28
Parents: de75581
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue Apr 3 17:53:32 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue Apr 3 17:53:32 2018 +0200

----------------------------------------------------------------------
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/a346bbf6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d08a94a..9c6901d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -374,7 +374,7 @@ under the License.
     <spring-security.version>5.0.3.RELEASE</spring-security.version>
 
     <openjpa.version>3.0.0-SNAPSHOT</openjpa.version>
-    <hikaricp.version>2.7.8</hikaricp.version>
+    <hikaricp.version>3.0.0</hikaricp.version>
     <bval.version>1.1.2</bval.version>
 
     <jasypt.version>1.9.2</jasypt.version>
@@ -912,7 +912,7 @@ under the License.
       <dependency>
         <groupId>org.aspectj</groupId>
         <artifactId>aspectjweaver</artifactId>
-        <version>1.8.13</version>
+        <version>1.9.0</version>
       </dependency>
       
       <dependency>