Commit Graph

3358 Commits

Author SHA1 Message Date
Derek Chiang f144d17b1c Address comments 2015-10-23 15:23:01 -07:00
Derek Chiang ab9262c656 Add a test case 2015-10-23 15:23:01 -07:00
Derek Chiang bf5cb7522f Use IndexedCoordinate instead 2015-10-23 15:23:01 -07:00
Derek Chiang d8dd8d77d4 Improve a test 2015-10-23 15:23:01 -07:00
Derek Chiang a1854a7614 Some fixes 2015-10-23 15:23:01 -07:00
Derek Chiang a338e5efe8 Fix a comment 2015-10-23 15:23:01 -07:00
Derek Chiang 98d87b5dd5 Complete logic for sending coordinates 2015-10-23 15:23:01 -07:00
Derek Chiang 8a0bb40bba Fix tests 2015-10-23 15:23:01 -07:00
Derek Chiang 9113b26286 Some fixes 2015-10-23 15:23:01 -07:00
Derek Chiang b87f122a5b Change GET API a little bit 2015-10-23 15:23:01 -07:00
Derek Chiang a9ea503c69 Adding tests and stuff 2015-10-23 15:23:01 -07:00
Derek Chiang 13f6cd376f Start adding stuff 2015-10-23 15:23:01 -07:00
Diptanu Choudhury 24ed164b51 Merge branch 'master' into f-docker-check 2015-10-23 12:57:28 -07:00
Ryan Breen 1585913fdf Merge pull request #1329 from eicca/improve-api-readme
Handle error in api README example
2015-10-23 15:30:05 -04:00
Mikhail Dyakov 01aba571a1 Handle error in api README example 2015-10-23 21:20:01 +02:00
Diptanu Choudhury 80ad971e8a Implemented Docker health checks 2015-10-22 17:48:33 -07:00
Armon Dadgar 6a350d5d19 Merge pull request #1318 from daveadams/f-http-header-token
Allow specifying Consul token in an HTTP request header
2015-10-22 13:33:47 -07:00
Seth Vargo 66977f92b0 Merge pull request #1328 from hashicorp/sethvargo/build_gox
Use gox for building
2015-10-22 15:14:42 -04:00
Seth Vargo 593452b422 Typos 2015-10-22 15:00:35 -04:00
Seth Vargo 6c528f0ff2 Use gox for building 2015-10-22 14:16:01 -04:00
Jeff Mitchell 1e3840b044 Update cleanhttp repo location 2015-10-22 14:14:22 -04:00
James Phillips 81dce36e6a Merge pull request #1327 from hashicorp/cleanhttp
Use cleanhttp to get rid of DefaultTransport
2015-10-22 08:01:55 -07:00
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport 2015-10-22 10:47:50 -04:00
James Phillips 158eabdd6f Cleans up a little whitespace with go fmt. 2015-10-20 18:41:05 -07:00
James Phillips 7601a160d7 Merge pull request #1291 from hashicorp/f-memdb
New memdb-based state store
2015-10-20 18:24:49 -07:00
James Phillips ff1eec015f Gets rid of LMDB reference in the FAQ. 2015-10-20 13:39:11 -07:00
James Phillips 785bf6678d Gets rid of error prefixing in leader.go. 2015-10-20 13:37:11 -07:00
James Phillips f3a95bf9fe Puts all restore operations into a single transaction and optimizes watches. 2015-10-19 23:06:59 -07:00
Ryan Breen b1a335d991 Merge pull request #1321 from daveadams/b-safari-ui-403
Fix #1316: Safari 403 error on k/v page of web UI
2015-10-19 23:29:11 -04:00
David Adams 75ded76e44 UI formatURL: render null token correctly
If the token argument to formatURL is null, it should be rendered as the
empty string and not the string 'null'.

Should fix #1316 in which Safari gets a 403 error when visiting the
key/value page in the web UI.
2015-10-19 22:18:19 -05:00
James Phillips 52c373bb65 Gets rid of unique constraint on sessions index in session_checks. 2015-10-19 17:41:50 -07:00
James Phillips ee52f5ebce Switches sessions over to UUIDFieldIndex. 2015-10-19 17:09:02 -07:00
James Phillips 7d1179c1eb Adds a special case for fill KVS listings to avoid a tombstone scan. 2015-10-19 16:22:27 -07:00
James Phillips 3782fc53cb Makes the iterator naming more consistent. 2015-10-19 15:51:11 -07:00
James Phillips ffe531c55f Converts sessions and ACLs over to iterators. 2015-10-19 14:56:22 -07:00
James Phillips 8371c87fd0 Converts KVS snapshot over to iterator. 2015-10-19 14:07:57 -07:00
James Phillips 503c552d28 Converts nodes, services, checks to iterators duing dumps; fixes tag drift bug.
Realized that the conversions ServiceNode <-> NodeService were incomplete in a
few places so centralized those and added some tests.
2015-10-19 13:55:35 -07:00
Ryan Breen fc6a605a88 Merge pull request #1319 from magiconair/patch-1
Add fabio - consul-aware HTTP/HTTPS lb/router
2015-10-19 13:55:40 -04:00
Frank Schröder 2e42020792 Add fabio - consul-aware HTTP/HTTPS lb/router
Hi hashicorp team,

I work at eBay in Amsterdam and I have written a zero-conf consul aware HTTP(S) load-balancer in Go which can be used instead of consul-template + haproxy/varnish/apache/nginx. It builds its routing table from host/path prefixes the services publish via tags and the service status. Once a change is detected it switches the routing table dynamically without restart. It also supports canary testing by routing N% of traffic to a variable number of instances of a service. 

	https://github.com/eBay/fabio

We're using it to run all of marktplaats.nl (> 5-10k req/sec peak) through it and parts of kijiji.it which are eBay classifieds sites in the Netherlands and Italy. 

The code has been under development for the last 5 months and runs now in production and I was able to open-source it a couple of days ago. 

consul has quickly become our state and coordination backend for our micro services architecture for multiple different platforms in several countries. We're very happy with the quality and ease-of-use of your products and I'm personally looking forward to testing nomad. 

It would be cool if you could list the project on your consul tools page. Please let me know whether it meets your standards and/or expectations for tools to be listed there. Feel free to ask questions.
2015-10-19 19:52:42 +02:00
David Adams b7bcb2a414 Add HTTP request header X-Consul-Token
Add support for an X-Consul-Token HTTP request header to specify the
token with which this request should be fulfilled. The header would have
precedence over the responding Agent's default token, but would have
lower precedence than a token specified in the query string.
2015-10-19 11:26:01 -05:00
James Phillips 4fb8d1078e Gets rid of non-idomatic "state_store" alias in FSM. 2015-10-16 14:07:48 -07:00
James Phillips a926e41c44 Merge pull request #1294 from hashicorp/edit-this-page
Add "Edit this page" link everywhere except /
2015-10-15 16:23:33 -07:00
James Phillips 8d444f2eed Ports a couple of new RPC calls to the updated codec mechanism. 2015-10-15 15:09:13 -07:00
Ryan Uber f6cbb19365 Update CHANGELOG.md 2015-10-15 15:00:41 -07:00
James Phillips 2c36c4f969 Fixes a typo. 2015-10-15 14:59:09 -07:00
James Phillips 655967d0f6 Runs go fmt after latest changes. 2015-10-15 14:59:09 -07:00
James Phillips ef5233165b Adds unit tests for new structs clone functions. 2015-10-15 14:59:09 -07:00
James Phillips a1cb9b8e62 Adds benchmarks back in to the state store. 2015-10-15 14:59:09 -07:00
James Phillips fc541fadcf Removes a todo that's no longer needed. 2015-10-15 14:59:09 -07:00
James Phillips be9f071488 Adds unit tests for the graveyard. 2015-10-15 14:59:09 -07:00