Chanwit Kaewkasi
|
f5d3efa53e
|
fix fatal error when registering node
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-27 15:32:28 +07:00 |
Victor Vieux
|
231ded20e0
|
improve some logs
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-26 23:41:56 +00:00 |
Andrea Luzzardi
|
fabe77bdde
|
Merge pull request #283 from chanwit/cleanup-zk-path
Cleanup: implement full path creation for zookeeper
|
2015-01-26 11:52:22 -08:00 |
Victor Vieux
|
3c595e96e2
|
cleanup
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-26 19:27:25 +00:00 |
Ankush Agarwal
|
b3bcab711e
|
Add error message when discovery service returns non 200
status code. Update doc for token.go/Fetch
Signed-off-by: Ankush Agarwal <ankushagarwal11@gmail.com>
|
2015-01-26 00:18:11 -08:00 |
Chanwit Kaewkasi
|
56177ef963
|
cleanup to support fullpath creation for zookeeper
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-24 16:41:52 +07:00 |
Victor Vieux
|
13b96828f2
|
update tests
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-24 01:58:51 +00:00 |
Victor Vieux
|
693fb0fcf1
|
fix panic with no port
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-24 01:42:35 +00:00 |
Victor Vieux
|
02cc59840f
|
Revert "Fixes panic when ports are not specified"
This reverts commit a916f9cde0.
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-24 01:42:15 +00:00 |
Brian Goff
|
a916f9cde0
|
Fixes panic when ports are not specified
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
|
2015-01-23 15:56:14 -05:00 |
Victor Vieux
|
1581dcff6c
|
support hostname without nodes://
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-23 10:42:20 -08:00 |
Victor Vieux
|
ecb47032bd
|
fix panics in etcd and zookeeper + add tests
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-22 19:40:24 +00:00 |
Victor Vieux
|
e9f487bcaf
|
update README.mds
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-21 22:47:31 +00:00 |
Victor Vieux
|
6e79a0e345
|
add tabs in the help
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-13 21:42:55 +00:00 |
Victor Vieux
|
f8825b644b
|
rename list to nodes
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-13 19:56:53 +00:00 |
Victor Vieux
|
7d7a8e0cba
|
add doc
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-13 19:47:36 +00:00 |
Victor Vieux
|
957fce6a6c
|
use list of IPs as a discovery
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-13 19:47:36 +00:00 |
Victor Vieux
|
a638b360ae
|
use tcp:// in doc and update copyrights
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-12 22:58:03 +00:00 |
Victor Vieux
|
a24e29de3f
|
fix test zk
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-12 22:28:59 +00:00 |
Victor Vieux
|
030c715007
|
Merge pull request #231 from chanwit/cleanup-zookeeper
Cleanup: zookeeper discovery's watcher
|
2015-01-12 14:20:34 -08:00 |
Chanwit Kaewkasi
|
03f4650ac7
|
add unit test for the cleanup
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-10 00:53:16 +07:00 |
Chanwit Kaewkasi
|
1b8166c7a5
|
callback 1 time before looping over the zookeeper's event channel
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-10 00:52:49 +07:00 |
Victor Vieux
|
429965c58d
|
ip:port, no proto or scheme
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-08 22:12:41 +00:00 |
Victor Vieux
|
d28dafa893
|
update discovery/README.md
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2015-01-08 22:11:10 +00:00 |
Chanwit Kaewkasi
|
f530d0886f
|
implement a proper zookeeper watcher
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:54 +07:00 |
Chanwit Kaewkasi
|
1e2e60806d
|
double check if someone delete /path outside swarm
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:52 +07:00 |
Chanwit Kaewkasi
|
66ff423861
|
make node registration more robust
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:50 +07:00 |
Chanwit Kaewkasi
|
de2081fa19
|
skip ErrNodeExists for node registration
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:49 +07:00 |
Chanwit Kaewkasi
|
195ba02473
|
add a unit test for zk discovery
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:48 +07:00 |
Chanwit Kaewkasi
|
3564e38d80
|
add zookeeper discovery
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
|
2015-01-08 19:34:46 +07:00 |
Andrea Luzzardi
|
6a34054e58
|
Typo: Initialise -> Initialize.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
|
2015-01-05 07:32:57 -08:00 |
Victor Vieux
|
cf42030741
|
update README.md & ROADMAP.md
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-31 00:16:54 +00:00 |
JChien
|
a94a104932
|
use consul's watch
Signed-off-by: JChien <jeffchien13@gmail.com>
|
2014-12-31 00:16:03 +00:00 |
JChien
|
6aed8aa673
|
fix style to match gofmt
Signed-off-by: JChien <jeffchien13@gmail.com>
|
2014-12-31 00:16:03 +00:00 |
JChien
|
e0461c7549
|
fix readme and remove swarm prefix
Signed-off-by: JChien <jeffchien13@gmail.com>
|
2014-12-31 00:16:03 +00:00 |
JChien
|
1a21de143f
|
add consul support as a disovery backend
Signed-off-by: JChien <jeffchien13@gmail.com>
|
2014-12-31 00:16:03 +00:00 |
Thomas Meson
|
a66d0fa684
|
documentation: fix some documentation typos
Signed-off-by: Thomas Meson <zllak@hycik.org>
|
2014-12-29 10:35:18 +01:00 |
Victor Vieux
|
c2c790e6da
|
update README.mds
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-15 23:04:00 +00:00 |
Victor Vieux
|
98015c6e62
|
remove useless create fct
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-13 01:21:38 +00:00 |
Victor Vieux
|
d6baf8bbe2
|
add a few tests
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-13 01:18:45 +00:00 |
Victor Vieux
|
e2b6f00c23
|
WatchCallback
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-13 01:04:16 +00:00 |
Victor Vieux
|
f2ca549f46
|
cleaner callback
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-12 22:49:20 +00:00 |
Victor Vieux
|
a0dd4b9fe8
|
update README.md
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-12 22:19:09 +00:00 |
Victor Vieux
|
005b5fe288
|
watch take a callback
|
2014-12-12 22:14:11 +00:00 |
Victor Vieux
|
008398cc99
|
update READMEs
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 23:32:48 +00:00 |
Victor Vieux
|
1f9eac7fd1
|
Initialize in the interface
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 23:23:10 +00:00 |
Victor Vieux
|
f95f943b4a
|
use 1.5*heartbeat as TTL in etcd
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 22:18:54 +00:00 |
Victor Vieux
|
2282fc89ef
|
add node type
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 21:59:01 +00:00 |
Victor Vieux
|
875e7c7e77
|
add discovery/README.md
|
2014-12-11 21:18:13 +00:00 |
Victor Vieux
|
c38f621425
|
add etcd
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 01:24:19 +00:00 |
Victor Vieux
|
3d39101ff7
|
allow custom url on token
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 01:24:19 +00:00 |
Victor Vieux
|
f04af68d3f
|
update file
|
2014-12-11 01:24:19 +00:00 |
Victor Vieux
|
0aeb1771bd
|
add watch interface
|
2014-12-11 01:24:19 +00:00 |
Victor Vieux
|
ef9b509d07
|
add file
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 01:24:19 +00:00 |
Victor Vieux
|
bb7f69fd9c
|
First step toward modular discoevery services
Signed-off-by: Victor Vieux <vieux@docker.com>
|
2014-12-11 01:24:19 +00:00 |
Andrea Luzzardi
|
172ca9d5aa
|
Improve formatting of discovery README.
|
2014-12-04 12:44:40 -08:00 |
Andrea Luzzardi
|
d2b6522ce9
|
Add a README file for discovery explaining the API.
|
2014-12-04 12:35:30 -08:00 |
Victor Vieux
|
ea5b048e73
|
update test name
|
2014-11-18 02:01:04 +00:00 |
Victor Vieux
|
45ca8472f1
|
add create command
|
2014-11-18 01:34:08 +00:00 |
Victor Vieux
|
a0841874c5
|
add basic discovery client
|
2014-11-17 21:46:03 +00:00 |