Preetha Appan
8ac05d4462
Reuse default policy structs in api, and other code review feedback
2018-01-31 16:33:00 -06:00
Kyle Havlovitz
2ccf565bf6
Refactor redundancy_zone/upgrade_version out of client meta
2018-01-29 20:03:38 -08:00
Charlie Voiselle
fb5091678b
Changed `nomad.rocks` to `localhost:4646` to align with defaults
...
Should provide cut and paste example for most users. Advanced users should be able to correct URLs to something appropriate.
2018-01-29 11:27:52 -05:00
Kyle Havlovitz
901c8791f4
Merge pull request #3670 from hashicorp/autopilot
...
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08:00
Michael Schurter
5a1fa05e40
Merge pull request #3766 from hashicorp/b-example-service-name
...
Make example service name make sense
2018-01-18 16:06:50 -08:00
Kyle Havlovitz
12ff22ea70
Merge branch 'master' into autopilot
2018-01-18 13:29:25 -08:00
Michael McCracken
6eb5732e04
website: fix example json job
...
Can't use the string syntax in json.
Also fixes typo in curl example command.
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:15:13 -08:00
Michael Schurter
9fcda9c5aa
Make example service name make sense
...
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:
https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ
Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Kyle Havlovitz
7b980c42d8
Add raft remove by id endpoint/command
2018-01-16 13:35:32 -08:00
Shantanu Gadgil
318cec8ce6
'drain' node is a POST rather than a GET
...
'drain' node is a POST rather than a GET
2018-01-12 23:35:49 +05:30
Michael Schurter
8496cc8192
Merge pull request #3685 from filipochnik/abs-path
...
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Preetha
1712b03705
Merge branch 'master' into 0.8
2018-01-03 16:06:38 -06:00
Filip Ochnik
fc99d3fc2d
Prevent absolute URLs in checks paths
2017-12-21 10:32:12 +01:00
Michael Schurter
237dc52acc
Fix missing fields in json jobspec docs
2017-12-19 16:19:40 -08:00
Kyle Havlovitz
2455a205de
Add autopilot docs
2017-12-18 14:29:41 -08:00
Kyle Havlovitz
f088446d48
Add missing exist checks and doc line
2017-12-12 10:17:16 -06:00
Thomas Bartelmess
9acfa166c0
Changed Superset to only return the resource name
...
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.
The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Chelsea Komlo
fc8f670b02
Merge pull request #3583 from neojin/update-docs-api-regions
...
update API docs for /regions endpoint
2017-11-28 10:00:31 -05:00
Chelsea Komlo
bf389ed3f3
Merge pull request #3584 from neojin/update-api-docs-client-gc
...
API docs: /client/gc returns text/plain, not json
2017-11-28 09:59:12 -05:00
Iurii Skliar
71718db753
Fix Website Docs for Periodic jobs TimeZone
2017-11-27 18:06:26 +01:00
Jin Lee
d669eb6b5c
/client/gc returns text/plain, not json
2017-11-23 10:15:33 -08:00
Jin Lee
903fc6560d
update API docs for /regions endpoint
2017-11-23 09:24:40 -08:00
Jin Lee
8b94d235d9
update API docs for /agent/self from POST to GET
2017-11-18 19:03:33 -08:00
Preetha Appan
1378ebee01
Update deployments API documentation to add clarifying sentence about rollbacks triggering only when job spec is different.
2017-11-04 09:28:27 -05:00
Preetha Appan
4c1ef55c7d
Update docs to include ModifyTime in more places where allocations are returned
2017-11-01 15:19:52 -05:00
Preetha Appan
7116487a96
Document modify time in a bunch of places
2017-11-01 15:16:38 -05:00
Diptanu Choudhury
7f8d1ae858
Changed the curl command
2017-10-26 14:19:57 -07:00
Diptanu Choudhury
42e4118f81
Added docs for the purge API
2017-10-26 14:18:34 -07:00
Alex Dadgar
fd5be6de76
Merge pull request #3395 from hashicorp/d-quota
...
Document Quotas
2017-10-16 12:41:05 -07:00
Alex Dadgar
12ff9e5da1
review feedback
2017-10-16 12:40:41 -07:00
Alex Dadgar
5172073db2
Merge branch 'master' into f-acl-cli
2017-10-16 11:29:48 -07:00
Alex Dadgar
b940175933
Update acl-tokens.html.md
2017-10-16 11:29:08 -07:00
Alex Dadgar
49248b11ef
guide
2017-10-16 11:23:18 -07:00
Michael Schurter
916682f8a0
Merge pull request #3387 from hashicorp/f-aclless-health
...
Agent Health Endpoint
2017-10-16 11:05:09 -07:00
Alex Dadgar
8540be6964
api
2017-10-15 21:15:14 -07:00
Alex Dadgar
e961e36046
quota api
2017-10-15 16:41:24 -07:00
Alex Dadgar
96ef879c24
Self token lookup
2017-10-13 16:31:46 -07:00
Alex Dadgar
377e63dc60
ListPolicies and GetPolicy work w/o management token
2017-10-13 16:31:46 -07:00
Alex Dadgar
bf88fd8dd1
quota command docs
2017-10-13 16:16:36 -07:00
Michael Schurter
c53aac9eea
Agent Health Endpoint
2017-10-13 15:37:44 -07:00
Alex Dadgar
dd3920d681
Self token lookup
2017-10-13 13:12:20 -07:00
Alex Dadgar
5d4f467519
ListPolicies and GetPolicy work w/o management token
2017-10-13 13:12:20 -07:00
Michael Schurter
e9c17c56d1
Merge pull request #3353 from hashicorp/f-acl-prefix-search
...
Prefix Search ACL enforcement
2017-10-11 20:26:03 -07:00
Michael Schurter
be69374ecd
Prefix Search ACL enforcement
2017-10-11 17:00:12 -07:00
Michael Schurter
d82db5ab45
Merge pull request #3351 from hashicorp/f-acl-system
...
System ACL enforcement
2017-10-11 16:32:50 -07:00
Michael Schurter
8c1a97765e
Merge pull request #3339 from hashicorp/f-acl-force-periodic
...
Force Periodic ACL enforcement
2017-10-11 16:26:29 -07:00
Michael Lange
b3d012a9f2
List query params on the API UI docs page
2017-10-11 15:49:18 -07:00
Michael Schurter
0d27053aab
Operator ACL enforcement
2017-10-10 15:18:19 -07:00
Michael Schurter
0cf7a3950b
Force Periodic ACL enforcement
2017-10-10 15:16:41 -07:00
Michael Schurter
4e005d4753
System ACL enforcement
...
Enforce ACL for System.GarbageCollect and System.ReconcileJobSummaries
RPC endpoints.
2017-10-10 10:53:10 -07:00
Michael Schurter
492c861419
/v1/client/agent/* ACL enforcement
2017-10-09 12:18:54 -07:00
Michael Schurter
04adc987ed
/v1/client/allocation/./{stats,gc} ACL enforcement
2017-10-09 12:13:52 -07:00
Michael Schurter
40e5a56036
Merge pull request #3329 from hashicorp/f-acl-client-stats
...
/v1/client/stats ACL enforcement
2017-10-09 12:06:43 -07:00
Michael Schurter
84d82d79bb
/v1/client/stats ACL enforcement
2017-10-09 12:02:32 -07:00
Michael Schurter
289f7d76bc
Merge pull request #3343 from hashicorp/docs-client-gc
...
Document /v1/client/gc endpoint
2017-10-09 11:49:07 -07:00
Michael Schurter
dce2479147
Document /v1/client/gc endpoint
2017-10-09 11:27:28 -07:00
Michael Schurter
a7450c8633
FS HTTP API ACL enforcement
...
ACL enforcement for the filesystem HTTP APIs on clients.
2017-10-09 11:06:34 -07:00
Chelsea Komlo
7c8a5228d4
Merge pull request #3290 from hashicorp/f-acl-job-dispatch
...
Add ACL for dispatch job
2017-10-06 13:33:21 -04:00
Michael Schurter
22169a7cd4
Eval.Allocations ACL enforcement
2017-10-03 14:57:47 -07:00
Michael Schurter
b3db8f41fd
Eval.List ACL enforcement
2017-10-03 14:57:47 -07:00
Michael Schurter
fae1be5ab2
Eval.GetEval ACL enforcement
2017-10-03 14:57:47 -07:00
Michael Schurter
bd6418aa27
Deployment.Allocations ACL enforcement
2017-10-02 15:23:29 -07:00
Michael Schurter
08c82eb00f
Deployment.List ACL enforcement
2017-10-02 15:13:56 -07:00
Michael Schurter
60a7dc3c83
Deployment.SetAllocHealth ACL enforcement
2017-10-02 15:02:18 -07:00
Michael Schurter
c9d2c62d0b
Deployment.Promote ACL enforcement
2017-10-02 14:31:58 -07:00
Michael Schurter
0409a54f19
Deployment.Pause ACL enforcement
2017-10-02 14:25:32 -07:00
Michael Schurter
b888e49df4
Deployment.Fail ACL enforcement
2017-10-02 14:23:33 -07:00
Chelsea Komlo
97e34725e1
Merge pull request #3278 from hashicorp/f-acl-job-getjob
...
Add ACL for GetJob
2017-09-29 17:44:31 -04:00
Chelsea Komlo
388cdaa2e8
Merge pull request #3272 from hashicorp/f-acl-job-stable
...
Add ACL endpoint for Job Stable
2017-09-29 17:44:09 -04:00
Alex Dadgar
b772fb650e
Merge pull request #3293 from hashicorp/f-self-token
...
Allow querying self token
2017-09-29 10:54:37 -07:00
Chelsea Komlo
3a015016cc
Merge pull request #3294 from hashicorp/f-acl-job-deregister
...
Add ACL for job deregister
2017-09-28 10:57:51 -04:00
Chelsea Komlo
c54a4f7c91
Merge pull request #3291 from hashicorp/f-acl-get-job-versions
...
Add ACL for job endpoint GetJobVersions
2017-09-28 10:35:19 -04:00
Chelsea Holland Komlo
c242ac1431
job dispatch should have dispatch policy
2017-09-28 14:28:28 +00:00
Chelsea Komlo
77ae328fbe
Merge pull request #3276 from hashicorp/f-acl-job-evaluate
...
Add read job permissions to evaluate endpoint
2017-09-27 18:01:15 -04:00
Chelsea Holland Komlo
09cd8b2792
add documnetation
2017-09-27 21:06:13 +00:00
Chelsea Komlo
d3d1bc6498
Merge pull request #3279 from hashicorp/f-acl-job-allocations
...
Add ACL to job allocations endpoint
2017-09-27 16:57:04 -04:00
Chelsea Komlo
8f1c89c721
Merge pull request #3283 from hashicorp/f-acl-job-latest-deployment
...
Add ACL to latest job api
2017-09-27 16:54:44 -04:00
Alex Dadgar
765b030bec
Fixes
2017-09-27 13:42:56 -07:00
Chelsea Holland Komlo
41c30183ee
add documentation
2017-09-27 20:23:06 +00:00
Chelsea Holland Komlo
fe226a8f87
add documentation
2017-09-27 20:20:04 +00:00
Chelsea Holland Komlo
aa026e708a
add documentation
2017-09-27 20:17:58 +00:00
Chelsea Holland Komlo
4e18d060b0
add documentation
2017-09-27 20:12:49 +00:00
Alex Dadgar
14e6026938
Allow querying self token
...
This PR allows querying self ACL token when the SecretID is for the
AccessorID in question.
2017-09-27 13:00:58 -07:00
Alex Dadgar
bed56cbb1e
Merge pull request #3292 from hashicorp/f-lint-website
...
Spell check website
2017-09-27 12:56:13 -07:00
Chelsea Holland Komlo
1bab53c9fd
acl for job deregister
2017-09-27 19:21:10 +00:00
Chelsea Komlo
b40de659a7
Merge pull request #3281 from hashicorp/f-acl-job-evaluations
...
Add ACL for Job Evaluations endpoint
2017-09-27 15:15:35 -04:00
Alex Dadgar
60111b5af7
Spell check website
2017-09-27 11:14:37 -07:00
Chelsea Holland Komlo
0db1367d43
add acl for dispatch job
2017-09-27 16:33:49 +00:00
Chelsea Holland Komlo
55c4ca187e
add acl for job deployments endpoint
2017-09-26 20:33:03 +00:00
Chelsea Holland Komlo
a7b7b3f6c6
add acl for Job Evaluations endpoint
2017-09-26 20:12:37 +00:00
Chelsea Holland Komlo
2fb7772c2c
add acl to job allocations endpoint
2017-09-26 18:01:23 +00:00
Wim Fournier
aa1a47f03c
Update metrics.html.md
...
Fix typo
2017-09-26 13:06:59 +02:00
Chelsea Holland Komlo
021dae5452
add acl documentation
2017-09-25 21:53:32 +00:00
Chelsea Holland Komlo
d9ac59f6b0
add acl for job validate endpoint
2017-09-25 17:34:02 +00:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00
Michael Lange
b85f15ead1
Merge pull request #3232 from hashicorp/d-ui-api-doc
...
Document each route in the UI for the API docs
2017-09-18 19:52:04 -05:00
Michael Schurter
f92ffe5af5
Merge pull request #3105 from hashicorp/f-876-restart-unhealthy
...
Restart unhealthy tasks
2017-09-17 19:38:32 -07:00
Michael Lange
c6e2d1722a
Document each route in the UI for the API docs
2017-09-17 18:12:15 -05:00
Chelsea Komlo
16ef183ddf
Merge pull request #3219 from hashicorp/f-acl-job-list
...
Add job list ACL
2017-09-15 19:32:34 -04:00
Chelsea Holland Komlo
6ca7a5f4db
add documentation for job list acl
2017-09-15 21:26:27 +00:00