Deniz Kusefoglu
e399e656ce
Fix aggregate window: change name parameter to period ( #14407 )
2019-07-22 13:39:31 -07:00
Jonathan A. Sternberg
47b032464f
refactor(query): handle flux errors in the query controller instead of http ( #14368 )
...
If we handle the flux errors in the query controller, it makes it so we
are handling the errors in the location where the happen rather than at
a layer further up the stack.
This should simplify it so the errors are handled in this single
location instead.
2019-07-18 11:43:15 -05:00
Deniz Kusefoglu
6e77b64da9
Fix dashboard query swagger definition to reflect reality ( #14370 )
2019-07-17 19:23:51 -07:00
Deniz Kusefoglu
cd4b048ac7
Fix alert types and discriminators ( #14358 )
...
* Add discriminator and enum to check types
* Add threshold discriminators and type enum
* Add notification rule discriminators and type enum
* Remove description field
* Fix reference to threshold base
* Move types to ViewBase type from each View Property
* Fix view properties
* Add monotonex to swagger options
* Add empty to view types
* remove whitespace
2019-07-17 11:15:01 -07:00
kelwang
99bfd05820
Merge pull request #14339 from influxdata/add_debug_log
...
feat(http): add auth debug log
2019-07-15 17:08:41 -04:00
Deniz Kusefoglu
b03e887c37
Fix alerts swagger ( #14348 )
...
* Convert operators to strings
* Change queries to query
* fix Check types
* fix notification rules
* fix notification endpoints
2019-07-15 14:07:22 -07:00
Alirie Gray
c7f09d6a56
chore(tasks): use pointers for task errors ( #14343 )
2019-07-15 13:57:51 -07:00
kelwang
d45bd1bb83
Merge pull request #14344 from influxdata/auth_create_user_fix
...
fix(http): fixed auth userid overwrite
2019-07-15 14:19:34 -04:00
Kelvin Wang
b4eb32c222
fix(http): fixed auth userid overwrite
2019-07-15 14:06:02 -04:00
Jonathan A. Sternberg
63aeff31b1
feat(http): handle flux errors that are returned from the query service ( #14338 )
...
Flux errors that are returned from the query service will be adapted to
an influxdb.Error and then will be written to HTTP correctly.
2019-07-15 12:50:53 -05:00
Kelvin Wang
f55cf4c8b3
feat(http): add auth debug log
2019-07-15 12:09:59 -04:00
Deniz Kusefoglu
e9081d68a4
WIP Add alerts and notification swagger definitions ( #14324 )
...
* Rename check schema to healthcheck
* add alert schema and endpoints
* Add checkView as a view type
Co-Authored-By: Jade McGough <jademcgough@users.noreply.github.com>
2019-07-12 14:34:36 -07:00
Kelvin Wang
1681e3b801
fix(http): use the original error code
2019-07-05 12:34:00 -04:00
Kelvin Wang
0b03ce0e0b
fix(http): query handler conflict
2019-06-27 19:16:54 -04:00
kelwang
c4fd4d7986
Merge pull request #14213 from influxdata/error_encode_interface
...
Error encode interface
2019-06-27 18:03:59 -04:00
Christopher M. Wolff
cc5afac422
fix(http): add org ID to flux handler ( #14225 )
2019-06-27 14:33:22 -07:00
Kelvin Wang
9ecada4dce
feat(http): convert errorEncode to use interface
2019-06-26 21:41:01 -04:00
Luke Morris
701501d00d
feat(http/me): oauthID could in theory be updated
2019-06-26 14:42:29 -07:00
Palak Bhojani
b67ea62562
Add oauthID to the user interface instead of session
2019-06-26 11:45:34 -07:00
Luke Morris
1c3b92dacb
feat(http/me): name type according to semantics
2019-06-26 11:45:34 -07:00
Luke Morris
03f6d0e521
feat(http/me): name function according to semantics
2019-06-26 11:45:34 -07:00
Luke Morris
225586f83f
feat(me): return oauth id with user object
2019-06-26 11:45:34 -07:00
Chris Goller
14e7daa6e4
fix client tracing propagation from doubly recording ( #14204 )
...
Closes #14203
* chore(vendor): update to opentracing 1.1.0
* fix(http): finish client span
* fix(http): remove extra span injection
2019-06-26 00:48:15 -05:00
lisale0
1d6a0c5a3c
fix pr
2019-06-21 11:55:28 -07:00
lisale0
6206b905a4
set va directly and remove comment
2019-06-20 16:30:25 -07:00
lisale0
63bc965606
fix findvar test
2019-06-20 16:25:38 -07:00
lisale0
8c045ad08a
gofmt
2019-06-20 16:25:38 -07:00
lisale0
3d18984c70
fix tests
2019-06-20 16:25:38 -07:00
lisale0
2187bf345b
fixed bolt and inmem tests
2019-06-20 16:25:38 -07:00
Jade McGough
2cd14c7cdb
fix failures in variable http testing
2019-06-20 16:25:38 -07:00
lisale0
3330d38984
feat(http): adding createdAt variable
2019-06-20 16:25:38 -07:00
Adam
e4fbaa61e3
Merge remote-tracking branch 'origin/master' into flux-staging
2019-06-18 16:14:00 -04:00
Christopher Wolff
67236ea887
refactor(http): make http.Query use FluxCompiler when query is passed as text
2019-06-18 11:45:17 -07:00
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