Change the provider separator from . to @

This commit is contained in:
Ludovic Fernandez 2019-06-20 00:40:05 +02:00 committed by Traefiker Bot
parent 4012599264
commit e9792b446f
34 changed files with 465 additions and 465 deletions

View file

@ -1,17 +1,17 @@
{
"routers": {
"myprovider.bar": {
"myprovider@bar": {
"entryPoints": [
"web"
],
"middlewares": [
"auth",
"anotherprovider.addPrefixTest"
"anotherprovider@addPrefixTest"
],
"service": "myprovider.foo-service",
"service": "myprovider@foo-service",
"rule": "Host(`foo.bar`)"
},
"myprovider.test": {
"myprovider@test": {
"entryPoints": [
"web"
],
@ -19,41 +19,41 @@
"addPrefixTest",
"auth"
],
"service": "myprovider.foo-service",
"service": "myprovider@foo-service",
"rule": "Host(`foo.bar.other`)"
}
},
"middlewares": {
"anotherprovider.addPrefixTest": {
"anotherprovider@addPrefixTest": {
"addPrefix": {
"prefix": "/toto"
},
"usedBy": [
"myprovider.bar"
"myprovider@bar"
]
},
"myprovider.addPrefixTest": {
"myprovider@addPrefixTest": {
"addPrefix": {
"prefix": "/titi"
},
"usedBy": [
"myprovider.test"
"myprovider@test"
]
},
"myprovider.auth": {
"myprovider@auth": {
"basicAuth": {
"users": [
"admin:admin"
]
},
"usedBy": [
"myprovider.bar",
"myprovider.test"
"myprovider@bar",
"myprovider@test"
]
}
},
"services": {
"myprovider.foo-service": {
"myprovider@foo-service": {
"loadbalancer": {
"servers": [
{
@ -63,29 +63,29 @@
"passHostHeader": false
},
"usedBy": [
"myprovider.bar",
"myprovider.test"
"myprovider@bar",
"myprovider@test"
]
}
},
"tcpRouters": {
"myprovider.tcpbar": {
"myprovider@tcpbar": {
"entryPoints": [
"web"
],
"service": "myprovider.tcpfoo-service",
"service": "myprovider@tcpfoo-service",
"rule": "HostSNI(`foo.bar`)"
},
"myprovider.tcptest": {
"myprovider@tcptest": {
"entryPoints": [
"web"
],
"service": "myprovider.tcpfoo-service",
"service": "myprovider@tcpfoo-service",
"rule": "HostSNI(`foo.bar.other`)"
}
},
"tcpServices": {
"myprovider.tcpfoo-service": {
"myprovider@tcpfoo-service": {
"loadbalancer": {
"servers": [
{
@ -94,8 +94,8 @@
]
},
"usedBy": [
"myprovider.tcpbar",
"myprovider.tcptest"
"myprovider@tcpbar",
"myprovider@tcptest"
]
}
}

View file

@ -4,10 +4,10 @@
"admin:admin"
]
},
"name": "myprovider.auth",
"provider": "myprovider",
"name": "myprovider@auth",
"provider": "myprovider@auth",
"usedBy": [
"myprovider.bar",
"myprovider.test"
"myprovider@bar",
"myprovider@test"
]
}

View file

@ -3,10 +3,10 @@
"addPrefix": {
"prefix": "/titi"
},
"name": "myprovider.addPrefixTest",
"provider": "myprovider",
"name": "myprovider@addPrefixTest",
"provider": "myprovider@addPrefixTest",
"usedBy": [
"myprovider.test"
"myprovider@test"
]
}
]

View file

@ -3,20 +3,20 @@
"addPrefix": {
"prefix": "/toto"
},
"name": "anotherprovider.addPrefixTest",
"provider": "anotherprovider",
"name": "anotherprovider@addPrefixTest",
"provider": "anotherprovider@addPrefixTest",
"usedBy": [
"myprovider.bar"
"myprovider@bar"
]
},
{
"addPrefix": {
"prefix": "/titi"
},
"name": "myprovider.addPrefixTest",
"provider": "myprovider",
"name": "myprovider@addPrefixTest",
"provider": "myprovider@addPrefixTest",
"usedBy": [
"myprovider.test"
"myprovider@test"
]
},
{
@ -25,11 +25,11 @@
"admin:admin"
]
},
"name": "myprovider.auth",
"provider": "myprovider",
"name": "myprovider@auth",
"provider": "myprovider@auth",
"usedBy": [
"myprovider.bar",
"myprovider.test"
"myprovider@bar",
"myprovider@test"
]
}
]

View file

@ -4,10 +4,10 @@
],
"middlewares": [
"auth",
"anotherprovider.addPrefixTest"
"anotherprovider@addPrefixTest"
],
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"rule": "Host(`foo.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}

View file

@ -3,45 +3,45 @@
"entryPoints": [
"web"
],
"name": "myprovider.bar14",
"provider": "myprovider",
"name": "myprovider@bar14",
"provider": "myprovider@bar14",
"rule": "Host(`foo.bar14`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
"web"
],
"name": "myprovider.bar15",
"provider": "myprovider",
"name": "myprovider@bar15",
"provider": "myprovider@bar15",
"rule": "Host(`foo.bar15`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
"web"
],
"name": "myprovider.bar16",
"provider": "myprovider",
"name": "myprovider@bar16",
"provider": "myprovider@bar16",
"rule": "Host(`foo.bar16`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
"web"
],
"name": "myprovider.bar17",
"provider": "myprovider",
"name": "myprovider@bar17",
"provider": "myprovider@bar17",
"rule": "Host(`foo.bar17`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
"web"
],
"name": "myprovider.bar18",
"provider": "myprovider",
"name": "myprovider@bar18",
"provider": "myprovider@bar18",
"rule": "Host(`foo.bar18`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}
]

View file

@ -3,9 +3,9 @@
"entryPoints": [
"web"
],
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"rule": "Host(`toto.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}
]

View file

@ -5,12 +5,12 @@
],
"middlewares": [
"auth",
"anotherprovider.addPrefixTest"
"anotherprovider@addPrefixTest"
],
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"rule": "Host(`foo.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
@ -20,9 +20,9 @@
"addPrefixTest",
"auth"
],
"name": "myprovider.test",
"provider": "myprovider",
"name": "myprovider@test",
"provider": "myprovider@test",
"rule": "Host(`foo.bar.other`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}
]

View file

@ -7,13 +7,13 @@
}
]
},
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"serverStatus": {
"http://127.0.0.1": "UP"
},
"usedBy": [
"myprovider.foo",
"myprovider.test"
"myprovider@foo",
"myprovider@test"
]
}

View file

@ -8,13 +8,13 @@
}
]
},
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"serverStatus": {
"http://127.0.0.2": "UP"
},
"usedBy": [
"myprovider.foo"
"myprovider@foo"
]
}
]

View file

@ -8,14 +8,14 @@
}
]
},
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"serverStatus": {
"http://127.0.0.1": "UP"
},
"usedBy": [
"myprovider.foo",
"myprovider.test"
"myprovider@foo",
"myprovider@test"
]
},
{
@ -27,13 +27,13 @@
}
]
},
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"serverStatus": {
"http://127.0.0.2": "UP"
},
"usedBy": [
"myprovider.foo"
"myprovider@foo"
]
}
]

View file

@ -2,8 +2,8 @@
"entryPoints": [
"web"
],
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"rule": "Host(`foo.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}

View file

@ -3,9 +3,9 @@
"entryPoints": [
"web"
],
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"rule": "Host(`toto.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
}
]

View file

@ -3,19 +3,19 @@
"entryPoints": [
"web"
],
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"rule": "Host(`foo.bar`)",
"service": "myprovider.foo-service"
"service": "myprovider@foo-service"
},
{
"entryPoints": [
"web"
],
"name": "myprovider.test",
"provider": "myprovider",
"name": "myprovider@test",
"provider": "myprovider@test",
"rule": "Host(`foo.bar.other`)",
"service": "myprovider.foo-service",
"service": "myprovider@foo-service",
"tls": {
"passthrough": false
}

View file

@ -6,10 +6,10 @@
}
]
},
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"usedBy": [
"myprovider.foo",
"myprovider.test"
"myprovider@foo",
"myprovider@test"
]
}

View file

@ -7,10 +7,10 @@
}
]
},
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"usedBy": [
"myprovider.foo"
"myprovider@foo"
]
}
]

View file

@ -7,11 +7,11 @@
}
]
},
"name": "myprovider.bar",
"provider": "myprovider",
"name": "myprovider@bar",
"provider": "myprovider@bar",
"usedBy": [
"myprovider.foo",
"myprovider.test"
"myprovider@foo",
"myprovider@test"
]
},
{
@ -22,10 +22,10 @@
}
]
},
"name": "myprovider.baz",
"provider": "myprovider",
"name": "myprovider@baz",
"provider": "myprovider@baz",
"usedBy": [
"myprovider.foo"
"myprovider@foo"
]
}
]