Chris Goller
4f38c8cad9
feat(http): add accept parsing for telegraf
2018-12-26 12:23:59 -06:00
zhulongcheng
e73d4fc637
add MethodNotAllowed handler
2018-12-23 15:55:45 +08:00
kelwang
94b7c3cea0
Merge pull request #2128 from influxdata/move_time_telegraf_service
...
fix(platform): remove creator and time
2018-12-21 20:13:35 -05:00
AJ Bond
941e7526c0
fix(http): Fix developer mode default
...
Developer mode is now passed to assets
closes #2050
2018-12-21 16:33:04 -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
Leonardo Di Donato
09dca2ff29
fix(http): check for user before creating authorization
2018-12-21 19:23:12 +01:00
Leonardo Di Donato
b8153e83d1
feat(http): test an authorization for non-existing user cannot be created
2018-12-21 19:23:12 +01:00
Kelvin Wang
003561148d
fix(platform): remove creator and time
2018-12-21 11:05:55 -05: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
Chris Goller
edfb323472
fix(http): update task test to use :id
...
Fixes merge issue from #1562
2018-12-21 09:11:57 -06:00
Chris Goller
a33f3ff672
fix(http): update test to use platform.Error
2018-12-21 08:58:16 -06:00
Chris Goller
31518b7022
Merge pull request #1562 from bednar/task_service
...
Fixed the task id path, Added RunController instance to pAdapter
2018-12-21 08:48:01 -06:00
Chris Goller
9c01be5377
Merge pull request #2110 from zhulongcheng/panic-handler
...
feat(http): add panic handler
2018-12-21 08:43:20 -06:00
Chris Goller
5297d1fee9
fix(http): remove typo in test name
2018-12-21 08:40:37 -06:00
Chris Goller
088cf6e98e
Merge pull request #2111 from zhulongcheng/fix-json-decode-500
...
fix(http): return http 400 if request data is invalid
2018-12-21 08:38:58 -06:00
Michael Desa
158be4b599
Merge pull request #1993 from zhulongcheng/fix-user-service
...
fix(http): pass user service to handler New function
2018-12-21 09:37:42 -05:00
Leonardo Di Donato
45febb597c
feat(http): single source health endpoint
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 15:34:24 +01: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
a5ba07ae2c
fix(http): return http 400 if request data is invalid
2018-12-21 18:44:18 +08:00
zhulongcheng
73a52bad6c
add panic handler
2018-12-21 18:20:14 +08:00
Leonardo Di Donato
e66db43f95
chore(http): simplify bucket test
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-12-21 09:56:23 +01:00
Leonardo Di Donato
cc075a19d3
feat(http): session service with platform errors
2018-12-21 09:56:23 +01: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
Brandon Farmer
ff0d2110ba
Merge pull request #2091 from influxdata/chore/generation-add-typescript-task
...
Add back typescript client generation task
2018-12-20 15:09:35 -08:00
Brandon Farmer
03598b8397
No longer need to convert yaml to json to generate client
2018-12-20 14:59:24 -08: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
Michael Desa
b0f13f2857
Merge pull request #2073 from influxdata/fix/issue#1904
...
remove multiple calls to w.WriteHeader in http handlers
2018-12-20 14:53:04 -05:00
Nathaniel Cook
b99ede0b76
chore(Makefile): fix issue with go run not having modules enabled
2018-12-20 12:47:00 -07:00
Michael Desa
885b65e55c
feat(http): add error logger for http server errors
2018-12-20 13:21:28 -05:00
Michael Desa
32bd37de9a
fix(http): remove second potention call to w.WriteHeader
...
Multiple calls to w.WriteHeader were possible if there was an error that
was encountered while encoding the response. To resolve this, we simply
log any error that is encountered instead.
2018-12-20 11:11:09 -05:00
Michael Desa
a941e881c6
fix(http): use platform.Error instead of old style error
2018-12-20 11:11:09 -05:00
zhulongcheng
03c4ef1898
add TraceSpan param to swagger
2018-12-20 23:43:51 +08:00
Kelvin Wang
f1c562f848
fix(http): view errors endpoint conversion
2018-12-19 16:54:48 -05: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
Christopher M. Wolff
86b10a75c9
fix(http): make query service look for platform.Error in response ( #2027 )
2018-12-18 13:37:25 -08:00
Nathaniel Cook
61e36cbee6
chore(Makefile): add target to check generated files are accurate
...
A standard Makefile is used now in all subdirs that run go generate.
Make will only generate the file if its source files changed.
The checkgenerate target runs clean to ensure all targets a generated
fresh.
2018-12-18 12:54:17 -07: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