Commit Graph

13331 Commits (0e41f240f2ceaa292dfff7a4d122004e3808a9c0)

Author SHA1 Message Date
Mark Rushakoff 0e41f240f2 feat(task): support forcing a run with arbitrary timestamp
Also rename RetryAlreadyQueuedError by running:

gorename -from '"github.com/influxdata/platform/task/backend".RetryAlreadyQueuedError' -to RequestStillQueuedError

and some further manual cleanup for comments.
2018-12-21 14:37:53 -05:00
Leonardo Di Donato e2169abb1f feat(http): swagger update for authorizations post method
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 19:23:12 +01:00
Leonardo Di Donato 09dca2ff29 fix(http): check for user before creating authorization 2018-12-21 19:23:12 +01:00
Leonardo Di Donato b8153e83d1 feat(http): test an authorization for non-existing user cannot be created 2018-12-21 19:23:12 +01:00
Chris Goller d4467949aa
Merge pull request #2109 from influxdata/feat/si-time-units
feat(models): only use common SI time units for timestamp precision
2018-12-21 09:22:14 -06:00
Chris Goller 38a3e94bed
Merge pull request #2108 from influxdata/feat/flux-http-query-parameters
fix(http): change /query to use org/orgID
2018-12-21 09:20:42 -06:00
Chris Goller c0c8a90451
Merge pull request #2126 from influxdata/fix/http-tasks-param-id
fix(http): update task test to use :id
2018-12-21 09:17:16 -06:00
Chris Goller edfb323472 fix(http): update task test to use :id
Fixes merge issue from #1562
2018-12-21 09:11:57 -06:00
Chris Goller a33f3ff672 fix(http): update test to use platform.Error 2018-12-21 08:58:16 -06:00
Chris Goller 31518b7022
Merge pull request #1562 from bednar/task_service
Fixed the task id path, Added RunController instance to pAdapter
2018-12-21 08:48:01 -06:00
Chris Goller 9c01be5377
Merge pull request #2110 from zhulongcheng/panic-handler
feat(http): add panic handler
2018-12-21 08:43:20 -06:00
Chris Goller 5297d1fee9 fix(http): remove typo in test name 2018-12-21 08:40:37 -06:00
Chris Goller 088cf6e98e
Merge pull request #2111 from zhulongcheng/fix-json-decode-500
fix(http): return http 400 if request data is invalid
2018-12-21 08:38:58 -06:00
Michael Desa 158be4b599
Merge pull request #1993 from zhulongcheng/fix-user-service
fix(http): pass user service to handler New function
2018-12-21 09:37:42 -05:00
Leonardo Di Donato 45febb597c feat(http): single source health endpoint
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 15:34:24 +01:00
Leonardo Di Donato af16a87f35 fix(http): swagger for sources/<id>/health
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 15:34:24 +01:00
zhulongcheng a5ba07ae2c fix(http): return http 400 if request data is invalid 2018-12-21 18:44:18 +08:00
zhulongcheng 73a52bad6c add panic handler 2018-12-21 18:20:14 +08:00
Leonardo Di Donato e66db43f95 chore(http): simplify bucket test
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 09:56:23 +01:00
Leonardo Di Donato cc075a19d3 feat(http): session service with platform errors 2018-12-21 09:56:23 +01:00
Leonardo Di Donato 3ade9bd3a5 feat(bolt): session refactoring for platform errors 2018-12-21 09:56:23 +01:00
Leonardo Di Donato 486e25a46f feat(testing): session tests consider platform errors now 2018-12-21 09:56:23 +01:00
Leonardo Di Donato 19eb016c5f feat(session): error constants and variables 2018-12-21 09:56:23 +01:00
Chris Goller 65bf4bb383 feat(models): only use common SI time units for timestamp precision
Closes #1959
2018-12-20 22:39:24 -06:00
Chris Goller 9d0ed9020c
Merge pull request #2107 from influxdata/feat/health-pass
fix(http): health endpoint now returns pass
2018-12-20 22:18:37 -06:00
Chris Goller e3a86bbd64 fix(http): change /query to use org/orgID
Fixes: #2106
2018-12-20 22:18:09 -06:00
Chris Goller 3e1294fd8a fix(http): health endpoint now returns pass 2018-12-20 21:53:54 -06:00
Chris Goller 532a3b7294
Merge pull request #2015 from zhulongcheng/trace-span
docs(http): add OpenTracing span
2018-12-20 20:46:10 -06:00
Deniz Kusefoglu b59f71697c
Merge pull request #2092 from influxdata/import-table-graph-changes
Merge table features from 1.x, get tables to work in dashboards
2018-12-20 18:24:57 -08:00
Deniz Kusefoglu 03a21fe487 Merge table features from 1.x, get tables to work in dashboards
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-12-20 17:52:48 -08:00
Brandon Farmer ff0d2110ba
Merge pull request #2091 from influxdata/chore/generation-add-typescript-task
Add back typescript client generation task
2018-12-20 15:09:35 -08:00
Brandon Farmer 03598b8397 No longer need to convert yaml to json to generate client 2018-12-20 14:59:24 -08:00
ABond 9236fad55d
Merge pull request #2099 from influxdata/chore/goreleaser-generate
chore(ci): Run make generate
2018-12-20 17:34:01 -05:00
AJ Bond 3e81678520 chore(ci): Run make generate
gorelease must run make generate before compiling
2018-12-20 17:17:32 -05:00
Jade McGough 3ee90eefc2
Merge pull request #2085 from influxdata/label-properties
Label properties
2018-12-20 14:16:51 -08:00
Daniel Campbell b327ff7d07
More onboarding styles (#2086)
* Update styles, fix onboarding weirdness

* update tests

* update test props
2018-12-20 13:57:59 -08:00
Christopher Henn 27b3c6e87b Add “Save As” button and modal to DE
Closes #1867
Closes #1868
2018-12-20 13:54:22 -08:00
Michael Desa 5c40ecd049
Merge pull request #2090 from influxdata/fix/issue#1861
Make onboarding token description "<users name>'s token"
2018-12-20 16:54:09 -05:00
Jade McGough 59797ddee2 fix go vet 2018-12-20 13:52:35 -08:00
Brandon Farmer 4d1a7e3a28 Add back typescript client generation task 2018-12-20 13:51:08 -08:00
Michael Desa ce88906188 fix(platform): make onboarding token "<user name>'s token" 2018-12-20 16:46:21 -05:00
Jade McGough 0532d0327e update swagger 2018-12-20 13:42:12 -08:00
Jade McGough 7cf03bc1de address PR comments 2018-12-20 13:41:20 -08:00
Michael Desa a1a10e3d3a
Merge pull request #2088 from influxdata/fix/issue#1873
Update swagger doc for /api/v2/ response
2018-12-20 16:32:15 -05:00
Michael Desa dc4c2cae35 fix(http): update swagger doc for /api/v2/ response
Alphabetize the links so that additions and verifications are easier.
2018-12-20 16:25:53 -05:00
Jade McGough 39e84260a0 add property update clarification in swagger 2018-12-20 12:56:18 -08:00
Jade McGough f89a7f1f4a create label properties map and allow for patching of it 2018-12-20 12:52:48 -08:00
Christopher M. Wolff 72a0474f0a
fix(query): make databases() function embed plan.DefaultCost (#2079)
This was causing "unable to create physical plan" errors.  With this fix in place there is still an issue with with databases: influxdata/flux#583
2018-12-20 12:34:29 -08:00
Jade McGough 8740a69867 add failing tests 2018-12-20 12:27:27 -08:00
Jade McGough 1a10ae701a remove colors from labels 2018-12-20 12:18:03 -08:00