Commit Graph

9025 Commits

Author SHA1 Message Date
Michael Lange 2340504da8 Replace simple dropdown namespace switcher with ember-power-select 2017-10-11 13:45:03 -07:00
Michael Lange 1601b0d4fd Add ember-power-select 2017-10-11 13:45:03 -07:00
Michael Lange bf8d9f05b1 Mock namespaces in mirage 2017-10-11 13:45:03 -07:00
Michael Lange ef55cb910f Make namespace a relationship of job 2017-10-11 13:45:03 -07:00
Michael Lange 7e0d526c10 Refresh the jobs model on namespace change 2017-10-11 13:45:03 -07:00
Michael Lange b43b0ba6a4 Add a namespace switcher to the gutter menu 2017-10-11 13:45:03 -07:00
Michael Lange 11f699f8da Support non-link menu items 2017-10-11 13:45:03 -07:00
Michael Lange b3312ac429 Consider the namespace query param as required for findAll 2017-10-11 13:45:03 -07:00
Michael Lange 3a0d292337 Add namespaces and active namespace to the system service 2017-10-11 13:45:03 -07:00
Michael Lange 4481e04d43 New namespaces model 2017-10-11 13:45:03 -07:00
Michael Lange 3bb0a9779c Make sure to qualify requests made outside of adapters 2017-10-11 13:45:03 -07:00
Michael Lange 9d5e1d06d2 Throw errors that cause a redirect to make debugging easier 2017-10-11 13:45:03 -07: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 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 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
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
Michael Lange e19740ce33 Simple catch-all route for 404s on pages 2017-10-05 14:39:38 -07:00
Michael Lange 2a1db3a09a Test coverage for 404s on resources 2017-10-05 14:39:37 -07:00
Michael Lange ca0b297d47 Handle allocation 404s 2017-10-05 14:39:37 -07:00
Michael Lange 9d9d66b1a7 Handle 404s for agents 2017-10-05 14:39:37 -07:00