Jade McGough
7914a04f0b
organizationID -> orgID
2019-04-12 01:29:42 -07:00
Jade McGough
81e6a7116b
feat(http): filter label response by organization
2019-04-12 01:29:32 -07:00
Nathaniel Cook
f37e65f26c
fix(query): change logging bridge to be a service instead
...
It is no longer necessary for the query logging to be a bridge as the
stats are available for consumption from the ProxyQueryService.
This change changes the logging bridge to directly implement the proxy
query service instead of implementing a bridge.
2019-04-11 14:46:45 -06:00
Kelvin Wang
92e82884a6
feat(http): accept label id for template post
2019-04-11 13:16:39 -04:00
kelwang
5958192788
Merge pull request #12795 from influxdata/swagger_scaraper_get_by_id
...
fix(http): swagger add get target by id
2019-04-11 11:24:54 -04:00
kelwang
67bf2f54ac
Merge pull request #13052 from influxdata/auth_update_interface
...
fix(influxdb): updated auth shall return
2019-04-11 11:24:02 -04:00
Jacob Marble
f56c42794b
chore(tracing): Cleanup ( #13296 )
...
* chore(tracing): Cleanup
* broken test
* fix unused var
* fix test
2019-04-10 19:28:21 -07:00
Kelvin Wang
ec6895531d
feat(http): add document labe handler
2019-04-10 15:08:03 -04:00
kelwang
be674622c6
Revert "fix(inmem): remove the old inmem implementation"
2019-04-09 14:24:40 -04:00
kelwang
d0022dfd5c
Merge pull request #13039 from zhulongcheng/rm-inmem-impl
...
fix(inmem): remove the old inmem implementation
2019-04-09 13:06:50 -04:00
kelwang
bfcf82d7b5
Merge pull request #13152 from zhulongcheng/docs-rm-view
...
docs(http): remove unused Views schema
2019-04-08 16:11:55 -04:00
kelwang
c7d043a3b4
Merge pull request #13154 from zhulongcheng/doc-rm-view-link
...
docs(http): remove view link from api links
2019-04-08 16:11:26 -04:00
kelwang
34d631a9fc
Merge pull request #13156 from zhulongcheng/docs-rm-FluxLinks
...
docs(http): remove FluxLinks schema
2019-04-08 16:11:13 -04:00
zhulongcheng
cacd6a8223
fix(inmem): replace inmem.Service with kv.Service
2019-04-08 15:18:38 +08:00
Kelvin Wang
8a825a8f9f
feat(influxdb): get docs by org id
2019-04-04 12:51:30 -04:00
zhulongcheng
53412e3e6a
docs(http): remove FluxLinks schema
2019-04-05 00:16:59 +08:00
zhulongcheng
153ef54d0f
docs(http): remove view link from api links
2019-04-04 23:58:13 +08:00
zhulongcheng
c745a8dfd9
docs(http): remove unused Views schema
2019-04-04 23:38:11 +08:00
Brandon Farmer
8fc86ba17e
Update swagger endpoints to include orgID parameters
2019-04-03 16:44:16 -07:00
kelwang
dd55308b77
Merge pull request #13071 from influxdata/bucket_not_found
...
fix(kv): fix bucket not found by name
2019-04-03 17:16:12 -04:00
Alirie Gray
f04de15144
Merge pull request #13109 from influxdata/chore/add-description-to-variables
...
chore(variables): add description property to Variable struct
2019-04-03 14:00:43 -07:00
Alirie Gray
bdd260c25b
chore(variables): add description property to Variable struct
2019-04-03 13:36:32 -07:00
Kelvin Wang
1cf600aca9
remove proto
2019-04-03 15:42:25 -04:00
Kelvin Wang
054ce89dc5
fix(kv): fix bucket not found by name
2019-04-02 15:10:56 -04:00
Kelvin Wang
bcadefd8cb
fix(http): swagger proto definition
2019-04-02 14:26:04 -04:00
Jade McGough
060f893a93
fix(http): update swagger to include correct label add responses
2019-04-01 13:01:24 -07:00
kelwang
6190ba6af3
Merge pull request #13058 from influxdata/swagger_ready_health
...
fix(http): fix swagger health & ready
2019-04-01 14:43:10 -04:00
kelwang
73e51ef5b5
Merge pull request #13056 from influxdata/swagger_dashboard_links
...
fix(http): swagger dashboard links
2019-04-01 14:22:05 -04:00
kelwang
43d582c484
Merge pull request #13008 from zhulongcheng/fix-proto-404
...
fix(http/proto): return 404 if proto not found
2019-04-01 14:04:36 -04:00
Kelvin Wang
c09182d0cb
fix(http): fix swagger health & ready
2019-04-01 14:02:35 -04:00
Kelvin Wang
4e87f34f96
fix(http): swagger dashboard links
2019-04-01 13:10:33 -04:00
Kelvin Wang
712010d013
if(influxdb): updated auth shall return
2019-04-01 12:56:29 -04:00
Jade McGough
05f26b0236
Merge pull request #13032 from influxdata/secret-key-links
...
fix(http): nest secret key response links in swagger
2019-04-01 09:35:28 -07:00
Jade McGough
f092a5538a
fix(http): start -> started in swagger
2019-04-01 00:46:46 -07:00
Jade McGough
d5e9d10e31
fix(http): nest secret key response links in swagger
2019-04-01 00:39:41 -07:00
Jade McGough
5fbed0b6a5
Merge pull request #12978 from influxdata/varible-labels
...
feat(http): add labels to variables
2019-03-29 17:50:14 -07:00
Jade McGough
079d7f835a
fix tests
2019-03-29 17:19:11 -07:00
kelwang
22dd44c4d1
Merge pull request #12955 from influxdata/auth_description_update
...
feat(kv): add auth description update
2019-03-29 14:08:34 -04:00
kelwang
2f9c0f8ae3
Merge pull request #13017 from influxdata/swagger_variable_map
...
fix(http): addtional property of variable map
2019-03-29 13:33:45 -04:00
kelwang
1cbfc7320a
Merge pull request #13019 from influxdata/swagger_dashboard_date_time
...
fix(http): swagger dashboard meta date-time
2019-03-29 13:33:28 -04:00
Kelvin Wang
cc23caeb92
fix(http): swagger dashboard meta date-time
2019-03-29 12:21:27 -04:00
Kelvin Wang
c5f93a9b9f
fix(http): swagger user password reset to 204
2019-03-29 12:09:47 -04:00
Kelvin Wang
aefe32d70b
fix(http): addtional property of variable map
2019-03-29 12:04:37 -04:00
zhulongcheng
10f79fdb9b
fix(http/proto): return 404 if proto not found
2019-03-29 11:19:56 +08:00
Lyon Hill
c78344c441
update task schedler to use the new task control service ( #12949 )
2019-03-28 16:52:25 -06:00
Jade McGough
945569a29d
fix botched rebase
2019-03-28 15:42:06 -07:00
Jade McGough
d21d96e35b
feat(http): add labels to variables
2019-03-28 15:05:13 -07:00
kelwang
abbfc17fa2
Merge pull request #12964 from zhulongcheng/docs-var-link
...
docs(http): add Variable org link
2019-03-28 12:34:12 -04:00
Kelvin Wang
a2c0bdbe77
feat(kv): add new update
2019-03-28 11:46:41 -04:00
zhulongcheng
e0f2fdbc76
docs(http): add Document links
2019-03-28 15:23:37 +08:00
zhulongcheng
8173087a54
docs(http): add Variable org link
2019-03-28 11:20:59 +08:00
kelwang
a64c4fd138
Merge pull request #12246 from zhulongcheng/rm-view
...
fix(http): remove view service
2019-03-27 20:13:10 -04:00
Jade McGough
7bcff2e973
fix(http): remove newPatchLabelHandler, it should not exist
...
This was removed in the labels 2.0 rewrite, and looks like it was added back as a regression
2019-03-27 14:31:04 -07:00
Nathaniel Cook
ca6f2ad0c6
Merge branch 'master' into flux-staging
2019-03-27 09:42:48 -06:00
Michael Desa
119f113597
Merge pull request #12912 from influxdata/fix/issue#12861
...
Add check for nil document in post document request
2019-03-26 14:42:16 -07:00
Michael Desa
aba40b6131
fix(http): add check for nil document in post document request
2019-03-26 14:11:32 -07:00
kelwang
fadb66d4d1
Merge pull request #12748 from influxdata/org_secret_delete
...
fix(http): fix org secrets delete
2019-03-26 16:12:13 -04:00
Lorenzo Affetti
a49bb73c04
chore: update Flux to v0.23.0
2019-03-26 18:04:18 +01:00
kelwang
949d7bc9de
Merge pull request #12801 from influxdata/swagger_password_reset
...
fix(http): swagger change user pass reset resp
2019-03-26 11:35:06 -04:00
Christopher M. Wolff
eb4df57788
test(http): add unit test for proxy query service ( #12683 )
2019-03-26 06:49:51 -07:00
Christopher M. Wolff
56e688beee
fix(query): add Check method to query service interfaces ( #12866 )
...
Fixes influxdata/idpe#2756 .
2019-03-25 20:05:44 -07:00
kelwang
ffebdf8446
Merge pull request #12796 from influxdata/swagger_write_precison
...
fix(http): swagger write precision
2019-03-25 15:31:31 -04:00
Kelvin Wang
04fd5f76db
fix(http): fix invalid source buckets
2019-03-25 14:03:24 -04:00
kelwang
7ae219ed35
Merge pull request #12794 from influxdata/swagger_label_response
...
fix(http): fix scraper, buckets label swagger resp
2019-03-25 13:09:12 -04:00
Kelvin Wang
b34ce9bfcb
fix(http): swagger change user pass reset resp
2019-03-25 12:46:56 -04:00
Kelvin Wang
7f3c8a7d43
fix(http): swagger add template endpoint
2019-03-25 11:24:24 -04:00
Jonathan A. Sternberg
3bff8acd96
fix(http): ignore an empty trailer inside of the proxy query service client ( #12834 )
2019-03-21 16:30:04 -05:00
Lyon Hill
291319483d
Update task servicetest to move dependency to the new TaskControlService ( #12817 )
...
* Update task servicetest to move dependency to the new TaskControlService
closes #12724
We will now have the capability to write new task services that dont have to implement the backend.Store or LogReader or LogWriters
2019-03-21 15:11:22 -06:00
Kelvin Wang
9685318218
fix(http): swagger define security schemes
2019-03-20 18:37:18 -04:00
Kelvin Wang
33325e3e57
fix(http): swagger write precision
2019-03-20 18:02:33 -04:00
Kelvin Wang
923e79d862
fix(http): swagger add get target by id
2019-03-20 17:44:19 -04:00
Kelvin Wang
b14b5372bf
fix(http): swagger scraper label request
2019-03-20 17:26:40 -04:00
Kelvin Wang
beed8f350b
fix(http): fix scraper, buckets label swagger resp
2019-03-20 17:18:28 -04:00
Kelvin Wang
05575ebcc9
fix(http): fix telegraf get default swagger
2019-03-20 16:41:55 -04:00
Jorge Landivar
e86a7d0a79
Merge pull request #12370 from influxdata/feat/task-delete-options
...
Feat/task delete options
2019-03-19 16:18:39 -05:00
Kelvin Wang
757ea24779
fix(http): fix org secrets delete
2019-03-19 15:03:30 -04:00
Jade McGough
2753d66be9
update swagger
2019-03-19 11:46:10 -07:00
Jade McGough
b49bf9ed09
Merge pull request #12734 from influxdata/scope-labels
...
Scope labels to organizations
2019-03-19 11:37:44 -07:00
kelwang
adfe670099
Merge pull request #12691 from influxdata/swagger_telegraf
...
fix(http): telegraf swagger issues
2019-03-19 13:53:51 -04:00
docmerlin (j. Emrys Landivar)
ea82893abd
feat(tasks): remove removable options
2019-03-19 10:24:42 -05:00
Jade McGough
9306fb3f7c
pass tests
2019-03-19 07:00:43 -07:00
Jade McGough
f488428a32
fix(authorizer): labels can be created if the user has read access to the specified org
2019-03-19 01:56:55 -07:00
Jade McGough
950e496748
fix(label): add organizationID to labels
2019-03-18 23:58:42 -07:00
Mark Rushakoff
92a52e90fa
fix(swagger): synchronize permission enum with code
2019-03-18 20:22:19 -07:00
Deniz Kusefoglu
0167a831c9
Remove required label param from Document types
2019-03-18 17:23:11 -07:00
kelwang
b879d8ae59
Merge pull request #12677 from influxdata/swagger_resource_buckets
...
fix(http): change source buckets from slice to obj
2019-03-18 18:29:23 -04:00
Kelvin Wang
6a64e0818f
fix(http): change source buckets from slice to obj
2019-03-18 17:53:53 -04:00
Kelvin Wang
57e3db9c01
fix(http): telegraf swagger issues
2019-03-18 14:54:04 -04:00
Jade McGough
953d9c66af
Merge pull request #12669 from influxdata/label-auth
...
fix(http): wrap label service with authorizer
2019-03-18 11:20:21 -07:00
Kelvin Wang
30e8ac65a2
fix(http): fix swagger bucket owners
2019-03-18 11:10:15 -04:00
Kelvin Wang
28c0030be0
fix(http): fix swagger bucket owners
2019-03-18 11:05:39 -04:00
Jade McGough
5500419357
fix(http): wrap label service with authorizer
2019-03-17 20:47:21 -07:00
kelwang
32a511b671
Merge pull request #12645 from influxdata/telegraf_delete
...
fix(http): fix telegraf delete
2019-03-15 20:16:50 -04:00
Jade McGough
4a4bd76e70
Merge pull request #12585 from influxdata/label-names
...
Label names
2019-03-15 16:29:35 -07:00
Jade McGough
b2775ef9da
feat(labels): allow label names to be updated
2019-03-15 16:24:23 -07:00
Kelvin Wang
0fe8479e9f
fix(http): remove dup tasks definition
2019-03-15 11:46:30 -04:00
kelwang
769a1a8a10
Merge pull request #12597 from influxdata/swagger_task_runs
...
feat(http): update swagger to use runs
2019-03-15 11:40:20 -04:00
Kelvin Wang
052510f3ee
fix(http): fix telegraf delete
2019-03-15 11:31:22 -04:00
Mark Rushakoff
3092faace8
test(task): ensure task can be created over HTTP using org name
...
Closes #12089 .
2019-03-14 21:23:14 -07:00
Deniz Kusefoglu
14688cd5c7
Add required types to swagger
2019-03-14 12:02:33 -07:00
Jonathan A. Sternberg
1d996630b1
fix(http): set the authorizer on the context in proxy query handler ( #12605 )
2019-03-14 10:19:47 -05:00
kelwang
cb7630abd2
Merge pull request #12598 from influxdata/swagger_add_label_task
...
fix(http): fix task swagger links labels
2019-03-13 14:24:17 -04:00
kelwang
e877428c24
Merge pull request #12596 from influxdata/telegraf_swagger
...
fix(http): fix swagger label response
2019-03-13 14:23:55 -04:00
kelwang
bd952e8d6e
Merge pull request #12595 from influxdata/fix_secret_endpoint
...
fix(http): change secrets to match swagger
2019-03-13 14:23:39 -04:00
kelwang
878e896e3a
Merge pull request #12594 from influxdata/http_source_health
...
fix(http): fix source health endpoint
2019-03-13 14:23:01 -04:00
kelwang
ba52920df1
Merge pull request #12592 from influxdata/ready
...
fix(http): fix ready swagger
2019-03-13 14:22:44 -04:00
Iris Scholten
a4196ce06d
fix(ui): Remove name from cell in swagger definition
2019-03-13 10:18:17 -07:00
Kelvin Wang
5c980304c2
fix(http): fix task swagger links labels
2019-03-13 12:00:03 -04:00
Kelvin Wang
54a8e86d2d
feat(http): update swagger to use runs
2019-03-13 11:45:08 -04:00
Kelvin Wang
f2adba210f
fix(http): fix swagger label response
2019-03-13 11:22:16 -04:00
Kelvin Wang
44f5adeae7
fix(http): change secrets to match swagger
2019-03-13 11:06:36 -04:00
Kelvin Wang
229be14d1a
fix(http): fix source health endpoint
2019-03-13 11:04:16 -04:00
Kelvin Wang
69c3882225
fix(http): fix ready swagger
2019-03-13 10:44:14 -04:00
zhulongcheng
8b7050d6d3
docs(http): add bucket and org links to ScraperTargetResponse
2019-03-12 22:29:25 +08:00
zhulongcheng
76c0513d09
docs(http): remove duplicated `name` from ScraperTargetResponse
2019-03-12 18:49:02 +08:00
zhulongcheng
8d2f75ecac
docs(http): add missing logs links
2019-03-12 11:18:07 +08:00
Chris Goller
96ed02fdae
Merge pull request #12507 from influxdata/fix/bucket-write-links
...
fix(http): update bucket write links to include org/bucket
2019-03-11 14:12:42 -05:00
Chris Goller
a1ad49842f
docs(http): specify that label properties keys must be strings
2019-03-11 13:54:38 -05:00
Chris Goller
831d5110f4
fix(http): update bucket write links to include org/bucket
2019-03-11 13:46:16 -05:00
Jade McGough
33e1f51537
Merge pull request #12498 from influxdata/telegraf-labels
...
fix(swagger): add type to expected telegraf request properties
2019-03-11 11:06:52 -07:00
Jade McGough
2e61590a55
chore(swagger): add example for telegraf name
2019-03-11 11:00:13 -07:00
Jade McGough
7bd89a9021
fix(swagger): add type to expected telegraf request properties
2019-03-11 10:51:16 -07:00
Chris Goller
83c43e7173
fix(http): log endpoint should be logs
2019-03-11 12:45:25 -05:00
Chris Goller
5e62562243
fix(http/telegraf): add missing member/owner test links
2019-03-10 22:56:52 -05:00
Chris Goller
2011ef7252
Merge pull request #12177 from zhulongcheng/rm-owner-schema
...
docs(http): add members/owners links
2019-03-10 22:39:53 -05:00
Mark Rushakoff
9bbe321d23
chore: serve swagger.json in development builds
...
In a development build (i.e. does not have the assets build tag), the
first request to GET /api/v2/swagger.json will produce log output like:
INFLUXDB_VALID_SWAGGER_PATH not set; falling back to checking relative paths {"log_id": "0E4I7Dkl000", "service": "swagger-loader"}
Successfully loaded swagger.yml {"log_id": "0E4I7Dkl000", "service": "swagger-loader", "path": "/.../influxdb/http/swagger.yml"}
There is no such log line in production builds.
But now both builds correctly serve swagger.json, instead of just
production builds.
2019-03-09 12:42:44 -08:00
Andrew Watkins
8e36f59f33
Feat/tele token ( #12436 )
...
* feat: add telegraf configs to the config page
* feat: add tokens to telegraf configs
* feat(perms): display proper permissions to user
* feat: add tokens to redux
* wip: add token to auths
* hack: make server return labels and links
* wip: create a label for telegraf config
* fix(http/telegraf): JSON marshaling using pointer receiver
* chore: add back whitespace
* chore: add back whitespace
* add telegraf token to popup
* feat(token/tele): remove token when config gets deleted
* test: sadness
* change to streaming
* unskip test
2019-03-08 19:09:42 -08:00
Kelvin Wang
dcc052b1c2
fix(query): fix same bucket name with different orgs
2019-03-08 20:37:05 -05:00
Andrew Watkins
e3a9e60329
chore: add back whitespace
2019-03-08 14:52:19 -08:00
Chris Goller
27e98a3e41
fix(http/telegraf): JSON marshaling using pointer receiver
2019-03-08 15:12:46 -06:00
Andrew Watkins
7725c79c45
hack: make server return labels and links
2019-03-08 10:14:22 -08:00
Chris Goller
a2b06c49cd
Merge pull request #12434 from influxdata/feat/session-to-auth
...
feat(http): convert user sessions to auth for query service
2019-03-07 16:47:47 -06:00
Lyon Hill
ad515cbdc5
Update the required fields for task swagger ( #12400 )
...
* Update the required fields for task swagger
2019-03-07 15:34:12 -07:00
Chris Goller
c1e74f30ad
feat(http): convert user sessions to auth for query service
...
Co-Authored-By: Kelvin Wang <sherkrainwang@gmail.com>
Co-Authored-By: Michael Desa <mjdesa@gmail.com>
Co-Authored-By: Christopher M. Wolff <chris.wolff@influxdata.com>
2019-03-07 16:01:31 -06:00
Jacob Marble
603a1f26e0
use tracing.StartSpanFromContext
2019-03-07 12:12:31 -07:00
Jacob Marble
ed4e3e130b
return n with error
2019-03-07 12:12:31 -07:00
Jacob Marble
9541e861a3
goimports -w -local github.com/influxdata/influxdb
2019-03-07 12:12:31 -07:00
Jacob Marble
92fa813c45
add spans to multiple services
2019-03-07 12:12:31 -07:00
Christopher M. Wolff
e28ecdc0e9
refactor(query): make queryd present ProxyQueryService ( #12360 )
...
Fixes influxdata/idpe#2014 .
2019-03-07 07:32:13 -08:00
Jorge Landivar
2d0ba57f4b
Merge pull request #12387 from zhulongcheng/task-paging
...
feat(http): add task paging links
2019-03-07 01:49:29 -06:00
zhulongcheng
fac5986396
remove argument index from fmt string in scraper tests
2019-03-07 11:10:09 +08:00
zhulongcheng
111ed7767d
docs(http): add members/owners links
2019-03-07 10:56:36 +08:00
zhulongcheng
593ab12e3c
docs(http): remove Owners schema
2019-03-07 10:50:00 +08:00
zhulongcheng
a136a302f1
remove ViewService interface
2019-03-07 10:22:19 +08:00
zhulongcheng
1a46cc8f80
fix(http): remove view handler
2019-03-07 10:18:55 +08:00
Palak Bhojani
ef440615e6
Update response to include event object for LogEvent type
...
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Chris Goller
2019-03-06 16:01:47 -08:00
Palak Bhojani
cdce8b1388
Update Logs type in swagger to match the api response
2019-03-06 14:52:12 -08:00
Michael Desa
2687b7fd61
feat(influxdb): add support for templates
...
feat(influxdb): add generic store for documents
feat(influxdb): support authorizations in document store
feat(influxdb): support orgs in user resource mapping
feat(influxdb): add read-only included field on documents
feat(influxdb): add labels support to documents service
fix(influxdb): rename data field to content on documents
feat(influxdb): add with org id options for document store
feat(http): add templates swagger
feat(influxdb): add documentation to document options
doc(kv): add documentation for kv document store
test(kv): pull document tests in to the testing package
fix(http): fix swagger specification of templates endpoints
2019-03-06 13:18:31 -08:00
zhulongcheng
b8a9c9595d
feat(http): add task paging links
2019-03-06 15:06:35 +08:00
Nathaniel Cook
a190ddb44c
fix(http): fix tests for encoding changes
2019-03-05 16:56:35 -07:00