-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
#2064 2065 #2132 #2169 Ampersand vs Slash workaround in UpstreamTemplatePatternCreator
#2225
Conversation
Thanks for the PR creation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our development process mandates the inclusion of acceptance tests for even the smallest fixes. Please refer to points 4 and 5.
So, please add acceptance tests!
src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs
Outdated
Show resolved
Hide resolved
test/Ocelot.UnitTests/Configuration/UpstreamTemplatePatternCreatorTests.cs
Outdated
Show resolved
Hide resolved
test/Ocelot.UnitTests/Configuration/UpstreamTemplatePatternCreatorTests.cs
Outdated
Show resolved
Hide resolved
UpstreamTemplatePatternCreator
UpstreamTemplatePatternCreator
UpstreamTemplatePatternCreator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$\color{red}{No\ acceptance\ tests!}$
Please include tests. If you're uncertain about where to locate the appropriate testing class within the Ocelot.AcceptanceTests project, please inform me.
Please add tests to Routing → RoutingTests
src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs
Outdated
Show resolved
Hide resolved
@ggnaegi Please join to review the Finn's coding art 😋 |
@raman-m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thanks a lot, it would be imho, more elegant to use a ternary operator, or even Regex.Replace
src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs
Outdated
Show resolved
Hide resolved
src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs
Outdated
Show resolved
Hide resolved
Reviewing and checking tests... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few issues should be resolved!
src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs
Outdated
Show resolved
Hide resolved
@int0x81 Could you clarify this for me? 👇 Why have you restricted my ability to push to your forked repository? |
@int0x81 Dear Finn, As per GitHub's policy on forking repositories, maintainers or owners of the base repository have write permission to the feature branches of the pull requests, but not to other branches, including protected ones. @ggnaegi FYI |
@raman-m I usually disable the option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for Delivery ✅
UpstreamTemplatePatternCreator
UpstreamTemplatePatternCreator
UpstreamTemplatePatternCreator
UpstreamTemplatePatternCreator
Hello Finn, |
I don't think I am authorized to merge. The button is disabled for me. But I reviewed the changes and it looks good to me, so you can also perform the merge directly |
Yes, right! Only team members can merge to protected branches. Done! Merged! |
Fixes #2132 #2169
Closes #2064 #2065