c7cc62ab5a
* agent: consolidate http method not allowed checks This patch uses the error handling of the http handlers to handle HTTP method not allowed errors across all available endpoints. It also adds a test for testing whether the endpoints respond with the correct status code. * agent: do not panic on metrics tests * agent: drop other tests for MethodNotAllowed * agent: align /agent/join with reality /agent/join uses PUT instead of GET as documented. * agent: align /agent/check/{fail,warn,pass} with reality /agent/check/{fail,warn,pass} uses PUT instead of GET as documented. * fix some tests * Drop more tests for method not allowed * Align TestAgent_RegisterService_InvalidAddress with reality * Changes API client join to use PUT instead of GET. * Fixes agent endpoint verbs and removes obsolete tests. * Updates the change log. |
||
---|---|---|
.. | ||
agent | ||
operator | ||
acl.html.md | ||
agent.html.md | ||
catalog.html.md | ||
coordinate.html.md | ||
event.html.md | ||
health.html.md | ||
index.html.md | ||
kv.html.md | ||
libraries-and-sdks.html.md | ||
operator.html.md | ||
query.html.md | ||
session.html.md | ||
snapshot.html.md | ||
status.html.md | ||
txn.md |