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:40 UTC
[syncope] branch 2_1_X updated: JPA optimizations
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_1_X by this push:
new 4236e6a JPA optimizations
4236e6a is described below
commit 4236e6a0b7b8f6004791121beea931a8e5dd811d
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue Nov 17 10:37:16 2020 +0100
JPA optimizations
---
core/persistence-jpa-json/pom.xml | 8 +++++++-
fit/core-reference/pom.xml | 15 +++++++++++++++
pom.xml | 6 ++++++
3 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/core/persistence-jpa-json/pom.xml b/core/persistence-jpa-json/pom.xml
index dac0f65..efd4ccb 100644
--- a/core/persistence-jpa-json/pom.xml
+++ b/core/persistence-jpa-json/pom.xml
@@ -45,7 +45,7 @@ under the License.
</dependency>
<!-- TEST -->
- <dependency>
+ <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>test</scope>
@@ -255,6 +255,9 @@ under the License.
<ports>
<port>5432:5432</port>
</ports>
+ <tmpfs>
+ <mount>/var/lib/postgresql/data:rw</mount>
+ </tmpfs>
</run>
</image>
</images>
@@ -370,6 +373,9 @@ under the License.
<ports>
<port>3306:3306</port>
</ports>
+ <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 4751306..f5b9634 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -661,6 +661,9 @@ under the License.
<POSTGRES_USER>syncope</POSTGRES_USER>
<POSTGRES_PASSWORD>syncope</POSTGRES_PASSWORD>
</env>
+ <tmpfs>
+ <mount>/var/lib/postgresql/data:rw</mount>
+ </tmpfs>
<ports>
<port>5432:5432</port>
</ports>
@@ -791,6 +794,9 @@ under the License.
<ports>
<port>5432:5432</port>
</ports>
+ <tmpfs>
+ <mount>/var/lib/postgresql/data:rw</mount>
+ </tmpfs>
</run>
</image>
</images>
@@ -950,6 +956,9 @@ under the License.
<ports>
<port>3306:3306</port>
</ports>
+ <tmpfs>
+ <mount>/var/lib/mysql:rw</mount>
+ </tmpfs>
<wait>
<log>MySQL init process done. Ready for start up.</log>
<time>30000</time>
@@ -1083,6 +1092,9 @@ under the License.
<ports>
<port>3306:3306</port>
</ports>
+ <tmpfs>
+ <mount>/var/lib/mysql:rw</mount>
+ </tmpfs>
<wait>
<log>MySQL init process done. Ready for start up.</log>
<time>30000</time>
@@ -1198,6 +1210,9 @@ under the License.
<ports>
<port>3306:3306</port>
</ports>
+ <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 e768835..e280b90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -824,6 +824,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>