Commit Graph

6005 Commits

Author SHA1 Message Date
Frank Schroeder 1d5b56eec1
test: shutdown server properly 2017-05-31 00:29:22 +02:00
Frank Schroeder eded493206
test: sanitize temp dir names since subtest names have slashes 2017-05-31 00:29:22 +02:00
Frank Schroeder 2a39c480b9
test: capture stderr in test.log 2017-05-31 00:29:18 +02:00
Kyle Havlovitz eea8f4ce75 Update CHANGELOG.md 2017-05-30 08:52:51 -07:00
Kyle Havlovitz 62f72f104c Add settings for upshifting to encrypted gossip (#3079) 2017-05-30 08:51:37 -07:00
James Phillips ece6df8385 Removes an obsolete endpoints document. 2017-05-26 10:33:01 -07:00
James Phillips 385c9522b3 Removes obsolete agent API documentation. 2017-05-26 10:24:45 -07:00
Kyle Havlovitz c897d851aa Merge pull request #3072 from hashicorp/api-httpclient
Tweaks to api's TLS logic in NewClient
2017-05-26 09:11:20 -07:00
James Phillips 8d00db4836 Update CHANGELOG.md 2017-05-25 22:05:37 -07:00
James Phillips 6b5b1bd404 Update CHANGELOG.md 2017-05-25 22:05:25 -07:00
James Phillips 4109e563c2 Merge pull request #3076 from hashicorp/reject-nan
Adds defensive checks for NaN and Inf values in network coordinates.
2017-05-25 22:03:01 -07:00
James Phillips 1021a62ddc
Pulls in Serf logger fix. 2017-05-25 22:02:09 -07:00
Jared Wasinger d2ef61d079 Prevent Session.Destroy from leaving open TCP connections 2017-05-25 20:51:27 -07:00
James Phillips 7a5626230e
Prevents bad coordinates and cleans them up in the database. 2017-05-25 17:37:16 -07:00
James Phillips 9aba84eb1e
Updates Serf to pick up small fixes and coordinate NaN/Inf defenses. 2017-05-25 16:16:37 -07:00
James Phillips 7d2b473101 Update CHANGELOG.md 2017-05-24 20:57:11 -07:00
James Phillips 0e8bafe5db Merge pull request #3074 from hashicorp/go-1.8.3
Bumps Go version to 1.8.3.
2017-05-24 20:56:03 -07:00
James Phillips a9627470f7
Bumps Go version to 1.8.3. 2017-05-24 19:35:01 -07:00
Kyle Havlovitz 4e44db87e3
Don't overwrite Transport's TLS config if it's been set 2017-05-24 13:45:19 -07:00
Kyle Havlovitz 04f1ff78f8 Remove superfluous default HttpClient check in NewClient 2017-05-24 11:40:21 -07:00
Frank Schroeder d3153a2369
Update CHANGELOG.md 2017-05-24 11:11:21 +02:00
Frank Schroeder 91c5c9a2d0
doc: update comments and run goimports 2017-05-24 10:20:28 +02:00
Michael Leow deb206b7d7
agent: add RetryJoin support for Azure
Pull #2978 from leowmjw/develop

Resolves #2978
2017-05-24 10:15:38 +02:00
Michael Leow c770d7ef96
vendor: add github.com/Azure/azure-sdk-for-go 2017-05-24 10:15:38 +02:00
Michael Leow 21a12eb50d
vendor: add github.com/Azure/go-autorest/autorest/to 2017-05-24 10:15:38 +02:00
Michael Leow 0b407929a1
vendor: add github.com/Azure/go-autorest/autorest/validation 2017-05-24 10:15:37 +02:00
Michael Leow cbefe75b94
vendor: add github.com/Azure/go-autorest/autorest/azure 2017-05-24 10:15:37 +02:00
Michael Leow c28893f491
vendor: add github.com/Azure/go-autorest/autorest/date 2017-05-24 10:15:37 +02:00
Michael Leow 20c149873b
vendor: add github.com/Azure/go-autorest/autorest 2017-05-24 10:15:37 +02:00
Michael Leow 9d5a016494
vendor: add github.com/dgijalva/jwt-go 2017-05-24 10:15:37 +02:00
James Phillips fa6bd6dab9 Update CHANGELOG.md 2017-05-23 16:54:49 -07:00
James Phillips 641beb1df5 Merge pull request #3068 from sean-/f-vendor-sockaddr-update
Update hashicorp/go-sockaddr to the latest version.
2017-05-23 16:52:49 -07:00
Sean Chittenden 41fe2e79cf
Update hashicorp/go-sockaddr to the latest version.
* Adds plural IP helpers (e.g. `GetPrivateIPs`, `GetPublicIPs`)
  hashicorp/go-sockaddr#11
* Adds subnet math hashicorp/go-sockaddr#8
* Fixes helper functions for dual-homed hosts hashicorp/go-sockaddr#10)
2017-05-23 16:47:17 -07:00
Frank Schroeder b36f56dc8e vendor: remove github.com/hashicorp/scada-client 2017-05-22 11:07:46 +02:00
James Phillips 700c28793e Merge pull request #3062 from kopaka/patch-1
Spelling Error
2017-05-20 13:07:30 -04:00
Scott Pynn ce67c61f9f Spelling Error
`Sample Respons` should be `Sample Response`.
2017-05-19 15:15:27 -04:00
James Phillips f9d27d2732 Update CHANGELOG.md 2017-05-18 10:29:51 -04:00
James Phillips 9843c2e872 Merge pull request #2812 from naaaargle/master
UI Improvement: Add sticky scroll to side panel
2017-05-18 10:28:28 -04:00
James Phillips 816f34c217 Update CHANGELOG.md 2017-05-18 10:27:06 -04:00
James Phillips 9aa232ea2e Merge pull request #2901 from deckarep/consul-ensure-exit-non-zero-on-timeout
Ensure to exit with a non-zero status code when a timeout and all jobs are not completed.
2017-05-18 10:25:50 -04:00
Frank Schroeder df91388b7b
website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00
Frank Schroeder 6c02d380af
Update CHANGELOG.md 2017-05-17 20:23:09 +02:00
Frank Schroeder ba8b438abd
website: fix typo 2017-05-17 20:22:00 +02:00
Frank Schroeder 8ad66f4bea
agent: support custom check id and name
This patch adds support for a custom check id and name when
registering a service.

This is achieved by adding a CheckID and a Name field to the
CheckType structure which is used to register checks with a
service and when returning health check definitions.

CheckDefinition is a superset of CheckType which duplicates
some of the fields of CheckType. This patch decouples these
two structures by removing the embedding of CheckType in
CheckDefinition.

Fixes #3047
2017-05-17 20:17:08 +02:00
Frank Schroeder ad40a855bd agent: move isAddrANY to separate package 2017-05-15 22:44:43 +02:00
Frank Schroeder e2c37b47ee agent: Replace client/server with delegate interface
This patch adds a new internal interface clientServer
which defines the common methods of consul.Client and
consul.Server. This allows to replace the following
code

    if a.server != nil {
        a.server.do()
    } else {
        a.client.do()
    }

with

    a.delegate.do()

In case a specific type is required a type check can
be performed:

    if srv, ok := a.delegate.(*consul.Server); ok {
        srv.doSrv()
    }
2017-05-15 18:35:38 +02:00
Frank Schroeder 9b1bd5197b
Update CHANGELOG.md 2017-05-15 17:53:30 +02:00
Frank Schroeder 41f01a0cfc agent: allow "::" as IPv6 bind address
Fixes #2285
2017-05-15 17:51:33 +02:00
Frank Schroeder 437222fbe7 build: make linux/arm64 package
Fixes #3042
2017-05-15 17:27:42 +02:00
Frank Schroeder 4edd1dcba2 test: fix go vet issue 2017-05-12 22:12:47 +02:00