Commit graph

10988 commits

Author SHA1 Message Date
Chelsea Holland Komlo ae24ebebdd remove unused function 2018-03-23 09:51:27 -04:00
Michael Lange 8287fe76ac
Merge pull request #4032 from hashicorp/b-ui-namespace-breadcrumbs
UI: Namespace related bugs
2018-03-22 23:02:08 -07:00
Michael Lange 4c34a04151 Work around the dreaded broken relationship ED bug
Summary can unlink from a job when loaded in the wrong order. This
guarantees that the summary is bound to the job detail view by
falling back to the summary in the store.
2018-03-22 20:14:37 -07:00
Michael Lange 1413ed1a44 Never duplicate query params, always include query params
A couple more edge cases related to watching URLs with query params
2018-03-22 20:14:36 -07:00
Michael Lange ca98d6b0c8 Allow child adapters specify special xhr keys
This is necessary for the namespace query param
2018-03-22 20:14:36 -07:00
Michael Lange d85673d7c6 Always use the job plain id and job namespace in job links 2018-03-22 20:14:36 -07:00
Alex Dadgar 85359120d5
Merge pull request #4031 from hashicorp/f-node-driver-info
Driver Info CLI output
2018-03-22 17:20:42 -07:00
Alex Dadgar da27fc3880 Driver Info output 2018-03-22 17:18:32 -07:00
Michael Schurter a318684738
Merge pull request #4022 from hashicorp/f-more-executor-logging
executor: increase level for helpful log lines
2018-03-22 15:21:20 -07:00
Michael Schurter 0abe785b4f
Merge pull request #4021 from hashicorp/f-travis-go1.10
travis: use go 1.10.x
2018-03-22 15:18:57 -07:00
Alex Dadgar 65b3548219 Fix spelling error 2018-03-22 15:18:09 -07:00
Michael Lange 1a0d3cd32b
Merge pull request #4029 from hashicorp/f-ui-poll-for-stats
UI: Poll for allocation stats
2018-03-22 15:17:39 -07:00
Alex Dadgar e2c59129c6
Merge pull request #3874 from sepulworld/zmw/fix_vagrant_network_timeout
Fixing Vagrant box timeout issue waiting for interfaces
2018-03-22 15:02:14 -07:00
Alex Dadgar c007353b0c
Merge pull request #3888 from hashicorp/b-acl-name
Increase maximum ACL token length
2018-03-22 14:51:55 -07:00
Alex Dadgar 39987d5236
Merge branch 'master' into b-acl-name 2018-03-22 14:51:40 -07:00
Alex Dadgar a0195d8d41 remove comment 2018-03-22 14:49:08 -07:00
Michael Lange fb17a758da Poll for allocation stats 2018-03-22 14:34:57 -07:00
Michael Lange 6bf139d094 Refactor the way allocation stats are fetched
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00
Alex Dadgar bdbf456e24 changelog 2018-03-22 13:59:58 -07:00
Alex Dadgar 7192498ea9
Merge pull request #4027 from hashicorp/f-common
New Command Line Groupings
2018-03-22 13:57:37 -07:00
Alex Dadgar 3e0c75afe2
Merge pull request #4028 from hashicorp/f-checkpoint-oss
Allow separate enterprise config overlay
2018-03-22 13:53:33 -07:00
Alex Dadgar 34211f00a7 Allow separate enterprise config overlay 2018-03-22 13:53:08 -07:00
Alex Dadgar 17fc9a6283 Fix old references 2018-03-22 13:39:18 -07:00
Michael Lange 729365507f
Merge pull request #4017 from hashicorp/b-ui-error-message-for-force
Show an error message when forcing a periodic launch is forbidden
2018-03-22 11:17:14 -07:00
Michael Lange 6ac170d721
Merge pull request #4026 from hashicorp/b-ui-use-native-fetch-in-prod
UI: Use native fetch in production when available
2018-03-22 11:16:37 -07:00
Alex Dadgar c5beef9f81 aliases 2018-03-22 11:09:26 -07:00
Alex Dadgar 4f953578b5 redirects 2018-03-22 11:03:47 -07:00
Alex Dadgar 43eae87ed0 nested command docs 2018-03-22 10:56:06 -07:00
Michael Schurter 85195a1ba9 travis: use go 1.10.x 2018-03-22 09:53:16 -07:00
Michael Lange bac8511267
Merge pull request #4023 from hashicorp/b-ui-index-1
UI: The initial index qp value should be 1, not 0
2018-03-21 22:58:10 -07:00
Michael Lange d455b3cdd3 mirageEnabled alone doesn't capture whether or not mirage is enabled
Add an isProduction condition to ensure native fetch is used when
possible.
2018-03-21 22:09:10 -07:00
Alex Dadgar ee463f1a28 Grouped commands help description 2018-03-21 20:27:32 -07:00
Alex Dadgar 742382146e color 2018-03-21 20:27:32 -07:00
Alex Dadgar aa85b61fc8 Deprecated commands 2018-03-21 20:27:32 -07:00
Alex Dadgar de08c1891a aliases 2018-03-21 20:27:32 -07:00
Alex Dadgar d2af5d22e4 rename files 2018-03-21 20:27:32 -07:00
Alex Dadgar 6faa136e03 common commands 2018-03-21 20:27:32 -07:00
Alex Dadgar b5bee9e06b use subcommands 2018-03-21 20:27:32 -07:00
Alex Dadgar d7f246efe1 Drain cli, api, http 2018-03-21 20:27:32 -07:00
Michael Schurter 493d3f3db3
Merge pull request #4010 from hashicorp/f-drain-rebased2
Drain v2: add controlled draining
2018-03-21 17:12:52 -07:00
Michael Schurter a7f627e34c eligbile -> eligible 2018-03-21 16:55:22 -07:00
Michael Schurter a854c7bdae docs: improve DrainRequest.MarkEligible comment 2018-03-21 16:55:22 -07:00
Michael Schurter a7ab75d853 test: index no longer guaranteed on job list
Also switch to require and add t.Helper to appropriate funcs.
2018-03-21 16:55:22 -07:00
Michael Schurter a4f346abeb remove spurious TODOs and FIXMEs 2018-03-21 16:55:22 -07:00
Michael Schurter 9f3086a268 test: must initialize jobResults with new func 2018-03-21 16:51:45 -07:00
Michael Schurter e432c9af55 test: disable node drainer during tests
Node drainer would throw off the index checks
2018-03-21 16:51:45 -07:00
Michael Schurter 5c8c4bce2a test: disable drain during fsm test
drainer was unsetting drain before fsm could read written value
2018-03-21 16:51:45 -07:00
Michael Schurter 0e0b04afec test: fix by using mock.BatchJob 2018-03-21 16:51:45 -07:00
Michael Schurter 8b346c6176 test: try to prevent flakiness on travis 2018-03-21 16:51:45 -07:00
Michael Schurter 39cef16c73 test: don't call t.Fatal from within a goroutine 2018-03-21 16:51:45 -07:00