Commit Graph

11558 Commits (6a861f2648a3a52da9f022bb892a29ba98d72a74)

Author SHA1 Message Date
Jorge Landivar 6a861f2648
Merge pull request #602 from influxdata/task_name_uniqueness
task name modification and uniqueness
2018-08-10 18:31:35 -05:00
docmerlin (j. Emrys Landivar) 5b52f75f7e task name modification and uniqueness 2018-08-10 18:24:41 -05:00
Stuart Carnie 782396a7a8
Merge pull request #606 from influxdata/sgc-influxdb-branch
Use platform branch on influxDB
2018-08-10 12:31:40 -07:00
Stuart Carnie 13beb5a2b2 Use platform branch on influxDB 2018-08-10 10:58:13 -07:00
Mark Rushakoff cbccbcecf5 chore: fix typo in filename 2018-08-10 08:22:47 -07:00
Michael Desa 7b10d5e844
Merge pull request #536 from influxdata/feature/query-v1-sources
Support flux page in platform
2018-08-10 10:24:25 -04:00
Iris Scholten 4f94b6ded8
Merge pull request #600 from influxdata/feat/json-query-requests
feat(http): support posting queries as a json body
2018-08-09 18:39:17 -07:00
Iris Scholten f1137b9b24 feat(http): support posting queries as a json body
Co-authored-by: Chris Goller <goller@gmail.com>
2018-08-09 17:08:25 -07:00
Mark Rushakoff 42ce671724 chore: only set one run_id field on runner logs
We were previously doing `r.logger = r.logger.With(...)`, which ended up
duplicating the provided field in the log output. Now ensure that we
only set the run_id once in a logger.
2018-08-09 13:43:00 -07:00
Michael Desa 5aad8ceb9e review(platform): update PR as suggested in review 2018-08-09 15:37:23 -04:00
Nathaniel Cook 846455a487 Merged pull request #505 from influxdata/nc-query-service
Update the vairous QueryService to be consistent
2018-08-08 15:53:29 -06:00
Nathaniel Cook e17518d57e chore: Add string method to dbrp mapper filter 2018-08-08 15:31:37 -06:00
Nathaniel Cook 6bf2820e81 update README 2018-08-08 15:31:37 -06:00
Nathaniel Cook 5bde0b5be6 fix: Update query services to use Request type
Moves idpe.QueryService into platform/query.ProxyQueryService
Splits the Request into ProxyRequest and Request.

Changes query.QueryService and query.AsyncQueryService to use a Request
type. This means that the Compiler interface is consumed by the service
to abstract out transpilation vs Flux compilation vs raw spec.

The transpiler handler is removed.

There are separate http handlers and service implementations for each of
the three query services.

Query logging types are moved into platform.

The ResultIterator now expects Cancel to always be called.

The fluxd binary exposes the query endpoint specified in the swagger
file.
2018-08-08 15:31:35 -06:00
Lyon Hill 31015cb322
Merge pull request #590 from influxdata/task/now
refactor(task): set now on every execution
2018-08-08 13:10:27 -06:00
Lyon Hill e1ecceaca0 refactor(task): make setting now on every execution
By switching to passing a spec it allows us more control
2018-08-08 12:50:24 -06:00
Michael Desa 64e9cff2be feat(platform): ensure that Source implements query interface 2018-08-08 13:51:15 -04:00
Andrew Watkins 5568298297 chore(chronograf): fix rebase onto master 2018-08-08 10:48:44 -07:00
Michael Desa 2af8a38777 fix(chronograf): connecting to a source no longer takes you to host page
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:38:27 -07:00
Michael Desa 30fc5282f6 feat(http): add status feed to platform links 2018-08-08 09:38:27 -07:00
Andrew Watkins 7e30baf3da Import updateScript 2018-08-08 09:38:27 -07:00
Michael Desa 3b400952d9 fix(http): get time series data properly 2018-08-08 09:37:37 -07:00
Andrew Watkins fcb930e19b Change #partition to #group 2018-08-08 09:37:37 -07:00
Michael Desa fc382defb8 add retention policy name to bucket 2018-08-08 09:37:37 -07:00
Michael Desa ffe645d6e2 feat(platform): support flux queries for 1x sources 2018-08-08 09:37:37 -07:00
Michael Desa abc20e5e05 feat(platform): add chronograf language server to platform binary
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:37:37 -07:00
Andrew Watkins b25a6d1d46 Get buckets using buckets link 2018-08-08 09:36:43 -07:00
Andrew Watkins 2d7f54de2a feature(chronograf): use sources instead of services for flux builder
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:36:43 -07:00
Andrew Watkins c42e4d98e0 Remove DataExplorer 2018-08-08 09:34:58 -07:00
Andrew Watkins 8484a9a6d9 Get buckets from v2 api in DataExplorer for v1 source 2018-08-08 09:34:58 -07:00
Andrew Watkins 359d1e3c49 Remove Kapacitor related code
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:34:58 -07:00
Andrew Watkins 823e3a1d21 Add v2 source CRUD to frontend
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:33:28 -07:00
Michael Desa e954a8063d feat(platform): add ability to query sources
Currently all  that is supported is v1 sources. This code will likely
need revisiting.

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:32:44 -07:00
Michael Desa 270b3c82cc chore(testing): update test package to use correct source type 2018-08-08 09:32:44 -07:00
Andrew Watkins cfb3d9a255 Remove auth 2018-08-08 09:31:57 -07:00
Christopher M. Wolff cef8447115
Merge pull request #576 from influxdata/cwolff-table-format
Take into account ':<type>' when computing column header widths
2018-08-08 08:25:21 -07:00
Lyon Hill 3873ac0c65
Merge pull request #578 from influxdata/task/connect
feat(task): connect the api to tasks
2018-08-07 16:57:38 -06:00
Lyon Hill 212210eaec make necessary changes 2018-08-07 16:51:33 -06:00
Lyon Hill 02d1b6507b feat(task): connect the api to tasks
We need a coordination layer to facilitate the communication in the api to the task service.
The api was also not connected in main to the http service.
2018-08-07 15:53:17 -06:00
Mark Rushakoff 24ea772ee4 test(task): cache parsed options in test
This is to work around slow parsing (#484).

This change saves about 2 seconds on tests for task/backend and
task/backend/bolt. It saves around 45 seconds on enterprise tests.
2018-08-07 12:46:50 -07:00
Christopher Wolff d7f64171cb Take into account ':<type>' when computing column header widths 2018-08-07 11:12:38 -07:00
Lyon Hill a647f10c14
Merge pull request #560 from influxdata/task/enable
feat(task): allow tasks to be enabled and disabled.
2018-08-07 09:26:45 -06:00
Michael Desa f2c47e0889
Merge pull request #556 from influxdata/feature/sources
Add sources to platform
2018-08-07 11:18:36 -04:00
Michael Desa 91c35e7d41 review(bolt): update pr with review comments
dep(platform): run dep ensure
2018-08-07 11:08:51 -04:00
Andrew Watkins 1a9e1f26f0 Fix overzealous deletion 2018-08-07 10:50:42 -04:00
Michael Desa 640fb3e213 chore(testing): update test package to use correct source type 2018-08-07 10:50:41 -04:00
Andrew Watkins 6c09bc6815 Remove auth 2018-08-07 10:50:08 -04:00
Andrew Watkins b941ae6a54 chore(chronograf): Remove UserNavBlock from app
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-07 10:45:14 -04:00
Michael Desa 707283b478 fix(http/influxdb): use dot as delimiter in dbrp 2018-08-07 10:45:14 -04:00
Michael Desa 95714f3b29 fix(platform): omit id from bucket if empty in JSON response 2018-08-07 10:45:14 -04:00