Preetha Appan
47c039cbbe
Disables verbose mode in travis
2018-02-20 18:38:18 -06:00
Alex Dadgar
6a96b824f3
Merge pull request #3892 from hashicorp/f-tunnel
...
Client RPC Endpoints, Server Routing and Streaming RPCs
2018-02-20 16:35:42 -08:00
Alex Dadgar
42a920a0d0
Merge pull request #3877 from hashicorp/f-tls
...
Add TLS to streaming RPCs
2018-02-20 16:09:45 -08:00
Charlie Voiselle
ff7d3c36dd
Merge pull request #3867 from c4milo/patch-1
...
docs: Fix a very small typo
2018-02-20 10:11:22 -05:00
Charlie Voiselle
d6e43b5e4f
Merge pull request #3887 from johncowen/d-metrics-404-link
...
Fix erroneous metrics link + code block typo on the metrics page
2018-02-20 10:10:48 -05:00
John Cowen
8ea2d8390b
Fix erroneous metrics link + code block typo on the metrics page
2018-02-20 15:00:56 +00:00
Alex Dadgar
4abacc52cd
Show HTTP request method
2018-02-16 15:55:26 -08:00
Alex Dadgar
cfd02bca80
vet
2018-02-15 17:08:58 -08:00
Alex Dadgar
efa8bc0615
Fix original client server list behavior
2018-02-15 16:04:53 -08:00
Alex Dadgar
3be99406dd
remove tmp file
2018-02-15 15:51:27 -08:00
Alex Dadgar
dcb13d2748
Fix autopilot tests
2018-02-15 15:48:32 -08:00
Alex Dadgar
61ac63ea5a
fix unknown rpc tests
2018-02-15 15:29:31 -08:00
Alex Dadgar
f062c93e95
Client tls
2018-02-15 15:22:57 -08:00
Alex Dadgar
153d1e5960
Server TLS
2018-02-15 15:03:12 -08:00
Alex Dadgar
c4ef9a2958
doc improvements
2018-02-15 13:59:03 -08:00
Alex Dadgar
d47129f684
add logging
2018-02-15 13:59:03 -08:00
Alex Dadgar
aef31b775c
improve test
2018-02-15 13:59:03 -08:00
Alex Dadgar
fa044de37a
fix test
2018-02-15 13:59:03 -08:00
Alex Dadgar
0d001d05f3
Fix incorrect deletion of node conn
...
This PR fixes an issue where if the client has multiple connections to a
server, a single connection closing would cause the routing to the node
to be lost.
2018-02-15 13:59:03 -08:00
Alex Dadgar
dab5dc70e1
allow setting timeout on any api config
2018-02-15 13:59:03 -08:00
Alex Dadgar
2a2e1838ee
Update client2.hcl
2018-02-15 13:59:03 -08:00
Alex Dadgar
4f2725bb98
Enhance API pkg to utilize Server's Client Tunnel
...
This PR enhances the API package by having client only RPCs route
through the server when they are low cost and for filesystem access to
first attempt a direct connection to the node and then falling back to
a server routed request.
2018-02-15 13:59:03 -08:00
Alex Dadgar
de727a6eed
fix flaky gc tests
2018-02-15 13:59:03 -08:00
Alex Dadgar
4f332ff1c2
feedback and rebasing
2018-02-15 13:59:03 -08:00
Alex Dadgar
e05cd42063
Use helper for forwarding
2018-02-15 13:59:03 -08:00
Alex Dadgar
0fb2b5c3f3
HTTP agent
2018-02-15 13:59:03 -08:00
Alex Dadgar
349485028c
Server side impl + touch ups
2018-02-15 13:59:02 -08:00
Alex Dadgar
ce37deebf4
client implementation of alloc gc and stats
2018-02-15 13:59:02 -08:00
Alex Dadgar
4ac1e25478
Refactor determining the handler for a node id call
2018-02-15 13:59:02 -08:00
Alex Dadgar
a80ef65291
Code review feedback
2018-02-15 13:59:02 -08:00
Alex Dadgar
b0d0359b59
clarify force
2018-02-15 13:59:02 -08:00
Alex Dadgar
ff79fbcec8
Streaming helper
2018-02-15 13:59:02 -08:00
Alex Dadgar
3e4108634a
Respond to comments
2018-02-15 13:59:02 -08:00
Alex Dadgar
715006a52f
Document server handling of client endpoints
...
This PR adds API documentation noting the change in 0.8 where servers
can handle client endpoints and annotated the endpoints that now have an
optional parameter to specify the node_id.
2018-02-15 13:59:02 -08:00
Alex Dadgar
99c0bdf9d7
Implement MultiplexV2 RPC handling
...
Implements and tests the V2 multiplexer. This will not be used until
several versions of Nomad have been released to mitigate upgrade
concerns.
2018-02-15 13:59:02 -08:00
Alex Dadgar
0706f4e86f
Add Streaming RPC ack
...
This PR introduces an ack allowing the receiving end of the streaming
RPC to return any error that may have occured during the establishment
of the streaming RPC.
2018-02-15 13:59:02 -08:00
Alex Dadgar
ac1a0de833
remove changes to the demo clients
2018-02-15 13:59:02 -08:00
Alex Dadgar
3cbd7e8376
vet
2018-02-15 13:59:02 -08:00
Alex Dadgar
b257812c22
move error
2018-02-15 13:59:02 -08:00
Alex Dadgar
d77b36698c
HTTP and tests
2018-02-15 13:59:02 -08:00
Alex Dadgar
b9541140c2
Server implementation of stream
2018-02-15 13:59:02 -08:00
Alex Dadgar
69dc065366
Client implementation of stream
2018-02-15 13:59:02 -08:00
Alex Dadgar
a1eff9dda6
Server stat/list impl
2018-02-15 13:59:02 -08:00
Alex Dadgar
3c689ba97f
Client Stat/List impl
2018-02-15 13:59:02 -08:00
Alex Dadgar
7e5a30d5ae
Agent logs
2018-02-15 13:59:02 -08:00
Alex Dadgar
c76b311d06
client tests
2018-02-15 13:59:02 -08:00
Alex Dadgar
a9ed7a86e4
Server tests of logs
2018-02-15 13:59:02 -08:00
Alex Dadgar
c677cf8cf5
Forwarding
2018-02-15 13:59:02 -08:00
Alex Dadgar
8e557c9b2a
Refactor client RPCs from server
2018-02-15 13:59:02 -08:00
Alex Dadgar
2b6a7ebd0d
Remove logging
2018-02-15 13:59:01 -08:00