Xiang Li
7875ba28c9
Merge pull request #360 from philips/fix-peerurl
...
fix(server/v2): redirect to ClientURL not PeerURL
2013-12-02 19:02:58 -08:00
Xiang Li
d5e4aef6c2
Merge pull request #361 from philips/cleanup-peers-usage
...
cleanup-peers-usage
2013-12-02 19:01:18 -08:00
Brandon Philips
6729776e25
fix(server/usage): fixup the usage based on feedback
...
People were getting confused by the lack of explanation on which port to
use. Fix this.
/cc @polvi
2013-12-02 18:41:03 -08:00
Brandon Philips
72bf216cb4
fix(server/v2): redirect to ClientURL not PeerURL
...
If consistent is set you must redirect the client to the leader's
ClientURL not the PeerURL.
2013-12-02 18:20:11 -08:00
Xiang Li
cfb6eb6e50
Merge pull request #355 from xiangli-cmu/root_readonly
...
WIP fix root should be rdonly
2013-12-02 10:27:02 -08:00
Xiang Li
e34d368a3e
Merge pull request #354 from philips/fixup-prevExist-README
...
feat(README): add a prevExist example
2013-12-01 15:24:45 -08:00
Xiang Li
b929e71948
tests add root readonly test
2013-12-01 18:16:32 -05:00
Xiang Li
6252037376
fix root should be rdonly
2013-12-01 18:01:24 -05:00
Xiang Li
577d08ea7d
Merge pull request #352 from xiangli-cmu/fix_watch_prefix
...
fix(event_history.go) should not scan prefix
2013-12-01 14:40:15 -08:00
Xiang Li
78e382cb6b
test add watcher prefix test
2013-12-01 17:35:22 -05:00
Brandon Philips
1d02a70802
feat(README): add a prevExist example
...
On the mailing list Dustin Oprea suggested adding a prevExist concrete
example would make it more clear that the value must be true or false.
2013-12-01 13:28:08 -08:00
Xiang Li
ff081dca88
Merge pull request #353 from baruch/patch-1
...
Fix spelling mistakes in internal-protocol-versioning.md
2013-12-01 08:52:13 -08:00
Brandon Philips
cc9c75acbe
fix(README): repair some noisy spaces
2013-11-30 22:46:12 -08:00
Baruch Even
08dffe85d6
Fix spelling mistakes in internal-protocol-versioning.md
2013-12-01 08:35:56 +02:00
Xiang Li
5097a2adee
fix(event_history.go) should not scan prefix
2013-12-01 00:47:23 -05:00
Brandon Philips
7997fdc76f
Merge pull request #330 from philips/fixup-readme-remove-v1
...
fix(README): fix 9 instances of v1
2013-11-29 22:28:02 -08:00
Brandon Philips
2a5030b3ca
fix(README): fix 9 instances of v1
...
remove references to the v1 API and consistently use the v2 API.
2013-11-29 22:26:52 -08:00
Brandon Philips
d5172849bc
Merge pull request #342 from philips/use-machine-nomenclature
...
fix(README): use machine instead of node
2013-11-29 16:57:28 -08:00
Brandon Philips
978cb54fc7
fix(README): use machine instead of node
...
Internally we call every member of an etcd cluster a "machine" so stay
consistent when talking in the README.
2013-11-27 14:37:31 -08:00
Brandon Philips
d3a83805cc
fix(README): link to etcdctl directly
...
link to the etcdctl homepage directly
2013-11-27 14:29:41 -08:00
Brandon Philips
e41b86fd68
Merge pull request #341 from philips/fixup-name-and-data-dir-guessing
...
fix(etcd): fixup the name and data dir guessing
2013-11-27 14:26:02 -08:00
Xiang Li
0344e759d9
Merge pull request #340 from philips/add-rthomas-clj-etcd
...
feat(README): add clojure client rthomas/clj-etcd
2013-11-27 12:25:28 -08:00
Brandon Philips
04711ecde5
fix(etcd): fixup the name and data dir guessing
...
- Only generate the name from a hostname if the data dir is not
specified and the name is not specified
- Only guess the data dir from Name if the data dir wasn't already
specified
2013-11-27 12:20:26 -08:00
Brandon Philips
da666d9143
feat(README): add clojure client rthomas/clj-etcd
2013-11-27 09:11:00 -06:00
Brandon Philips
c93f086032
Merge pull request #329 from philips/remove-redundant-datadir-code
...
fix(etcd): remove duplicate DataDir setup
2013-11-26 13:20:29 -08:00
Brandon Philips
7c07810958
fix(etcd): remove duplicate DataDir setup
...
In the refactor of the configuration and flags I think that we
accidently placed this logic twice. The side effect is that we always
ended up with a `.etcd` directory.
2013-11-26 10:22:39 -06:00
Brandon Philips
0ed3509ec1
Merge pull request #324 from philips/redirect-mod-dashboard-trailing-slash
...
fix(mod): redirect dashboard to /dashboard
2013-11-26 08:15:33 -08:00
Brandon Philips
64e49726cd
fix(mod): redirect dashboard to /dashboard
2013-11-23 23:31:28 -08:00
Xiang Li
b4f3d02c1c
Merge pull request #322 from xiangli-cmu/master
...
bump deps
2013-11-22 14:18:17 -08:00
Xiang Li
a607c9eace
fix dep issue
2013-11-22 13:27:04 -08:00
Brandon Philips
4520705bdf
Merge pull request #320 from philips/add-cors-options
...
feat(server): introduce a cors handler
2013-11-22 11:53:45 -08:00
Xiang Li
40a574a8ca
wip commit
2013-11-22 11:32:24 -08:00
Xiang Li
522a833ab2
bump go-etcd
2013-11-22 11:31:46 -08:00
Xiang Li
8a0496cfae
bump deps
2013-11-22 08:59:24 -08:00
Brandon Philips
b190c4250a
chore(mod/dashboard/resources): use the latest version of the code
2013-11-21 17:23:40 -08:00
Brandon Philips
4c06e19cf2
fix(mod/dashboard): grab the leader URL
...
query etcd to find the URL of the leader before making any http requests
that can't be redirected from a browser like PUT/POST and DELETE.
2013-11-21 17:12:58 -08:00
Brandon Philips
a1ec895b91
feat(server): introduce a cors handler
...
Introduce a handler that lives under the gorilla mux and adds the
correct headers based on the request and always returns 200 OK when
there OPTIONS is called on a URL.
This fixes the ability to DELETE from the dashboard on peer X when peer
Y is the leader. As a side effect it reveals some bugs in the dashboard
though notably:
- Due to the RTT immediatly refreshing the dashboard doesn't work and
deleted keys are still there
- For some reason PUTS from peer X are creating directories and not
keys.
2013-11-21 09:25:21 -08:00
Ben Johnson
68e7455374
Merge pull request #317 from benbjohnson/fix-help-flag
...
Config clean up and usage messaging.
2013-11-20 10:35:55 -08:00
Ben Johnson
ea6b11bbf6
Config clean up and usage messaging.
2013-11-20 10:52:01 -07:00
Ben Johnson
fca8506331
Merge pull request #312 from benbjohnson/clean-up-config
...
Renamed Configuration Parameters
2013-11-19 13:49:40 -08:00
Ben Johnson
15eee885d7
Merge branch 'master' of https://github.com/coreos/etcd into clean-up-config
2013-11-19 10:13:39 -07:00
Ben Johnson
a414b15f9a
Config fixes.
2013-11-19 09:20:20 -07:00
Ben Johnson
8952c1bd42
Merge branch 'master' of https://github.com/coreos/etcd into clean-up-config
...
Conflicts:
etcd.go
2013-11-19 08:28:46 -07:00
Xiang Li
01a0f79efb
Merge pull request #314 from xiangli-cmu/fix-content-type
...
fix set content-type to application/json
2013-11-16 20:50:36 -08:00
Xiang Li
1d34c82643
fix set content-type to application/json
2013-11-16 20:48:44 -08:00
Ben Johnson
cba2611c68
Renamed configuration parameters.
2013-11-15 00:13:32 -05:00
Xiang Li
48f5a47ff1
Merge pull request #310 from xiangli-cmu/master
...
test fix wrong assumption should be previous index + 501 + 6
2013-11-14 20:20:57 -08:00
Xiang Li
4f45de6953
test fix wrong assumption should be previous index + 501 + 6
2013-11-14 20:22:25 -08:00
Xiang Li
1c1d3dd708
Merge pull request #309 from xiangli-cmu/master
...
fix create folder before write info file
2013-11-14 20:11:22 -08:00
Xiang Li
e90937a2b4
tests loosen the ttl checking
2013-11-14 20:09:12 -08:00