31 Commits

Author SHA1 Message Date
Brandon Philips
1d6a6d20d1 feat(mod): introduce the /etcd/mod namespace
introduce the `/etcd/mod` namespace and add the dashboard into it.
2013-10-09 13:54:44 -07:00
Brandon Philips
431eebf754 feat(dashboard): introduce the in memory handler
the in memory handler gives etcd the ability to serve a dashboard
without on disk resources. This is the first time we are using the
/mod/ path too.

TODO: cleanup the mod stuff so it isn't hacked into etcd_handlers.
2013-10-08 11:15:03 -07:00
Brandon Philips
5a4f096647 feat(etcd_handlers): add the dashboard URL
/dashboard serves a dashboard now
2013-10-07 16:50:29 -07:00
Brandon Philips
41b9051686 chore(*.go): add copyright notice 2013-10-07 09:48:28 -07:00
Xiang Li
8d245b546f cleanup 2013-09-12 13:17:19 -04:00
Xiang Li
44e8c234ed merge master 2013-09-07 14:47:55 -04:00
Geoff Hayes
b366f10446 Blank prevValue in POST should be interpreted as a blank test-and-set, not a normal set 2013-09-05 21:08:43 -07:00
Brandon Philips
2f5015552e feat(etcd_handlers): enable CORS
When developing or using web frontends for etcd it will be necessary to
enable Cross-Origin Resource Sharing. Add a flag that lets the user
enable this feature via a whitelist.
2013-09-03 15:12:46 -07:00
Xiang Li
197689fcb5 Merge branch 'master' into moreStats 2013-08-23 13:45:51 -04:00
Andrew Hobden
4f436ae70a Added a PUT handler that copies the behavior of the POST handler. Fixes #139. 2013-08-21 14:43:25 -07:00
Xiang Li
a97590ff50 basic stats 2013-08-19 17:19:45 -07:00
Xiang Li
49c160b50c change getMachines 2013-08-19 13:42:00 -07:00
Xiang Li
64e6d54758 add remove peer 2013-08-19 12:10:11 -07:00
Xiang Li
1527b7008c fix test 2013-08-17 21:21:18 -07:00
Xiang Li
cf2d6888c2 add error package 2013-08-17 20:41:15 -07:00
Xiang Li
8ed67bedbb clean error handling 2013-08-17 15:06:21 -07:00
Xiang Li
981351c9d9 use type inheritance 2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7 make raft and etcd server 2013-08-17 08:30:31 -07:00
Xiang Li
f490fba698 also return API version 2013-08-17 08:30:31 -07:00
Xiang Li
6bdb9af7f6 handler version at /version 2013-08-17 08:30:31 -07:00
Xiang Li
c3533d6ac2 fix test 2013-08-17 08:30:30 -07:00
Xiang Li
f7dc48ad00 gofmt 2013-08-13 12:17:33 -07:00
Xiang Li
b71811375b fix race 2013-08-13 12:17:19 -07:00
Fabrizio (Misto) Milo
82fe001c65 move etcdMux to etcd_handlers.go (better proximity code) 2013-08-13 11:52:55 -07:00
Xiang Li
969c8ba8ca log remoteAddr in etcdHttpHandler 2013-08-12 10:29:50 -07:00
Xiang Li
32d1681b6b change name to url in http handlers 2013-08-12 10:16:30 -07:00
Xiang Li
6120fa634e remove duplicate codes 2013-08-11 11:40:45 -07:00
Xiang Li
d3649d3254 gofmt 2013-08-11 09:48:12 -07:00
Xiang Li
434b0045db add snapshot 2013-08-11 09:47:23 -07:00
Xiang Li
84624f1ec0 fix join command 2013-08-10 17:00:25 -07:00
Xiang Li
ce3c55ba3f refactor 2013-08-09 23:03:49 -07:00