Commit graph

9029 commits

Author SHA1 Message Date
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 51fe1d8f73 Merge pull request #3350 from hashicorp/f-acl-status-members
Status.Members ACL enforcement
2017-10-11 16:32:25 -07:00
Michael Schurter 976ed8d4bc Merge pull request #3347 from hashicorp/docs-federated-ports
Mention network connectivity in federation guide
2017-10-11 16:28:10 -07:00
Michael Schurter 4862ea60f8 Mention network connectivity in federation guide 2017-10-11 16:27:53 -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 a238a66687 Merge pull request #3359 from hashicorp/d-ui-query-params
Document the query params across all UI pages
2017-10-11 16:20:41 -07:00
Alex Dadgar a2a543114e Merge pull request #3348 from hashicorp/f-ui
Nomad UI Command
2017-10-11 15:52:29 -07:00
Michael Lange b3d012a9f2 List query params on the API UI docs page 2017-10-11 15:49:18 -07:00
Michael Lange b270b76228 Removes extraneous search query param from the servers list page 2017-10-11 15:48:46 -07:00
Michael Lange 418fcedc13 Remove extraneous search query param from the job index page 2017-10-11 15:30:49 -07:00
Michael Schurter 116548a1d8 Merge pull request #3356 from tgross/master
update docker.auth.helper docs to note hardcoded prefix
2017-10-11 13:58:44 -07:00
Tim Gross 1c44d54842 update docker.auth.helper to note hardcoded prefix 2017-10-11 16:19:40 -04:00
Michael Schurter c60434588f Merge pull request #3355 from hashicorp/d-api-metrics-nav
Change Metrics API nav option to 'Metrics'
2017-10-11 11:05:59 -07:00
Rob Genova 593b9efbca Update api.erb 2017-10-11 11:02:52 -07:00
Michael Schurter 88df58da6e Merge pull request #3338 from hashicorp/f-acl-operator
Operator ACL enforcement
2017-10-10 17:06:28 -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 Lange 183431994e Merge pull request #3332 from hashicorp/b-ui-partial-jobs-on-nodes-view
Ensure the job name and task group name for each allocation is shown in the table
2017-10-10 14:49:26 -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 de767ffa04 Status.Members ACL enforcement
Was incorrectly checked on the HTTP API before. Moved to RPC endpoint.
2017-10-10 10:36:54 -07:00
Michael Schurter 5391896e37 Merge pull request #3346 from hashicorp/b-nil-client-panic
ForceLeave endpoint must use Server.ResolveToken
2017-10-10 10:14:31 -07:00
Michael Schurter 67ebc44eae Merge pull request #3345 from hashicorp/vendor-checkpoint-with-timeout
Updating go-checkpoint lib to have a fixed timeout
2017-10-10 09:52:17 -07:00
Alex Dadgar 6d3d0a9391 Nomad UI Command 2017-10-09 23:01:55 -07:00
Michael Schurter 180cbc4f5a Fix AgentSelf, AgentMembers, and KeyringOperations 2017-10-09 16:12:28 -07:00
Michael Schurter e50acae1a9 ForceLeave endpoint must use Server.ResolveToken
The ForceLeaveRequest endpoint may only be called on servers, but the
code was using a Client to resolve tokens. This would cause a panic when
an agent wasn't both a Server and a Client.
2017-10-09 15:49:04 -07:00
Matt McQuillan 120ab59e0e Updating go-checkpoint lib to have a fixed timeout 2017-10-09 15:23:46 -04:00
Michael Schurter 1184df7d8f Merge pull request #3336 from hashicorp/f-acl-client-agent
/v1/client/agent/* ACL enforcement
2017-10-09 12:20:26 -07:00
Michael Schurter 492c861419 /v1/client/agent/* ACL enforcement 2017-10-09 12:18:54 -07:00
Michael Schurter 48c51d3183 Merge pull request #3331 from hashicorp/f-acl-client-alloc
/v1/client/allocation/./{stats,gc} ACL enforcement
2017-10-09 12:15:30 -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 59adf93c81 Merge pull request #3328 from hashicorp/f-acl-client-fs
FS HTTP API ACL enforcement
2017-10-09 11:28:26 -07:00
Michael Schurter dce2479147 Document /v1/client/gc endpoint 2017-10-09 11:27:28 -07:00
Michael Schurter 8a125759ae Refactor as there's no need for an ACL helper 2017-10-09 11:19:25 -07:00
Michael Schurter 260b66bf52 Test all fs endpoints in a loop 2017-10-09 11:19:14 -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
Michael Schurter 44455f5e93 Merge pull request #3325 from hashicorp/f-acl-client
/v1/client/gc ACL enforcement
2017-10-09 11:01:58 -07:00
Michael Schurter 69bcfe78ba /v1/client/gc ACL enforcement 2017-10-06 14:50:16 -07:00
Michael Schurter 57ff12432b Move acl helpers from nomad/ into nomad/mock
They're useful in command/agent/ tests.
2017-10-06 14:50:06 -07:00
Michael Schurter 0c83edbceb Update go-testing-interface
Needed for T.Helper and T.Skipf
2017-10-06 14:35:14 -07:00
Michael Schurter fd9d09e290 Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
Michael Schurter 4acff9c2bd Support AnonymousACLToken in GetPolicies 2017-10-06 14:35:14 -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 Lange a9154b75f6 New test to assert that lazy loading jobs for allocation rows actually happens
Unfortunately it meant inlining the visit into each test
2017-10-05 20:11:17 -07:00
Michael Lange 4e606e435d Fixes issue regarding allocation rows
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07:00
Michael Lange 0941c7bec1 Merge pull request #3323 from hashicorp/f-ui-loading-states
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange 16c92fc1bb Merge pull request #3321 from hashicorp/f-ui-error-states
Better error state for allocation stats failure
2017-10-05 17:51:15 -07:00
Michael Lange ab72eb164f Merge pull request #3300 from hashicorp/f-ui-404-pages
404 pages for the UI
2017-10-05 15:20:18 -07:00