Commit Graph

605 Commits (9ba97e844cf12ec67f91ccf4e8642c3e8245147c)

Author SHA1 Message Date
Michael Desa a3541b22d4 feat(http): allow user id to be specified explicitly on authorization
test(http): get user off of session in create authz test

fix(http): allow user id to be specified explicitly on authorization

create authorization now allows specifying user id explicitly. If no
user id is specified then we use the user id from the authorizer.

fix(http): use influxdb import

fix(http): use platform error in http auth tests

feat(cmd/influx): allow create auth command to specify user explicitly

feat(http): add org id to permissions
2019-01-14 10:20:20 -05:00
Jorge Landivar f8f1c1e7b6
Merge pull request #10954 from influxdata/feature/update_task_options
feat(tasks): update task options from api
2019-01-11 14:58:10 -06:00
kelwang 0ac9d02d64
Merge pull request #10957 from influxdata/scraper_with_write_interface
add(gather): add writer interface
2019-01-11 13:51:26 -05:00
kelwang f0381bd308
Merge pull request #10977 from influxdata/scraper_target_swagger_doc
feat(http): add scraper target swagger
2019-01-11 13:51:07 -05:00
Kelvin Wang 82f79932c1 feat(http): add bucket and org name in response 2019-01-11 13:09:19 -05:00
Kelvin Wang ce6004243c add(gather): add writer interface 2019-01-11 13:09:18 -05:00
j. Emrys Landivar (docmerlin) a2674fa03d feat(tasks): update task options from api 2019-01-11 11:55:46 -06:00
Michael Desa 944de4157a fix(influxdb): add org id to permissions
filter out resources that have mission IDs

fix(influxdb): simplify auth check in PermissionAllowed

review(platform): update as noted in review

fix(influxdb): ensure permission has valid org id
2019-01-11 12:23:28 -05:00
Kelvin Wang cc3eaf5e75 feat(http): add scraper target swagger 2019-01-11 11:03:42 -05:00
Jade McGough 6b99b09e0b fix(http): add labels to view links responses 2019-01-10 11:41:17 -08:00
Deniz Kusefoglu bc46eb5698 trailing slashes and code review 2019-01-10 10:05:58 -08:00
Deniz Kusefoglu deb87aef05 Update curswagger and generate client with views nested under cells 2019-01-10 10:05:58 -08:00
Mark Rushakoff d73d73c0d4 chore: rename imports from platform to influxdb
I did this with a dumb editor macro, so some comments changed too.

Also rename root package from platform to influxdb.

In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.

Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Alex P d12e94bb01 feat(ui/labels): Add the ability to edit labels on a dashboard
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-01-09 17:41:19 -08:00
Palakp41 7875051ace
Merge pull request #2391 from influxdata/feat/remove-bucket-org
Add delete column and functionality to buckets list and row
2019-01-09 17:11:37 -08:00
Palak Bhojani beac010471 Add delete column and functionality to buckets list and row
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-01-09 16:49:03 -08:00
Christopher Henn ddac3c796f Add support for windowPeriod macro variable
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-01-09 15:31:21 -08:00
Michael Desa bcddb83a3c
Merge pull request #2112 from zhulongcheng/doc-rm-org
docs(http): remove unused org param from swagger
2019-01-09 17:06:53 -05:00
Michael Desa 81dcfee03e
Merge pull request #2163 from zhulongcheng/session-backend
initialize session handler by SessionBackend
2019-01-09 17:05:59 -05:00
Leonardo Di Donato 3d0a42cbbc fix(http): filtering telegraf configs only by organization ID
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-09 22:17:19 +01:00
Leonardo Di Donato 77574c559d feat(http): decode telegraf config filters and tests 2019-01-09 22:17:19 +01:00
Michael Desa 10429675b9 fix(http): remove fmt.Println from scraper service tests 2019-01-09 15:17:11 -05:00
Michael Desa 857b60150e feat(platform): add proto service for creating templated resources
feat(http): add http handler for proto service

feat(mock): add mock proto service

test(http): add proto handler tests

fix(platform): add view as option when adding a cell

feat(platform): add dashboard to proto struct

feat(fs): add filesystem implementation of proto

feat(http): add protos endpoints to api handler

feat(cmd/influxd/launcher): add protos path to server

doc(http): add protos to swagger

test(cmd/influxd/launcher): add --protos-path to launcher tests

fix(fs): remove unused args from test

fix(http): use platform.Error where appropriate
2019-01-09 09:55:15 -05:00
Michael Desa 7ea1db0079
Merge pull request #2250 from influxdata/fix/issue#2195
Nest views beneath dashboard cells
2019-01-09 09:30:39 -05:00
Iris Scholten 4f96333b52 feat(ui/labels): display labels in task row 2019-01-08 16:07:10 -08:00
Michael Desa 338e0587d0 fix(platform): nest view beneath dashboard cell
feat(platform): add functional options for platform errors

fix(testing): set dashboard ids properly in dashboard tests

feat(bolt): add dashboard specific views

fix(bolt): delete view when cell is removed or dashboard is deleted
2019-01-08 18:11:13 -05:00
alexpaxton 21c996383c
Display Labels in Dashboards Index (#2330)
* Update cur_swagger

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Display labels in dashboards list

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Add # to example label

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Write test for dashboard TableRow component

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update snapshot and mock data

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Increase page gutter and max width of centered pages

* Show description in dashboards list

* Update snapshot

* Fix linting error

* Remove snapshot check from unit test
2019-01-08 14:56:48 -08:00
Leonardo Di Donato 43c454e5ea chore(http): cleanup scraper tests
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-08 15:57:29 +01:00
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