Commit Graph

331 Commits (b35533e7f7310f5b41565dd8a08d5a03588dc4f7)

Author SHA1 Message Date
Christopher Henn 0b5f7a01ca Update Flux query URL for v1 sources
Previously, a v1 source was configured with a `URL` and `fluxURL`. The
`URL` was used for querying InfluxQL data, while the `fluxURL` pointed
to a `fluxd` instance and was used for querying Flux data.  Since then,
`fluxd` has been subsumed by the InfluxDB 1.7 release, which supports
both InfluxQL and Flux.

This commit updates the source proxy query service to query Flux data
from a V1 source directly.
2018-11-09 09:48:04 -08:00
Brandon Farmer 513bd16523
Merge pull request #1279 from influxdata/fix/me-response
fix(http): user response of me at top-level
2018-11-08 13:58:59 -08:00
Jonathan A. Sternberg fadf4f3e4f
deps: update flux dependency 2018-11-08 14:49:35 -06:00
zhulongcheng 9b817ed0d2 fix(http): add userID parameter 2018-11-09 00:10:44 +08:00
Lyon Hill 8bb6185092
fix a typo in the task service (#1318) 2018-11-07 13:15:53 -07:00
Nathaniel Cook 9fecaa0eb0 chore: Update for Flux renaming 2018-11-05 19:30:22 -07:00
Chris Goller 9fdfdbad5b fix(http): user response of me at top-level 2018-11-05 12:25:37 -05:00
Michael Desa c70c884fb9
Merge pull request #1258 from influxdata/feat/operation-log
WIP: add operation log for resources
2018-11-02 14:34:12 -04:00
Chris Goller 9d507a220a
Merge pull request #1280 from influxdata/feature/query-plan
refactor(http): preallocate query plans
2018-11-02 13:25:42 -05:00
Michael Desa 7227bf8fa2 feat(platform): add operation log for resources
feat(platform): add dashboard operation log interface

feat(bolt): add dashboard operation log to bolt client

feat(platform): add links to dashboard load response

fix(http): update links in json response of dashboards

feat(bolt): add operation logs for each resource

feat(http): add routes for operation logs

feat(cmd/influxd): set operation logs on http api backend
2018-11-02 14:21:14 -04:00
kelwang 3fed14dabc
Merge pull request #943 from influxdata/feat/inmem_onboarding_basic_auth
add inmem service for basic auth, http onboarding testing
2018-11-02 13:22:00 -04:00
Chris Goller 84af710e42 refactor(http): preallocate query plans 2018-11-02 12:03:45 -05:00
Kelvin Wang 63da5d1e9f (feat/testing) add onboarding and basic auth service 2018-11-02 12:20:45 -04:00
Kelvin Wang cb4e095463 fix the error code for 400 2018-11-02 11:28:39 -04:00
Chris Goller 3e54ef9f53
Merge pull request #1275 from influxdata/feature/query-plan
feat(http): add plan endpoint to analyze queries
2018-11-02 09:25:51 -05:00
Chris Goller 0d7b77d3dd feat(http): add query plan validation 2018-11-02 09:11:57 -05:00
kelwang 8f52f9e1dc
Merge pull request #1273 from influxdata/fix/http_error
(fix/http): make error compatible with new and old lib
2018-11-02 10:03:21 -04:00
Chris Goller 7ca5187dc6 feat(http): add plan endpoint to analyze queries 2018-11-01 21:00:37 -05:00
Kelvin Wang 5378fe877a (fix/http): make error compatible with new and old lib 2018-11-01 20:28:40 -04:00
Kelvin Wang 5b7b123d1e fix user response 2018-11-01 20:12:04 -04:00
Jorge Landivar 34ab06634f
Merge pull request #1266 from influxdata/opentracing
open tracing context handling for tasks and for HTTP endpoints for tasks and query
2018-11-01 16:33:19 -05:00
docmerlin (j. Emrys Landivar) bcbd7b5c24 context handling for tasks and for HTTP endpoints for tasks and query 2018-11-01 16:29:52 -05:00
Mark Rushakoff dae3dc8a7e chore(bolt,http,mock,query,testing): fix megacheck errors 2018-11-01 12:54:46 -07:00
kelwang 7709537722
Merge pull request #1254 from influxdata/fix/logger_panic
fix the logger, and get resturns nothing
2018-11-01 11:23:27 -04:00
zhulongcheng 03634fd8a9 check Accept header for mime-type 2018-11-01 21:10:17 +08:00
Kelvin Wang 0b41822434 fix the logger, and get resturns nothing 2018-10-31 19:50:04 -04:00
kelwang 47b6604b35
Merge pull request #1257 from influxdata/fix/telegraf_file_name_no_space
(fix/http) replace space with _
2018-10-31 19:34:08 -04:00
Nathaniel Cook 2a1d76eb2d chore: Update flux dependency for the type-inference changes 2018-10-31 17:11:11 -06:00
Kelvin Wang d218892be0 (fix/http) replace space with _ 2018-10-31 14:45:28 -04:00
zhulongcheng 6fa7d8b143 use json decoder to decode request body 2018-10-31 23:32:51 +08:00
Jade McGough 79bb8af889
fix(http): unswallow json decoder error (#1248)
* fix(http): unswallow json decoder error

* make fmt
2018-10-30 17:31:32 -07:00
Kelvin Wang 5e9c0a9e76 fix telegraf sources 2018-10-30 16:48:14 -04:00
kelwang 3b1660d7d0
Merge pull request #1229 from influxdata/feat/telegraf_http
add http for telegraf
2018-10-30 15:33:51 -04:00
Kelvin Wang 74ef984e53 add http for telegraf 2018-10-30 14:00:10 -04:00
Mark Rushakoff cd80e41220 feat(task): add ability to retry runs
This also adjusts the TaskService interface's RetryRun method to accept
a task ID rather than an org ID. Internally, we still look up runs by
organization, and maybe that will change later, but this is a more
natural way for clients to look it up.
2018-10-30 09:20:40 -07:00
Chris Goller 7756f8dc6a feat(cmd/influxd): add log levels 2018-10-30 02:27:51 -05:00
Jorge Landivar 198793d955
Merge branch 'master' into cancel-task 2018-10-29 17:07:02 -05:00
Chris Goller beb591c50b
Merge pull request #1219 from influxdata/fix/http-delete-status
fix(http): all DELETEs now return 204
2018-10-29 16:51:17 -05:00
docmerlin (j. Emrys Landivar) 6e2620418c Now you can cancel runs 2018-10-29 16:08:50 -05:00
Chris Goller e621ed8e72 fix(http): all DELETEs now return 204 2018-10-29 14:10:33 -05:00
Michael Desa fdbec9303d chore(ui): update misc build files related to moving chronograf/ui to ui 2018-10-29 14:00:45 -04:00
Kelvin Wang 360f8035dd add reset password
fix logger panic, update endpoint, add password reset
2018-10-29 11:56:33 -04:00
Jade McGough a9b9a0b538
Merge pull request #1185 from influxdata/user-mapping-response
fix User mapping response
2018-10-26 10:25:45 -07:00
Gianluca Arbezzano 6dd6a08ea2
fixed inconsistency in links
Hello
As suggested in https://github.com/influxdata/platform/issues/983 I
changed `auths` to `authorizations` to have the key and the link in
line.

I went for this fix in order to avoid BC. I don't know if that's
the fix you had in mind. Or you were speaking more about short and long
terms.

Fixed #983

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2018-10-26 17:05:06 +02:00
Chris Goller d2ecf8aad6 http(write): support timestamp precision 2018-10-25 21:23:50 -05:00
Chris Goller d62e2e009a test(http): add tests for write client 2018-10-25 19:13:53 -05:00
Chris Goller 6f4bd54afc feat(http): add http write client 2018-10-25 19:11:12 -05:00
Jade McGough 91dbd48258
feat(http): validate dashboard cell updates (#1199)
* feat(http): validate dashboard cell updates

* run formatter
2018-10-25 16:05:12 -07:00
Andrew Watkins f82eeb8338
feat(orgs): update org bucket name and retention rule (#1181)
* Add error handling to spinner

* Fix broken test

* Update retentionPeriod to retentionRules

* fix(http): bucket retention period now empty

Co-authored-by: Chris Goller <goller@gmail.com>

* fix(bucket): remove bucket key from createBucket API

* feat(bucket): update organization buckets

* fix: coerce Bucket type

* chore: create separate components for bucket create / update
2018-10-25 15:23:05 -07:00
Jade McGough baeea1a6ac fix(http): add links to user resource response 2018-10-25 14:42:26 -07:00