Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client RPC Endpoints, Server Routing and Streaming RPCs #3892

Merged
merged 80 commits into from
Feb 21, 2018
Merged

Commits on Feb 15, 2018

  1. Configuration menu
    Copy the full SHA
    aaf883b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96587f2 View commit details
    Browse the repository at this point in the history
  3. Improve TLS cluster testing

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    4c9caff View commit details
    Browse the repository at this point in the history
  4. Track client connections

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    052639e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9be9847 View commit details
    Browse the repository at this point in the history
  6. Conn Pool can emit new connections to listeners.

    This PR enables the client to listen for new connections and then bind
    an RPC listener to each connection in an upcoming PR.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    9680e79 View commit details
    Browse the repository at this point in the history
  7. Pull inmem codec to helper

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    0b6e4e2 View commit details
    Browse the repository at this point in the history
  8. Stats Endpoint

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    ddee97c View commit details
    Browse the repository at this point in the history
  9. RPC Listener

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    784f68e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    298b1c4 View commit details
    Browse the repository at this point in the history
  11. Add testing interfaces

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    1611fe5 View commit details
    Browse the repository at this point in the history
  12. Refactor

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d15bb76 View commit details
    Browse the repository at this point in the history
  13. Test RPC from server

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    9c570da View commit details
    Browse the repository at this point in the history
  14. Test http

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    c9ddf89 View commit details
    Browse the repository at this point in the history
  15. Use nomad UUID

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    1d9b252 View commit details
    Browse the repository at this point in the history
  16. Remove testing

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    a6baf71 View commit details
    Browse the repository at this point in the history
  17. Store connection time

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    96c3543 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    61eaa10 View commit details
    Browse the repository at this point in the history
  19. Forwarding

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    5c6b6b8 View commit details
    Browse the repository at this point in the history
  20. code review

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    13e4564 View commit details
    Browse the repository at this point in the history
  21. use server manager

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    b97b44a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0a047bb View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5c1ba8f View commit details
    Browse the repository at this point in the history
  24. Plumb config

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    6860037 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5618fd4 View commit details
    Browse the repository at this point in the history
  26. Unjankify the pkg

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    fa6c90a View commit details
    Browse the repository at this point in the history
  27. Fix lint/comments

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    eade7ff View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e2d1ce8 View commit details
    Browse the repository at this point in the history
  29. fix lint

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    ebce3f9 View commit details
    Browse the repository at this point in the history
  30. Remove circular dependency

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    496ab5f View commit details
    Browse the repository at this point in the history
  31. Use in-mem rpc

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    e69506a View commit details
    Browse the repository at this point in the history
  32. wip fs endpoint

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    70ff5af View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c0e01d8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5e7a1a4 View commit details
    Browse the repository at this point in the history
  35. Server streaming

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d9722fa View commit details
    Browse the repository at this point in the history
  36. test stream framer

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    9d479f3 View commit details
    Browse the repository at this point in the history
  37. Remove logging

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    2b6a7eb View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    8e557c9 View commit details
    Browse the repository at this point in the history
  39. Forwarding

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    c677cf8 View commit details
    Browse the repository at this point in the history
  40. Server tests of logs

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    a9ed7a8 View commit details
    Browse the repository at this point in the history
  41. client tests

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    c76b311 View commit details
    Browse the repository at this point in the history
  42. Agent logs

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    7e5a30d View commit details
    Browse the repository at this point in the history
  43. Client Stat/List impl

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3c689ba View commit details
    Browse the repository at this point in the history
  44. Server stat/list impl

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    a1eff9d View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    69dc065 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    b954114 View commit details
    Browse the repository at this point in the history
  47. HTTP and tests

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d77b366 View commit details
    Browse the repository at this point in the history
  48. move error

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    b257812 View commit details
    Browse the repository at this point in the history
  49. vet

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3cbd7e8 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ac1a0de View commit details
    Browse the repository at this point in the history
  51. 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.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    0706f4e View commit details
    Browse the repository at this point in the history
  52. 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.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    99c0bdf View commit details
    Browse the repository at this point in the history
  53. 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.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    715006a View commit details
    Browse the repository at this point in the history
  54. Respond to comments

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3e41086 View commit details
    Browse the repository at this point in the history
  55. Streaming helper

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    ff79fbc View commit details
    Browse the repository at this point in the history
  56. clarify force

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    b0d0359 View commit details
    Browse the repository at this point in the history
  57. Code review feedback

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    a80ef65 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    4ac1e25 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    ce37dee View commit details
    Browse the repository at this point in the history
  60. Server side impl + touch ups

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3494850 View commit details
    Browse the repository at this point in the history
  61. HTTP agent

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    0fb2b5c View commit details
    Browse the repository at this point in the history
  62. Use helper for forwarding

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    e05cd42 View commit details
    Browse the repository at this point in the history
  63. feedback and rebasing

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    4f332ff View commit details
    Browse the repository at this point in the history
  64. fix flaky gc tests

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    de727a6 View commit details
    Browse the repository at this point in the history
  65. 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.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    4f2725b View commit details
    Browse the repository at this point in the history
  66. Update client2.hcl

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    2a2e183 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    dab5dc7 View commit details
    Browse the repository at this point in the history
  68. 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.
    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    0d001d0 View commit details
    Browse the repository at this point in the history
  69. fix test

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    fa044de View commit details
    Browse the repository at this point in the history
  70. improve test

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    aef31b7 View commit details
    Browse the repository at this point in the history
  71. add logging

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    d47129f View commit details
    Browse the repository at this point in the history
  72. doc improvements

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    c4ef9a2 View commit details
    Browse the repository at this point in the history
  73. Server TLS

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    153d1e5 View commit details
    Browse the repository at this point in the history
  74. Client tls

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    f062c93 View commit details
    Browse the repository at this point in the history
  75. fix unknown rpc tests

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    61ac63e View commit details
    Browse the repository at this point in the history
  76. Fix autopilot tests

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    dcb13d2 View commit details
    Browse the repository at this point in the history
  77. remove tmp file

    dadgar committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    3be9940 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. Configuration menu
    Copy the full SHA
    efa8bc0 View commit details
    Browse the repository at this point in the history
  2. vet

    dadgar committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    cfd02bc View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Merge pull request #3877 from hashicorp/f-tls

    Add TLS to streaming RPCs
    dadgar committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    42a920a View commit details
    Browse the repository at this point in the history