Skip to content

Commit f151518

Browse files
authored
Merge pull request #542 from xdev-software/develop
Release
2 parents d82539d + 80380df commit f151518

35 files changed

Lines changed: 130 additions & 143 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 3.1.0
2+
* `EntityManagerController`
3+
* Now always checks if the EntityManager is already closed
4+
* This was changed because the Jakarta EE does not specify how an already closed EntityManager should behave
5+
* for example Hibernate doesn't care when you call call close multiple times as it checks for that while EclipseLink does not and crashes
6+
* Removed `closeEntityManagerOnCleanupWithoutCheck`
7+
* Updated dependencies
8+
19
# 3.0.3
210
* `EntityManagerController`
311
* Make it possible to configure `closeEntityManagerOnCleanupWithoutCheck`
@@ -186,7 +194,7 @@
186194
* [``docker container commit``](https://docs.docker.com/reference/cli/docker/container/commit/)
187195
* Only snapshots storage - no in-memory data, processes, etc.
188196
* Volumes are not snapshoted due to [limitations](https://github.com/moby/moby/issues/43190) in Docker
189-
* Other implementation like [CRIU](https://criu.org) may be available in the future once Docker adds support for them
197+
* Other implementation like CRIU may be available in the future once Docker adds support for them
190198

191199
# 1.1.3
192200
* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155)

‎advanced-demo/entities-metamodel/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo</groupId>
99
<artifactId>advanced-demo</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>entities-metamodel</artifactId>
1313

‎advanced-demo/entities/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo</groupId>
99
<artifactId>advanced-demo</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>entities</artifactId>
1313

‎advanced-demo/integration-tests/persistence-it/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo.it</groupId>
99
<artifactId>integration-tests</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>persistence-it</artifactId>
1313

‎advanced-demo/integration-tests/persistence-it/src/test/java/software/xdev/tci/demo/persistence/base/BaseTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
@ExtendWith(BaseTest.LogExtension.class)
34-
abstract class BaseTest
34+
public abstract class BaseTest
3535
{
3636
private static final Logger LOG = LoggerFactory.getLogger(BaseTest.class);
3737

‎advanced-demo/integration-tests/pom.xml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>software.xdev.tci.demo</groupId>
99
<artifactId>advanced-demo</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212

1313
<groupId>software.xdev.tci.demo.it</groupId>
1414
<artifactId>integration-tests</artifactId>
15-
<version>3.0.4-SNAPSHOT</version>
15+
<version>3.1.0-SNAPSHOT</version>
1616
<packaging>pom</packaging>
1717

1818
<modules>
@@ -28,13 +28,13 @@
2828
<dependency>
2929
<groupId>software.xdev.tci.demo.it</groupId>
3030
<artifactId>tci-db</artifactId>
31-
<version>3.0.4-SNAPSHOT</version>
31+
<version>3.1.0-SNAPSHOT</version>
3232
</dependency>
3333

3434
<dependency>
3535
<groupId>software.xdev.tci.demo.it</groupId>
3636
<artifactId>tci-webapp</artifactId>
37-
<version>3.0.4-SNAPSHOT</version>
37+
<version>3.1.0-SNAPSHOT</version>
3838
</dependency>
3939

4040
<dependency>
@@ -93,7 +93,7 @@
9393
<dependency>
9494
<groupId>software.xdev</groupId>
9595
<artifactId>testcontainers-advanced-imagebuilder</artifactId>
96-
<version>2.4.0</version>
96+
<version>2.4.1</version>
9797
</dependency>
9898

9999
<!-- Utility for proxies in tests -->

‎advanced-demo/integration-tests/tci-db/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo.it</groupId>
99
<artifactId>integration-tests</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>tci-db</artifactId>
1313

‎advanced-demo/integration-tests/tci-webapp/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo.it</groupId>
99
<artifactId>integration-tests</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>tci-webapp</artifactId>
1313

‎advanced-demo/integration-tests/tci-webapp/src/main/java/software/xdev/tci/demo/tci/webapp/factory/WebAppTCIFactory.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import software.xdev.tci.demo.tci.webapp.WebAppTCI;
77
import software.xdev.tci.demo.tci.webapp.containers.WebAppContainer;
88
import software.xdev.tci.demo.tci.webapp.containers.WebAppContainerBuilder;
9+
import software.xdev.tci.envperf.EnvironmentPerformance;
910
import software.xdev.tci.factory.prestart.PreStartableTCIFactory;
1011
import software.xdev.tci.misc.ContainerMemory;
1112

@@ -16,14 +17,15 @@ public class WebAppTCIFactory extends PreStartableTCIFactory<WebAppContainer, We
1617

1718
protected static String appImageName;
1819

20+
@SuppressWarnings("checkstyle:MagicNumber")
1921
public WebAppTCIFactory(final Consumer<WebAppContainer> additionalContainerBuilder)
2022
{
2123
super(
2224
WebAppTCI::new,
2325
() -> {
2426
final WebAppContainer container = new WebAppContainer(getAppImageName(), true)
2527
.withDefaultWaitStrategy(
26-
Duration.ofMinutes(1),
28+
Duration.ofSeconds(40L + 20L * EnvironmentPerformance.cpuSlownessFactor()),
2729
WebAppTCI.ACTUATOR_USERNAME,
2830
WebAppTCI.ACTUATOR_PASSWORD)
2931
.withCreateContainerCmdModifier(cmd -> cmd.getHostConfig().withMemory(ContainerMemory.M1G))

‎advanced-demo/integration-tests/webapp-it/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>software.xdev.tci.demo.it</groupId>
99
<artifactId>integration-tests</artifactId>
10-
<version>3.0.4-SNAPSHOT</version>
10+
<version>3.1.0-SNAPSHOT</version>
1111
</parent>
1212
<artifactId>webapp-it</artifactId>
1313

0 commit comments

Comments
 (0)