Commit Graph

8481 Commits

Author SHA1 Message Date
Armon Dadgar
70cdccf643 agent: Adding HTTP endpoints for ACL tokens 2017-09-04 13:04:45 -07:00
Armon Dadgar
e9efe603dd nomad: renambe PublicID to AccessorID for consistency 2017-09-04 13:04:45 -07:00
Armon Dadgar
14f7e8166f nomad: implement ACL token endpoints 2017-09-04 13:04:45 -07:00
Armon Dadgar
0c8bb531cb nomad: Add ACL Token snapshot/restore to FSM 2017-09-04 13:04:45 -07:00
Armon Dadgar
06ed48e7ba nomad: CRUD methods for ACLTokens 2017-09-04 13:04:45 -07:00
Armon Dadgar
6b346ebfb4 nomad: adding ACLToken table 2017-09-04 13:04:45 -07:00
Armon Dadgar
087752fa70 nomad: adding ACLToken struct 2017-09-04 13:04:45 -07:00
Armon Dadgar
09fb2515bd nomad: fixing state store tests due to signature mismatch 2017-09-04 13:04:44 -07:00
Armon Dadgar
d32950f4f4 nomad: Adding Validate for ACLPolicy 2017-09-04 13:04:44 -07:00
Armon Dadgar
63b709bd6b nomad: adding validation of policy name and rules 2017-09-04 13:03:15 -07:00
Armon Dadgar
6c6e85ef82 agent: Adding ACL Policy endpoints 2017-09-04 13:03:15 -07:00
Armon Dadgar
f5da71b171 Addressing @dadgar feedback 2017-09-04 13:03:15 -07:00
Armon Dadgar
4ec1cbfa86 nomad: adding upsert policy endpoint 2017-09-04 13:03:15 -07:00
Armon Dadgar
634104b017 nomad: implement policy delete endpoint 2017-09-04 13:03:15 -07:00
Armon Dadgar
c01d888a44 nomad: adding Get/List endpoints for ACL policies 2017-09-04 13:03:15 -07:00
Armon Dadgar
bae7974dfe nomad: update method signature for tests 2017-09-04 13:03:15 -07:00
Armon Dadgar
10baacd1ce Addressing @dadgar review feedback 2017-09-04 13:03:15 -07:00
Armon Dadgar
3e02e273d3 nomad: Upsert and Delete ACL policies can take a list 2017-09-04 13:03:14 -07:00
Armon Dadgar
15729bf82f nomad: adding FSM snapshot/restore of ACL policies 2017-09-04 13:03:14 -07:00
Armon Dadgar
b595a6930f nomad: Adding CRUD to state store for ACL Policies 2017-09-04 13:03:14 -07:00
Armon Dadgar
17d514a351 nomad: adding policy table to state store 2017-09-04 13:03:14 -07:00
Armon Dadgar
42cee0e52a acl: adding validation to the namespace name 2017-09-04 13:03:14 -07:00
Armon Dadgar
4def929827 acl: Adding compiled ACL object 2017-09-04 13:03:14 -07:00
Armon Dadgar
39fa8c5563 acl: Adding policy parsing with tests 2017-09-04 13:03:14 -07:00
Alex Dadgar
5506431924 Update Vagrantfile 2017-09-03 18:03:39 -07:00
Alex Dadgar
e11bc168a7 Merge pull request #3095 from hashicorp/f-update-go
Update to Go 1.9
2017-09-01 16:53:52 -07:00
Alex Dadgar
9bc4c7573c Include google compare library 2017-09-01 16:42:09 -07:00
Alex Dadgar
66195d2be1 Update to Go 1.9 2017-09-01 16:42:09 -07:00
Alex Dadgar
98b29a41a3 re-ignore generated files 2017-09-01 12:27:29 -07:00
Alex Dadgar
d3b3baccb1 fix checking of context error 2017-09-01 09:53:09 -07:00
Alex Dadgar
633dbb81d1 fix blocking query due to ctx change 2017-08-31 15:34:55 -07:00
Alex Dadgar
394567fc5e vendor go-memdb 2017-08-31 15:16:11 -07:00
Alex Dadgar
473e003b41 Merge pull request #3142 from hashicorp/f-deployment-watcher
Deployment watcher takes state store
2017-08-31 10:45:17 -07:00
Alex Dadgar
334234ebdd Remove panic from testing 2017-08-31 10:42:58 -07:00
Alex Dadgar
309303b968 Merge pull request #3146 from jolexa/patch-1
Update peers.info message for operators
2017-08-31 09:46:47 -07:00
Jeremy Olexa
8b337836d9 Update peers.info message for operators 2017-08-31 08:51:04 -05:00
Alex Dadgar
05aebbb394 Deployment watcher takes state store 2017-08-30 18:51:59 -07:00
Alex Dadgar
2a7c30b343 changelog 2017-08-30 13:36:24 -07:00
Alex Dadgar
b42eac1ddc Merge pull request #3135 from clinta/docker-log-retry
fix logging re-init
2017-08-30 13:34:47 -07:00
Alex Dadgar
ea4f1c236b Merge pull request #3137 from hashicorp/b-deployment-ordering
Sort task groups when displaying a deployment
2017-08-30 13:33:28 -07:00
Alex Dadgar
84c46cb141 Merge branch 'master' into b-deployment-ordering 2017-08-30 13:33:19 -07:00
Alex Dadgar
2f10b9f2b5 Merge pull request #3139 from hashicorp/b-copied-update
Don't merge empty update from job into task groups
2017-08-30 13:32:43 -07:00
Alex Dadgar
98bb9a212b Merge pull request #3138 from hashicorp/b-status-length
Search handles prefix longer than allowed UUIDs
2017-08-30 13:32:33 -07:00
Alex Dadgar
d1e2950173 Merge pull request #3136 from hashicorp/b-distinct-host
Allow distinct_host to have L/RTarget set
2017-08-30 13:32:20 -07:00
Alex Dadgar
d0139c05d3 changelog 2017-08-30 11:39:33 -07:00
Alex Dadgar
6723bade37 Don't merge empty update from job into task groups
This PR fixes an issue in which we would merge an update stanza from the
job into the task groups even if it was empty. This broke round
tripping a job (reading from the api and resubmitting as JSON)

Fixes https://github.com/hashicorp/nomad/issues/3132
2017-08-30 11:35:19 -07:00
Alex Dadgar
d76b5bedba changelog 2017-08-30 10:54:19 -07:00
Alex Dadgar
0583d032ee Search handles prefix longer than allowed UUIDs
This PR fixes an issue in which the Search endpoint would error if the
prefix was longer than the allowed 36 characters of a UUID.

Fixes https://github.com/hashicorp/nomad/issues/3134
2017-08-30 10:51:05 -07:00
Alex Dadgar
c06304a14f changelog 2017-08-30 10:42:57 -07:00
Alex Dadgar
0aec2c7399 Sort task groups when displaying a deployment
Fixes https://github.com/hashicorp/nomad/issues/3131
2017-08-30 10:41:34 -07:00