1027 Commits

Author SHA1 Message Date
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
Xiang Li
516f249403 fix create folder before write info file 2013-11-14 20:00:44 -08:00
Brandon Philips
3ce1132d5c Merge pull request #305 from philips/cherry-pick-lost-changes
feat(README): add an erlang library marshall-lee/etcd.erl
2013-11-13 20:44:31 -08:00
Brandon Philips
39e4e0c3d9 feat(README): add an erlang library marshall-lee/etcd.erl 2013-11-13 20:39:40 -08:00
Brandon Philips
5747b3b401 fix(README): cleanup a bad merge 2013-11-13 20:37:46 -08:00
Ben Johnson
f499100426 Merge branch 'master' of https://github.com/benbjohnson/etcd into benbjohnson-master
Conflicts:
	README.md
v0.2.0-rc1
2013-11-13 22:38:06 -05:00
Ben Johnson
aa047b124d v0.2.0-rc1 2013-11-13 22:34:13 -05:00
Ben Johnson
256a0428dd CHANGELOG 2013-11-13 21:56:02 -05:00
Xiang Li
d9c7796d56 Merge pull request #303 from philips/fixup-certificates
fix(fixtures/ca): make the certificates work
2013-11-13 11:56:36 -08:00
Brandon Philips
b3704a7119 fix(fixtures/ca): make the certificates work
Something was wrong with the old certificates. Rebuild them to get them
all working.
2013-11-13 11:45:20 -08:00
Brandon Philips
a5402435b9 Merge pull request #301 from philips/use-directory-based-on-machine-name
feat(etcd): create unique directory on no-flag case
2013-11-13 11:23:19 -08:00
Brandon Philips
6066862c34 Merge pull request #299 from benbjohnson/release
README
2013-11-13 11:22:31 -08:00
Ben Johnson
a0bfe411f8 Merge pull request #298 from benbjohnson/migration-test
Migration test
2013-11-13 10:19:33 -08:00
Brandon Philips
eecd9f7e35 feat(etcd): create unique directory on no-flag case
Tell etcd to store the log and configuration into directory in the
pattern of `${machineName}.etcd` if no directory is specified.
2013-11-13 10:16:02 -08:00
Brandon Philips
5057036563 Merge pull request #300 from philips/remove-etcd-from-mod
refactor(mod): remove the /etcd/ prefix
2013-11-13 07:13:16 -08:00
Brandon Philips
ca7e61052d refactor(mod): remove the /etcd/ prefix
Originally we were going to move all of the API endpoints to /etcd/ so
that you could move etcd traffic over a multiplexed HTTP proxy with
other service but since we don't have a strong use case for this just
remove this for now.
2013-11-13 06:15:35 -08:00
Ben Johnson
df00306a71 README 2013-11-12 21:28:51 -05:00
Ben Johnson
954217fb73 Fix v1 cluster migration test. 2013-11-12 19:27:29 -05:00
Ben Johnson
ccc27a61f5 Merge branch '0.2' of https://github.com/coreos/etcd into migration-test 2013-11-12 17:29:58 -05:00
Xiang Li
5abbaf59e3 Merge pull request #292 from xiangli-cmu/fix-ttl
WIP: fix ttl
2013-11-11 21:30:32 -08:00
Xiang Li
811c577fe8 test stop mockSync goroutines 2013-11-11 21:31:12 -08:00
Xiang Li
fe5fb6cfba style naming the initialization fields for sync command 2013-11-11 21:21:50 -08:00
Xiang Li
8b2e1025ef style remove the extra space 2013-11-11 21:19:30 -08:00
Ben Johnson
d8157472fe Merge branch '0.2' of https://github.com/coreos/etcd into migration-test 2013-11-11 18:12:24 -05:00
Brandon Philips
b988f5b323 chore(CONTRIBUTING): make the allowed types a list
The list was formatted as one long sentence. Fix that.
2013-11-11 11:57:38 -08:00
Xiang Li
e427c85f03 refactor add debug info to remove_node test 2013-11-09 21:31:17 -08:00
Xiang Li
27157e5e78 fix tests 2013-11-09 21:17:32 -08:00
Xiang Li
cb4b6f1fe4 feat add modifiedIndex in kvpair 2013-11-09 20:52:06 -08:00
Xiang Li
06f1b7f2e8 refactor change Index to modifiedIndex 2013-11-09 20:49:19 -08:00