From b85b186ed6806e4e90e5eadae9e166a066c89bc1 Mon Sep 17 00:00:00 2001 From: Maciej Walkowiak Date: Sun, 29 Oct 2023 21:20:19 +0100 Subject: [PATCH] Remove "Advanced Configuration" section from readme as it is not yet released --- README.md | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/README.md b/README.md index 565cb3e..59dd02b 100644 --- a/README.md +++ b/README.md @@ -70,33 +70,6 @@ It can be changed with setting `stubLocation` on `@ConfigureWireMock`: @ConfigureWireMock(name = "...", property = "...", stubLocation = "my-stubs") ``` -### Advanced configuration - -More advanced configuration can be applied through configuration customizers: - -```java -@ConfigureWireMock( - name = "todo-service", - property = "todo-service.url", - configurationCustomizers = SampleConfigurationCustomizer.class -) -``` - -Where `SampleConfigurationCustomizer` is a class implementing `WireMockConfigurationCustomizer`: - -```java -class SampleConfigurationCustomizer implements WireMockConfigurationCustomizer { - - @Override - public void customize(WireMockConfiguration configuration, ConfigureWireMock options) { - // apply changes to configuration - } -} -``` - -> [!IMPORTANT] -> `WireMockConfigurationCustomizer` must have a no-arg constructor. - Sounds good? Consider [❤️ Sponsoring](https://github.com/sponsors/maciejwalkowiak) the project! Thank you! ## 🙏 Credits