#2064 2065 #2132 #2169 Ampersand vs Slash workaround in UpstreamTemplatePatternCreator#2225
#2064 2065 #2132 #2169 Ampersand vs Slash workaround in UpstreamTemplatePatternCreator#2225raman-m merged 11 commits intoThreeMammals:developfrom
UpstreamTemplatePatternCreator#2225Conversation
|
Thanks for the PR creation! |
raman-m
left a comment
There was a problem hiding this comment.
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
UpstreamTemplatePatternCreatorUpstreamTemplatePatternCreator
There was a problem hiding this comment.
$\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 |
ggnaegi
left a comment
There was a problem hiding this comment.
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... |
raman-m
left a comment
There was a problem hiding this comment.
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 |
UpstreamTemplatePatternCreatorUpstreamTemplatePatternCreator
UpstreamTemplatePatternCreatorUpstreamTemplatePatternCreator
|
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