syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/3] syncope git commit: Reporting supported dbms and jdbc driver versions
Date Thu, 06 Sep 2018 07:43:52 GMT
Reporting supported dbms and jdbc driver versions


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

Branch: refs/heads/master
Commit: 897f83bbdd7ce99dc74de5331a9671ad5a487fe5
Parents: aa799d2
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Thu Sep 6 09:29:45 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Thu Sep 6 09:37:45 2018 +0200

----------------------------------------------------------------------
 pom.xml                                            | 10 +++++++---
 src/main/asciidoc/getting-started/obtain.adoc      | 17 +++++++++--------
 .../getting-started/systemRequirements.adoc        | 10 +++++-----
 .../systemadministration/dbms.adoc                 | 15 +++++++++++++++
 4 files changed, 36 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/897f83bb/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index aaa11f5..1639c27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -518,9 +518,9 @@ under the License.
     <nodejs.version>v6.9.4</nodejs.version>    
     <protractor.version>4.0.14</protractor.version>    
 
-    <jdbc.postgresql.version>42.2.2</jdbc.postgresql.version>
-    <jdbc.mysql.version>5.1.46</jdbc.mysql.version>
-    <jdbc.mariadb.version>2.2.5</jdbc.mariadb.version>
+    <jdbc.postgresql.version>42.2.5</jdbc.postgresql.version>
+    <jdbc.mysql.version>5.1.47</jdbc.mysql.version>
+    <jdbc.mariadb.version>2.2.6</jdbc.mariadb.version>
     <jdbc.mssql.version>6.4.0.jre</jdbc.mssql.version>
 
     <adminUser>admin</adminUser>
@@ -2411,6 +2411,10 @@ under the License.
               <attributes>
                 <docVersion>${project.version}</docVersion>
                 <snapshotOrRelease>${snapshotOrRelease}</snapshotOrRelease>
+                <postgresqlJDBC>${jdbc.postgresql.version}</postgresqlJDBC>
+                <mysqlJDBC>${jdbc.mysql.version}</mysqlJDBC>
+                <mariadbJDBC>${jdbc.mariadb.version}</mariadbJDBC>
+                <sqlserverJDBC>${jdbc.mssql.version}</sqlserverJDBC>
                 <year>${year}</year>
                 <numbered>true</numbered>
                 <icons>font</icons>

http://git-wip-us.apache.org/repos/asf/syncope/blob/897f83bb/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 40ffe63..741d64e 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -104,22 +104,23 @@ Prepare::
 [source,bash]
 $ sudo apt-get install tomcat8
 +
-. Install PostgreSQL
-+
-[source,bash]
-$ sudo apt-get install libpostgresql-jdbc-java postgresql postgresql-client
-+
+. Install PostgreSQL packages for your actual https://www.postgresql.org/download/linux/debian/[Debian^]
/
+https://www.postgresql.org/download/linux/ubuntu/[Ubuntu^] distribution:
+
+* `postgresql-10`
+* `postgresql-client-10`
+
 . Use the PostgreSQL JDBC driver with Tomcat
 +
-[source,bash]
-$ sudo ln -s /usr/share/java/postgresql-jdbc4.jar /usr/share/tomcat8/lib/
+[source,bash,subs="attributes"]
+$ cd /usr/share/tomcat8/lib/ && sudo wget http://central.maven.org/maven2/org/postgresql/postgresql/{postgresqlJDBC}/postgresql-{postgresqlJDBC}.jar
 +
 . Replace `JAVA_OPTS` in `/etc/default/tomcat8` with the following:
 +
 [source,bash]
 ----
 JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server \
-  -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:+DisableExplicitGC \
+  -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:+DisableExplicitGC
\
   -Djava.security.egd=file:/dev/./urandom"
 ----
 +

http://git-wip-us.apache.org/repos/asf/syncope/blob/897f83bb/src/main/asciidoc/getting-started/systemRequirements.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/getting-started/systemRequirements.adoc b/src/main/asciidoc/getting-started/systemRequirements.adoc
index ab8e552..3e568cf 100644
--- a/src/main/asciidoc/getting-started/systemRequirements.adoc
+++ b/src/main/asciidoc/getting-started/systemRequirements.adoc
@@ -45,8 +45,8 @@ Apache Syncope {docVersion} is verified with the following Java EE containers:
 
 Apache Syncope {docVersion} is verified with the recent versions of the following DBMSes,
for internal storage:
 
- . http://www.postgresql.org/[PostgreSQL^]
- . https://mariadb.org/[MariaDB^]
- . http://www.mysql.com/[MySQL^]
- . https://www.oracle.com/database/index.html[Oracle Database^]
- . http://www.microsoft.com/en-us/server-cloud/products/sql-server/[MS SQL Server^]
+ . http://www.postgresql.org/[PostgreSQL^] (>= 10.3, JDBC driver >= {postgresqlJDBC})
+ . https://mariadb.org/[MariaDB^] (>= 10.3.7, JDBC driver >= {mariadbJDBC})
+ . http://www.mysql.com/[MySQL^] (>= 5.7, JDBC driver >= {mysqlJDBC})
+ . https://www.oracle.com/database/index.html[Oracle Database^] (>= 11g, JDBC driver >=
ojdbc8 12.2.0.1)
+ . http://www.microsoft.com/en-us/server-cloud/products/sql-server/[MS SQL Server^] (>=
2017, JDBC driver >= {sqlserverJDBC}8)

http://git-wip-us.apache.org/repos/asf/syncope/blob/897f83bb/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/dbms.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/dbms.adoc
b/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/dbms.adoc
index 0a29ab0..d72113d 100644
--- a/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/dbms.adoc
+++ b/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/dbms.adoc
@@ -24,6 +24,9 @@ updated.
 
 ===== PostgreSQL
 
+[NOTE]
+Apache Syncope {docVersion} is verified with PostgreSQL server >= 10.3 and JDBC driver
>= {postgresqlJDBC}.
+
 In `provisioning.properties`:
 
 ....
@@ -58,6 +61,9 @@ and save it under `core/src/main/resources/`.
 
 ===== MySQL
 
+[NOTE]
+Apache Syncope {docVersion} is verified with MySQL server >= 5.7 and JDBC driver >=
{mysqlJDBC}.
+
 In `provisioning.properties`:
 
 ....
@@ -95,6 +101,9 @@ This assumes that you have a MySQL instance running on localhost, listening
on i
 
 ===== MariaDB
 
+[NOTE]
+Apache Syncope {docVersion} is verified with MariaDB server >= 10.3.7 and JDBC driver
>= {mariadbJDBC}.
+
 In `provisioning.properties`:
 
 ....
@@ -127,6 +136,9 @@ This assumes that you have a MariaDB instance running on localhost, listening
on
 
 ===== Oracle Database
 
+[NOTE]
+Apache Syncope {docVersion} is verified with Oracle database >= 11g and JDBC driver >=
ojdbc8 12.2.0.1.
+
 In `provisioning.properties`:
 
 ....
@@ -153,6 +165,9 @@ This assumes that you have an Oracle instance running on localhost, listening
on
 
 ===== MS SQL Server
 
+[NOTE]
+Apache Syncope {docVersion} is verified with MS SQL server >= 2017 and JDBC driver >=
{sqlserverJDBC}8.
+
 In `provisioning.properties`:
 
 ....


Mime
View raw message