open-nomad/command/agent
Tim Gross 22e77bb03c
mrd: remove redundant validation in HTTP endpoint (#8685)
The `regionForJob` function in the HTTP job endpoint overrides the region for
multiregion jobs to `global`, which is used as a sentinel value in the
server's job endpoint to avoid re-registration loops. This changeset removes
an extraneous check that results in errors in the web UI and makes
round-tripping through the HTTP API cumbersome for all consumers.
2020-08-18 16:48:09 -04:00
..
consul consul: able to set pass/fail thresholds on consul service checks 2020-08-10 14:08:09 -05:00
event make auditor interface more explicit 2020-03-23 19:32:58 -04:00
host api: nomad debug new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
monitor unlock before returning, no need for label 2019-11-05 11:44:29 -05:00
pprof Rename profile package to pprof 2020-01-09 15:15:10 -05:00
test-resources chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
testdata implement raft multiplier 2020-05-31 12:24:27 -04:00
acl_endpoint.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_endpoint_test.go spelling: bootstrap 2018-03-11 17:43:19 +00:00
agent.go Set AgentShutdown 2020-07-17 11:04:57 -04:00
agent_endpoint.go nomad debug renamed to nomad operator debug (#8602) 2020-08-11 15:39:44 -04:00
agent_endpoint_test.go tests: deflake some SetServer related tests 2020-04-07 09:27:48 -04:00
agent_oss.go Oss license support for ent builds (#8054) 2020-05-27 13:46:52 -04:00
agent_test.go command/agent: fix dropped test error (#8504) 2020-07-22 15:06:35 -04:00
alloc_endpoint.go fixup! backend: support WS authentication handshake in alloc/exec 2020-04-03 14:20:31 -04:00
alloc_endpoint_test.go backend: support WS authentication handshake in alloc/exec 2020-04-03 11:18:54 -04:00
bindata_assetfs.go Generate files for 0.12.2 release 2020-08-12 00:50:49 +00:00
command.go Refactor setupLoggers 2020-07-17 11:05:57 -04:00
command_test.go refactored config validation into a new method, modified Meta.Client 2019-01-08 15:07:36 +00:00
config.go docs: add CNI and host_network docs (#8391) 2020-07-08 15:45:04 -04:00
config_oss.go removes pro tags (#8014) 2020-05-28 15:40:17 -04:00
config_parse.go multi-interface network support 2020-06-19 09:42:10 -04:00
config_parse_test.go implement raft multiplier 2020-05-31 12:24:27 -04:00
config_test.go implement raft multiplier 2020-05-31 12:24:27 -04:00
csi_endpoint.go command/agent/csi_endpoint: explicit allocations (#8669) 2020-08-13 15:48:08 -04:00
csi_endpoint_test.go fix panic converting structs to API in CSI endpoint (#8659) 2020-08-12 15:59:10 -04:00
deployment_endpoint.go use constants from http package 2020-06-17 11:04:02 -04:00
deployment_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go spelling: output 2018-03-11 18:35:30 +00:00
fs_endpoint.go fixup! vendor: explicit use of hashicorp/go-msgpack 2020-03-31 09:48:07 -04:00
fs_endpoint_test.go test: assert fs endpoints are xss safe 2020-03-25 09:45:43 -04:00
helpers.go client: expose task state to client 2018-10-16 16:56:55 -07:00
helpers_test.go test: fix missing agent shutdowns 2020-02-07 15:50:53 -08:00
http.go api: nomad debug new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
http_oss.go hcl fmt from editor 2020-04-30 14:46:18 -04:00
http_stdlog.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_stdlog_test.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_test.go api: return custom error if API attempts to decode empty body. 2020-05-19 15:46:31 +02:00
job_endpoint.go mrd: remove redundant validation in HTTP endpoint (#8685) 2020-08-18 16:48:09 -04:00
job_endpoint_test.go consul: able to set pass/fail thresholds on consul service checks 2020-08-10 14:08:09 -05:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
log_file.go logging: Correctly track number of written bytes 2019-10-10 14:02:14 +02:00
log_file_test.go logging: Sort files when pruning old logs 2019-10-10 13:51:16 +02:00
log_levels.go Support for hot reloading log levels 2019-07-24 13:37:08 +02:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go agent + consul 2018-09-13 10:43:40 -07:00
metrics_endpoint_test.go test: fix flaky TestHTTP_FreshClientAllocMetrics 2020-02-07 15:50:53 -08:00
node_endpoint.go take NodeID from url in api for node eligibility 2019-07-15 18:34:53 +03:00
node_endpoint_test.go tests: remove TestHTTP_NodeDrain_Compat 2020-03-30 07:06:52 -04:00
operator_endpoint.go basic snapshot restore 2020-06-07 15:46:23 -04:00
operator_endpoint_test.go basic snapshot restore 2020-06-07 15:46:23 -04:00
plugins.go move pluginutils -> helper/pluginutils 2019-01-22 15:50:08 -08:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
retry_join.go agent + consul 2018-09-13 10:43:40 -07:00
retry_join_test.go agent + consul 2018-09-13 10:43:40 -07:00
scaling_endpoint.go changes to make sure that Max is present and valid, to improve error messages 2020-07-04 19:05:50 +00:00
scaling_endpoint_test.go fixed http endpoints for job.register and job.scalestatus 2020-03-24 13:57:16 +00:00
search_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
search_endpoint_test.go add deployments to search api 2017-08-21 15:20:55 +00:00
stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
stats_endpoint_test.go Fix failing test TestClientStatusRequest 2018-05-30 15:11:54 -05:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go sync 2017-09-19 10:08:23 -05:00
syslog.go goimports 2019-01-22 15:44:31 -08:00
syslog_test.go goimports 2019-01-22 15:44:31 -08:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go tests: make testagent shutdown idempotent 2020-07-03 09:16:01 -04:00
testagent_oss.go allow test to check if server is enterprise 2020-04-30 14:46:21 -04:00
testingutils_test.go command/agent: Prune Dead Code (#6682) 2019-11-13 08:20:01 -05:00