Interface WireMockServerConfig


  • @ConfigMapping(prefix="quarkus.wiremock.devservices")
    @ConfigRoot(phase=BUILD_TIME)
    public interface WireMockServerConfig
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean enabled()
      If Dev Services for WireMock has been explicitly enabled or disabled.
      String filesMapping()
      Path to the WireMock configuration files
      boolean globalResponseTemplating()
      If global response templating should be enabled for WireMock
      int port()
      Static fixed port of the WireMock server started via Dev Services.
      boolean reload()
      Indicates whether WireMock server needs to be restarted after Quarkus live reload (see development mode for more information) or not.
      String serviceName()
      Name of the WireMock Dev Service.
    • Method Detail

      • serviceName

        @WithDefault("wiremock-server")
        String serviceName()
        Name of the WireMock Dev Service.
      • enabled

        @WithDefault("true")
        boolean enabled()
        If Dev Services for WireMock has been explicitly enabled or disabled.
      • reload

        @WithDefault("false")
        boolean reload()
        Indicates whether WireMock server needs to be restarted after Quarkus live reload (see development mode for more information) or not.
      • port

        @WithDefault("8089")
        int port()
        Static fixed port of the WireMock server started via Dev Services.
      • filesMapping

        @WithDefault("src/test/resources")
        String filesMapping()
        Path to the WireMock configuration files