Commit Graph

1062 Commits (e25a8fa181b37e7815b08d6026833b6537c9079b)

Author SHA1 Message Date
Alirie Gray 66157c9d44 chore(tasks): consolidate task errors into task_errors.go 2019-06-17 16:03:18 -07:00
kelwang 869b29da18
Merge pull request #14071 from zhulongcheng/rename-OrgID
fix(http): rename OrgID to orgID
2019-06-13 12:16:24 -04:00
Alirie Gray 0ae2d318b1 chore(tasks): update run limits in swagger and FindRuns 2019-06-12 14:48:32 -07:00
Lyon Hill b7078f5510
fix(task): Ensure tasks clean up user resource maps (#14109)
* fix(task): Ensure tasks clean up user resource maps
fixes #14108
2019-06-11 10:28:09 -06:00
Christopher Wolff 950d84fee4 chore: skip flaky test
https://github.com/influxdata/influxdb/issues/14108
2019-06-11 08:41:13 -07:00
Alirie Gray 04a427e99e feat(tasks): add runID to Log struct 2019-06-06 11:24:38 -07:00
Lyon Hill ab79b68840
fix(task): Remove older unused task store code. (#14068)
* fix(task): Remove older unused task store code.
2019-06-06 10:05:27 -06:00
zhulongcheng 5f1e070a73 fix(http): rename OrgID to orgID 2019-06-06 22:12:32 +08:00
Kelvin Wang 18a0f3f542 fix(influxdb): rename telegraf orgID 2019-06-03 16:20:53 -04:00
kelwang cccdae2421
Merge pull request #13977 from influxdata/org_audit_log
feat(influxdb): add org create and update time
2019-05-28 16:51:18 -07:00
Jade McGough 278da443e6
fix(http): remove accept header from query request swagger (#13625) 2019-05-28 14:44:27 -07:00
Jorge Landivar e6ae9f6231
Fix path: 2019-05-28 16:26:49 -05:00
Jorge Landivar ecd9200302
chore(swagger): fix a few swagger typos 2019-05-28 16:12:44 -05:00
docmerlin (j. Emrys Landivar) 935640cf99 chore(swagger): update swagger to include operationId 2019-05-28 09:24:04 -05:00
Jade McGough 062c02ff8d chore(swagger): split view properties by type 2019-05-24 16:27:56 -07:00
Kelvin Wang b8c2cd6c05 feat(influxdb): add org create and update time 2019-05-20 17:36:29 -07:00
Brandon Farmer ba148f3461 Fix Task schema error, currently preventing client generation 2019-05-20 10:19:11 -07:00
kelwang b4a55d500a
Merge pull request #13889 from zhulongcheng/id-decode-err
fix(influxdb): use influxdb.Error in ID.Decode
2019-05-19 13:55:21 -04:00
Alirie Gray 576da8f9d2 fix(swagger): add log property to task runs endpoint docs 2019-05-17 14:08:10 -07:00
Kelvin Wang 57ceb9e275 feat(influxdb): bucket created and updated time 2019-05-17 11:49:10 -04:00
kelwang 4bbfa8c6f4
Merge pull request #13552 from influxdata/kv_log_time
feat(http): add audit log
2019-05-16 11:10:56 -04:00
Kelvin Wang f75f27c0bd feat(http): add audit log 2019-05-16 10:57:28 -04:00
Iris Scholten 2e26f23f9e
feat(authentication): Add cli args for specifying session length and renewal (#13924)
Co-authored-by: Jade McGough <jade@influxdata.com>

* Add session renew option to launcher and use in middlewhere
* pass session options to services
* Update SessionAutoRenew to SessionRenewDisabled
* Add test for service constructor defaults
* Update changelog
2019-05-15 10:16:47 -07:00
zhulongcheng 3c1e9ee5f3 fix(influxdb): use influxdb.Error in ID.Decode 2019-05-15 22:53:31 +08:00
Robert-André Mauchin 5079314ab5 chore(dep): update kin-openapi to v0.2.0
The API slightly changed: LoadSwaggerFromYAMLData is now replaced
by LoadSwaggerFromData.
See: https://github.com/getkin/kin-openapi/pull/67

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-05-15 00:23:32 +02:00
Jade McGough 29d2387752
chore(http): update error handling example in readme (#13874) 2019-05-13 12:50:25 -07:00
kelwang 8687cb8039
Merge pull request #13448 from influxdata/create_view_issue
fix(http): create view
2019-05-13 13:33:34 -04:00
Jonathan A. Sternberg 01e3317b02
fix(http): do not discard non-json encoded errors when using `CheckError` (#13844)
If the error returned was normal text instead of JSON, the JSON parsing
would fail and the JSON error would be returned instead of the actual
error.

This has been modified so that when it fails to parse the text as JSON,
it will construct an error with the actual text and then wrap it using
the JSON error.
2019-05-13 12:02:05 -05:00
Jade McGough c6a0bf93a7
Merge pull request #13661 from influxdata/no_filter_parameters_provided
fix(influxdb): invalid filter error
2019-05-09 15:14:54 -07:00
Adam ae25f0c448 Merge remote-tracking branch 'origin/master' into flux-staging 2019-05-09 15:29:00 -04:00
Christopher M. Wolff c35c15f54d
refactor(http): move queryd http interface to idpe (#13862) 2019-05-09 10:41:14 -07:00
Alirie Gray 77934b01c6 feat(tasks): add description field to tasks 2019-05-08 13:39:09 -07:00
Jade McGough c27a96da9a
chore(http): surface unmarshaling failures in tests (#13855) 2019-05-08 12:51:03 -07:00
Jade McGough 291ac06372
fix(http): return correct response code when dashboard creation fails (#13803) 2019-05-06 16:19:42 -07:00
Mark Rushakoff 46a0a8160b fix(http): use influxdb.Error in FluxHandler 2019-05-05 11:05:00 -07:00
Alirie Gray 6a562757ad test(http): add test coverage for handler.go 2019-05-02 14:04:40 -07:00
Alirie Gray 763fe0a6e5 feat(http): add user-agent metrics to all http endpoints 2019-05-02 11:58:13 -07:00
Jade McGough 7855147241
Merge pull request #13636 from influxdata/delete_invalid_org_id
fix(http): fix delete bad org id
2019-04-29 10:15:36 -07:00
Leo Di Donato 4373392d54
feat(http): Default http transport uses the actual default values (#13437) 2019-04-29 16:57:30 +02:00
Jade McGough e02c859992
Merge pull request #13677 from influxdata/org_name_not_empty
fix(kv): fix empty org name
2019-04-26 15:57:19 -07:00
Kelvin Wang ea54e2c2c8 fix(kv): fix empty org name 2019-04-26 18:16:28 -04:00
Jonathan A. Sternberg 38d9fb8c79
feat(http): pretty stack trace for the http panic recovery handler (#13509)
When printing out a stacktrace with a logged error message, it is better
to set the `Stack` property on the entry than to include it as a string
within the context fields. It is also better than using `zap.Stack()`
too.

This is because certain encoders will perform a pretty print of the
stacktrace. The default zap-logfmt will read this property and include
it as a field so this code is identical when using that encoder, but the
console encoder, which is commonly used in local development because it
is automatically used with a TTY available, will print out a newline and
pretty print the stacktrace if it is included on the entry itself.
2019-04-26 15:06:41 -05:00
Jade McGough 6438999508
Merge pull request #13656 from zhulongcheng/fix-document-panic
fix document service panic
2019-04-26 12:30:27 -07:00
Kelvin Wang 2021321186 fix(influxdb): invalid filter error 2019-04-26 12:22:42 -04:00
Mark Rushakoff 9a8426c3f0 fix(http): use influxdb.Error in ProxyQueryHandler
In our internal use of this handler, some of these errors weren't
wrapped in the expected influxdb.Error type.
2019-04-26 08:19:00 -07:00
zhulongcheng f7635f0552 fix document service panic 2019-04-26 14:46:37 +08:00
Jade McGough e2cac953f5 fix(http): make org param optional in document get request 2019-04-25 14:45:01 -07:00
Kelvin Wang 9fa35961fd fix(http): fix delete bad org id 2019-04-25 15:20:28 -04:00
Kelvin Wang 717fcc44b3 feat(influxdb): add scraper filter 2019-04-25 11:33:34 -04:00
zhulongcheng 382e49b59b fix(http): make org & orgID optional 2019-04-25 11:13:49 +08:00