Interface WireMockServerBuildTimeConfig
@ConfigMapping(prefix="quarkus.wiremock.devservices")
@ConfigRoot
public interface WireMockServerBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stringbooleanenabled()If Dev Services for WireMock has been explicitly enabled or disabled.booleanControl whether WireMock Extension service loading, is enabled.Path to the WireMock configuration files (root dir which contains themappingsand__filesfolders).booleanResponse templating is enabled by default in WireMock 3, with this setting response templating can be enabled globally.default booleanport()Optional fixed port the WireMock Dev Service will listen to.booleanreload()Restart WireMock Dev Service whenever Quarkus is reloaded.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()If Dev Services for WireMock has been explicitly enabled or disabled. -
reload
@WithDefault("true") boolean reload()Restart WireMock Dev Service whenever Quarkus is reloaded. Otherwise, whenever files are changed in thefiles-mappinglocation you would need to restart the Dev Service (WireMock server) manually. -
port
OptionalInt port()Optional fixed port the WireMock Dev Service will listen to. If not defined, the port will be chosen randomly.WARNING: Only ports between 1025 and 65535 are permitted.
-
filesMapping
Path to the WireMock configuration files (root dir which contains themappingsand__filesfolders). If this starts withclasspath:then files will be looked up on the classpath instead of the filesystem. -
globalResponseTemplating
@WithDefault("false") boolean globalResponseTemplating()Response templating is enabled by default in WireMock 3, with this setting response templating can be enabled globally.Please refer to Response Templating for more details.
-
extensionScanningEnabled
@WithDefault("false") boolean extensionScanningEnabled()Control whether WireMock Extension service loading, is enabled. -
isClasspathFilesMapping
default boolean isClasspathFilesMapping() -
effectiveFileMapping
-