Class DevServicesNetworkIdBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.builditem.DevServicesNetworkIdBuildItem

public final class DevServicesNetworkIdBuildItem extends io.quarkus.builder.item.SimpleBuildItem
The network id of the network that the dev services are running on. This is intended to be consumed in the IntegrationTest launcher to ensure that the application is running on the same network as the dev services.

In the future if extensions consume this build item, it would create the shared network if it doesn't exist, and use it for the dev services and the test containers.

  • Constructor Details

    • DevServicesNetworkIdBuildItem

      public DevServicesNetworkIdBuildItem(String networkId)
  • Method Details

    • getNetworkId

      public String getNetworkId()