diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index cc519c6..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,477 +0,0 @@ -## 3.0.0 - -### Breaking changes - -- removing stubLocationOnClasspath ([a316b](https://github.com/wiremock/wiremock-spring-boot/commit/a316b82b26cd73b) Tomas Bjerre) -- removing property and WireMock ([96a5a](https://github.com/wiremock/wiremock-spring-boot/commit/96a5a380b54348f) Tomas Bjerre) - -### Features - -- enable predefining port with property ([2672b](https://github.com/wiremock/wiremock-spring-boot/commit/2672b2120888a7c) Tomas Bjerre) [#33](https://github.com/wiremock/wiremock-spring-boot/issues/33) -- simplifies configuration of most simple test case ([215aa](https://github.com/wiremock/wiremock-spring-boot/commit/215aaff1c87a83f) Tomas Bjerre) -- prefixing logs from each mock with their names ([66da1](https://github.com/wiremock/wiremock-spring-boot/commit/66da1e556acbb79) Tomas Bjerre) -- logging properties and where mappings were found ([7a425](https://github.com/wiremock/wiremock-spring-boot/commit/7a4255030c3b4e5) Tomas Bjerre) -- various changes to ease maintenance ([5870e](https://github.com/wiremock/wiremock-spring-boot/commit/5870e1ef80feb27) Tomas Bjerre) -- set WireMock client default port when only one server ([4f786](https://github.com/wiremock/wiremock-spring-boot/commit/4f786c990949cfe) Tomas Bjerre) [#36](https://github.com/wiremock/wiremock-spring-boot/issues/36) -- enable mappings outside classpath ([65189](https://github.com/wiremock/wiremock-spring-boot/commit/65189587d532b57) Tomas Bjerre) [#35](https://github.com/wiremock/wiremock-spring-boot/issues/35) -- wiremock.server.port property ([c5074](https://github.com/wiremock/wiremock-spring-boot/commit/c507484db33733b) Tomas Bjerre) [#34](https://github.com/wiremock/wiremock-spring-boot/issues/34) - -### Other changes - -**back to snapshots** - - -[0a9cf](https://github.com/wiremock/wiremock-spring-boot/commit/0a9cfef40168e99) Maciej Walkowiak *2024-09-24 10:36:19* - -**Update readme.** - - -[ef400](https://github.com/wiremock/wiremock-spring-boot/commit/ef400e6ed55c7d3) Maciej Walkowiak *2024-09-24 10:35:56* - -**GH-28: attribute "property" and "properties" co-exist for soft migration** - - -[5e07b](https://github.com/wiremock/wiremock-spring-boot/commit/5e07b3fe7f27583) felgentraeger *2024-04-04 08:29:18* - -**GH-28: attribute "property" and "properties" co-exist for soft migration** - - -[deba2](https://github.com/wiremock/wiremock-spring-boot/commit/deba20374640aba) felgentraeger *2024-04-04 08:25:47* - -**GH-28: attribute "property" and "properties" co-exist for soft migration** - - -[4fff0](https://github.com/wiremock/wiremock-spring-boot/commit/4fff07c2f0cae6b) felgentraeger *2024-04-04 08:18:50* - -**GH-28: add support for multiple property injection (updated README.md) (#31)** - -* GH-28: add support for multiple property injection -* GH-28: add support for multiple property injection - -[d9fc9](https://github.com/wiremock/wiremock-spring-boot/commit/d9fc958a56b27c6) rfelgent *2024-04-02 04:45:49* - -**GH-28: add support for multiple property injection** - - -[bf35f](https://github.com/wiremock/wiremock-spring-boot/commit/bf35f1a49f160a3) felgentraeger *2024-04-01 15:59:12* - -**GH-28: add support for multiple property injection** - - -[730f3](https://github.com/wiremock/wiremock-spring-boot/commit/730f3cf9b831dc9) felgentraeger *2024-04-01 15:12:26* - -**polish tests** - - -[4a85a](https://github.com/wiremock/wiremock-spring-boot/commit/4a85af06f01e86e) Maciej Walkowiak *2024-03-29 17:04:03* - -**GH-28: add support for multiple property injection** - - -[08d40](https://github.com/wiremock/wiremock-spring-boot/commit/08d40436d697de1) felgentraeger *2024-03-05 08:46:28* - -**GH-28: add support for multiple property injection** - - -[f2339](https://github.com/wiremock/wiremock-spring-boot/commit/f23391cba50d245) felgentraeger *2024-03-05 07:57:30* - -**GH-28: add support for multiple property injection** - - -[cab84](https://github.com/wiremock/wiremock-spring-boot/commit/cab84bfb9b82ac7) felgentraeger *2024-03-05 07:56:47* - -**GH-28: add support for multiple property injection** - - -[35478](https://github.com/wiremock/wiremock-spring-boot/commit/3547884bf499acf) felgentraeger *2024-03-05 07:25:30* - -**GH-28: add support for multiple property binding** - - -[a0ddd](https://github.com/wiremock/wiremock-spring-boot/commit/a0ddd4b200af13c) felgentraeger *2024-03-05 07:22:08* - -## v2.1.3 (2024-09-24) - -### Other changes - -**Set version to 2.1.3 (#43)** - - -[dedbf](https://github.com/wiremock/wiremock-spring-boot/commit/dedbf852c3dadbc) Maciej Walkowiak *2024-09-24 10:19:04* - -**Add support for multiple property injection (#29)** - -* Fixes #28 -* --------- -* Co-authored-by: Maciej Walkowiak <walkowiak.maciej@yahoo.com> - -[3938c](https://github.com/wiremock/wiremock-spring-boot/commit/3938c272d5dbfee) rfelgent *2024-09-24 09:39:32* - -**Update readme** - - -[ddcc8](https://github.com/wiremock/wiremock-spring-boot/commit/ddcc8fd0ead8009) Maciej Walkowiak *2024-02-14 05:49:17* - -**Set version to 2.1.3-SNAPSHOT** - - -[3d4a2](https://github.com/wiremock/wiremock-spring-boot/commit/3d4a2a6153588b9) Maciej Walkowiak *2024-02-14 05:49:10* - - -## v2.1.2 (2024-02-14) - -### Other changes - -**Set version to 2.1.2** - - -[f3d41](https://github.com/wiremock/wiremock-spring-boot/commit/f3d4139c7b42a98) Maciej Walkowiak *2024-02-14 05:42:24* - -**Output WireMock logs through Slf4j (#27)** - -* Fixes #26 - -[8ce28](https://github.com/wiremock/wiremock-spring-boot/commit/8ce284795f839aa) Maciej Walkowiak *2024-02-14 05:40:22* - -**Set version to 2.1.2-SNAPSHOT** - - -[59f37](https://github.com/wiremock/wiremock-spring-boot/commit/59f3794eddf3091) Maciej Walkowiak *2024-02-14 05:36:05* - - -## v2.1.1 (2024-01-15) - -### Other changes - -**Set version to 2.1.1** - - -[a03ef](https://github.com/wiremock/wiremock-spring-boot/commit/a03efadf356acf8) Maciej Walkowiak *2024-01-15 11:44:41* - -**Avoid potential ClassCastException when handling context closed event. (#24)** - - -[f0abf](https://github.com/wiremock/wiremock-spring-boot/commit/f0abfee11cb1733) Maciej Walkowiak *2024-01-15 11:43:09* - -**Set version to 2.1.1-SNAPSHOT** - - -[9fda3](https://github.com/wiremock/wiremock-spring-boot/commit/9fda3c16c1f45de) Maciej Walkowiak *2024-01-15 11:38:45* - -**Update README.md** - - -[3d935](https://github.com/wiremock/wiremock-spring-boot/commit/3d935cc845383cf) Maciej Walkowiak *2024-01-10 12:34:42* - - -## v2.1.0 (2024-01-10) - -### Other changes - -**Set version to 2.1.0** - - -[7467d](https://github.com/wiremock/wiremock-spring-boot/commit/7467df13742fb4c) Maciej Walkowiak *2024-01-10 08:07:42* - -**Upgrade to Spring Boot 3.2.1 and Wiremock Standalone. (#23)** - -* Fixes #21 - -[3183e](https://github.com/wiremock/wiremock-spring-boot/commit/3183e5cf8579e1b) Maciej Walkowiak *2023-12-29 16:58:58* - -**Set version to 2.1.0-SNAPSHOT** - - -[87e2c](https://github.com/wiremock/wiremock-spring-boot/commit/87e2ce7ed21511b) Maciej Walkowiak *2023-12-29 16:55:52* - -**Remove "Advanced Configuration" section from readme as it is not yet released** - - -[b85b1](https://github.com/wiremock/wiremock-spring-boot/commit/b85b186ed6806e4) Maciej Walkowiak *2023-10-29 20:20:19* - -**Add option to customize configuration on `@ConfigureWireMock` annotation (#18)** - -* Fixes #16 - -[54d01](https://github.com/wiremock/wiremock-spring-boot/commit/54d0191fdb8d2c5) Maciej Walkowiak *2023-10-29 20:19:32* - -**Favor `@Value` to retrieve property value in README example (#17)** - - -[4fd8a](https://github.com/wiremock/wiremock-spring-boot/commit/4fd8a9976038b82) Stefano Cordio *2023-10-29 07:08:27* - -**Set version to 2.0.1-SNAPSHOT** - - -[c288b](https://github.com/wiremock/wiremock-spring-boot/commit/c288bdb12c4b702) Maciej Walkowiak *2023-10-22 20:57:55* - - -## v2.0.0 (2023-10-22) - -### Other changes - -**Set version to 2.0.0** - - -[57628](https://github.com/wiremock/wiremock-spring-boot/commit/57628049835b22a) Maciej Walkowiak *2023-10-22 20:55:12* - -**Upgrade WireMock to 3.2.0 (#15)** - - -[21cdd](https://github.com/wiremock/wiremock-spring-boot/commit/21cdd660fab2b51) Maciej Walkowiak *2023-10-22 20:54:34* - -**Set version to 2.0.0-SNAPSHOT** - - -[0d1f4](https://github.com/wiremock/wiremock-spring-boot/commit/0d1f439efb07aad) Maciej Walkowiak *2023-10-22 20:50:50* - -**Update readme** - - -[06452](https://github.com/wiremock/wiremock-spring-boot/commit/06452a9fb5e941f) Maciej Walkowiak *2023-10-22 20:41:16* - - -## v1.0.2 (2023-10-22) - -### Other changes - -**Set version to 1.0.2** - - -[0e01d](https://github.com/wiremock/wiremock-spring-boot/commit/0e01d0185560b2e) Maciej Walkowiak *2023-10-22 20:31:42* - -**Manage JUnit version with Spring Boot BOM. (#14)** - - -[a5c9c](https://github.com/wiremock/wiremock-spring-boot/commit/a5c9c23b6b5bb91) Maciej Walkowiak *2023-10-22 20:30:30* - -**Upgrade Wiremock to 2.35.1 (#13)** - - -[e2425](https://github.com/wiremock/wiremock-spring-boot/commit/e2425c3c94ad520) Maciej Walkowiak *2023-10-22 20:25:01* - -**Upgrade to Spring Boot 3.1.5 (#12)** - - -[97f71](https://github.com/wiremock/wiremock-spring-boot/commit/97f716d0be14141) Maciej Walkowiak *2023-10-22 20:21:58* - -**Add support for nested tests annotated with JUnit 5's @Nested (#11)** - -* Fixes #10 - -[2ff9d](https://github.com/wiremock/wiremock-spring-boot/commit/2ff9d6dd0c1dbd6) Maciej Walkowiak *2023-10-22 20:18:47* - -**Update readme** - - -[b10ab](https://github.com/wiremock/wiremock-spring-boot/commit/b10ab31407b6884) Maciej Walkowiak *2023-03-31 07:36:36* - -**Back to snapshots** - - -[7a09f](https://github.com/wiremock/wiremock-spring-boot/commit/7a09f054a37e4e2) Maciej Walkowiak *2023-03-31 07:35:50* - - -## v1.0.1 (2023-03-31) - -### Other changes - -**Set version to 1.0.1** - - -[499ac](https://github.com/wiremock/wiremock-spring-boot/commit/499ac27d6862b95) Maciej Walkowiak *2023-03-31 07:13:21* - -**Introduce `InjectWireMock` annotation to avoid `WireMock` naming collision (#9)** - -* Fixes #8 - -[3956d](https://github.com/wiremock/wiremock-spring-boot/commit/3956d1196e0738e) Maciej Walkowiak *2023-03-31 07:12:13* - -**Add license file** - - -[eb32f](https://github.com/wiremock/wiremock-spring-boot/commit/eb32fdb6c17a0e0) Maciej Walkowiak *2023-03-31 06:58:08* - -**Fix typo** - - -[fbc9d](https://github.com/wiremock/wiremock-spring-boot/commit/fbc9d2ecac9c019) Maciej Walkowiak *2023-03-19 10:58:55* - -**update version in readme** - - -[1246d](https://github.com/wiremock/wiremock-spring-boot/commit/1246dc7b6cfcccd) Maciej Walkowiak *2023-03-19 09:28:55* - -**set version to 1.0.1-SNAPSHOT** - - -[0dbce](https://github.com/wiremock/wiremock-spring-boot/commit/0dbce82295f86ca) Maciej Walkowiak *2023-03-19 09:28:38* - - -## v1.0.0 (2023-03-19) - -### Other changes - -**change group id** - - -[e229e](https://github.com/wiremock/wiremock-spring-boot/commit/e229e24b23cf1bc) Maciej Walkowiak *2023-03-19 09:06:11* - - -## v0.2.0 (2023-03-19) - -### Other changes - -**omg** - - -[aacc4](https://github.com/wiremock/wiremock-spring-boot/commit/aacc4b60f1a0092) Maciej Walkowiak *2023-03-19 07:13:44* - -**close & release repository as the sonatype ui is not responsive :/** - - -[6ba7e](https://github.com/wiremock/wiremock-spring-boot/commit/6ba7eac4d1b6d1a) Maciej Walkowiak *2023-03-19 06:47:45* - -**add inception year** - - -[575cd](https://github.com/wiremock/wiremock-spring-boot/commit/575cdd4517d9728) Maciej Walkowiak *2023-03-19 06:36:46* - -**Version 0.2.0 (#7)** - - -[02680](https://github.com/wiremock/wiremock-spring-boot/commit/026809ec76a6330) Maciej Walkowiak *2023-03-19 06:24:49* - -**Add release configuration (#6)** - - -[78920](https://github.com/wiremock/wiremock-spring-boot/commit/789205b6e2634ca) Maciej Walkowiak *2023-03-19 06:18:49* - - -## v0.1.0 (2023-02-27) - -### Other changes - -**Update readme (#5)** - - -[247a7](https://github.com/wiremock/wiremock-spring-boot/commit/247a722f721fe82) Maciej Walkowiak *2023-02-27 16:34:09* - - -## 0.1.0 (2023-02-27) - -### Other changes - -**Set version to 0.1.0.** - - -[ec900](https://github.com/wiremock/wiremock-spring-boot/commit/ec9001a76fa32f4) Maciej Walkowiak *2023-02-27 16:22:39* - -**Add missing Javadocs (#4)** - - -[21ba7](https://github.com/wiremock/wiremock-spring-boot/commit/21ba7c8cf926223) Maciej Walkowiak *2023-02-27 16:21:54* - -**Prepare `pom.xml` for a release (#3)** - -* Polish readme -* Prepare pom.xml for release - -[9d32b](https://github.com/wiremock/wiremock-spring-boot/commit/9d32b6dcfeacc20) Maciej Walkowiak *2023-02-27 16:11:25* - -**Polish logging** - - -[27276](https://github.com/wiremock/wiremock-spring-boot/commit/2727629f678680e) Maciej Walkowiak *2023-02-27 10:04:27* - -**Log application context id instead of the whole object.** - - -[8d8ff](https://github.com/wiremock/wiremock-spring-boot/commit/8d8ff9a0d3ec90e) Maciej Walkowiak *2023-02-27 09:51:01* - -**Registering extenions through @ConfigureWireMock (#2)** - - -[81ddd](https://github.com/wiremock/wiremock-spring-boot/commit/81ddd35fbbabb43) Maciej Walkowiak *2023-02-26 21:52:56* - -**Resolve mapping files from service-specific directories. (#1)** - - -[b305a](https://github.com/wiremock/wiremock-spring-boot/commit/b305afad4801e1b) Maciej Walkowiak *2023-02-26 21:50:33* - -**Add Jitpack to readme** - - -[e1da2](https://github.com/wiremock/wiremock-spring-boot/commit/e1da2fc208734fb) Maciej Walkowiak *2023-02-26 13:21:53* - -**Polish** - - -[0d877](https://github.com/wiremock/wiremock-spring-boot/commit/0d87743e0f0525d) Maciej Walkowiak *2023-02-26 08:49:10* - -**Fix github action** - - -[6fae7](https://github.com/wiremock/wiremock-spring-boot/commit/6fae7cceb1deb98) Maciej Walkowiak *2023-02-26 08:43:03* - -**Polish** - - -[5f0f3](https://github.com/wiremock/wiremock-spring-boot/commit/5f0f37fc04da121) Maciej Walkowiak *2023-02-26 08:40:55* - -**Add Github action to build project on commit** - - -[82f30](https://github.com/wiremock/wiremock-spring-boot/commit/82f305b3702af7f) Maciej Walkowiak *2023-02-26 08:31:43* - -**"Wiremock" -> "WireMock"** - - -[5c0db](https://github.com/wiremock/wiremock-spring-boot/commit/5c0db65083e0f91) Maciej Walkowiak *2023-02-26 08:30:15* - -**Add readme** - - -[a99a7](https://github.com/wiremock/wiremock-spring-boot/commit/a99a77c83512ed8) Maciej Walkowiak *2023-02-26 08:27:45* - -**fix running tests with surefire** - - -[a0265](https://github.com/wiremock/wiremock-spring-boot/commit/a0265f8bc04b839) Maciej Walkowiak *2023-02-26 07:46:14* - -**javadocs** - - -[c71e2](https://github.com/wiremock/wiremock-spring-boot/commit/c71e280bdd639fd) Maciej Walkowiak *2023-02-26 07:42:15* - -**rewrite to context customizer and add example** - - -[51f39](https://github.com/wiremock/wiremock-spring-boot/commit/51f3977e97e270d) Maciej Walkowiak *2023-02-26 07:40:32* - -**add tests** - - -[871e9](https://github.com/wiremock/wiremock-spring-boot/commit/871e9fee30f6e9a) Maciej Walkowiak *2023-02-25 05:35:11* - -**move to multi-module to have separate module with examples** - - -[50550](https://github.com/wiremock/wiremock-spring-boot/commit/505509c6570d4a9) Maciej Walkowiak *2023-02-24 15:18:47* - -**@EnableWiremock extension** - - -[58796](https://github.com/wiremock/wiremock-spring-boot/commit/587964cc8e9df51) Maciej Walkowiak *2023-02-24 15:11:42* - -**add wiremock dependency** - - -[e71fb](https://github.com/wiremock/wiremock-spring-boot/commit/e71fb783faf7a23) Maciej Walkowiak *2023-02-24 12:35:37* - -**initial commit** - - -[0fbcf](https://github.com/wiremock/wiremock-spring-boot/commit/0fbcf2a2fb38536) Maciej Walkowiak *2023-02-24 12:26:19* - - diff --git a/README.md b/README.md index f5e4ac9..6a985bd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # WireMock Spring Boot -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.wiremock.spring/wiremock-spring-boot/badge.svg)](https://search.maven.org/artifact/org.wiremock.spring/wiremock-spring-boot) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.wiremock.integrations/wiremock-spring-boot/badge.svg)](https://search.maven.org/artifact/org.wiremock.integrations/wiremock-spring-boot) **WireMock Spring Boot** library drastically simplifies [WireMock](https://wiremock.org) configuration in a **Spring Boot** and **JUnit 5** application. @@ -19,7 +19,7 @@ Add the dependency to `wiremock-spring-boot`: ```xml - org.wiremock.spring + org.wiremock.integrations wiremock-spring-boot X test @@ -27,7 +27,7 @@ Add the dependency to `wiremock-spring-boot`: ``` ```groovy -testImplementation "org.wiremock.spring:wiremock-spring-boot:X" +testImplementation "org.wiremock.integrations:wiremock-spring-boot:X" ``` ## Example diff --git a/build.gradle b/build.gradle index edf3d88..e3321fb 100644 --- a/build.gradle +++ b/build.gradle @@ -5,9 +5,7 @@ buildscript { mavenLocal() } dependencies { - // classpath "se.bjurr.gradle.conventional-release:se.bjurr.gradle.conventional-release.gradle.plugin:0.+" classpath "se.bjurr.gradle.java-convention:se.bjurr.gradle.java-convention.gradle.plugin:0.+" - // classpath "se.bjurr.gradle.update-versions:se.bjurr.gradle.update-versions.gradle.plugin:0.+" } } @@ -15,15 +13,12 @@ plugins { id 'org.wiremock.tools.gradle.wiremock-extension-convention' version '0.3.0' } -//apply plugin: "se.bjurr.gradle.conventional-release" apply plugin: "project-report" group 'org.wiremock.integrations' allprojects { apply plugin: "se.bjurr.gradle.java-convention" - // apply plugin: "se.bjurr.gradle.update-versions" - apply plugin: "java-library" dependencies { testImplementation "org.springframework.boot:spring-boot-starter-test:3.3.4" diff --git a/gradle.properties b/gradle.properties index 46870ba..9db2e36 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,18 +1,9 @@ -# #Sun Oct 06 08:21:20 CEST 2024 description=WireMock integration for Spring Boot. group=org.wiremock.spring -licenseName=MIT -nexusPasswordEnvOrProp=OSSRH_TOKEN -nexusUsernameEnvOrProp=OSSRH_USERNAME -signingKeyEnvOrProp=OSSRH_GPG_SECRET_KEY -signingPasswordEnvOrProp=OSSRH_GPG_SECRET_KEY_PASSWORD sourceCompatibility=17 -tags=wiremock,springboot targetCompatibility=17 -vcsUrl=https\://github.com/wiremock/wiremock-spring-boot version=3.0.0 -website=https\://github.com/wiremock/wiremock-spring-boot baseArtifact=wiremock-spring-boot githubRepo=wiremock-spring-boot developer.id=maciejwalkowiak