760 Commits

Author SHA1 Message Date
Brandon Philips
e0636ce655 Merge pull request #242 from philips/add-version-flag-0.2
feat(etcd): add version flag
2013-10-16 17:33:35 -07:00
Brandon Philips
7670c85d70 feat(server): export ReleaseVersion
releaseVersion is needed in etcd.go to print it out in the -version
flag.
2013-10-16 17:29:53 -07:00
Brandon Philips
f998a19c3d feat(etcd): add version flag
print the version and exit, very simple :)

Conflicts:
	etcd.go
2013-10-16 17:29:53 -07:00
Ben Johnson
66becddac3 Merge pull request #243 from benbjohnson/reintegrate-functional-tests
Reintegrate functional tests into etcd.
2013-10-16 14:13:21 -07:00
Ben Johnson
b4d311d6a1 Reintegrate functional tests into etcd. 2013-10-16 13:58:03 -06:00
Xiang Li
f5fa89c0e1 Merge pull request #238 from xiangli-cmu/0.2-handlers
0.2 handlers
2013-10-16 10:56:39 -07:00
Xiang Li
e680f28c2f fix move update check to update handler 2013-10-15 23:25:12 -07:00
Xiang Li
0392c18794 refactor put_handler.go 2013-10-15 23:18:03 -07:00
Xiang Li
baa683b484 feat POST-create unique node under given path 2013-10-15 22:21:55 -07:00
Xiang Li
01bbad31c7 refactor remove web pacakge 2013-10-14 23:16:48 -07:00
Xiang Li
c5f9afa0e8 fix store test 2013-10-14 23:15:31 -07:00
Xiang Li
fbf40fb74a refactor store.go add set function 2013-10-14 23:04:21 -07:00
Xiang Li
278a089908 fix set should register set rather than create 2013-10-14 22:45:29 -07:00
Xiang Li
53a9bd0618 feat add set command 2013-10-14 22:44:17 -07:00
Xiang Li
2aeb25e80c refactor change handler name to its method 2013-10-14 22:38:07 -07:00
Xiang Li
9ebdcb8ae3 refactor change testAndSet to CompareAndSwap 2013-10-14 22:32:22 -07:00
Xiang Li
545f8ed6a1 fix update PUT handler 2013-10-14 22:22:23 -07:00
Xiang Li
811d172a54 fix change wait_index to waitIndex; we do not use post in 0.2 2013-10-14 21:22:20 -07:00
Ben Johnson
3f896cf586 Merge pull request #236 from benbjohnson/remove-functional-tests
Remove functional tests.
2013-10-14 13:56:29 -07:00
Ben Johnson
fb7a91739a Remove functional tests. 2013-10-14 14:20:50 -06:00
Xiang Li
812fd4393e Merge pull request #235 from xiangli-cmu/0.2
Test both of the condition if given
2013-10-14 13:03:02 -07:00
Xiang Li
2b6c628342 Merge branch '0.2' of https://github.com/coreos/etcd into 0.2 2013-10-14 12:57:38 -07:00
Xiang Li
c87a7a039e feat test both of the condidtion 2013-10-14 12:57:35 -07:00
Ben Johnson
89660ce0cd Merge pull request #234 from benbjohnson/raft-server-interface
Use raft.Server interface.
2013-10-14 12:55:29 -07:00
Ben Johnson
e7598075ac Use raft.Server interface. 2013-10-14 13:51:20 -06:00
Ben Johnson
4f5ec77f87 Merge pull request #233 from benbjohnson/store-interface
Extract Store into an interface.
2013-10-14 10:57:55 -07:00
Ben Johnson
1321c63f3b Extract Store into an interface. 2013-10-14 11:12:30 -06:00
Ben Johnson
5a1338ce8a Merge pull request #231 from benbjohnson/test-fix
Fix etcd.NewClient().
2013-10-14 10:07:43 -07:00
Ben Johnson
a6a32a592d Merge branch '0.2' into test-fix 2013-10-14 10:06:51 -06:00
Ben Johnson
56192b7f85 bump(code.google.com/p/go.net): 355ff0aa1b2e 2013-10-14 10:05:49 -06:00
Ben Johnson
e1003a8623 bump(bitbucket.org/kardianos/osext): 364fb577de68 2013-10-14 10:05:46 -06:00
Ben Johnson
6b55a47090 bump(github.com/coreos/go-systemd): af0e6cd015e5fad8d9d090ad7aa343a1f680318d 2013-10-14 10:05:43 -06:00
Ben Johnson
13b86f5360 bump(github.com/coreos/go-log/log): 2013-10-14 10:05:43 -06:00
Ben Johnson
1843f7bda5 bump(github.com/coreos/go-etcd): 0cc84e9bc81c45e074864360adc549e61a3a7f83 2013-10-14 10:05:39 -06:00
Ben Johnson
375f7a73b9 bump(github.com/coreos/go-raft): 9fed6b9e77a96f1ab3a4c02bc8dbed72fbac9eb0 2013-10-14 10:05:38 -06:00
Ben Johnson
63e128670e Fix etcd.NewClient(). 2013-10-14 09:55:57 -06:00
Ben Johnson
259e1ce256 Merge pull request #228 from xiangli-cmu/0.2
refactor move raft http handlers to peer_server_handlers.go
2013-10-13 23:20:21 -07:00
Xiang Li
ef74464aea refactor remove extra function 2013-10-13 23:09:52 -07:00
Xiang Li
090d049b81 refactor move raft http handlers to peer_server_handlers.go 2013-10-13 22:50:51 -07:00
Xiang Li
755c18d491 Merge pull request #227 from xiangli-cmu/0.2
refactor remove the extra function
2013-10-13 22:20:52 -07:00
Xiang Li
7565313290 refactor add wrapper function 2013-10-13 22:20:23 -07:00
Xiang Li
a635f6b17c refactor remove the extra function 2013-10-13 22:13:20 -07:00
Xiang Li
2b291aabea Merge pull request #218 from benbjohnson/refactoring
[wip] Refactoring
2013-10-13 21:15:29 -07:00
Ben Johnson
dc59bd8d77 gofmt 2013-10-13 21:37:45 -06:00
Ben Johnson
0e49c49dce Remove verbosity from test. 2013-10-13 21:36:42 -06:00
Ben Johnson
1a27c9de67 Add github.com/gorilla/context. 2013-10-13 21:15:13 -06:00
Ben Johnson
8475d9878e bump(github.com/gorilla/context): 708054d61e5a2918b9f4e9700000ee611dcf03f5 2013-10-13 21:14:45 -06:00
Ben Johnson
d44fd6661a Fix registry cache issues. 2013-10-13 21:09:56 -06:00
Ben Johnson
013d07bc2a Fix server dispatch redirection. 2013-10-13 16:58:36 -06:00
Ben Johnson
77572b01f8 Merge pull request #2 from xiangli-cmu/refactoring
fix registry.go: use the correct node name; self is already in the list
2013-10-13 15:27:40 -07:00