Commit graph

25 commits

Author SHA1 Message Date
emile 0b3928dafb Add /api/providers API 2015-10-03 16:50:53 +02:00
emile 93b5410987 libkv support https://github.com/EmileVauge/traefik/issues/25 https://github.com/EmileVauge/traefik/issues/9 2015-10-02 11:36:16 +02:00
Thorhallur Sverrisson cc795b917a Removing debug Printf statements 2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson cfa232741d Adding error checks to REST calls 2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson a07e395181 Refactoring REST API to handle multiple providers.
I changed what I think is needed and I have done manual testing on this.

I tried to keep the changes to a minimun.

The changes are approx:

* HTML output now includes the provider name in parenthesis.
  * I'm not versed in bootstrap, should the output group providers in a
  * table?
* PUT is only enabled on /api/web.
* GET on /api returns a map containing all providers configuration
* GET on /api/{provider} will return the config as before on that
* provider.
2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson 55a50c5ab7 Setting webConfiguration on REST PUT to /api 2015-09-23 11:25:11 +00:00
Thorhallur Sverrisson f534d8817f Adding caching and merging of configurations
Configurations are now cached from each provider separately so that
we can merge them together when one provider has changed config.

The Web module also returns full config info through the HTML call,
but REST API is working on a separate web configuration that is
sent in just like any other.
2015-09-23 11:25:11 +00:00
Vincent Demeester c038dfbd54 Fix some typos, fmt and imports :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-09-24 17:16:13 +02:00
emile f5ddbcbcde Logrus logging backend https://github.com/EmileVauge/traefik/issues/15 2015-09-24 14:53:51 +02:00
emile cffa74f9cf Exit on permission denied 2015-09-24 13:05:44 +02:00
emile e4159564ca SSL for web backend 2015-09-22 21:00:29 +02:00
emile 2d956da3e1 Docs 2015-09-22 10:33:37 +02:00
emile 7b96decf17 note found handler 2015-09-16 22:41:14 +02:00
emile 2d645c83a6 api enhancements 2015-09-16 19:08:01 +02:00
emile 1cc294872b refactor rules, api enhancements 2015-09-15 18:41:55 +02:00
emile 36847f671f Negroni middlewares 2015-09-12 15:10:03 +02:00
emile d209467b5a Metrics, rules join, docker partial recovery 2015-09-12 13:20:54 +02:00
emile 7d4675f542 refactoring 2015-09-11 18:55:38 +02:00
emile 4a83136970 go-bindata static files and templates 2015-09-11 18:47:54 +02:00
emile 85e1af878a Logging 2015-09-11 16:37:13 +02:00
emile d3071ca110 web provider renderer 2015-09-09 10:29:49 +02:00
emile f6d587b16a web provider post
ramify
2015-09-09 09:16:56 +02:00
emile 8dabe42a8a web provider post 2015-09-09 00:22:34 +02:00
emile fce28007f6 web provider 2015-09-08 22:57:27 +02:00
emile e894ae9f0a web provider 2015-09-08 13:33:10 +02:00