You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/11/17 09:51:36 UTC

[syncope] branch master updated: JPA optimizations

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new cc2d2e2  JPA optimizations
cc2d2e2 is described below

commit cc2d2e25d08608fef5856aaa386a5bc695c13531
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue Nov 17 10:37:16 2020 +0100

    JPA optimizations
---
 core/persistence-jpa-json/pom.xml |  6 ++++++
 fit/core-reference/pom.xml        | 15 +++++++++++++++
 pom.xml                           |  6 ++++++
 3 files changed, 27 insertions(+)

diff --git a/core/persistence-jpa-json/pom.xml b/core/persistence-jpa-json/pom.xml
index 0565105..55ee0e3 100644
--- a/core/persistence-jpa-json/pom.xml
+++ b/core/persistence-jpa-json/pom.xml
@@ -290,6 +290,9 @@ under the License.
                       <log>database system is ready to accept connections</log>
                       <time>30000</time>
                     </wait>
+                    <tmpfs>
+                      <mount>/var/lib/postgresql/data:rw</mount>
+                    </tmpfs>
                   </run>
                 </image>
               </images>
@@ -402,6 +405,9 @@ under the License.
                       <MYSQL_USER>syncope</MYSQL_USER>
                       <MYSQL_PASSWORD>syncope</MYSQL_PASSWORD>
                     </env>
+                    <tmpfs>
+                      <mount>/var/lib/mysql:rw</mount>
+                    </tmpfs>
                     <wait>
                       <log>MySQL init process done. Ready for start up.</log>
                       <time>30000</time>
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index bcfbe4b..16bdfd8 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -738,6 +738,9 @@ under the License.
                       <log>database system is ready to accept connections</log>
                       <time>30000</time>
                     </wait>
+                    <tmpfs>
+                      <mount>/var/lib/postgresql/data:rw</mount>
+                    </tmpfs>
                   </run>
                 </image>
               </images>
@@ -868,6 +871,9 @@ under the License.
                       <log>database system is ready to accept connections</log>
                       <time>30000</time>
                     </wait>
+                    <tmpfs>
+                      <mount>/var/lib/postgresql/data:rw</mount>
+                    </tmpfs>
                   </run>
                 </image>
               </images>
@@ -1016,6 +1022,9 @@ under the License.
                       <MYSQL_USER>syncope</MYSQL_USER>
                       <MYSQL_PASSWORD>syncope</MYSQL_PASSWORD>
                     </env>
+                    <tmpfs>
+                      <mount>/var/lib/mysql:rw</mount>
+                    </tmpfs>
                     <wait>
                       <log>MySQL init process done. Ready for start up.</log>
                       <time>30000</time>
@@ -1148,6 +1157,9 @@ under the License.
                       <MYSQL_USER>syncope</MYSQL_USER>
                       <MYSQL_PASSWORD>syncope</MYSQL_PASSWORD>
                     </env>
+                    <tmpfs>
+                      <mount>/var/lib/mysql:rw</mount>
+                    </tmpfs>
                     <wait>
                       <log>MySQL init process done. Ready for start up.</log>
                       <time>30000</time>
@@ -1252,6 +1264,9 @@ under the License.
                       <MYSQL_USER>syncope</MYSQL_USER>
                       <MYSQL_PASSWORD>syncope</MYSQL_PASSWORD>
                     </env>
+                    <tmpfs>
+                      <mount>/var/lib/mysql:rw</mount>
+                    </tmpfs>
                     <wait>
                       <log>MySQL init process done. Ready for start up.</log>
                       <time>30000</time>
diff --git a/pom.xml b/pom.xml
index 117f879..76f9e96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -756,6 +756,12 @@ under the License.
         <groupId>org.apache.openjpa</groupId>
         <artifactId>openjpa-jdbc</artifactId>
         <version>${openjpa.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-asm8-shaded</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.openjpa</groupId>