Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Matching Request method with isOneOf & isNoneOf #2234

Open
wants to merge 110 commits into
base: master
Choose a base branch
from

Conversation

pks-1981
Copy link
Contributor

@pks-1981 pks-1981 commented Jun 25, 2023

Feature Request: Matching Request method with isOneOf & isNoneOf.

Adding the ability to specify a list of request methods.

#1434
Based on #1734

Submitter checklist

  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

@pks-1981 pks-1981 marked this pull request as draft June 25, 2023 16:49
@pks-1981 pks-1981 marked this pull request as ready for review June 25, 2023 16:58
@pks-1981
Copy link
Contributor Author

@tomakehurst
I will try to make a normal description as soon as possible.

But waiting review)))

@pks-1981
Copy link
Contributor Author

@tomakehurst
Hello.
May be only methods?
+ " "method" : "GET", \n"
+ " "methods" : ["GET"] \n"

Kirill Peshin added 2 commits June 27, 2023 07:17
@pks-1981
Copy link
Contributor Author

@timtebeek @oleg-nenashev
If you don't mind take a look...
For some advice)))

@pks-1981 pks-1981 marked this pull request as draft June 28, 2023 13:42
Kirill Peshin added 3 commits July 5, 2023 10:58
# Conflicts:
#	src/main/java/com/github/tomakehurst/wiremock/client/BasicMappingBuilder.java
#	src/main/java/com/github/tomakehurst/wiremock/matching/MatchResult.java
#	src/main/java/com/github/tomakehurst/wiremock/matching/RequestPattern.java
#	src/main/java/com/github/tomakehurst/wiremock/matching/RequestPatternBuilder.java
#	src/test/java/com/github/tomakehurst/wiremock/matching/RequestPatternBuilderTest.java
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far looks good. A bit more of work is needed to land it but I think it could be integrated soon

Kirill Peshin added 2 commits July 13, 2023 08:47
# Conflicts:
#	src/main/java/com/github/tomakehurst/wiremock/matching/RequestPatternBuilder.java
@pks-1981
Copy link
Contributor Author

So far looks good. A bit more of work is needed to land it but I think it could be integrated soon

unfortunately i have no time and ideas, right now
So i am be glad if someone help me)

@pks-1981
Copy link
Contributor Author

@tomakehurst
Unfortunately I can't figure out how to implement DiffLine
I need help

@pks-1981 pks-1981 marked this pull request as ready for review August 10, 2023 04:45
@pks-1981 pks-1981 requested a review from a team as a code owner August 10, 2023 04:45
Kirill Peshin added 11 commits February 25, 2024 22:01
# Conflicts:
#	src/main/java/com/github/tomakehurst/wiremock/matching/RequestPattern.java
#	src/main/java/com/github/tomakehurst/wiremock/verification/diff/Diff.java
#	src/main/java/com/github/tomakehurst/wiremock/verification/diff/DiffLine.java
#	src/test/java/com/github/tomakehurst/wiremock/verification/diff/PlainTextDiffRendererTest.java
# Conflicts:
#	src/main/java/com/github/tomakehurst/wiremock/matching/RequestPattern.java
@pks-1981
Copy link
Contributor Author

@tomakehurst hello)
Plz look at my updated MR

Kirill Peshin added 13 commits March 29, 2024 07:13
# Conflicts:
#	src/test/java/com/github/tomakehurst/wiremock/AdminApiTest.java
#	src/test/java/com/github/tomakehurst/wiremock/StubbingAcceptanceTest.java
#	src/test/java/com/github/tomakehurst/wiremock/VerificationAcceptanceTest.java
#	src/test/java/com/github/tomakehurst/wiremock/matching/RequestPatternTest.java
# Conflicts:
#	src/test/java/com/github/tomakehurst/wiremock/StubbingAcceptanceTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs-tom Tom's Train Project :)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants