Leonardo Di Donato
e79be29224
chore(http): test update of scraper targets
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-08 15:57:29 +01:00
Leonardo Di Donato
4932f2aadd
chore(http): test insertion and deletion of scraper targets
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-08 15:57:29 +01:00
Leonardo Di Donato
53cadf9260
chore(http): test scraper targets listing
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-08 15:57:29 +01:00
Leonardo Di Donato
a79780e074
chore(http): test getting scraper target by id
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-08 15:57:29 +01:00
Nathaniel Cook
e482c71e03
Merge branch 'master' into flux-staging
2019-01-07 14:25:22 -07:00
kelwang
5de0e2e8d2
Merge pull request #2236 from influxdata/fix_auth_status_update_error
...
fix(bolt): fix auth status update error
2019-01-07 13:37:02 -05:00
Adam
fa35dea009
feat(query/functions/tests): end to end testing is configured to run against a live storage engine.
...
all tests use a unique bucket based on the test file name. copied all tests over from flux repo
the tests are currently disabled due to engine consistency issues: https://github.com/influxdata/flux/issues/613
2019-01-07 13:05:29 -05:00
Jade McGough
4ca3b83813
Merge pull request #2228 from influxdata/more-label-responses
...
add label responses to telegraf and buckets
2019-01-04 13:32:25 -08:00
Nathaniel Cook
4918b15f35
refactor(http/query): update http query logic for new parser API
2019-01-04 11:28:55 -07:00
Kelvin Wang
f392f1bab0
fix(bolt): fix auth status update error
2019-01-04 12:21:34 -05:00
Jade McGough
6a2554d6db
test json formatting
2019-01-03 16:46:47 -08:00
Andrew Watkins
6eca18fc4e
fix(ui/org-view): org view polish
...
* fix(ui/org-view): list actual tasks from api
* fix(ui/org-view): fix dashboard list not rendering
* fix(ui/org-view): fix bucket modal
* feat(dashboards): add updated at column
2019-01-03 16:18:14 -08:00
Jade McGough
a80a86c6c2
chore(http): add labels to bucket tests
2019-01-03 16:10:16 -08:00
Palakp41
ac7e9df407
Merge pull request #2219 from influxdata/feat/org-members-role-column
...
Update MembersList to include role column
2019-01-03 16:09:49 -08:00
Jade McGough
815795261d
feat(http): add labels to bucket responses
2019-01-03 16:02:02 -08:00
Jade McGough
910d310c20
feat(http): add labels to telegraf GET responses
2019-01-03 16:02:02 -08:00
Palak Bhojani
21eb3a26d8
Update MembersList to include role column
2019-01-03 14:39:49 -08:00
Jade McGough
7562c9a6d2
chore(http): make test diffs more readable ( #2203 )
...
* chore(http): make test diffs more readable
* fixes
* add back telegraf output spacing
* whitespace hell
* jsonEqual2 -> jsonEqual
2019-01-03 14:29:22 -08:00
Brandon Farmer
547a147d6b
Make client generation optional via ENV variable
2019-01-03 11:33:23 -08:00
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