API: remove configuration of Entrypoint and Middlewares

Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
This commit is contained in:
mpl 2019-07-19 12:28:07 +02:00 committed by Traefiker Bot
parent f75f73f3d2
commit 092aa8fa6d
17 changed files with 48 additions and 269 deletions

View file

@ -8,11 +8,10 @@
[entryPoints]
[entryPoints.web]
address = ":8000"
[entryPoints.api]
[entryPoints.traefik]
address = ":9090"
[api]
entryPoint = "api"
[providers]
[providers.marathon]

View file

@ -3,7 +3,6 @@
sendAnonymousUsage = false
[api]
entrypoint="api"
[log]
level = "DEBUG"
@ -12,9 +11,6 @@
[entryPoints.web]
address = ":8081"
[entryPoints.api]
address = ":8080"
[providers.file]
filename = "{{ .SelfFilename }}"

View file

@ -159,6 +159,7 @@ func (s *SimpleSuite) TestRequestAcceptGraceTimeout(c *check.C) {
}
func (s *SimpleSuite) TestApiOnSameEntryPoint(c *check.C) {
c.Skip("Waiting for new api handler implementation")
s.createComposeProject(c, "base")
s.composeProject.Start(c)
@ -221,6 +222,8 @@ func (s *SimpleSuite) TestStatsWithMultipleEntryPoint(c *check.C) {
}
func (s *SimpleSuite) TestNoAuthOnPing(c *check.C) {
c.Skip("Waiting for new api handler implementation")
s.createComposeProject(c, "base")
s.composeProject.Start(c)