From 89078211bf9d6611659583e19cc624bc9224578c Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Fri, 13 Jun 2025 15:36:15 +0300 Subject: [PATCH] m --- nontech/economy/people/anureev.txt | 3 +++ nontech/history/people/zhukov/zhukov-klim.txt | 2 +- .../mock/wiremock/features/req-match.txt | 19 +++++++++++++++++++ .../testing/mock/wiremock/wiremock.txt | 7 ------- 4 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 pl/java/tools/quality/testing/mock/wiremock/features/req-match.txt diff --git a/nontech/economy/people/anureev.txt b/nontech/economy/people/anureev.txt index 81e0346c9..9d44ea3cd 100644 --- a/nontech/economy/people/anureev.txt +++ b/nontech/economy/people/anureev.txt @@ -1,5 +1,8 @@ Sergey Vladimirovich Anureev, doctor of economy science +2025 +MirTV - Fefelov - Anureev - About Bank Percent of 38:58 + https://www.youtube.com/watch?v=EzE1yDjJWUA 2023 DayTV - Fefelov - Anureev - How Many US Soliders are OK of 1:00:56 https://www.youtube.com/watch?v=wo1h139yDUY diff --git a/nontech/history/people/zhukov/zhukov-klim.txt b/nontech/history/people/zhukov/zhukov-klim.txt index a38792c4f..bbbd273c9 100644 --- a/nontech/history/people/zhukov/zhukov-klim.txt +++ b/nontech/history/people/zhukov/zhukov-klim.txt @@ -34,7 +34,7 @@ KlimZhukov - Master and Margo 1:25:00 of 2:14:35 2023 Metametrics - Zhukov of 59:36 https://www.youtube.com/watch?v=XmBV76fksdk -KlimZhukov - Puchkov - Zhanna DArk - 100-years War of 1:41:40 +KlimZhukov - Puchkov - Zhanna DArk - 100-years War 1:00:00 of 1:41:40 https://vk.com/video-3156562_456246105 https://www.youtube.com/watch?v=sS5681K-MBc !!! Dementiy diff --git a/pl/java/tools/quality/testing/mock/wiremock/features/req-match.txt b/pl/java/tools/quality/testing/mock/wiremock/features/req-match.txt new file mode 100644 index 000000000..9668f8429 --- /dev/null +++ b/pl/java/tools/quality/testing/mock/wiremock/features/req-match.txt @@ -0,0 +1,19 @@ +https://wiremock.org/docs/request-matching/ +https://wiremock.org/docs/request-matching/#path-templates +custom request matchers +https://wiremock.org/docs/extending-wiremock/#custom-request-matchers + +https://github.com/tomakehurst/wiremock/blob/master/docs-v2/_docs/request-matching.md + .withHeader("Bearer", containing("some-data")) + +"request": { + "method": "POST", + "urlPattern": "/v1/.+/suff", + "bodyPatterns": [ + { + "matchesJsonPath" : "$.name" + }, { + "matchesJsonPath": "$[?($.ActivityType == 'SOMEACT')]" + } + ] +} diff --git a/pl/java/tools/quality/testing/mock/wiremock/wiremock.txt b/pl/java/tools/quality/testing/mock/wiremock/wiremock.txt index 07d927de3..762d8b990 100644 --- a/pl/java/tools/quality/testing/mock/wiremock/wiremock.txt +++ b/pl/java/tools/quality/testing/mock/wiremock/wiremock.txt @@ -11,9 +11,6 @@ https://wiremock.org/docs/junit-jupiter/ https://wiremock.org/docs/stubbing/ -https://wiremock.org/docs/request-matching/ -https://wiremock.org/docs/request-matching/#path-templates - https://wiremock.org/docs/extending-wiremock/ https://github.com/tomakehurst/wiremock/issues/684 @@ -46,8 +43,6 @@ https://www.infoq.com/presentations/spring-cloud-contract https://dzone.com/articles/wiremock-mock-your-rest-apis docs -https://github.com/tomakehurst/wiremock/blob/master/docs-v2/_docs/request-matching.md - .withHeader("Bearer", containing("some-data")) https://docs.spring.io/spring-cloud-contract/docs/current/reference/html/project-features.html#features-wiremock @@ -93,8 +88,6 @@ https://wiremock.org/docs/mock-api-templates/ https://wiremock.org/docs/mock-api-templates/usage/ https://library.wiremock.org/ -custom request matchers -https://wiremock.org/docs/extending-wiremock/#custom-request-matchers deps +--- org.springframework.cloud:spring-cloud-contract-wiremock -> 4.1.0