microcks / microcks-testcontainers-java

Java lib for Testcontainers that enables embedding Microcks into your JUnit tests with lightweight, throwaway instance thanks to containers.
https://microcks.io
Apache License 2.0
19 stars 4 forks source link

Correctly substitute image name when using Microcks native image #41

Closed lbroudoux closed 6 months ago

lbroudoux commented 6 months ago

Reason/Context

When building a MicrocksContainersEnsemble including the async features (withAsyncFeatures()), the async minion container image is automatically deduced from the main container image name. As of today, the microcks-uber part of image is replace by microcks-uber-async-minion, leaving the tag unchanged.

This way of doing things is broker when you use the -native suffix tagged image as there is no microcks-uber-async-minion:nightly-native, for example. Just a microcks-uber-async-minion:nightly.

Description

While we don't have a -native image for async minion, we should also take care of removing the specific -native suffix from image tag.

Implementation ideas

No response