Kelvin Wang
739d12bc00
fix(http): convert source errors
2019-01-03 11:38:01 -05:00
Michael Desa
c4c374a0b4
Merge pull request #2180 from influxdata/fix/issue#1918
...
Add support for get /api/v2/query
2019-01-03 10:43:55 -05:00
Michael Desa
cf2ba751db
feat(http): add support for get /api/v2/query
2019-01-02 14:36:16 -05:00
Jade McGough
0ddf6b3588
Label responses ( #2165 )
...
* add labels to task links
* add labels to task responses
* add failing test
* fix label POST
* make fmt
* fix dashboard tests
* update swagger
* fix task service test labels
* add labels test for dashboards http service
* pull params out of newTaskResponse
* pull params out of newDashboardResponse
* make fmt
* add labels to dashboard response in swagger
* make context first argument
* fix test formatting
2019-01-02 11:17:28 -08:00
Jade McGough
e666bef692
chore(http): remove debug statement
2019-01-01 23:38:42 -08:00
Andrew Watkins
3429e8d0c6
feat(auth): rewrite authorization service ( #2157 )
...
* feat(view-token-overlay): add view token overlay
* test(tokens): update tests
* chore(auths): rename mock data file
* feat(token-view): clicking on description opens token view modal
* feat(token-view): add ability to close overlay
* feat(token-view): display token permissions with updated permissions shape
* feat(token-view): wip update authorization and permission shapes
* feat(auth): wip refactor auth permissions
* fix(auth): generate permissions via functions
* fix(auth): make Id ID
* chore(types): update generated client
* feat(auth): wip add user and org names to auth
* fix(user): didnt save rebase
* feat(auth): WIP refactor auth
* feat(auth): check for user existence during auth creation
* feat(auth): org must exist during auth creation
* fix(auth): pluralize telegrafs resource type
* docs(http): update swagger definition for the Authorization
* test(auth): fix broken tests
* docs(swagger): update cur_swagger Authrorizations
* fix(api): remove trace from cur_swag
* test(ui/token): update components with new generated type definitions
* feat(http): add lookup service adding names for permissions
* fix(http): remove debugging panics
* chore: go tidy
* fix: unsaved rebase
* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Michael Desa
4c60eacb58
chore(platform): cleanup, document, and use secret service
...
fix(http): add members/secrets/labels links on org response
fix(http:cmd/influxd): use secret service in api backend
fix(bolt): return empty list if there are no secrets for an org
chore(vault): add description of vault usage
2018-12-28 11:11:21 -05:00
Delmer
efdb373868
Feat/manage labels ( #2082 )
...
feat(ui): add labels to org page
2018-12-27 13:19:07 -05:00
Chris Goller
96fb4a6072
fix(http): rename piging_test to paging_test
2018-12-27 09:48:20 -06:00
zhulongcheng
f3bf670706
rename msg to message for platform.Error json
2018-12-27 10:34:00 +08:00
kelwang
364b56f4fa
Merge pull request #2130 from influxdata/convert_write_errors
...
fix(http): convert write endpoint error
2018-12-26 16:43:01 -05:00
Chris Goller
eb48eb6317
Merge pull request #2142 from zhulongcheng/custom-404
...
fix(http): replace default-404 handler with custom-404 handler
2018-12-26 15:17:55 -06:00
Chris Goller
4f38c8cad9
feat(http): add accept parsing for telegraf
2018-12-26 12:23:59 -06:00
zhulongcheng
7ce8237d29
replace default-404 handler with custom-404 handler
2018-12-25 10:35:36 +08:00
zhulongcheng
e73d4fc637
add MethodNotAllowed handler
2018-12-23 15:55:45 +08:00
Kelvin Wang
ddaa602014
fix(http): convert write endpoint error
2018-12-21 20:19:30 -05:00
kelwang
94b7c3cea0
Merge pull request #2128 from influxdata/move_time_telegraf_service
...
fix(platform): remove creator and time
2018-12-21 20:13:35 -05:00
AJ Bond
941e7526c0
fix(http): Fix developer mode default
...
Developer mode is now passed to assets
closes #2050
2018-12-21 16:33:04 -05:00
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
Kelvin Wang
003561148d
fix(platform): remove creator and time
2018-12-21 11:05:55 -05: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
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
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
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
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
Jade McGough
3ee90eefc2
Merge pull request #2085 from influxdata/label-properties
...
Label properties
2018-12-20 14:16:51 -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
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
1a10ae701a
remove colors from labels
2018-12-20 12:18:03 -08:00