You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+17-26
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Spring RestTemplate calls multiple servers that are secured with multiple client certificate - setup with Docker Compose & Tested with docker-compose-rule
1
+
Multiple Spring Boot servers that are secured with different client certificates - called by RestTemplate
Only, if you want to check manually, you can do a `docker-compose up -d` and open your Browser with [http:localhost:8080/swagger-ui.html] and fire up a GET-Request to /secretservers with Swagger :)
41
41
42
42
43
-
# Integrationtesting with [docker-compose-rule](https://github.com/palantir/docker-compose-rule)
43
+
# Integrationtesting with [testcontainers](https://www.testcontainers.org)
44
44
45
45
As client-bob only has access to the DNS aliases `server-alice` and `server-tom`, if it itself is part of the Docker (Compose) network and these aliases are used to access both client certificate secured endpoints, we need another way to run an Integration test inside the Docker network scope.
46
46
47
-
Therefore we use the [docker-compose-rule](https://github.com/palantir/docker-compose-rule) and the __docker-network-client__ that just calls __client-bob__ inside the Docker network.
47
+
Therefore we use the [testcontainers](https://www.testcontainers.org) and the __docker-network-client__ that just calls __client-bob__ inside the Docker network.
48
48
49
-
docker-compose-rule needs a special Maven repository to be added in `docker-network-client`, because it is only served on Bintray.
49
+
testcontainers could be []simply integrated by via Maven](https://www.testcontainers.org/usage.html#maven-dependencies):
0 commit comments