Interface DevServicesContext


public interface DevServicesContext
Interface that can be used to get properties from Dev Services for
invalid reference
QuarkusTest
and
invalid reference
QuarkusIntegrationTest
based tests. This can be injected into fields on a test class, or injected into DevServicesContext.ContextAware objects on the test class or TestResourceManager implementations.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface that can be implemented to allow automatic injection of the context.
  • Method Summary

    Modifier and Type
    Method
    Description
    If the application is going to be launched in a container, this method returns the id of the container network it will be launched on.
    Returns a map containing all the properties created by potentially launched Dev Services.
  • Method Details

    • devServicesProperties

      Map<String,String> devServicesProperties()
      Returns a map containing all the properties created by potentially launched Dev Services. If no Dev Services were launched, the map will be empty.
    • containerNetworkId

      Optional<String> containerNetworkId()
      If the application is going to be launched in a container, this method returns the id of the container network it will be launched on.