Skip to content

Commit

Permalink
Release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebusscher committed Apr 3, 2023
1 parent 5cb84ad commit 04cf633
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 33 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ Integration testing with Testcontainers for Jakarta EE

You can easily test your application through the provided endpoints as the application is deployed, as is, into a Docker container.

Current version : 1.1.0
Current version : 1.2.0

- Application runnable on Payara Micro, OpenLiberty, Wildfly, and Glassfish.
- Define version of the runtime or use default values.
- Easy to call application endpoints by using MicroProfile Rest Client generated proxies that hide all complexity calling the endpoints.
- JSON support for endpoints out of the box as you only need to use Java Objects (no JSON).
- Support for databases and automatically configure JPA datasource
- Customizable creation of Docker Build script files.
- Remote Debug of application possible during test.
- Define response of remote services through WireMock
- Various options to access log of the container process
Expand Down
8 changes: 6 additions & 2 deletions commands.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
====
Copyright 2022 Rudy De Busscher (https://www.atbash.be)
Copyright 2022-2023 Rudy De Busscher (https://www.atbash.be)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -26,4 +26,8 @@ mvn license:format

# Setting versions

mvn versions:set -DnewVersion=1.2.0-SNAPSHOT -DgenerateBackupPoms=false
mvn versions:set -DnewVersion=1.2.0 -DgenerateBackupPoms=false

# release

mvn clean deploy -Prelease
4 changes: 2 additions & 2 deletions database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>integration-testing-database</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>

<dependencies>

Expand Down
6 changes: 3 additions & 3 deletions example/custom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 Rudy De Busscher (https://www.atbash.be)
Copyright 2022-2023 Rudy De Busscher (https://www.atbash.be)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-custom</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Using Custom build for Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion example/custom/src/docker/custom/payara/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM payara/micro:5.2022.2-jdk11
FROM payara/micro:5.2022.4-jdk11
COPY content.txt /opt/content.txt
4 changes: 2 additions & 2 deletions example/database/liberty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>example-database-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-database-liberty</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>OpenLiberty Database Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>

Expand Down
4 changes: 2 additions & 2 deletions example/database/payara/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>example-database-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-database-payara</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Payara Micro Database Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>

Expand Down
6 changes: 3 additions & 3 deletions example/database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-database-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Database Jakarta EE Integration Testing Example</name>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-database</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<scope>test</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions example/database/wildfly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>example-database-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-database-wildfly</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Wildfly Database Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>

Expand Down
4 changes: 2 additions & 2 deletions example/hello/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-hello-world</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Hello World Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>

Expand Down
6 changes: 3 additions & 3 deletions example/json/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 Rudy De Busscher (https://www.atbash.be)
Copyright 2022-2023 Rudy De Busscher (https://www.atbash.be)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>example-json</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Json format Jakarta EE Integration Testing Example</name>
<packaging>war</packaging>

Expand Down
4 changes: 2 additions & 2 deletions example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Integration Testing Examples with Testcontainers for Jakarta EE runtimes</name>
<packaging>pom</packaging>

Expand Down
4 changes: 2 additions & 2 deletions example/wiremock/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 Rudy De Busscher (https://www.atbash.be)
Copyright 2022-2023 Rudy De Busscher (https://www.atbash.be)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,7 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing-examples</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
4 changes: 2 additions & 2 deletions impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<parent>
<groupId>be.atbash.test</groupId>
<artifactId>integration-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>integration-testing</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>Integration Testing with Testcontainers for Jakarta EE runtimes</name>

<properties>
Expand Down
6 changes: 3 additions & 3 deletions impl/src/main/doc/integration.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:doctype: book
= Integration testing for Jakarta EE
Rudy De Busscher <rdebusscher@gmail.com>
v1.2.0, ??/??/2023
v1.2.0, 03/04/2023

== Release notes

Expand Down Expand Up @@ -50,7 +50,7 @@ To get started, at this dependency to your project
<dependency>
<groupId>be.atbash.test</groupId>
<artifactId>integration-testing</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
----
Expand Down Expand Up @@ -517,4 +517,4 @@ As indicated, the current version of the test framework runs runtime versions of

But since the only _connection_ between the test and the endpoints of your application within the container is HTTP based, there is no requirement on the application that can be tested.

When you define the version/tag name of the container that is started your application can make use of Jakarta EE 9.x, Jakarta EE 10, and run on any JDK that is supported by the runtime. So it is easy to use this framework with the upcoming Jakarta EE 10 release.
There is a dedicated version 2.2.0 of the Testing Framework for when you are using the jakarta namespace.
Binary file modified impl/src/main/doc/integration.pdf
Binary file not shown.
Binary file modified integration.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<groupId>be.atbash.test</groupId>
<artifactId>integration-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<packaging>pom</packaging>

<name>Integration Testing for Jakarta EE runtimes</name>
Expand Down

0 comments on commit 04cf633

Please sign in to comment.