Syncope-master-deploy - Build # 3063 - Fixed

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #3063)

Status: Fixed

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

Syncope-master-deploy - Build # 3062 - Failure

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #3062)

Status: Failure

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

syncope git commit: Updating Eclipse files for next development iteration

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master e888eef9c -> 0057595c9


Updating Eclipse files 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/0057595c
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0057595c
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0057595c

Branch: refs/heads/master
Commit: 0057595c9fa341af49ce671d67c1ac80f06294c9
Parents: e888eef
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 18:05:22 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 18:05:22 2018 +0200

--
 .../org.apache.syncope.ide.eclipse.plugin/META-INF/MANIFEST.MF | 2 +-
 .../org.apache.syncope.ide.eclipse.tests/META-INF/MANIFEST.MF  | 2 +-
 ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml   | 2 +-
 .../releng/org.apache.syncope.ide.eclipse.site/category.xml| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/0057595c/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 ffa55d6..2aa86fd 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.1.0
+Bundle-Version: 2.1.1.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/0057595c/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 79cb1bd..5a83e31 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.1.0
+Bundle-Version: 2.1.1.qualifier
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: 
 Bundle-RequiredExecutionEnvironment: J2SE-1.5

http://git-wip-us.apache.org/repos/asf/syncope/blob/0057595c/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml
--
diff --git a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml 
b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml
index 1fb7ac0..71359b2 100644
--- a/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml
+++ b/ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml
@@ -24,7 +24,7 @@ under the License.
   
 org.apache.syncope.ide
 syncope-ide-eclipse
-2.1.0-SNAPSHOT
+2.1.1-SNAPSHOT
 ../../
   
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/0057595c/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 6df1cdb..4258e9f 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.
 -->
 
-   
+   
   





svn commit: r1835154 - /syncope/site/2.1.0/docs/.htaccess

2018-07-05 Thread ilgrosso
Author: ilgrosso
Date: Thu Jul  5 16:01:42 2018
New Revision: 1835154

URL: http://svn.apache.org/viewvc?rev=1835154=rev
Log:
Adjusting htaccess

Modified:
syncope/site/2.1.0/docs/.htaccess

Modified: syncope/site/2.1.0/docs/.htaccess
URL: 
http://svn.apache.org/viewvc/syncope/site/2.1.0/docs/.htaccess?rev=1835154=1835153=1835154=diff
==
--- syncope/site/2.1.0/docs/.htaccess (original)
+++ syncope/site/2.1.0/docs/.htaccess Thu Jul  5 16:01:42 2018
@@ -15,5 +15,6 @@
 # specific language governing permissions and limitations
 # under the License.
 
-RedirectMatch /docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
-RedirectMatch /docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
+RedirectMatch ^getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch ^reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
+




svn commit: r1835153 - /syncope/site/2.1.0/docs/.htaccess

2018-07-05 Thread ilgrosso
Author: ilgrosso
Date: Thu Jul  5 15:59:42 2018
New Revision: 1835153

URL: http://svn.apache.org/viewvc?rev=1835153=rev
Log:
Adjusting htaccess

Modified:
syncope/site/2.1.0/docs/.htaccess

Modified: syncope/site/2.1.0/docs/.htaccess
URL: 
http://svn.apache.org/viewvc/syncope/site/2.1.0/docs/.htaccess?rev=1835153=1835152=1835153=diff
==
--- syncope/site/2.1.0/docs/.htaccess (original)
+++ syncope/site/2.1.0/docs/.htaccess Thu Jul  5 15:59:42 2018
@@ -15,7 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-RedirectMatch https://syncope.apache.org/docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
-RedirectMatch http://syncope.apache.org/docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
-RedirectMatch https://syncope.apache.org/docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
-RedirectMatch http://syncope.apache.org/docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
+RedirectMatch /docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch /docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;




svn commit: r1835152 - /syncope/site/2.1.0/docs/.htaccess

2018-07-05 Thread ilgrosso
Author: ilgrosso
Date: Thu Jul  5 15:57:32 2018
New Revision: 1835152

URL: http://svn.apache.org/viewvc?rev=1835152=rev
Log:
Adjusting htaccess

Modified:
syncope/site/2.1.0/docs/.htaccess

Modified: syncope/site/2.1.0/docs/.htaccess
URL: 
http://svn.apache.org/viewvc/syncope/site/2.1.0/docs/.htaccess?rev=1835152=1835151=1835152=diff
==
--- syncope/site/2.1.0/docs/.htaccess (original)
+++ syncope/site/2.1.0/docs/.htaccess Thu Jul  5 15:57:32 2018
@@ -15,5 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-RedirectMatch getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
-RedirectMatch reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
+RedirectMatch https://syncope.apache.org/docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch http://syncope.apache.org/docs/getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch https://syncope.apache.org/docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;
+RedirectMatch http://syncope.apache.org/docs/reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;




svn commit: r1835150 - in /syncope/site/2.1.0: ./ apidocs/ apidocs/2.0/ apidocs/2.1/ apidocs/2.1/org/ apidocs/2.1/org/apache/ apidocs/2.1/org/apache/syncope/ apidocs/2.1/org/apache/syncope/client/ api

2018-07-05 Thread ilgrosso
Author: ilgrosso
Date: Thu Jul  5 15:52:26 2018
New Revision: 1835150

URL: http://svn.apache.org/viewvc?rev=1835150=rev
Log:
Staging site for release


[This commit notification would consist of 1424 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


Syncope-2_0_X-deploy - Build # 1033 - Fixed

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #1033)

Status: Fixed

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

svn commit: r27926 - /dev/syncope/2.1.0/

2018-07-05 Thread ilgrosso
Author: ilgrosso
Date: Thu Jul  5 15:11:15 2018
New Revision: 27926

Log:
Staging artifacts for 2.1.0 vote

Added:
dev/syncope/2.1.0/
dev/syncope/2.1.0/apache-syncope-2.1.0.deb   (with props)
dev/syncope/2.1.0/apache-syncope-2.1.0.deb.asc
dev/syncope/2.1.0/apache-syncope-2.1.0.deb.sha1
dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb   (with props)
dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.asc
dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.sha1
dev/syncope/2.1.0/apache-syncope-enduser-2.1.0.deb   (with props)
dev/syncope/2.1.0/apache-syncope-enduser-2.1.0.deb.asc
dev/syncope/2.1.0/apache-syncope-enduser-2.1.0.deb.sha1
dev/syncope/2.1.0/org.apache.syncope.ide.eclipse.site-2.1.0.zip   (with 
props)
dev/syncope/2.1.0/org.apache.syncope.ide.eclipse.site-2.1.0.zip.asc
dev/syncope/2.1.0/org.apache.syncope.ide.eclipse.site-2.1.0.zip.sha1
dev/syncope/2.1.0/syncope-2.1.0-source-release.zip   (with props)
dev/syncope/2.1.0/syncope-2.1.0-source-release.zip.asc
dev/syncope/2.1.0/syncope-2.1.0-source-release.zip.sha1
dev/syncope/2.1.0/syncope-client-cli-2.1.0.zip   (with props)
dev/syncope/2.1.0/syncope-client-cli-2.1.0.zip.asc
dev/syncope/2.1.0/syncope-client-cli-2.1.0.zip.sha1
dev/syncope/2.1.0/syncope-core-upgrade-2.1.0.zip   (with props)
dev/syncope/2.1.0/syncope-core-upgrade-2.1.0.zip.asc
dev/syncope/2.1.0/syncope-core-upgrade-2.1.0.zip.sha1
dev/syncope/2.1.0/syncope-ide-netbeans-2.1.0.nbm   (with props)
dev/syncope/2.1.0/syncope-ide-netbeans-2.1.0.nbm.asc
dev/syncope/2.1.0/syncope-ide-netbeans-2.1.0.nbm.sha1
dev/syncope/2.1.0/syncope-installer-2.1.0-uber.jar   (with props)
dev/syncope/2.1.0/syncope-installer-2.1.0-uber.jar.asc
dev/syncope/2.1.0/syncope-installer-2.1.0-uber.jar.sha1
dev/syncope/2.1.0/syncope-standalone-2.1.0-distribution.zip   (with props)
dev/syncope/2.1.0/syncope-standalone-2.1.0-distribution.zip.asc
dev/syncope/2.1.0/syncope-standalone-2.1.0-distribution.zip.sha1

Added: dev/syncope/2.1.0/apache-syncope-2.1.0.deb
==
Binary file - no diff available.

Propchange: dev/syncope/2.1.0/apache-syncope-2.1.0.deb
--
svn:mime-type = application/octet-stream

Added: dev/syncope/2.1.0/apache-syncope-2.1.0.deb.asc
==
--- dev/syncope/2.1.0/apache-syncope-2.1.0.deb.asc (added)
+++ dev/syncope/2.1.0/apache-syncope-2.1.0.deb.asc Thu Jul  5 15:11:15 2018
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABCgAGBQJbPjJLAAoJEGtDE+0nPfKHrvsH/3rYVoieN9JweVCj0m9h0FNc
+tMWZvc+ot5D/wAguRMDZ5fMKNYrfBA0XCzV4HMsHWKjkIfaGrS6/AMxaIChOjG8G
+EaDcWMPH0NQq46irZDN9o+duLit46EQwmPsDck/6gFlUiFK+sZFEPcGrmxKMyrYM
+6PqqWdrq8JgSCeUBF1wQBqcKZ67VC4P/OZzSWLHqcYrd4zj7Z5+9ozYfZuPRbUlK
+yCxN10jhMpF6lr9ltSsP94le+0vtsHBb7ifWSGRu1Q7GeTkLG1rhPs+tLePbGf6T
+9bsJz4IEJBS/cXAix9QHaiGJdymqpGP1EOLA5eBCF+DpvieS76YtJ9CrTeoP0dU=
+=0EYb
+-END PGP SIGNATURE-

Added: dev/syncope/2.1.0/apache-syncope-2.1.0.deb.sha1
==
--- dev/syncope/2.1.0/apache-syncope-2.1.0.deb.sha1 (added)
+++ dev/syncope/2.1.0/apache-syncope-2.1.0.deb.sha1 Thu Jul  5 15:11:15 2018
@@ -0,0 +1 @@
+74e3691a9abe665cda96882dc3c52b820b961fce

Added: dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb
==
Binary file - no diff available.

Propchange: dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb
--
svn:mime-type = application/octet-stream

Added: dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.asc
==
--- dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.asc (added)
+++ dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.asc Thu Jul  5 15:11:15 
2018
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABCgAGBQJbPjJRAAoJEGtDE+0nPfKHKmEIAIGtYnZMfydLh3dJuX/Nhb1+
+oko8nUVKWIXzcApzyx9yUIsPqDt5xjMRePijAG3wYfbSYRteBT6nTB6MZP9luedV
+AzezDOp57iqNqoqKcyiUT7UgbFzH5a70ZIJAoFbcD5IO9lQvwKUjIDtVKv3jCt2X
+VBw+DfgjTeqfDnQGZXB9QUUudpo+TuOPg/WG7kzc+E7QmIoNEji5XlpQTKr40zLC
+x4OXvqqfJ2UCLpRIjw7+wRNLwhOgyh9PSWExa8AHA9SlsIq9TQo8L7gjy0S/mwHq
+3eBwwudHyGU9cKT7kXZfC19+69oIkdSyuBwbCfM5J46z8Qke+2zdqmlrGGkGgfU=
+=QoZY
+-END PGP SIGNATURE-

Added: dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.sha1
==
--- dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.sha1 (added)
+++ dev/syncope/2.1.0/apache-syncope-console-2.1.0.deb.sha1 Thu Jul  5 15:11:15 
2018
@@ -0,0 +1 @@
+c162977ad4914ec9f35f18c001aabaf73523ed67


[syncope] Git Push Summary

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Tags:  refs/tags/syncope-2.1.0 [created] 1c898982a


syncope git commit: [maven-release-plugin] prepare release syncope-2.1.0

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master 1265fb9c5 -> 49c2e53ba


[maven-release-plugin] prepare release syncope-2.1.0


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

Branch: refs/heads/master
Commit: 49c2e53ba6baf1423a89b5ab9a24aa665a5780ad
Parents: 1265fb9
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 17:04:12 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 17:04:12 2018 +0200

--
 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/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/upgrade/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 +-
 docker/console/pom.xml  |  7 +--
 docker/core/pom.xml | 19 +++
 docker/enduser/pom.xml  |  5 +-
 docker/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/oidcclient/agent/pom.xml|  2 +-
 ext/oidcclient/client-console/pom.xml   |  2 +-
 ext/oidcclient/client-enduser/pom.xml   |  2 +-
 ext/oidcclient/common-lib/pom.xml   |  2 +-
 ext/oidcclient/logic/pom.xml|  2 +-
 ext/oidcclient/persistence-api/pom.xml  |  2 +-
 ext/oidcclient/persistence-jpa/pom.xml  |  2 +-
 ext/oidcclient/pom.xml  |  2 +-
 ext/oidcclient/provisioning-api/pom.xml |  2 +-
 ext/oidcclient/provisioning-java/pom.xml|  2 +-
 ext/oidcclient/rest-api/pom.xml |  2 +-
 ext/oidcclient/rest-cxf/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 +-
 ext/scimv2/rest-cxf/pom.xml |  2 +-
 ext/scimv2/scim-rest-api/pom.xml|  2 

syncope git commit: Adding the docker modules to the apache-release profile

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master 0767a71dd -> 1265fb9c5


Adding the docker modules to the apache-release profile


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

Branch: refs/heads/master
Commit: 1265fb9c5c86ee2b6a668e58f40c097b887a56f9
Parents: 0767a71
Author: Francesco Chicchiriccò 
Authored: Thu Jun 28 09:23:49 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:53:55 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/syncope/blob/1265fb9c/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 7b942de..a8c4909 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2351,6 +2351,10 @@ under the License.
   
 
   
+
+  
+docker
+  
 
 
 



syncope git commit: [SYNCOPE-1204] Removing last traces of syncope-core-migration

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master 9a6af946e -> 0767a71dd


[SYNCOPE-1204] Removing last traces of syncope-core-migration


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

Branch: refs/heads/master
Commit: 0767a71ddd0501a9dfd6a82a43cda3d7cbb44041
Parents: 9a6af94
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:46:33 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:46:33 2018 +0200

--
 fit/core-reference/pom.xml  | 5 -
 .../syncope/fit/core/reference/ITImplementationLookup.java  | 2 --
 fit/core-reference/src/test/resources/rebel.xml | 2 --
 3 files changed, 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/0767a71d/fit/core-reference/pom.xml
--
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index 0f1e4a8..8b7a3da 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -57,11 +57,6 @@ under the License.
 
 
   org.apache.syncope.core
-  syncope-core-migration
-  ${project.version}
-
-
-  org.apache.syncope.core
   syncope-core-rest-cxf
   ${project.version}
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/0767a71d/fit/core-reference/src/main/java/org/apache/syncope/fit/core/reference/ITImplementationLookup.java
--
diff --git 
a/fit/core-reference/src/main/java/org/apache/syncope/fit/core/reference/ITImplementationLookup.java
 
b/fit/core-reference/src/main/java/org/apache/syncope/fit/core/reference/ITImplementationLookup.java
index ac20be8..b3b03f3 100644
--- 
a/fit/core-reference/src/main/java/org/apache/syncope/fit/core/reference/ITImplementationLookup.java
+++ 
b/fit/core-reference/src/main/java/org/apache/syncope/fit/core/reference/ITImplementationLookup.java
@@ -45,7 +45,6 @@ import 
org.apache.syncope.common.lib.types.ImplementationEngine;
 import org.apache.syncope.common.lib.types.ImplementationType;
 import org.apache.syncope.common.lib.types.TaskType;
 import org.apache.syncope.core.logic.TaskLogic;
-import org.apache.syncope.core.migration.MigrationPullActions;
 import org.apache.syncope.core.provisioning.java.job.report.AuditReportlet;
 import org.apache.syncope.core.provisioning.java.job.report.GroupReportlet;
 import 
org.apache.syncope.core.provisioning.java.job.report.ReconciliationReportlet;
@@ -208,7 +207,6 @@ public class ITImplementationLookup implements 
ImplementationLookup {
 classNames = new HashSet<>();
 classNames.add(LDAPPasswordPullActions.class.getName());
 classNames.add(TestPullActions.class.getName());
-classNames.add(MigrationPullActions.class.getName());
 classNames.add(LDAPMembershipPullActions.class.getName());
 classNames.add(DBPasswordPullActions.class.getName());
 put(ImplementationType.PULL_ACTIONS, classNames);

http://git-wip-us.apache.org/repos/asf/syncope/blob/0767a71d/fit/core-reference/src/test/resources/rebel.xml
--
diff --git a/fit/core-reference/src/test/resources/rebel.xml 
b/fit/core-reference/src/test/resources/rebel.xml
index 0a3965b..0c5a357 100644
--- a/fit/core-reference/src/test/resources/rebel.xml
+++ b/fit/core-reference/src/test/resources/rebel.xml
@@ -56,8 +56,6 @@ under the License.
 
   
 
-
-
 
 
 



[3/3] syncope git commit: Updating downloads site page for release

2018-07-05 Thread ilgrosso
Updating downloads site page for release


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

Branch: refs/heads/master
Commit: 9a6af946ea7fb0793014cab167ca99e602f6538a
Parents: 48a8963
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:39:12 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:39:12 2018 +0200

--
 src/site/xdoc/downloads.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/9a6af946/src/site/xdoc/downloads.xml
--
diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml
index 0a7e1bf..842f760 100644
--- a/src/site/xdoc/downloads.xml
+++ b/src/site/xdoc/downloads.xml
@@ -37,7 +37,7 @@ under the License.
   
 
   
-Release date: July XXth 2018
+Release date: July 5th 2018
 
   https://cwiki.apache.org/confluence/display/SYNCOPE/Fusion;>Release 
notes
 



[2/3] syncope git commit: Updating Eclipse files for release

2018-07-05 Thread ilgrosso
Updating Eclipse files for release


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

Branch: refs/heads/master
Commit: 48a89634a641a78a273aaa71adf76484405807d8
Parents: 9edeeff
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:38:52 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:38:52 2018 +0200

--
 .../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/48a89634/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 ce2ad22..ffa55d6 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.1.0.qualifier
+Bundle-Version: 2.1.0
 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/48a89634/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 fd977a5..79cb1bd 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.1.0.qualifier
+Bundle-Version: 2.1.0
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: 
 Bundle-RequiredExecutionEnvironment: J2SE-1.5

http://git-wip-us.apache.org/repos/asf/syncope/blob/48a89634/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 c01746b..6df1cdb 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.
 -->
 
-   
+   
   





[1/3] syncope git commit: Updating CHANGES for release

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master e015d85d4 -> 9a6af946e


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/9edeeffe
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/9edeeffe
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/9edeeffe

Branch: refs/heads/master
Commit: 9edeeffe389319eb65a4d77f4d9931c69b000c11
Parents: e015d85
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:38:12 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:38:12 2018 +0200

--
 CHANGES | 1055 --
 1 file changed, 281 insertions(+), 774 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/9edeeffe/CHANGES
--
diff --git a/CHANGES b/CHANGES
index 69cf4eb..7babeea 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,10 +2,183 @@ Apache Syncope - CHANGES
 Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
 

 
-Release Notes - Syncope - Version 2.0.9
+Release Notes - Syncope - Version 2.1.0
 

 
+** Sub-task
+* [SYNCOPE-808] - Netbeans plugin
+* [SYNCOPE-984] - Errors when building on Windows for archetype and 
Eclipse plugin
+* [SYNCOPE-985] - org.apache.syncope.client.cli.commands.MigrateTest Fails 
on Windows
+
 ** Bug
+* [SYNCOPE-937] - Security question not loaded while resetting the user 
password
+* [SYNCOPE-940] - Handle authorization issues more gracefully in the 
console
+* [SYNCOPE-942] - Bug in changing security answer in the Enduser UI
+* [SYNCOPE-944] - Cannot manually assign groups provided with dynamic 
assignment rules
+* [SYNCOPE-946] - Encrypted attribute values not managed as password values
+* [SYNCOPE-950] - Self-registration / self-update not working
+* [SYNCOPE-953] - Enduser shows groups of the selected realm rather than 
groups assignable to users in the selected realm
+* [SYNCOPE-965] - Cron expression for scheduled job is not saved from the 
console
+* [SYNCOPE-966] - Exception reported when looking at propagation task 
details from user list
+* [SYNCOPE-970] - On logout, page translation doesn't reset to default 
settings.
+* [SYNCOPE-974] - Incorrect error reported when creating notification with 
missing events
+* [SYNCOPE-975] - Search case insensitive ilike operator triggers search 
validation
+* [SYNCOPE-976] - Duplicated events shown by admin console for 
notifications and audit
+* [SYNCOPE-977] - style missing for captcha buttons in responsive template 
(under 800px width)
+* [SYNCOPE-979] - resource id is missing in user propagation task table
+* [SYNCOPE-980] - AnyObject search filter not honored with inGroups 
condition
+* [SYNCOPE-981] - Oracle/SQLServer configuration does not work
+* [SYNCOPE-982] - Notification tasks modal window does not provide access 
to actual HTML and TEXT e-mail body
+* [SYNCOPE-987] - Build issues on Windows
+* [SYNCOPE-990] - Explore resource detailed view always shows empty left 
column
+* [SYNCOPE-992] - Date not registered in self registration
+* [SYNCOPE-993] - Footer buttons positioning and resizing
+* [SYNCOPE-994] - Character encoding not being respected
+* [SYNCOPE-997] - Angular transition errors
+* [SYNCOPE-999] - REST exception mapper overwrites Spring Security response
+* [SYNCOPE-1000] - CSVDir connector unclear about required 
attributes/columns
+* [SYNCOPE-1001] - Closing the Activiti Modeler popup does not make the 
spinner to disappear
+* [SYNCOPE-1002] - Updating any objects' name via console is ineffective
+* [SYNCOPE-1003] - Error when accessing notification tasks for a given user
+* [SYNCOPE-1004] - Notification tasks generated for self read event not 
linked to user
+* [SYNCOPE-1007] - NPE in Console when on an empty search term for user 
assignment
+* [SYNCOPE-1008] - Maven home directory not trimmed of whitespace
+* [SYNCOPE-1010] - Some PushActions methods not invoked even if assigned
+* [SYNCOPE-1012] - Security answer not recognized during password reset
+* [SYNCOPE-1013] - Password reset link generated by default notification 
template does not trigger Enduser UI features
+* [SYNCOPE-1014] - The list of security questions is not refreshed after 
creating new one
+* [SYNCOPE-1016] - Last change date not updated for users when attributes 
are updated via pull
+* [SYNCOPE-1022] - UTF-8 characters in security questions not correctly 
encoded by Enduser UI
+* 

Syncope-2_0_X-deploy - Build # 1032 - Failure

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X-deploy (build #1032)

Status: Failure

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

[2/2] syncope git commit: Upgrade ConnId base and SOAP bundle

2018-07-05 Thread ilgrosso
Upgrade ConnId base and SOAP bundle


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

Branch: refs/heads/master
Commit: e015d85d4db2f606c6ddaea2c7f0b3f4ca11e949
Parents: e56dbc2
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:28:32 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:28:32 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/syncope/blob/e015d85d/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 3ede96b..7b942de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,8 +356,8 @@ under the License.
   
 ${project.version}
 
-1.4.4.0-SNAPSHOT
-1.4.2-SNAPSHOT
+1.4.4.0
+1.4.2
 1.0.3
 2.2.5
 0.8.7



[1/2] syncope git commit: Upgrade ConnId base and SOAP bundle

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 77ce29e5f -> bdd664ef4
  refs/heads/master e56dbc29d -> e015d85d4


Upgrade ConnId base and SOAP bundle


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

Branch: refs/heads/2_0_X
Commit: bdd664ef41d7ac31333efb5fee90eb4fa1e35576
Parents: 77ce29e
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 16:12:44 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 16:12:44 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/syncope/blob/bdd664ef/pom.xml
--
diff --git a/pom.xml b/pom.xml
index d4cf63d..3b36c37 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,8 +356,8 @@ under the License.
   
 ${project.version}
 
-1.4.3.0
-1.4.1
+1.4.4.0
+1.4.2
 1.0.3
 2.2.5
 0.8.7



Syncope-master-deploy - Build # 3060 - Fixed

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #3060)

Status: Fixed

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

[2/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/test/resources/testJDBCEnv.xml
--
diff --git a/core/upgrade/src/test/resources/testJDBCEnv.xml 
b/core/upgrade/src/test/resources/testJDBCEnv.xml
new file mode 100644
index 000..daa2597
--- /dev/null
+++ b/core/upgrade/src/test/resources/testJDBCEnv.xml
@@ -0,0 +1,63 @@
+
+
+http://www.springframework.org/schema/beans;
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+   xsi:schemaLocation="http://www.springframework.org/schema/beans
+   
http://www.springframework.org/schema/beans/spring-beans.xsd;>
+
+  
+
+  
+  
+
+  
+  
+
+  
+  
+
+  
+  
+  
+
+
+
+
+  
+  
+  
+
+
+  
+
+
+
+
+  
+
+  classpath:/syncopedb20.sql
+
+  
+
+  
+
+  
+
+

http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/src/main/asciidoc/getting-started/obtain.adoc
--
diff --git a/src/main/asciidoc/getting-started/obtain.adoc 
b/src/main/asciidoc/getting-started/obtain.adoc
index be92fac..3c7df2d 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -33,7 +33,7 @@ First approach, especially with administration console and 
end-user; does not re
 
 Getting ready in a few easy steps:
 
-. http://syncope.apache.org/downloads.html[download^] the standalone 
distribution
+. https://syncope.apache.org/downloads[download^] the standalone distribution
 . unzip the distribution archive
 . go into the created Apache Tomcat directory
 . start Apache Tomcat
@@ -96,31 +96,23 @@ Getting up and running quickly on Debian / Ubuntu. +
 *Difficult to extend beyond pre-sets.*
 
 Download::
-http://syncope.apache.org/downloads.html[Download^] the latest .deb packages
+https://syncope.apache.org/downloads[Download^] the latest .deb packages
 
 Prepare::
 . Install Apache Tomcat 8
 +
 [source,bash]
-sudo apt-get install tomcat8
-+
-[WARNING]
-*Ubuntu LTS 14.04 LTS* does not provide the tomcat8 package by default: you 
will need instead to download and manually
-install the following packages (from Ubuntu 15.04):
-http://packages.ubuntu.com/wily/all/libecj-java/download[libecj-java]
-http://packages.ubuntu.com/wily/all/libtomcat8-java/download[libtomcat8-java]
-http://packages.ubuntu.com/wily/all/tomcat8-common/download[tomcat8-common]
-http://packages.ubuntu.com/wily/all/tomcat8/download[tomcat8]
+$ sudo apt-get install tomcat8
 +
 . Install PostgreSQL
 +
 [source,bash]
-sudo apt-get install libpostgresql-jdbc-java postgresql postgresql-client
+$ sudo apt-get install libpostgresql-jdbc-java postgresql postgresql-client
 +
 . Use the PostgreSQL JDBC driver with Tomcat
 +
 [source,bash]
-sudo ln -s /usr/share/java/postgresql-jdbc4.jar /usr/share/tomcat8/lib/
+$ sudo ln -s /usr/share/java/postgresql-jdbc4.jar /usr/share/tomcat8/lib/
 +
 . Replace `JAVA_OPTS` in `/etc/default/tomcat8` with the following:
 +
@@ -135,22 +127,22 @@ Install::
 . Stop Tomcat
 +
 [source,bash]
-sudo service tomcat8 stop
+$ sudo service tomcat8 stop
 +
 . Install Apache Syncope core, console and enduser via the downloaded packages
 +
 [source,bash]
-sudo dpkg -i apache-syncope-*.deb
+$ sudo dpkg -i apache-syncope-*.deb
 +
 . Create a database for use with Apache Syncope
 +
 [source,bash]
-sudo SYNCOPE_USER="syncope" SYNCOPE_PASS="syncope" sh 
/usr/share/apache-syncope/dbinit-postgresql.sh
+$ sudo SYNCOPE_USER="syncope" SYNCOPE_PASS="syncope" sh 
/usr/share/apache-syncope/dbinit-postgresql.sh
 +
 . Start Tomcat
 +
 [source,bash]
-sudo service tomcat8 start
+$ sudo service tomcat8 start
 
 [[deb-components]]
  Components
@@ -232,7 +224,7 @@ of `$CATALINA_HOME/conf/tomcat-users.xml` looks like:
 
  Usage
 
-Once http://syncope.apache.org/downloads.html[downloaded^], double-click the 
JAR file or execute via the command-line:
+Once https://syncope.apache.org/downloads[downloaded^], double-click the JAR 
file or execute via the command-line:
 
 [source,bash]
 java -jar syncope-installer-*-uber.jar
@@ -455,7 +447,7 @@ ifeval::["{snapshotOrRelease}" == "release"]
 
 [subs="verbatim,attributes"]
 
-mvn archetype:generate \
+$ mvn archetype:generate \
 -DarchetypeGroupId=org.apache.syncope \
 -DarchetypeArtifactId=syncope-archetype \
 -DarchetypeRepository=http://repo1.maven.org/maven2 \
@@ -468,7 +460,7 @@ ifeval::["{snapshotOrRelease}" == "snapshot"]
 
 [subs="verbatim,attributes"]
 
-mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
+$ mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
 -DarchetypeGroupId=org.apache.syncope \
 -DarchetypeArtifactId=syncope-archetype \
 
-DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots
 \

[6/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/client/cli/src/test/resources/schema20.sql
--
diff --git a/client/cli/src/test/resources/schema20.sql 
b/client/cli/src/test/resources/schema20.sql
deleted file mode 100644
index 4cdad60..000
--- a/client/cli/src/test/resources/schema20.sql
+++ /dev/null
@@ -1,229 +0,0 @@
--- Licensed to the Apache Software Foundation (ASF) under one
--- or more contributor license agreements.  See the NOTICE file
--- distributed with this work for additional information
--- regarding copyright ownership.  The ASF licenses this file
--- to you under the Apache License, Version 2.0 (the
--- "License"); you may not use this file except in compliance
--- with the License.  You may obtain a copy of the License at
---
---   http://www.apache.org/licenses/LICENSE-2.0
---
--- Unless required by applicable law or agreed to in writing,
--- software distributed under the License is distributed on an
--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
--- KIND, either express or implied.  See the License for the
--- specific language governing permissions and limitations
--- under the License.
-
-CREATE TABLE AccountPolicy (id VARCHAR(36) NOT NULL, description VARCHAR(255), 
maxAuthenticationAttempts INTEGER, propagateSuspension INTEGER, PRIMARY KEY 
(id));
-CREATE TABLE AccountPolicy_ExternalResource (accountPolicy_id VARCHAR(36), 
resource_id VARCHAR(255));
-CREATE TABLE AccountRuleConfInstance (id VARCHAR(36) NOT NULL, 
serializedInstance CLOB, ACCOUNTPOLICY_ID VARCHAR(36), PRIMARY KEY (id));
-CREATE TABLE ADynGroupMembership (id VARCHAR(36) NOT NULL, fiql VARCHAR(255), 
GROUP_ID VARCHAR(36), ANYTYPE_ID VARCHAR(255), PRIMARY KEY (id));
-CREATE TABLE ADynGroupMembership_AnyObject (aDynGroupMembership_id 
VARCHAR(36), anyObject_id VARCHAR(36));
-CREATE TABLE AMembership (id VARCHAR(36) NOT NULL, anyObject_id VARCHAR(36), 
group_id VARCHAR(36), PRIMARY KEY (id));
-CREATE TABLE AnyAbout (id VARCHAR(36) NOT NULL, filter CLOB, ANYTYPE_ID 
VARCHAR(255), NOTIFICATION_ID VARCHAR(36), PRIMARY KEY (id), CONSTRAINT 
U_NYABOUT_NOTIFICATION_ID UNIQUE (NOTIFICATION_ID, ANYTYPE_ID));
-CREATE TABLE AnyObject (id VARCHAR(36) NOT NULL, creationDate TIMESTAMP NOT 
NULL, creator VARCHAR(255) NOT NULL, lastChangeDate TIMESTAMP NOT NULL, 
lastModifier VARCHAR(255) NOT NULL, status VARCHAR(255), workflowId 
VARCHAR(255), name VARCHAR(255), REALM_ID VARCHAR(36), TYPE_ID VARCHAR(255), 
PRIMARY KEY (id), CONSTRAINT U_NYOBJCT_NAME UNIQUE (name));
-CREATE TABLE AnyObject_AnyTypeClass (anyObject_id VARCHAR(36), anyTypeClass_id 
VARCHAR(255));
-CREATE TABLE AnyObject_ExternalResource (anyObject_id VARCHAR(36), resource_id 
VARCHAR(255));
-CREATE TABLE AnyTemplatePullTask (id VARCHAR(36) NOT NULL, template CLOB, 
PULLTASK_ID VARCHAR(36), ANYTYPE_ID VARCHAR(255), PRIMARY KEY (id), CONSTRAINT 
U_NYTMTSK_PULLTASK_ID UNIQUE (PULLTASK_ID, ANYTYPE_ID));
-CREATE TABLE AnyTemplateRealm (id VARCHAR(36) NOT NULL, template CLOB, 
REALM_ID VARCHAR(36), ANYTYPE_ID VARCHAR(255), PRIMARY KEY (id), CONSTRAINT 
U_NYTMRLM_REALM_ID UNIQUE (REALM_ID, ANYTYPE_ID));
-CREATE TABLE AnyType (id VARCHAR(255) NOT NULL, kind VARCHAR(20), PRIMARY KEY 
(id));
-CREATE TABLE AnyTypeClass (id VARCHAR(255) NOT NULL, PRIMARY KEY (id));
-CREATE TABLE AnyType_AnyTypeClass (anyType_id VARCHAR(255), anyTypeClass_id 
VARCHAR(255));
-CREATE TABLE APlainAttr (id VARCHAR(36) NOT NULL, OWNER_ID VARCHAR(36), 
schema_id VARCHAR(255), MEMBERSHIP_ID VARCHAR(36), PRIMARY KEY (id));
-CREATE TABLE APlainAttrUniqueValue (id VARCHAR(36) NOT NULL, binaryValue BLOB, 
booleanValue INTEGER, dateValue TIMESTAMP, doubleValue DOUBLE, longValue 
BIGINT, stringValue VARCHAR(255), ATTRIBUTE_ID VARCHAR(36), schema_id 
VARCHAR(255), PRIMARY KEY (id), CONSTRAINT U_PLNTQVL_BOOLEANVALUE UNIQUE 
(booleanValue, schema_id), CONSTRAINT U_PLNTQVL_DATEVALUE UNIQUE (dateValue, 
schema_id), CONSTRAINT U_PLNTQVL_STRINGVALUE UNIQUE (stringValue, schema_id), 
CONSTRAINT U_PLNTQVL_DOUBLEVALUE UNIQUE (doubleValue, schema_id), CONSTRAINT 
U_PLNTQVL_LONGVALUE UNIQUE (longValue, schema_id));
-CREATE TABLE APlainAttrValue (id VARCHAR(36) NOT NULL, binaryValue BLOB, 
booleanValue INTEGER, dateValue TIMESTAMP, doubleValue DOUBLE, longValue 
BIGINT, stringValue VARCHAR(255), ATTRIBUTE_ID VARCHAR(36), PRIMARY KEY (id));
-CREATE TABLE ARelationship (id VARCHAR(36) NOT NULL, left_anyObject_id 
VARCHAR(36), right_anyObject_id VARCHAR(36), TYPE_ID VARCHAR(255), PRIMARY KEY 
(id), CONSTRAINT U_RLTNSHP_TYPE_ID UNIQUE (TYPE_ID, left_anyObject_id, 
right_anyObject_id));
-CREATE TABLE ConnInstance (id VARCHAR(36) NOT NULL, bundleName VARCHAR(255), 
connRequestTimeout INTEGER, connectorName VARCHAR(255), displayName 
VARCHAR(255), jsonConf CLOB, location VARCHAR(255), version VARCHAR(255), 
maxIdle INTEGER, maxObjects INTEGER, maxWait BIGINT, minEvictableIdleTimeMillis 
BIGINT, minIdle INTEGER, PRIMARY KEY (id), 

[7/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/client/cli/src/test/resources/content12.xml
--
diff --git a/client/cli/src/test/resources/content12.xml 
b/client/cli/src/test/resources/content12.xml
deleted file mode 100644
index 7512c63..000
--- a/client/cli/src/test/resources/content12.xml
+++ /dev/null
@@ -1,1154 +0,0 @@
-
-
-
-  
-
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-
-  
-  
-  
- 
-  
-
-  
-  
-  
-
-  
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-
-  
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-
-
  
-  
-
-  
-  
-
-  
-
-  
-  
-  
-
-  
-  
-  
-  
-
-  
-
-  
-  
-  
-
-  
-  
-  
-
-  
-
-  
-  
-  
-
-
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-
-  
-  
- 
-  
-  
- 
-  
-  
- 
-  
-  
-   
-  
-  
-  
- 
-  
-  
-  
- 
-  
-  
-  


[4/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/main/resources/syncopeupgrade.bat
--
diff --git a/core/upgrade/src/main/resources/syncopeupgrade.bat 
b/core/upgrade/src/main/resources/syncopeupgrade.bat
new file mode 100644
index 000..a1a7a7c
--- /dev/null
+++ b/core/upgrade/src/main/resources/syncopeupgrade.bat
@@ -0,0 +1,27 @@
+@ECHO OFF
+
+rem Licensed to the Apache Software Foundation (ASF) under one
+rem or more contributor license agreements.  See the NOTICE file
+rem distributed with this work for additional information
+rem regarding copyright ownership.  The ASF licenses this file
+rem to you under the Apache License, Version 2.0 (the
+rem "License"); you may not use this file except in compliance
+rem with the License.  You may obtain a copy of the License at
+rem
+rem   http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing,
+rem software distributed under the License is distributed on an
+rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+rem KIND, either express or implied.  See the License for the
+rem specific language governing permissions and limitations
+rem under the License.
+
+setLocal EnableDelayedExpansion
+set CLASSPATH="
+for /R ./lib %%a in (*.jar) do (
+  set CLASSPATH=!CLASSPATH!;%%a
+)
+set CLASSPATH=!CLASSPATH!"
+
+java -Xms256m -Xmx512m -classpath !CLASSPATH! 
org.apache.syncope.core.upgrade.GenerateUpgradeSQL %*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/main/resources/syncopeupgrade.sh
--
diff --git a/core/upgrade/src/main/resources/syncopeupgrade.sh 
b/core/upgrade/src/main/resources/syncopeupgrade.sh
new file mode 100755
index 000..466e986
--- /dev/null
+++ b/core/upgrade/src/main/resources/syncopeupgrade.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+LIB=`ls lib`
+CLASSPATH=lib/`echo $LIB | sed "s/jar /jar:lib\//g"`
+
+java -Xms256m -Xmx512m -classpath "$CLASSPATH" 
org.apache.syncope.core.upgrade.GenerateUpgradeSQL "$@"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/test/java/org/apache/syncope/core/upgrade/GeneratedUpgradeSQLTest.java
--
diff --git 
a/core/upgrade/src/test/java/org/apache/syncope/core/upgrade/GeneratedUpgradeSQLTest.java
 
b/core/upgrade/src/test/java/org/apache/syncope/core/upgrade/GeneratedUpgradeSQLTest.java
new file mode 100644
index 000..3d44e37
--- /dev/null
+++ 
b/core/upgrade/src/test/java/org/apache/syncope/core/upgrade/GeneratedUpgradeSQLTest.java
@@ -0,0 +1,120 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.core.upgrade;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.AssertionsKt.fail;
+
+import java.io.StringWriter;
+import java.nio.charset.StandardCharsets;
+import javax.annotation.Resource;
+import javax.sql.DataSource;
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.core.io.ByteArrayResource;
+import org.springframework.jdbc.core.JdbcTemplate;

[3/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/test/resources/syncopedb20.sql
--
diff --git a/core/upgrade/src/test/resources/syncopedb20.sql 
b/core/upgrade/src/test/resources/syncopedb20.sql
new file mode 100644
index 000..314669b
--- /dev/null
+++ b/core/upgrade/src/test/resources/syncopedb20.sql
@@ -0,0 +1,2867 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--   http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied.  See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+CREATE SEQUENCE PUBLIC.SYSTEM_SEQUENCE_59F7B0CC_7480_4829_9E5B_C3B02CB5126B 
START WITH 1 BELONGS_TO_TABLE; 
+CREATE MEMORY TABLE PUBLIC.QRTZ_CALENDARS(
+SCHED_NAME VARCHAR(120) NOT NULL,
+CALENDAR_NAME VARCHAR(200) NOT NULL,
+CALENDAR IMAGE NOT NULL
+);   
+ALTER TABLE PUBLIC.QRTZ_CALENDARS ADD CONSTRAINT PUBLIC.PK_QRTZ_CALENDARS 
PRIMARY KEY(SCHED_NAME, CALENDAR_NAME);  
+-- 0 +/- SELECT COUNT(*) FROM PUBLIC.QRTZ_CALENDARS;   
+CREATE MEMORY TABLE PUBLIC.QRTZ_CRON_TRIGGERS(
+SCHED_NAME VARCHAR(120) NOT NULL,
+TRIGGER_NAME VARCHAR(200) NOT NULL,
+TRIGGER_GROUP VARCHAR(200) NOT NULL,
+CRON_EXPRESSION VARCHAR(120) NOT NULL,
+TIME_ZONE_ID VARCHAR(80)
+);   
+ALTER TABLE PUBLIC.QRTZ_CRON_TRIGGERS ADD CONSTRAINT 
PUBLIC.PK_QRTZ_CRON_TRIGGERS PRIMARY KEY(SCHED_NAME, TRIGGER_NAME, 
TRIGGER_GROUP);
+-- 4 +/- SELECT COUNT(*) FROM PUBLIC.QRTZ_CRON_TRIGGERS;   
+INSERT INTO PUBLIC.QRTZ_CRON_TRIGGERS(SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, 
CRON_EXPRESSION, TIME_ZONE_ID) VALUES
+('scheduler', 'Trigger_taskJobe9d2-1b09-42c8-b25b-f4c4ec597979', 
'DEFAULT', '0 0 0 1 * ?', 'Europe/Rome'),
+('scheduler', 'Trigger_notificationJob', 'DEFAULT', '0/20 * * * * ?', 
'Europe/Rome'),
+('scheduler', 'Trigger_systemLoadReporterJob', 'DEFAULT', '0 * * * * ?', 
'Europe/Rome'),
+('scheduler', 'Trigger_taskJob89de5014-e3f5-4462-84d8-d97575740baf', 
'DEFAULT', '0 0/5 * * * ?', 'Europe/Rome');
+CREATE MEMORY TABLE PUBLIC.QRTZ_FIRED_TRIGGERS(
+SCHED_NAME VARCHAR(120) NOT NULL,
+ENTRY_ID VARCHAR(95) NOT NULL,
+TRIGGER_NAME VARCHAR(200) NOT NULL,
+TRIGGER_GROUP VARCHAR(200) NOT NULL,
+INSTANCE_NAME VARCHAR(200) NOT NULL,
+FIRED_TIME BIGINT NOT NULL,
+SCHED_TIME BIGINT NOT NULL,
+PRIORITY INTEGER NOT NULL,
+STATE VARCHAR(16) NOT NULL,
+JOB_NAME VARCHAR(200),
+JOB_GROUP VARCHAR(200),
+IS_NONCONCURRENT BOOLEAN,
+REQUESTS_RECOVERY BOOLEAN
+);
+ALTER TABLE PUBLIC.QRTZ_FIRED_TRIGGERS ADD CONSTRAINT 
PUBLIC.PK_QRTZ_FIRED_TRIGGERS PRIMARY KEY(SCHED_NAME, ENTRY_ID); 
+-- 1 +/- SELECT COUNT(*) FROM PUBLIC.QRTZ_FIRED_TRIGGERS;  
+INSERT INTO PUBLIC.QRTZ_FIRED_TRIGGERS(SCHED_NAME, ENTRY_ID, TRIGGER_NAME, 
TRIGGER_GROUP, INSTANCE_NAME, FIRED_TIME, SCHED_TIME, PRIORITY, STATE, 
JOB_NAME, JOB_GROUP, IS_NONCONCURRENT, REQUESTS_RECOVERY) VALUES
+('scheduler', 'bambooo15306986457271530698645716', 'Trigger_notificationJob', 
'DEFAULT', 'bambooo1530698645727', 1530698700189, 153069872, 5, 'ACQUIRED', 
NULL, NULL, FALSE, FALSE);
+CREATE MEMORY TABLE PUBLIC.QRTZ_PAUSED_TRIGGER_GRPS(
+SCHED_NAME VARCHAR(120) NOT NULL,
+TRIGGER_GROUP VARCHAR(200) NOT NULL
+);  
+ALTER TABLE PUBLIC.QRTZ_PAUSED_TRIGGER_GRPS ADD CONSTRAINT 
PUBLIC.PK_QRTZ_PAUSED_TRIGGER_GRPS PRIMARY KEY(SCHED_NAME, TRIGGER_GROUP);  

+-- 0 +/- SELECT COUNT(*) FROM PUBLIC.QRTZ_PAUSED_TRIGGER_GRPS; 
+CREATE MEMORY TABLE PUBLIC.QRTZ_SCHEDULER_STATE(
+SCHED_NAME VARCHAR(120) NOT NULL,
+INSTANCE_NAME VARCHAR(200) NOT NULL,
+LAST_CHECKIN_TIME BIGINT NOT NULL,
+CHECKIN_INTERVAL BIGINT NOT NULL
+); 
+ALTER TABLE PUBLIC.QRTZ_SCHEDULER_STATE ADD CONSTRAINT 
PUBLIC.PK_QRTZ_SCHEDULER_STATE PRIMARY KEY(SCHED_NAME, INSTANCE_NAME);  
+-- 1 +/- SELECT COUNT(*) FROM PUBLIC.QRTZ_SCHEDULER_STATE; 
+INSERT INTO PUBLIC.QRTZ_SCHEDULER_STATE(SCHED_NAME, INSTANCE_NAME, 
LAST_CHECKIN_TIME, CHECKIN_INTERVAL) VALUES
+('scheduler', 'bambooo1530698645727', 1530698701866, 2);
+CREATE MEMORY TABLE PUBLIC.QRTZ_LOCKS(
+SCHED_NAME VARCHAR(120) NOT NULL,
+LOCK_NAME VARCHAR(40) NOT NULL
+); 
+ALTER TABLE PUBLIC.QRTZ_LOCKS ADD CONSTRAINT PUBLIC.PK_QRTZ_LOCKS PRIMARY 

[5/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
--
diff --git 
a/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
 
b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
new file mode 100644
index 000..f4a863d
--- /dev/null
+++ 
b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
@@ -0,0 +1,387 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.core.upgrade;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.node.ObjectNode;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.Writer;
+import java.sql.Connection;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Arrays;
+import java.util.UUID;
+import org.apache.openjpa.jdbc.conf.JDBCConfiguration;
+import org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl;
+import org.apache.openjpa.jdbc.schema.FileSchemaFactory;
+import org.apache.openjpa.jdbc.schema.SchemaTool;
+import org.apache.openjpa.jdbc.schema.SimpleDriverDataSource;
+
+public final class GenerateUpgradeSQL {
+
+private static final ObjectMapper MAPPER = new ObjectMapper();
+
+private static Writer OUT = new PrintWriter(System.out);
+
+public static void setWriter(final Writer out) {
+GenerateUpgradeSQL.OUT = out;
+}
+
+public static void main(final String[] args) throws Exception {
+// parse args
+if (args.length < 5 || args.length > 6) {
+System.err.println("Unexpected arguments: " + Arrays.asList(args));
+System.out.println("Usage:
"
++ " 
[filename]");
+System.exit(1);
+}
+
+String driverClassName = args[0];
+String jdbcURL = args[1];
+String username = args[2];
+String password = args[3];
+String dbDictionary = args[4];
+if (args.length == 6) {
+setWriter(new FileWriter(args[5]));
+}
+
+// setup DataSource
+SimpleDriverDataSource dataSource = new SimpleDriverDataSource();
+dataSource.setConnectionDriverName(driverClassName);
+dataSource.setConnectionURL(jdbcURL);
+dataSource.setConnectionUserName(username);
+dataSource.setConnectionPassword(password);
+
+// setup OpenJPA
+JDBCConfiguration jdbcConf = new JDBCConfigurationImpl();
+jdbcConf.setConnection2DriverName(driverClassName);
+jdbcConf.setConnection2UserName(username);
+jdbcConf.setConnection2Password(password);
+jdbcConf.setDBDictionary(dbDictionary);
+jdbcConf.setConnectionFactory2(dataSource);
+
+FileSchemaFactory schemaFactory = new FileSchemaFactory();
+schemaFactory.setConfiguration(jdbcConf);
+schemaFactory.setFile("schema.xml");
+jdbcConf.setSchemaFactory(schemaFactory);
+
+WiserSchemaTool schemaTool = new WiserSchemaTool(jdbcConf, 
SchemaTool.ACTION_ADD);
+schemaTool.setSchemaGroup(schemaFactory.readSchema());
+schemaTool.setWriter(OUT);
+try {
+// run OpenJPA's SchemaTool to get the update statements
+schemaTool.run();
+
+// now proceed with manual update statements...
+// OrgUnit
+OUT.write("UPDATE OrgUnit SET ignoreCaseMatch=0;\n");
+
+Connection conn = jdbcConf.getDataSource2(null).getConnection();
+
+// PlainSchema
+try (Statement stmt = conn.createStatement();
+ResultSet rs = stmt.executeQuery(
+"SELECT DISTINCT validatorClass FROM PlainSchema 
WHERE validatorClass IS NOT NULL")) {
+
+while (rs.next()) {
+String validatorClass = rs.getString(1);
+OUT.write("INSERT INTO Implementation(id,type,engine,body) 
VALUES("
++ "'" + validatorClass + "',"
++ "'VALIDATOR',"
+  

[9/9] syncope git commit: Site revision towards 2.1.0

2018-07-05 Thread ilgrosso
Site revision towards 2.1.0


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

Branch: refs/heads/2_0_X
Commit: 77ce29e5f7f733472171c992cbddbae72007041e
Parents: d8aa101
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 11:22:56 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 12:43:31 2018 +0200

--
 pom.xml   |  25 +
 src/site/.htaccess|  19 
 src/site/xdoc/docs/index.xml  |  47 +---
 src/site/xdoc/downloads.xml   | 192 ++---
 src/site/xdoc/release-process.xml |  53 +
 5 files changed, 207 insertions(+), 129 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/77ce29e5/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 5ee054d..d4cf63d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2444,11 +2444,6 @@ under the License.
 asciidoctorj-pdf
 1.5.0-alpha.16
   
-  
-org.asciidoctor
-asciidoctorj
-1.5.6
-  
 
 
   book
@@ -2536,18 +2531,6 @@ under the License.
 org.apache.maven.plugins
 maven-site-plugin
 3.7.1
-
-  
-org.apache.velocity
-velocity
-1.5
-  
-  
-org.apache.maven.doxia
-doxia-core
-1.7
-  
-
 
   en
   false
@@ -2576,7 +2559,7 @@ under the License.
 
   
   
-copy-docs-to-site
+place-htaccess
 
   run
 
@@ -2584,11 +2567,7 @@ under the License.
 
   
 
-  
-  
-
-
-  
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/77ce29e5/src/site/.htaccess
--
diff --git a/src/site/.htaccess b/src/site/.htaccess
new file mode 100644
index 000..5c3d2a0
--- /dev/null
+++ b/src/site/.htaccess
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+RedirectMatch getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;

http://git-wip-us.apache.org/repos/asf/syncope/blob/77ce29e5/src/site/xdoc/docs/index.xml
--
diff --git a/src/site/xdoc/docs/index.xml b/src/site/xdoc/docs/index.xml
index 8cc0734..9481ff7 100644
--- a/src/site/xdoc/docs/index.xml
+++ b/src/site/xdoc/docs/index.xml
@@ -51,28 +51,38 @@ under the License.
   
 
   Name
-  Stable
-  Snapshot
+  2.1
+  2.0
+  dev
 
   
   
 
   Getting Started
   
-
+
   
 
 
-
+
   
  
   
   
-https://ci.apache.org/projects/syncope/2_0_X/getting-started.html;>
+
   
 
 
-https://ci.apache.org/projects/syncope/2_0_X/getting-started.pdf;>
+
+  
+ 
+  
+  
+

[1/9] syncope git commit: Site revision towards 2.1.0

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/2_0_X d8aa10159 -> 77ce29e5f
  refs/heads/master dd3d4a3db -> e56dbc29d


Site revision towards 2.1.0


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

Branch: refs/heads/master
Commit: e56dbc29dc7715c46c84e7829e37762018fa0dd0
Parents: 027b6bd
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 11:22:56 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 12:43:01 2018 +0200

--
 pom.xml   |  25 +
 src/site/.htaccess|  19 
 src/site/xdoc/docs/index.xml  |  47 +---
 src/site/xdoc/downloads.xml   | 192 ++---
 src/site/xdoc/release-process.xml |  53 +
 5 files changed, 207 insertions(+), 129 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/e56dbc29/pom.xml
--
diff --git a/pom.xml b/pom.xml
index c011307..3ede96b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2369,11 +2369,6 @@ under the License.
 asciidoctorj-pdf
 1.5.0-alpha.16
   
-  
-org.asciidoctor
-asciidoctorj
-1.5.6
-  
 
 
   book
@@ -2461,18 +2456,6 @@ under the License.
 org.apache.maven.plugins
 maven-site-plugin
 3.7.1
-
-  
-org.apache.velocity
-velocity
-1.5
-  
-  
-org.apache.maven.doxia
-doxia-core
-1.7
-  
-
 
   en
   false
@@ -2501,7 +2484,7 @@ under the License.
 
   
   
-copy-docs-to-site
+place-htaccess
 
   run
 
@@ -2509,11 +2492,7 @@ under the License.
 
   
 
-  
-  
-
-
-  
+  
 
   
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/e56dbc29/src/site/.htaccess
--
diff --git a/src/site/.htaccess b/src/site/.htaccess
new file mode 100644
index 000..5c3d2a0
--- /dev/null
+++ b/src/site/.htaccess
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+RedirectMatch getting-started(.*)$ 
"https://syncope.apache.org/docs/2.1/getting-started$1;
+RedirectMatch reference-guide(.*)$ 
"https://syncope.apache.org/docs/2.1/reference-guide$1;

http://git-wip-us.apache.org/repos/asf/syncope/blob/e56dbc29/src/site/xdoc/docs/index.xml
--
diff --git a/src/site/xdoc/docs/index.xml b/src/site/xdoc/docs/index.xml
index 8cc0734..9481ff7 100644
--- a/src/site/xdoc/docs/index.xml
+++ b/src/site/xdoc/docs/index.xml
@@ -51,28 +51,38 @@ under the License.
   
 
   Name
-  Stable
-  Snapshot
+  2.1
+  2.0
+  dev
 
   
   
 
   Getting Started
   
-
+
   
 
 
-
+
   
  
   
   
-https://ci.apache.org/projects/syncope/2_0_X/getting-started.html;>
+
   
 
 
-https://ci.apache.org/projects/syncope/2_0_X/getting-started.pdf;>
+
+

[8/9] syncope git commit: [SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed

2018-07-05 Thread ilgrosso
[SYNCOPE-1024] New 'upgrade' module ready with tests, old 'migration' removed


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

Branch: refs/heads/master
Commit: 027b6bdfed8666f0d1a1225d3e27a3047e93acf2
Parents: dd3d4a3
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 09:57:08 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 12:43:01 2018 +0200

--
 .../cli/commands/migrate/MigrateCommand.java|   95 -
 .../cli/commands/migrate/MigrateConf.java   |  953 --
 .../commands/migrate/MigrateResultManager.java  |   24 -
 .../client/cli/commands/MigrateTest.java|   83 -
 .../client/cli/util/CommandUtilsTest.java   |   11 +-
 client/cli/src/test/resources/content12.xml | 1154 ---
 client/cli/src/test/resources/schema20.sql  |  229 --
 client/cli/src/test/resources/test.properties   |   17 -
 core/migration/pom.xml  |   63 -
 .../core/migration/MigrationPullActions.java|  137 -
 .../main/resources/scripted/SchemaScript.groovy |  108 -
 .../main/resources/scripted/SearchScript.groovy |  191 --
 .../main/resources/scripted/SyncScript.groovy   |  202 --
 .../main/resources/scripted/TestScript.groovy   |   32 -
 core/persistence-jpa/pom.xml|   28 +
 core/pom.xml|2 +-
 .../java/job/SetUMembershipsJob.java|   50 +-
 core/upgrade/LICENSE|  237 ++
 core/upgrade/NOTICE |   18 +
 core/upgrade/pom.xml|  152 +
 core/upgrade/src/assemble/upgrade-zip.xml   |   62 +
 .../core/upgrade/GenerateUpgradeSQL.java|  387 +++
 .../syncope/core/upgrade/WiserSchemaTool.java   |  233 ++
 core/upgrade/src/main/resources/schema.xml  | 1217 
 .../src/main/resources/syncopeupgrade.bat   |   27 +
 .../src/main/resources/syncopeupgrade.sh|   23 +
 .../core/upgrade/GeneratedUpgradeSQLTest.java   |  120 +
 core/upgrade/src/test/resources/syncopedb20.sql | 2867 ++
 core/upgrade/src/test/resources/testJDBCEnv.xml |   63 +
 src/main/asciidoc/getting-started/obtain.adoc   |   42 +-
 .../workingwithapachesyncope/customization.adoc |2 +-
 .../workingwithapachesyncope/migration.adoc |  259 --
 .../systemadministration/flowablemodeler.adoc   |2 +-
 .../workingwithapachesyncope/upgrade.adoc   |   53 +
 .../workingwithapachesyncope.adoc   |2 +-
 35 files changed, 5535 insertions(+), 3610 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/027b6bdf/client/cli/src/main/java/org/apache/syncope/client/cli/commands/migrate/MigrateCommand.java
--
diff --git 
a/client/cli/src/main/java/org/apache/syncope/client/cli/commands/migrate/MigrateCommand.java
 
b/client/cli/src/main/java/org/apache/syncope/client/cli/commands/migrate/MigrateCommand.java
deleted file mode 100644
index cd9830f..000
--- 
a/client/cli/src/main/java/org/apache/syncope/client/cli/commands/migrate/MigrateCommand.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.syncope.client.cli.commands.migrate;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.apache.commons.lang3.StringUtils;
-import org.apache.syncope.client.cli.Command;
-import org.apache.syncope.client.cli.Input;
-import org.apache.syncope.client.cli.commands.AbstractCommand;
-
-@Command(name = "migrate")
-public class MigrateCommand extends AbstractCommand {
-
-private final MigrateResultManager migrateResultManager = new 
MigrateResultManager();
-
-@Override
-public void execute(final Input input) {
-if (StringUtils.isBlank(input.getOption())) {
-input.setOption(Options.HELP.getOptionName());
-}
-
-

Syncope-master-deploy - Build # 3059 - Failure

2018-07-05 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-master-deploy (build #3059)

Status: Failure

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

syncope git commit: Upgrading Camel

2018-07-05 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master 05d2381c1 -> dd3d4a3db


Upgrading Camel


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

Branch: refs/heads/master
Commit: dd3d4a3db18d95bb9b796cb2d486289141c3dee1
Parents: 05d2381
Author: Francesco Chicchiriccò 
Authored: Thu Jul 5 09:45:03 2018 +0200
Committer: Francesco Chicchiriccò 
Committed: Thu Jul 5 09:45:03 2018 +0200

--
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/dd3d4a3d/pom.xml
--
diff --git a/pom.xml b/pom.xml
index b6dfcf2..c011307 100644
--- a/pom.xml
+++ b/pom.xml
@@ -389,7 +389,7 @@ under the License.
 
 6.3.1
 
-2.21.1  
+2.22.0  
 
 1.7.25
 3.3.0
@@ -2273,8 +2273,8 @@ under the License.
 
http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/
 
http://fasterxml.github.io/jackson-dataformat-yaml/javadoc/2.9.pr1/
 
http://fasterxml.github.io/jackson-datatype-joda/javadoc/2.9/
-
http://www.javadoc.io/doc/org.apache.camel/camel-core/2.21.1/
-
http://www.javadoc.io/doc/org.apache.camel/camel-spring/2.21.1/
+
http://www.javadoc.io/doc/org.apache.camel/camel-core/2.22.0/
+
http://www.javadoc.io/doc/org.apache.camel/camel-spring/2.22.0/
 https://ci.apache.org/projects/wicket/apidocs/8.x/
 
https://commons.apache.org/proper/commons-lang/javadocs/api-release/
 
https://commons.apache.org/proper/commons-io/javadocs/api-2.6/