Commit Graph

259 Commits (dc73aee61f658bdcbba0c7a64b558f21e9180cfa)

Author SHA1 Message Date
Kelvin Wang 020f944d14 draft of telegraf 2018-10-12 17:51:36 -04:00
Kelvin Wang 27b2715264 fix scraper id 2018-10-12 10:03:06 +02:00
Chris Goller b4e1cd4199 tests(http): add tests for creation without IDs 2018-10-12 10:03:06 +02:00
Chris Goller 4eadff4f55
docs(http): tasks fields can now be updated (#1059)
* docs(http): tasks fields can now be updated

* docs(http): update task name description
2018-10-11 17:24:58 -05:00
Jade McGough ce9c06f5c8 update swagger 2018-10-11 11:15:02 -07:00
Jade McGough 4a951cfca8 feat(http): add user/member endpoints to view service 2018-10-11 11:15:02 -07:00
Jade McGough 7e11247384 use constants for view service http routes 2018-10-11 11:15:02 -07:00
Chris Goller 735062c798 chore(http): update user server after rebase 2018-10-11 09:54:19 -05:00
Chris Goller 2bea48f15a refactor(testing): rename MustIDFromString to MustIDBase16 2018-10-11 09:54:19 -05:00
Chris Goller 4ead3308cf chore(http): remove extra blank line 2018-10-11 09:54:19 -05:00
Chris Goller 7a0206b2a5 refactor(http): remove variables named temp 2018-10-11 09:54:19 -05:00
Leonardo Di Donato ad7b756e45 fix(platform): platform test and pointers
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 3d732812d4 update(platform/http): partial refactoring for uint64 IDs 2018-10-11 09:54:18 -05:00
Leonardo Di Donato 6725ae6f64 feat(platform/id): method to create an invalid id
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 1ca7cd2a86 fix(http): session tests using uint64 IDs now 2018-10-11 09:54:18 -05:00
Leonardo Di Donato 95dfff47c6 fix(http): porting tests to uint64 IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 3ebc6548e3 fix(bolt/source): insert missing organization IDs
Before was working since 0 ids (eg., organization ID of empty source
istances) were valid ones. Not anymore.
2018-10-11 09:54:18 -05:00
Leonardo Di Donato d54fdd51e0 wip(http): porting to uint64 IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 9fa032da28 fix(http): refactoring to support uint64 platform.IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Leonardo Di Donato 8d7f06cf4b feat(platform/id): using uint64 for platform.IDs
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-by: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Jonathan A. Sternberg e7e17d6972
refactor: move the logger package from influxdb to platform
We are moving the necessary code for 2.0 from the influxdb 1.X
repository to the platform 2.0 repository. The logger is an unnecessary
dependency on the old influxdb that is making life more complicated.
2018-10-10 15:49:07 -05:00
Brandon Farmer d6c18abfd5
Merge pull request #1030 from influxdata/add-me-endpoint
Add a me endpoint for chronograf
2018-10-10 13:46:11 -07:00
Brandon Farmer 0799765d1b Add me endpoint to links 2018-10-10 13:31:34 -07:00
Lyon Hill 610faf18e7
Update the scheduler to add a few task logs (#1029) 2018-10-10 12:37:11 -06:00
Brandon Farmer 3eae61c202 Add me endpoint to swagger 2018-10-10 10:29:05 -07:00
Brandon Farmer d65008d24b Add a me endpoint for chronograf
Returns the currently signed in user from session or token
2018-10-10 10:07:54 -07:00
Jade McGough bb6d8cf156 fix(http): inject resource type into Post member factory 2018-10-09 13:19:19 -07:00
Jade McGough 4c7f66a1c3 feat(http): add owner/member endpoints for tasks 2018-10-09 13:19:19 -07:00
Jade McGough bf29ff7ca3 convert task service http endpoints into constants 2018-10-09 13:19:19 -07:00
Jade McGough 4a59e877c7
Merge pull request #974 from influxdata/filter-owners
Filter dashboards by owner
2018-10-08 18:57:09 -07:00
Jade McGough bd672f6933 fix(http): support multiple IDs in dashboard GET params 2018-10-08 18:54:40 -07:00
Jade McGough 86266b37c1 feat(http): if owner is specified for dashboards GET, only return their dashboards 2018-10-08 18:51:16 -07:00
Jade McGough ce849bb39e feat(http): add ids param to dashboard endpoint 2018-10-08 18:51:16 -07:00
Chris Goller 90494a5309 chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
Jade McGough 9f83f6b054 add ownerID to bucket GET filter 2018-10-08 15:03:57 -07:00
Lyon Hill f081ce95f0
allow run shows to work with an actual org id. (#981)
* allow run shows to work with an actual org id.
also necessary for using actual run lists
2018-10-08 14:07:08 -06:00
Nathaniel Cook 3f52673332
Merge pull request #887 from influxdata/nc-flux-org-test
fix: Add tests for orgID parameter
2018-10-08 14:04:19 -06:00
Jeff Wendling 260ed3eb13 chore: don't depend on details of what platform.ID is
It may become a uint64 in the future, for example. This does mean
that we have to call Decode on some data that we just Encoded, but
we can fix that later.
2018-10-08 12:31:39 -06:00
Chris Goller aee35e4cde fix(http): links updated to match swagger doc 2018-10-06 10:11:20 -05:00
Jared Scheib 20a06bea98 fix(http): correct typo in authentication scheme error 2018-10-05 12:55:53 -07:00
Edd Robinson 81e0fbabeb Integrate WAL into engine 2018-10-05 12:44:27 +01:00
Mark Rushakoff 955eabd551 refactor(http): prefer Addr over URL in field names
The other services all use the field Addr, so consistently use Addr,
instead of sometimes using URL.
2018-10-04 13:59:58 -07:00
Jonathan A. Sternberg f7b4c4001e
Merge pull request #527 from influxdata/js-remove-error-field-with-no-error
fix(http): only log an error and reference code if it exists
2018-10-04 11:51:15 -05:00
Jeff Wendling 5fa10786a2 Fix issue with rebasing 2018-10-03 17:40:01 -06:00
Jeff Wendling 6a0fc9237c Read/write points with the appropriate measurement 2018-10-03 17:39:30 -06:00
Jeff Wendling 6176671ecb Change how the write and query handlers look at auth 2018-10-03 15:55:56 -06:00
Andrew Watkins 709310d05e
feat: line plus single stat view type (#936)
* Introduce LinePLusSingleStat

* Remove v1 view types

- Introduce line + single stat view
2018-10-03 10:17:14 -07:00
Chris Goller ca9100366b feat(http/view): add storing LogView config
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-10-02 19:27:49 -05:00
Jade McGough bb94d870ce fix(http): fix server url in swagger 2018-10-02 15:31:18 -07:00
Jade McGough 6bbdbf1ef0 feat(http): update swagger 2018-10-02 15:31:18 -07:00