diff options
author | Harald Musum <musum@verizonmedia.com> | 2021-04-29 16:48:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 16:48:30 +0200 |
commit | 6e8b76060ae6ef2b9b07377a4c18de40ecd754f9 (patch) | |
tree | bc9b038646f10c74cea284976404055e33cc1fb2 /jdisc_core | |
parent | 2a8254e4a8e61916974016a6d9933cd406443096 (diff) |
Revert "Support loadbalancer/v1 and application/v2/tenant without trailing slash"
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/application/BindingSetTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/application/BindingSetTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/application/BindingSetTestCase.java index 64bcaf15a69..028d0d69df6 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/application/BindingSetTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/application/BindingSetTestCase.java @@ -249,7 +249,7 @@ public class BindingSetTestCase { handlers.put(new UriPattern("http://*/config/v1/*/"), foo1); handlers.put(new UriPattern("http://*/config/v1/*/*"), foo2); handlers.put(new UriPattern("http://*/config/v1/*/*/"), foo3); - handlers.put(new UriPattern("http://*/application/v2/tenant*"), foo4); + handlers.put(new UriPattern("http://*/application/v2/tenant/"), foo4); handlers.put(new UriPattern("http://*/application/v2/tenant/*"), foo5); handlers.put(new UriPattern("http://*/application/v2/tenant/*/session"), foo6); handlers.put(new UriPattern("http://*/application/v2/tenant/*/session/*/prepared"), foo7); @@ -276,7 +276,7 @@ public class BindingSetTestCase { assertSame(foo3, bindings.resolve(URI.create("http://abcxyz.yahoo.com:19071" + "/config/v1/cloud.config.log.logd/admin/"))); assertSame(foo4, bindings.resolve(URI.create("http://abcxyz.yahoo.com:19071" + - "/application/v2/tenant"))); + "/application/v2/tenant/"))); assertSame(foo5, bindings.resolve(URI.create("http://abcxyz.yahoo.com:19071" + "/application/v2/tenant/b"))); assertSame(foo6, bindings.resolve(URI.create("http://abcxyz.yahoo.com:19071" + |