-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QUARKUS-1490: Use BuildItem to enable use of TestContainers shared ne…
…twork
- Loading branch information
Michael Anstis
committed
Dec 2, 2021
1 parent
e98ec8a
commit eda7d72
Showing
19 changed files
with
155 additions
and
160 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...src/main/java/io/quarkus/deployment/builditem/DevServicesExposeOnDockerHostBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.quarkus.deployment.builditem; | ||
|
||
import io.quarkus.builder.item.BuildItem; | ||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* A marker build item that, if any instances are provided during the build, the containers started by DevServices | ||
* will be exposed to the Docker host. This is mainly used by {@see DevServicesKafkaProcessor} where the | ||
* container may need to be exposed to Dockers host and accessible from Dockers internal network. | ||
* | ||
* If a {@link DevServicesSharedNetworkBuildItem} is not produced the default behaviour is to expose services only | ||
* to the Docker host and this {@link BuildItem} is not required. This {@link BuildItem} should therefore | ||
* only be used in conjunction with {@link DevServicesSharedNetworkBuildItem} when expose to both the | ||
* Docker host and the Docker network is required. | ||
*/ | ||
public final class DevServicesExposeOnDockerHostBuildItem extends MultiBuildItem { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.