open-nomad/jobspec2
Luiz Aoqui 15f9d54dea
api: prevent excessice CPU load on job parse
Add new namespace ACL requirement for the /v1/jobs/parse endpoint and
return early if HCLv2 parsing fails.

The endpoint now requires the new `parse-job` ACL capability or
`submit-job`.
2022-02-09 19:51:47 -05:00
..
addrs
hclutil chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
test-fixtures Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
functions.go
hcl_conversions.go
helper_test.go
parse.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
parse_job.go
parse_map.go
parse_test.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
types.config.go hcl2: handle unquoted undefined variables (#10419) 2021-04-21 13:24:22 -04:00
types.variables.go jobspec2: ensure consistent error handling between var-file & var. 2021-09-09 11:18:11 +02:00