syncope git commit: Upgrading Elasticsearch
Repository: syncope Updated Branches: refs/heads/master 65f19aaf5 -> 496aeb439 Upgrading Elasticsearch Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/496aeb43 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/496aeb43 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/496aeb43 Branch: refs/heads/master Commit: 496aeb439e1b8501db02a9ca25880af9951b340b Parents: 65f19aa Author: Francesco ChicchiriccòAuthored: Wed Dec 20 17:04:45 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 17:04:45 2017 +0100 -- .../client/ElasticsearchClientFactoryBean.java | 11 --- pom.xml | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/496aeb43/ext/elasticsearch/client-elasticsearch/src/main/java/org/apache/syncope/ext/elasticsearch/client/ElasticsearchClientFactoryBean.java -- diff --git a/ext/elasticsearch/client-elasticsearch/src/main/java/org/apache/syncope/ext/elasticsearch/client/ElasticsearchClientFactoryBean.java b/ext/elasticsearch/client-elasticsearch/src/main/java/org/apache/syncope/ext/elasticsearch/client/ElasticsearchClientFactoryBean.java index dbba1d8..0d78f7d 100644 --- a/ext/elasticsearch/client-elasticsearch/src/main/java/org/apache/syncope/ext/elasticsearch/client/ElasticsearchClientFactoryBean.java +++ b/ext/elasticsearch/client-elasticsearch/src/main/java/org/apache/syncope/ext/elasticsearch/client/ElasticsearchClientFactoryBean.java @@ -32,13 +32,13 @@ import org.springframework.beans.factory.FactoryBean; */ public class ElasticsearchClientFactoryBean implements FactoryBean, DisposableBean { -private Map settings; +private Map settings; private Map addresses; private Client client; -public void setSettings(final Map settings) { +public void setSettings(final Map settings) { this.settings = settings; } @@ -50,7 +50,12 @@ public class ElasticsearchClientFactoryBean implements FactoryBean, Disp public Client getObject() throws Exception { synchronized (this) { if (client == null) { -PreBuiltTransportClient tClient = new PreBuiltTransportClient(Settings.builder().put(settings).build()); +Settings.Builder builder = Settings.builder(); +settings.entrySet().forEach(entry -> { +builder.put(entry.getKey(), entry.getValue()); +}); + +PreBuiltTransportClient tClient = new PreBuiltTransportClient(builder.build()); for (Map.Entry entry : addresses.entrySet()) { tClient.addTransportAddress( http://git-wip-us.apache.org/repos/asf/syncope/blob/496aeb43/pom.xml -- diff --git a/pom.xml b/pom.xml index dd9672a..10c1033 100644 --- a/pom.xml +++ b/pom.xml @@ -391,7 +391,7 @@ under the License. 1.7.25 3.3.0 -6.0.1 +6.1.1 2.10.0 3.3.7 @@ -2232,7 +2232,7 @@ under the License. http://docs.spring.io/spring-security/site/docs/4.2.x/apidocs/ http://www.flowable.org/docs/javadocs/ https://build.shibboleth.net/nexus/content/sites/site/java-opensaml/3.3.0/apidocs/ - https://www.javadoc.io/doc/org.elasticsearch/elasticsearch/6.0.1/ + https://www.javadoc.io/doc/org.elasticsearch/elasticsearch/6.1.1/
[1/2] syncope git commit: Follow-up fix from SCIM
Repository: syncope Updated Branches: refs/heads/2_0_X 7c18a3331 -> 320f37d49 refs/heads/master 44a818844 -> 65f19aaf5 Follow-up fix from SCIM Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/65f19aaf Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/65f19aaf Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/65f19aaf Branch: refs/heads/master Commit: 65f19aaf58fac746ed43ae16af7e9a33a1f10c02 Parents: 44a8188 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 13:43:08 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 13:43:08 2017 +0100 -- .../org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/65f19aaf/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java -- diff --git a/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java b/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java index 98a21ef..9ca2321 100644 --- a/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java +++ b/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java @@ -200,7 +200,7 @@ public class SCIMExceptionMapper implements ExceptionMapper { ErrorType scimType = null; if (hType.name().startsWith("Invalid") || hType == ClientExceptionType.RESTValidation) { scimType = ErrorType.invalidValue; -} else if (hType == ClientExceptionType.DataIntegrityViolation) { +} else if (hType == ClientExceptionType.EntityExists) { scimType = ErrorType.uniqueness; }
[2/2] syncope git commit: Follow-up fix from SCIM
Follow-up fix from SCIM Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/320f37d4 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/320f37d4 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/320f37d4 Branch: refs/heads/2_0_X Commit: 320f37d49d99b8d8831e79a1950deb6c84d26efc Parents: 7c18a33 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 13:43:08 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 13:43:18 2017 +0100 -- .../org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/320f37d4/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java -- diff --git a/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java b/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java index 98a21ef..9ca2321 100644 --- a/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java +++ b/ext/scimv2/scim-rest-cxf/src/main/java/org/apache/syncope/ext/scimv2/cxf/SCIMExceptionMapper.java @@ -200,7 +200,7 @@ public class SCIMExceptionMapper implements ExceptionMapper { ErrorType scimType = null; if (hType.name().startsWith("Invalid") || hType == ClientExceptionType.RESTValidation) { scimType = ErrorType.invalidValue; -} else if (hType == ClientExceptionType.DataIntegrityViolation) { +} else if (hType == ClientExceptionType.EntityExists) { scimType = ErrorType.uniqueness; }
syncope git commit: improvement for paged search of dynamic group members + fix for dynamic members table clearing before populate
Repository: syncope Updated Branches: refs/heads/master ec7612419 -> 44a818844 improvement for paged search of dynamic group members + fix for dynamic members table clearing before populate Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/44a81884 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/44a81884 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/44a81884 Branch: refs/heads/master Commit: 44a818844233e2e7560b4a5d6608c7df535adc18 Parents: ec76124 Author: fmartelliAuthored: Wed Dec 20 12:42:57 2017 +0100 Committer: fmartelli Committed: Wed Dec 20 13:13:33 2017 +0100 -- .../core/persistence/jpa/dao/JPAGroupDAO.java | 20 .../syncope/fit/core/ExceptionMapperITCase.java | 7 +-- 2 files changed, 17 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/44a81884/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java -- diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java index f0ca2da..52f82f6 100644 --- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java +++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java @@ -286,18 +286,20 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { publisher.publishEvent(new AnyCreatedUpdatedEvent<>(this, merged, AuthContextUtils.getDomain())); // refresh dynamic memberships +clearUDynMembers(merged); if (merged.getUDynMembership() != null) { -for (int page = 1; page <= (countUDynMembers(group) / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { +SearchCond cond = buildDynMembershipCond(merged.getUDynMembership().getFIQLCond(), merged.getRealm()); +int count = searchDAO().count( + Collections.singleton(merged.getRealm().getFullPath()), cond, AnyTypeKind.USER); +for (int page = 1; page <= (count / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { List matching = searchDAO().search( Collections.singleton(merged.getRealm().getFullPath()), - buildDynMembershipCond(merged.getUDynMembership().getFIQLCond(), merged.getRealm()), +cond, page, AnyDAO.DEFAULT_PAGE_SIZE, Collections.emptyList(), AnyTypeKind.USER); -clearUDynMembers(merged); - matching.forEach(user -> { Query insert = entityManager().createNativeQuery("INSERT INTO " + UDYNMEMB_TABLE + " VALUES(?, ?)"); insert.setParameter(1, user.getKey()); @@ -308,18 +310,20 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { }); } } +clearADynMembers(merged); merged.getADynMemberships().stream().forEach(memb -> { -for (int page = 1; page <= (countUDynMembers(group) / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { +SearchCond cond = buildDynMembershipCond(memb.getFIQLCond(), merged.getRealm()); +int count = searchDAO().count( + Collections.singleton(merged.getRealm().getFullPath()), cond, AnyTypeKind.ANY_OBJECT); +for (int page = 1; page <= (count / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { List matching = searchDAO().search( Collections.singleton(merged.getRealm().getFullPath()), -buildDynMembershipCond(memb.getFIQLCond(), merged.getRealm()), +cond, page, AnyDAO.DEFAULT_PAGE_SIZE, Collections.emptyList(), AnyTypeKind.ANY_OBJECT); -clearADynMembers(merged); - matching.forEach(anyObject -> { Query insert = entityManager().createNativeQuery( "INSERT INTO " + ADYNMEMB_TABLE + " VALUES(?, ?, ?)"); http://git-wip-us.apache.org/repos/asf/syncope/blob/44a81884/fit/core-reference/src/test/java/org/apache/syncope/fit/core/ExceptionMapperITCase.java -- diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/ExceptionMapperITCase.java
Syncope-2_0_X-deploy - Build # 752 - Fixed
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #752) Status: Fixed Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/752/ to view the results.
Syncope-2_0_X-deploy - Build # 751 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #751) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/751/ to view the results.
[3/3] syncope git commit: Revert "Updating downloads site page for release"
Revert "Updating downloads site page for release" This reverts commit 23b0a33fe83ae888f2f2f611c33a4ee1bd4f8603. Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/8b8d6df4 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/8b8d6df4 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/8b8d6df4 Branch: refs/heads/2_0_X Commit: 8b8d6df4a70700c93e5ab1711a84516572e70f88 Parents: aec1e2f Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:51:35 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:51:35 2017 +0100 -- src/site/xdoc/downloads.xml | 76 1 file changed, 38 insertions(+), 38 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/8b8d6df4/src/site/xdoc/downloads.xml -- diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml index f5c9b0f..c562456 100644 --- a/src/site/xdoc/downloads.xml +++ b/src/site/xdoc/downloads.xml @@ -49,8 +49,8 @@ under the License. - -Release date: December 20th 2017 + +Release date: October 9th 2017 https://cwiki.apache.org/confluence/display/SYNCOPE/Jazz;>Release notes @@ -64,92 +64,92 @@ under the License. -http://www.apache.org/dyn/closer.lua/syncope/2.0.7/syncope-2.0.7-source-release.zip;>syncope-2.0.7-source-release.zip +http://www.apache.org/dyn/closer.lua/syncope/2.0.6/syncope-2.0.6-source-release.zip;>syncope-2.0.6-source-release.zip -https://www.apache.org/dist/syncope/2.0.7/syncope-2.0.7-source-release.zip.asc;>asc -https://www.apache.org/dist/syncope/2.0.7/syncope-2.0.7-source-release.zip.md5;>md5 -https://www.apache.org/dist/syncope/2.0.7/syncope-2.0.7-source-release.zip.sha1;>sha1 +https://www.apache.org/dist/syncope/2.0.6/syncope-2.0.6-source-release.zip.asc;>asc +https://www.apache.org/dist/syncope/2.0.6/syncope-2.0.6-source-release.zip.md5;>md5 +https://www.apache.org/dist/syncope/2.0.6/syncope-2.0.6-source-release.zip.sha1;>sha1 -http://www.apache.org/dyn/closer.lua/syncope/2.0.7/syncope-standalone-2.0.7-distribution.zip;>syncope-standalone-2.0.7-distribution.zip +http://www.apache.org/dyn/closer.lua/syncope/2.0.6/syncope-standalone-2.0.6-distribution.zip;>syncope-standalone-2.0.6-distribution.zip -https://www.apache.org/dist/syncope/2.0.7/syncope-standalone-2.0.7-distribution.zip.asc;>asc -https://www.apache.org/dist/syncope/2.0.7/syncope-standalone-2.0.7-distribution.zip.md5;>md5 -https://www.apache.org/dist/syncope/2.0.7/syncope-standalone-2.0.7-distribution.zip.sha1;>sha1 +https://www.apache.org/dist/syncope/2.0.6/syncope-standalone-2.0.6-distribution.zip.asc;>asc +https://www.apache.org/dist/syncope/2.0.6/syncope-standalone-2.0.6-distribution.zip.md5;>md5 +https://www.apache.org/dist/syncope/2.0.6/syncope-standalone-2.0.6-distribution.zip.sha1;>sha1 -http://www.apache.org/dyn/closer.lua/syncope/2.0.7/apache-syncope-2.0.7.deb;>apache-syncope-2.0.7.deb +http://www.apache.org/dyn/closer.lua/syncope/2.0.6/apache-syncope-2.0.6.deb;>apache-syncope-2.0.6.deb -https://www.apache.org/dist/syncope/2.0.7/apache-syncope-2.0.7.deb.asc;>asc -https://www.apache.org/dist/syncope/2.0.7/apache-syncope-2.0.7.deb.md5;>md5 -https://www.apache.org/dist/syncope/2.0.7/apache-syncope-2.0.7.deb.sha1;>sha1 +https://www.apache.org/dist/syncope/2.0.6/apache-syncope-2.0.6.deb.asc;>asc +https://www.apache.org/dist/syncope/2.0.6/apache-syncope-2.0.6.deb.md5;>md5 +https://www.apache.org/dist/syncope/2.0.6/apache-syncope-2.0.6.deb.sha1;>sha1 -http://www.apache.org/dyn/closer.lua/syncope/2.0.7/apache-syncope-console-2.0.7.deb;>apache-syncope-console-2.0.7.deb +http://www.apache.org/dyn/closer.lua/syncope/2.0.6/apache-syncope-console-2.0.6.deb;>apache-syncope-console-2.0.6.deb -https://www.apache.org/dist/syncope/2.0.7/apache-syncope-console-2.0.7.deb.asc;>asc -
[1/3] syncope git commit: Revert "Updating CHANGES for release"
Repository: syncope Updated Branches: refs/heads/2_0_X 33fda85dc -> 8b8d6df4a Revert "Updating CHANGES for release" This reverts commit 001493fd425a8e7126f6ee57d8798d11cc72d70a. Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/936e1bc9 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/936e1bc9 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/936e1bc9 Branch: refs/heads/2_0_X Commit: 936e1bc9ea9325ab116c447c249f32a074360ba5 Parents: 33fda85 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:51:24 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:51:24 2017 +0100 -- CHANGES | 40 1 file changed, 40 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/936e1bc9/CHANGES -- diff --git a/CHANGES b/CHANGES index eb4964e..42f3c38 100644 --- a/CHANGES +++ b/CHANGES @@ -2,46 +2,6 @@ Apache Syncope - CHANGES Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 -Release Notes - Syncope - Version 2.0.7 - - -** Bug -* [SYNCOPE-1222] - Unwanted delete from External Resources on Membership removal -* [SYNCOPE-1223] - Cannot search for values containing comma -* [SYNCOPE-1224] - CLI: user "all" operations limited to 25 users -* [SYNCOPE-1226] - List the attributes to be displayed show deleted attributes -* [SYNCOPE-1227] - Password template not nullable after setting -* [SYNCOPE-1229] - Pull task execution bulk delete fails -* [SYNCOPE-1230] - Bad toggle handling during task execution delete -* [SYNCOPE-1231] - Hidden columns in bulk action resul modal page -* [SYNCOPE-1232] - AnyType removal does not check for existing AnyObjects -* [SYNCOPE-1233] - NullPointerException in Topology after creating a connector with no displayName using pure REST call -* [SYNCOPE-1235] - Unlink or unassign Group from External Resource resets dynamic membership conditions -* [SYNCOPE-1236] - Pagination error for executed tasks -* [SYNCOPE-1239] - Missing specified plain attr values if plain attr step is the last one of the any management wizard -* [SYNCOPE-1241] - Under high load propagation after pull might fail -* [SYNCOPE-1244] - Error creating bean with name 'logicInitializer' on startup related to quartz clustering -* [SYNCOPE-1246] - Group membership search stucks with several thousands of groups -* [SYNCOPE-1247] - Group search and auto-completion does not work with several thousands of groups -* [SYNCOPE-1248] - Password policy history error when the user is updated before being approved -* [SYNCOPE-1250] - Missing attributes layout order -* [SYNCOPE-1251] - UserTO variable is not updated during Update Activiti Task -* [SYNCOPE-1252] - Search failing for non-string attributes from Admin Console -* [SYNCOPE-1253] - Pulled users have password set even if no mapping was provided - -** Improvement -* [SYNCOPE-1138] - Update RelationshipTO to also report the "left" end of a relationship -* [SYNCOPE-1228] - Parent should be passed once for Realm create -* [SYNCOPE-1234] - SyncDelta pre-processing -* [SYNCOPE-1237] - Copy table row element key to clipboard by clicking on its name in toggle menu -* [SYNCOPE-1238] - Terminate Topology background checks once completed -* [SYNCOPE-1242] - Simple way to see elements full text value in Palette Panels -* [SYNCOPE-1243] - Add information to GroupTO about user and AnyObject membership counts - -** New Feature -* [SYNCOPE-152] - Support SCIM REST API -* [SYNCOPE-1249] - Support for mustChangePassword mapping - Release Notes - Syncope - Version 2.0.6
[2/3] syncope git commit: Revert "Updating Eclipse files for release"
Revert "Updating Eclipse files for release" This reverts commit 05312bbe01bc0dbf0b0aabae4c38b0e067b0363b. Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/aec1e2fe Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/aec1e2fe Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/aec1e2fe Branch: refs/heads/2_0_X Commit: aec1e2fe96f9f5d46d256956ccb3c46ab7a3f259 Parents: 936e1bc Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:51:29 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:51:29 2017 +0100 -- .../org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF | 2 +- .../org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF | 2 +- .../releng/org.apache.syncope.ide.eclipse.site/category.xml| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/aec1e2fe/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF -- diff --git a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF index daf2ce5..16f91d6 100644 --- a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF +++ b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Apache Syncope Eclipse Plugin Bundle-SymbolicName: org.apache.syncope.ide.eclipse.plugin;singleton:=true -Bundle-Version: 2.0.7 +Bundle-Version: 2.0.7.qualifier Bundle-Activator: org.apache.syncope.ide.eclipse.plugin.Activator Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, http://git-wip-us.apache.org/repos/asf/syncope/blob/aec1e2fe/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF -- diff --git a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF index 596f890..1c0eb70 100644 --- a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF +++ b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: org.apache.syncope.ide.eclipse.tests Bundle-SymbolicName: org.apache.syncope.ide.eclipse.tests;singleton:=true -Bundle-Version: 2.0.7 +Bundle-Version: 2.0.7.qualifier Bundle-ActivationPolicy: lazy Bundle-Vendor: Bundle-RequiredExecutionEnvironment: J2SE-1.5 http://git-wip-us.apache.org/repos/asf/syncope/blob/aec1e2fe/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/category.xml -- diff --git a/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/category.xml b/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/category.xml index f3e43a6..96bc24e 100644 --- a/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/category.xml +++ b/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/category.xml @@ -18,7 +18,7 @@ specific language governing permissions and limitations under the License. --> - +
Syncope-2_0_X-deploy - Build # 750 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #750) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/750/ to view the results.
Syncope-2_0_X-deploy - Build # 749 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #749) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/749/ to view the results.
syncope git commit: fix for paged dynamic membership loading
Repository: syncope Updated Branches: refs/heads/2_0_X cb134c7bb -> 33fda85dc fix for paged dynamic membership loading Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/33fda85d Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/33fda85d Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/33fda85d Branch: refs/heads/2_0_X Commit: 33fda85dc6992ba1c63299f9a1882b8ba10a743a Parents: cb134c7 Author: fmartelliAuthored: Wed Dec 20 09:32:26 2017 +0100 Committer: fmartelli Committed: Wed Dec 20 09:32:26 2017 +0100 -- .../syncope/core/persistence/jpa/dao/JPAGroupDAO.java | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/33fda85d/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java -- diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java index 03c1219..23c7af6 100644 --- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java +++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/JPAGroupDAO.java @@ -298,7 +298,9 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { // refresh dynamic memberships if (merged.getUDynMembership() != null) { -for (int page = 1; page <= (countUDynMembers(group) / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { +clearUDynMembers(merged); +int count = countUDynMembers(group); +for (int page = 1; page <= (count / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { List matching = searchDAO().search( Collections.singleton(merged.getRealm().getFullPath()), buildDynMembershipCond(merged.getUDynMembership().getFIQLCond(), merged.getRealm()), @@ -307,8 +309,6 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { Collections.emptyList(), AnyTypeKind.USER); -clearUDynMembers(merged); - for (User user : matching) { Query insert = entityManager().createNativeQuery("INSERT INTO " + UDYNMEMB_TABLE + " VALUES(?, ?)"); insert.setParameter(1, user.getKey()); @@ -320,7 +320,9 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { } } for (ADynGroupMembership memb : merged.getADynMemberships()) { -for (int page = 1; page <= (countADynMembers(group) / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { +clearADynMembers(merged); +int count = countADynMembers(group); +for (int page = 1; page <= (count / AnyDAO.DEFAULT_PAGE_SIZE) + 1; page++) { List matching = searchDAO().search( Collections.singleton(merged.getRealm().getFullPath()), buildDynMembershipCond(memb.getFIQLCond(), merged.getRealm()), @@ -329,8 +331,6 @@ public class JPAGroupDAO extends AbstractAnyDAO implements GroupDAO { Collections.emptyList(), AnyTypeKind.ANY_OBJECT); -clearADynMembers(merged); - for (AnyObject anyObject : matching) { Query insert = entityManager().createNativeQuery( "INSERT INTO " + ADYNMEMB_TABLE + " VALUES(?, ?, ?)");
[syncope] Git Push Summary
Repository: syncope Updated Tags: refs/tags/syncope-2.0.7 [deleted] 880a24101
syncope git commit: [maven-release-plugin] rollback the release of syncope-2.0.7
Repository: syncope Updated Branches: refs/heads/2_0_X cba05f88e -> cb134c7bb [maven-release-plugin] rollback the release of syncope-2.0.7 Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/cb134c7b Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/cb134c7b Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/cb134c7b Branch: refs/heads/2_0_X Commit: cb134c7bbf17b4f86562d08f02c7719b80bf78f5 Parents: cba05f8 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:30:37 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:30:37 2017 +0100 -- archetype/pom.xml | 2 +- client/cli/pom.xml| 2 +- client/console/pom.xml| 2 +- client/enduser/pom.xml| 2 +- client/lib/pom.xml| 2 +- client/pom.xml| 2 +- common/lib/pom.xml| 2 +- common/pom.xml| 2 +- common/rest-api/pom.xml | 2 +- core/logic/pom.xml| 2 +- core/migration/pom.xml| 2 +- core/persistence-api/pom.xml | 2 +- core/persistence-jpa/pom.xml | 2 +- core/pom.xml | 2 +- core/provisioning-api/pom.xml | 2 +- core/provisioning-java/pom.xml| 2 +- core/rest-cxf/pom.xml | 2 +- core/spring/pom.xml | 2 +- core/workflow-activiti/pom.xml| 2 +- core/workflow-api/pom.xml | 2 +- core/workflow-flowable/pom.xml| 2 +- core/workflow-java/pom.xml| 2 +- deb/console/pom.xml | 2 +- deb/core/pom.xml | 2 +- deb/enduser/pom.xml | 2 +- deb/pom.xml | 2 +- ext/camel/client-console/pom.xml | 2 +- ext/camel/common-lib/pom.xml | 2 +- ext/camel/logic/pom.xml | 2 +- ext/camel/persistence-api/pom.xml | 2 +- ext/camel/persistence-jpa/pom.xml | 2 +- ext/camel/pom.xml | 2 +- ext/camel/provisioning-api/pom.xml| 2 +- ext/camel/provisioning-camel/pom.xml | 2 +- ext/camel/rest-api/pom.xml| 2 +- ext/camel/rest-cxf/pom.xml| 2 +- ext/elasticsearch/client-elasticsearch/pom.xml| 2 +- ext/elasticsearch/persistence-jpa/pom.xml | 2 +- ext/elasticsearch/pom.xml | 2 +- ext/elasticsearch/provisioning-java/pom.xml | 2 +- ext/pom.xml | 2 +- ext/saml2sp/agent/pom.xml | 2 +- ext/saml2sp/client-console/pom.xml| 2 +- ext/saml2sp/client-enduser/pom.xml| 2 +- ext/saml2sp/common-lib/pom.xml| 2 +- ext/saml2sp/logic/pom.xml | 2 +- ext/saml2sp/persistence-api/pom.xml | 2 +- ext/saml2sp/persistence-jpa/pom.xml | 2 +- ext/saml2sp/pom.xml | 2 +- ext/saml2sp/provisioning-api/pom.xml | 2 +- ext/saml2sp/provisioning-java/pom.xml | 2 +- ext/saml2sp/rest-api/pom.xml | 2 +- ext/saml2sp/rest-cxf/pom.xml | 2 +- ext/scimv2/client-console/pom.xml | 2 +- ext/scimv2/common-lib/pom.xml | 2 +- ext/scimv2/logic/pom.xml | 2 +- ext/scimv2/pom.xml| 2 +-
Syncope-2_0_X-deploy - Build # 748 - Still Failing
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #748) Status: Still Failing Check console output at https://builds.apache.org/job/Syncope-2_0_X-deploy/748/ to view the results.
syncope git commit: [maven-release-plugin] prepare release syncope-2.0.7
Repository: syncope Updated Branches: refs/heads/2_0_X 23b0a33fe -> 6cb9cfc14 [maven-release-plugin] prepare release syncope-2.0.7 Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/6cb9cfc1 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/6cb9cfc1 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/6cb9cfc1 Branch: refs/heads/2_0_X Commit: 6cb9cfc146c24b501ef041e8026e33e1476df847 Parents: 23b0a33 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:08:54 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:08:54 2017 +0100 -- archetype/pom.xml| 2 +- client/cli/pom.xml | 2 +- client/console/pom.xml | 2 +- client/enduser/pom.xml | 2 +- client/lib/pom.xml | 2 +- client/pom.xml | 2 +- common/lib/pom.xml | 2 +- common/pom.xml | 2 +- common/rest-api/pom.xml | 2 +- core/logic/pom.xml | 2 +- core/migration/pom.xml | 2 +- core/persistence-api/pom.xml | 2 +- core/persistence-jpa/pom.xml | 2 +- core/pom.xml | 2 +- core/provisioning-api/pom.xml| 2 +- core/provisioning-java/pom.xml | 2 +- core/rest-cxf/pom.xml| 2 +- core/spring/pom.xml | 2 +- core/workflow-activiti/pom.xml | 2 +- core/workflow-api/pom.xml| 2 +- core/workflow-flowable/pom.xml | 2 +- core/workflow-java/pom.xml | 2 +- deb/console/pom.xml | 2 +- deb/core/pom.xml | 2 +- deb/enduser/pom.xml | 2 +- deb/pom.xml | 2 +- ext/camel/client-console/pom.xml | 2 +- ext/camel/common-lib/pom.xml | 2 +- ext/camel/logic/pom.xml | 2 +- ext/camel/persistence-api/pom.xml| 2 +- ext/camel/persistence-jpa/pom.xml| 2 +- ext/camel/pom.xml| 2 +- ext/camel/provisioning-api/pom.xml | 2 +- ext/camel/provisioning-camel/pom.xml | 2 +- ext/camel/rest-api/pom.xml | 2 +- ext/camel/rest-cxf/pom.xml | 2 +- ext/elasticsearch/client-elasticsearch/pom.xml | 2 +- ext/elasticsearch/persistence-jpa/pom.xml| 2 +- ext/elasticsearch/pom.xml| 2 +- ext/elasticsearch/provisioning-java/pom.xml | 2 +- ext/pom.xml | 2 +- ext/saml2sp/agent/pom.xml| 2 +- ext/saml2sp/client-console/pom.xml | 2 +- ext/saml2sp/client-enduser/pom.xml | 2 +- ext/saml2sp/common-lib/pom.xml | 2 +- ext/saml2sp/logic/pom.xml| 2 +- ext/saml2sp/persistence-api/pom.xml | 2 +- ext/saml2sp/persistence-jpa/pom.xml | 2 +- ext/saml2sp/pom.xml | 2 +- ext/saml2sp/provisioning-api/pom.xml | 2 +- ext/saml2sp/provisioning-java/pom.xml| 2 +- ext/saml2sp/rest-api/pom.xml | 2 +- ext/saml2sp/rest-cxf/pom.xml | 2 +- ext/scimv2/client-console/pom.xml| 2 +- ext/scimv2/common-lib/pom.xml| 2 +- ext/scimv2/logic/pom.xml | 2 +- ext/scimv2/pom.xml | 2 +- ext/scimv2/rest-api/pom.xml | 2 +-
syncope git commit: [maven-release-plugin] prepare for next development iteration
Repository: syncope Updated Branches: refs/heads/2_0_X 6cb9cfc14 -> cba05f88e [maven-release-plugin] prepare for next development iteration Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/cba05f88 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/cba05f88 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/cba05f88 Branch: refs/heads/2_0_X Commit: cba05f88e35c3dfd43cc47e217c85f4c119e1f0b Parents: 6cb9cfc Author: Francesco ChicchiriccòAuthored: Wed Dec 20 09:09:15 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 09:09:15 2017 +0100 -- archetype/pom.xml| 2 +- client/cli/pom.xml | 2 +- client/console/pom.xml | 2 +- client/enduser/pom.xml | 2 +- client/lib/pom.xml | 2 +- client/pom.xml | 2 +- common/lib/pom.xml | 2 +- common/pom.xml | 2 +- common/rest-api/pom.xml | 2 +- core/logic/pom.xml | 2 +- core/migration/pom.xml | 2 +- core/persistence-api/pom.xml | 2 +- core/persistence-jpa/pom.xml | 2 +- core/pom.xml | 2 +- core/provisioning-api/pom.xml| 2 +- core/provisioning-java/pom.xml | 2 +- core/rest-cxf/pom.xml| 2 +- core/spring/pom.xml | 2 +- core/workflow-activiti/pom.xml | 2 +- core/workflow-api/pom.xml| 2 +- core/workflow-flowable/pom.xml | 2 +- core/workflow-java/pom.xml | 2 +- deb/console/pom.xml | 2 +- deb/core/pom.xml | 2 +- deb/enduser/pom.xml | 2 +- deb/pom.xml | 2 +- ext/camel/client-console/pom.xml | 2 +- ext/camel/common-lib/pom.xml | 2 +- ext/camel/logic/pom.xml | 2 +- ext/camel/persistence-api/pom.xml| 2 +- ext/camel/persistence-jpa/pom.xml| 2 +- ext/camel/pom.xml| 2 +- ext/camel/provisioning-api/pom.xml | 2 +- ext/camel/provisioning-camel/pom.xml | 2 +- ext/camel/rest-api/pom.xml | 2 +- ext/camel/rest-cxf/pom.xml | 2 +- ext/elasticsearch/client-elasticsearch/pom.xml | 2 +- ext/elasticsearch/persistence-jpa/pom.xml| 2 +- ext/elasticsearch/pom.xml| 2 +- ext/elasticsearch/provisioning-java/pom.xml | 2 +- ext/pom.xml | 2 +- ext/saml2sp/agent/pom.xml| 2 +- ext/saml2sp/client-console/pom.xml | 2 +- ext/saml2sp/client-enduser/pom.xml | 2 +- ext/saml2sp/common-lib/pom.xml | 2 +- ext/saml2sp/logic/pom.xml| 2 +- ext/saml2sp/persistence-api/pom.xml | 2 +- ext/saml2sp/persistence-jpa/pom.xml | 2 +- ext/saml2sp/pom.xml | 2 +- ext/saml2sp/provisioning-api/pom.xml | 2 +- ext/saml2sp/provisioning-java/pom.xml| 2 +- ext/saml2sp/rest-api/pom.xml | 2 +- ext/saml2sp/rest-cxf/pom.xml | 2 +- ext/scimv2/client-console/pom.xml| 2 +- ext/scimv2/common-lib/pom.xml| 2 +- ext/scimv2/logic/pom.xml | 2 +- ext/scimv2/pom.xml | 2 +- ext/scimv2/rest-api/pom.xml |
[syncope] Git Push Summary
Repository: syncope Updated Tags: refs/tags/syncope-2.0.7 [created] 880a24101
[1/3] syncope git commit: Updating CHANGES for release
Repository: syncope Updated Branches: refs/heads/2_0_X 32a6bd352 -> 23b0a33fe Updating CHANGES for release Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/001493fd Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/001493fd Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/001493fd Branch: refs/heads/2_0_X Commit: 001493fd425a8e7126f6ee57d8798d11cc72d70a Parents: 32a6bd3 Author: Francesco ChicchiriccòAuthored: Wed Dec 20 08:59:37 2017 +0100 Committer: Francesco Chicchiriccò Committed: Wed Dec 20 08:59:37 2017 +0100 -- CHANGES | 40 1 file changed, 40 insertions(+) -- http://git-wip-us.apache.org/repos/asf/syncope/blob/001493fd/CHANGES -- diff --git a/CHANGES b/CHANGES index 42f3c38..eb4964e 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,46 @@ Apache Syncope - CHANGES Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 +Release Notes - Syncope - Version 2.0.7 + + +** Bug +* [SYNCOPE-1222] - Unwanted delete from External Resources on Membership removal +* [SYNCOPE-1223] - Cannot search for values containing comma +* [SYNCOPE-1224] - CLI: user "all" operations limited to 25 users +* [SYNCOPE-1226] - List the attributes to be displayed show deleted attributes +* [SYNCOPE-1227] - Password template not nullable after setting +* [SYNCOPE-1229] - Pull task execution bulk delete fails +* [SYNCOPE-1230] - Bad toggle handling during task execution delete +* [SYNCOPE-1231] - Hidden columns in bulk action resul modal page +* [SYNCOPE-1232] - AnyType removal does not check for existing AnyObjects +* [SYNCOPE-1233] - NullPointerException in Topology after creating a connector with no displayName using pure REST call +* [SYNCOPE-1235] - Unlink or unassign Group from External Resource resets dynamic membership conditions +* [SYNCOPE-1236] - Pagination error for executed tasks +* [SYNCOPE-1239] - Missing specified plain attr values if plain attr step is the last one of the any management wizard +* [SYNCOPE-1241] - Under high load propagation after pull might fail +* [SYNCOPE-1244] - Error creating bean with name 'logicInitializer' on startup related to quartz clustering +* [SYNCOPE-1246] - Group membership search stucks with several thousands of groups +* [SYNCOPE-1247] - Group search and auto-completion does not work with several thousands of groups +* [SYNCOPE-1248] - Password policy history error when the user is updated before being approved +* [SYNCOPE-1250] - Missing attributes layout order +* [SYNCOPE-1251] - UserTO variable is not updated during Update Activiti Task +* [SYNCOPE-1252] - Search failing for non-string attributes from Admin Console +* [SYNCOPE-1253] - Pulled users have password set even if no mapping was provided + +** Improvement +* [SYNCOPE-1138] - Update RelationshipTO to also report the "left" end of a relationship +* [SYNCOPE-1228] - Parent should be passed once for Realm create +* [SYNCOPE-1234] - SyncDelta pre-processing +* [SYNCOPE-1237] - Copy table row element key to clipboard by clicking on its name in toggle menu +* [SYNCOPE-1238] - Terminate Topology background checks once completed +* [SYNCOPE-1242] - Simple way to see elements full text value in Palette Panels +* [SYNCOPE-1243] - Add information to GroupTO about user and AnyObject membership counts + +** New Feature +* [SYNCOPE-152] - Support SCIM REST API +* [SYNCOPE-1249] - Support for mustChangePassword mapping + Release Notes - Syncope - Version 2.0.6