Frank Schroeder
b05a875119
agent: refactor tests for TestAgent
...
Refactored tests that use
* makeAgentXXX
* makeDNSServerXXX
* makeHTTPServerXXX
2017-05-31 00:29:23 +02:00
Frank Schroeder
2e829f8917
agent: add TestAgent to replace other mechanisms
...
TestAgent will replace the following mechanisms to
start test agents in subsequent requests:
* makeAgentXXX
* makeDNSServerXXX
* makeHTTPServerXXX
* testServer
* httpTest
2017-05-31 00:29:23 +02:00
Frank Schroeder
76fbe43f56
agent: simplify agent creation
...
This patch creates an agent with just a config struct
and allows for other fields to be set as required.
2017-05-31 00:29:23 +02:00
Frank Schroeder
8d9f5b9a64
agent: move http/dns endpoints into agent
...
Move the HTTP and DNS endpoints into the agent and control
their lifespan via the agent.
This removes the requirement to manage HTTP and DNS servers
indpendent of the agent since the agent is mostly useless
without an endpoint and the endpoints without the agent.
2017-05-31 00:29:23 +02:00
Frank Schroeder
b2670b2d59
agent: fix comment
2017-05-31 00:29:22 +02:00
Frank Schroeder
efeb7d8535
agent: simplify socket address helper
2017-05-31 00:29:22 +02:00
Frank Schroeder
ab1a94977d
agent: replace goto with local function
2017-05-31 00:29:22 +02:00
Frank Schroeder
242ad8bb3a
agent: inline uiDir field
...
uiDir can be inlined as agent.config.UIDir
2017-05-31 00:29:22 +02:00
Frank Schroeder
bc657da280
agent: drop logOutput parameter
...
agent.logOutput is identical to logOutput
2017-05-31 00:29:22 +02:00
Frank Schroeder
3a9f867b9b
agent: drop config argument
...
agent.config and config are identical.
2017-05-31 00:29:22 +02:00
Frank Schroeder
0f67ea550e
test: shutdown server properly
2017-05-31 00:29:22 +02:00
Frank Schroeder
111e197462
test: sanitize temp dir names since subtest names have slashes
2017-05-31 00:29:22 +02:00
Frank Schroeder
5f1bd2aec0
test: capture stderr in test.log
2017-05-31 00:29:18 +02:00
Kyle Havlovitz
35f7e3cbe0
Update CHANGELOG.md
2017-05-30 08:52:51 -07:00
Kyle Havlovitz
e196576c07
Add settings for upshifting to encrypted gossip ( #3079 )
2017-05-30 08:51:37 -07:00
James Phillips
14d5a0dfeb
Removes an obsolete endpoints document.
2017-05-26 10:33:01 -07:00
James Phillips
8ea5a3f791
Removes obsolete agent API documentation.
2017-05-26 10:24:45 -07:00
Kyle Havlovitz
e3a32b9c80
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
f2ce5bd786
Update CHANGELOG.md
2017-05-25 22:05:37 -07:00
James Phillips
bd975c3d22
Update CHANGELOG.md
2017-05-25 22:05:25 -07:00
James Phillips
ede276d66b
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
3cce06fd38
Pulls in Serf logger fix.
2017-05-25 22:02:09 -07:00
Jared Wasinger
7d006ba4ed
Prevent Session.Destroy from leaving open TCP connections
2017-05-25 20:51:27 -07:00
James Phillips
db5be4b76b
Prevents bad coordinates and cleans them up in the database.
2017-05-25 17:37:16 -07:00
James Phillips
0a8a78833e
Updates Serf to pick up small fixes and coordinate NaN/Inf defenses.
2017-05-25 16:16:37 -07:00
James Phillips
1f8248cca0
Update CHANGELOG.md
2017-05-24 20:57:11 -07:00
James Phillips
a15e559932
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
bf578807f4
Bumps Go version to 1.8.3.
2017-05-24 19:35:01 -07:00
Kyle Havlovitz
6092d2c2cc
Don't overwrite Transport's TLS config if it's been set
2017-05-24 13:45:19 -07:00
Kyle Havlovitz
32068f7025
Remove superfluous default HttpClient check in NewClient
2017-05-24 11:40:21 -07:00
Frank Schroeder
2a5fa52db0
Update CHANGELOG.md
2017-05-24 11:11:21 +02:00
Frank Schroeder
dd7198e7de
doc: update comments and run goimports
2017-05-24 10:20:28 +02:00
Michael Leow
ec81c18006
agent: add RetryJoin support for Azure
...
Pull #2978 from leowmjw/develop
Resolves #2978
2017-05-24 10:15:38 +02:00
Michael Leow
37e159df63
vendor: add github.com/Azure/azure-sdk-for-go
2017-05-24 10:15:38 +02:00
Michael Leow
447413bf99
vendor: add github.com/Azure/go-autorest/autorest/to
2017-05-24 10:15:38 +02:00
Michael Leow
bdaf9d6ba9
vendor: add github.com/Azure/go-autorest/autorest/validation
2017-05-24 10:15:37 +02:00
Michael Leow
b6d6582acc
vendor: add github.com/Azure/go-autorest/autorest/azure
2017-05-24 10:15:37 +02:00
Michael Leow
f2ff7510f3
vendor: add github.com/Azure/go-autorest/autorest/date
2017-05-24 10:15:37 +02:00
Michael Leow
ea6dea1dff
vendor: add github.com/Azure/go-autorest/autorest
2017-05-24 10:15:37 +02:00
Michael Leow
6a3524deb4
vendor: add github.com/dgijalva/jwt-go
2017-05-24 10:15:37 +02:00
James Phillips
4ee2d7ec3e
Update CHANGELOG.md
2017-05-23 16:54:49 -07:00
James Phillips
6d91c40e10
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
6037c3c016
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
39aeb5e520
vendor: remove github.com/hashicorp/scada-client
2017-05-22 11:07:46 +02:00
James Phillips
10b185a52c
Merge pull request #3062 from kopaka/patch-1
...
Spelling Error
2017-05-20 13:07:30 -04:00
Scott Pynn
ad60a369f8
Spelling Error
...
`Sample Respons` should be `Sample Response`.
2017-05-19 15:15:27 -04:00
James Phillips
b2e44ed51b
Update CHANGELOG.md
2017-05-18 10:29:51 -04:00
James Phillips
62ee3435e8
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
14b2bcb29a
Update CHANGELOG.md
2017-05-18 10:27:06 -04:00
James Phillips
759e93122f
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