Commit Graph

162 Commits (95e808871e1641e14d08e6b495da819b02d8d57f)

Author SHA1 Message Date
Iris Scholten 4918d7ae67 Move dataloading into admin ui
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-01-16 17:21:07 -08:00
Palak Bhojani a7816fb1c0 Add the ability to delete collector from admin ui 2019-01-15 16:09:56 -08:00
Leonardo Di Donato 26ff149f61 docs(http): swagger update for macros 2019-01-15 20:39:41 +01:00
Jade McGough d174d56f35
Merge pull request #11097 from influxdata/task-labels-swagger
fix(http): use correct response for task labels GET request
2019-01-15 11:25:55 -08:00
Jade McGough fe6e1bcd23 fix(http): use correct response for task labels GET request 2019-01-15 11:18:57 -08:00
Deniz Kusefoglu b249f82e6d Add organizationID to telegrafsRequest schema 2019-01-15 10:40:39 -08:00
Michael Desa c60031a6b7 fix(influxdb): change resource to resource type 2019-01-15 12:57:57 -05:00
Michael Desa 7c1372cdfc fix(influxdb): rename organizationID to orgID in json struct tags
Note. This may require that users blow away thier existing boltdb
databases to avoid errors.
2019-01-14 18:12:46 -08:00
Michael Desa 263b3e228d fix(http): add organizationID to dashboard swagger 2019-01-14 18:12:46 -08:00
Iris Scholten 358e1820c7 fix(ui/dataLoaders): Add check for existing configs for update 2019-01-14 11:02:14 -08:00
Kelvin Wang cc3eaf5e75 feat(http): add scraper target swagger 2019-01-11 11:03:42 -05: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 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 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
Jade McGough 815795261d feat(http): add labels to bucket responses 2019-01-03 16:02:02 -08: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
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
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
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
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 518ea18410 remove unused org param from swagger 2018-12-21 20:11:31 +08: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
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
zhulongcheng 03c4ef1898 add TraceSpan param to swagger 2018-12-20 23:43:51 +08:00
Nathaniel Cook d6c0a393b0 Merge branch 'master' into flux-staging 2018-12-19 11:30:55 -07:00
Jade McGough 53f27c5566 fix swagger indentation 2018-12-18 16:15:35 -08:00
Jade McGough 121588bf8a chore(http): add missing labels documentation 2018-12-18 14:49:22 -08:00
Nathaniel Cook b40a67efc7 chore(http): remove plan specs from swagger 2018-12-18 12:45:30 -07:00
Nathaniel Cook f4dfda705a fix(http): remove /api/v2/query/plan
BREAKING CHANGE: The API endpoint exposed internal details about the implementation of
the logical and physical plans. Those data structures need to be free to
change without breaking the API. For now since the endpoint is unused it
is being removed. A similar API may be added back in that correctly
abstracts away the internal details of plans.
2018-12-18 12:17:34 -07:00
Jade McGough 77ce7d6a4b
Merge pull request #2012 from influxdata/update-labels
add labels update endpoint and label colors
2018-12-18 09:48:16 -08:00
Michael Desa 9501a547f1 feat(http): add /query/analyze endpoint to analyze queries
review(http): add suggestions from pr review

doc(http): update swage description of analyze endpoint

fix(http): remove authorization header from query analyze endpoint
2018-12-18 11:23:59 -05:00
Jade McGough 9e4367176f update swagger 2018-12-18 03:27:27 -08:00
Jade McGough e9fba06b3f WIP add colors to labels 2018-12-17 23:00:56 -08:00
Michael Desa c33d94f5ec
Merge pull request #1799 from zhulongcheng/paging
feat(http/paging): add paging implementation
2018-12-17 12:43:05 -05:00
zhulongcheng 94d86186c7 fix(http): rename auths to authorizations 2018-12-18 00:12:16 +08:00
Chris Goller d0263a4301
Merge pull request #1950 from zhulongcheng/doc-macro
docs(http): put macros/:id endpoint
2018-12-17 09:50:31 -06:00
zhulongcheng eddbf27329 docs(http): put macros/:id endpoint 2018-12-16 17:14:35 +08:00
Jade McGough 6713d6d12e fix(http): add task labels endpoint documentation 2018-12-14 16:01:46 -08:00
Jade McGough 591de7f145 chore(http): remove authorization header description from swagger 2018-12-14 15:19:04 -08:00