Commit Graph

241 Commits (4ac77b634d2c7662a690e9210ee34a89fa1cfb88)

Author SHA1 Message Date
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
Jade McGough 71da130e54 feat(http): add dashboard member endpoints to swagger 2018-10-02 15:31:18 -07:00
Jade McGough 5e94d059e5 feat(http): add owner/member endpoints for bucket service 2018-10-02 15:31:18 -07:00
Jade McGough a1d909b7ff feat(http): add owner/member endpoints to dashboards 2018-10-02 15:31:18 -07:00
Jade McGough 802cd0080e feat(http): move member/owner routes to factories 2018-10-02 15:31:18 -07:00
Jared Scheib 4969a91a9b fix(http): fix typo in /signout links response 2018-10-02 18:27:09 -04:00
Michael Desa 30d97eff23
Merge pull request #933 from influxdata/fix/authentication-service
fix(http): add {Authorization,Session}Service to AuthenticationHandler
2018-10-02 16:30:00 -04:00
kelwang 46e0d0f441
Merge pull request #930 from influxdata/feat/onboarding_client
add setup service
2018-10-02 16:21:33 -04:00
Michael Desa 3996ecb154 fix(http): add {Authorization,Session}Service to AuthenticationHandler 2018-10-02 16:10:41 -04:00
Kelvin Wang 3addadc12a add setup service 2018-10-02 15:58:27 -04:00
lukevmorris 40a98028d8
fix(usage): use stop time as upper bound (#932) 2018-10-02 12:00:23 -07:00
Michael Desa bd07426c87 feat(http): mark misc routes as no auth routes 2018-10-02 14:11:44 -04:00
Michael Desa ce42eabb72 chore(http): update signin route for session test 2018-10-02 14:11:44 -04:00
Michael Desa 0cf834e532 chore(platform): refactor platform http handler to allow for auth 2018-10-02 14:11:44 -04:00
Michael Desa aa25727979 feat(platform): add /api/v2/sign{in,out} routes to platform handler 2018-10-02 14:11:44 -04:00
Michael Desa 458b44d2e7 fix(http): use correct spelling of of authenication in handler constructor 2018-10-02 14:11:44 -04:00
Michael Desa b6fc471948 feat(http): add register no auth route to authentication handler
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-10-02 14:11:44 -04:00
Michael Desa 3eb6b35478 test(http): test http authentication middleware
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-10-02 14:11:44 -04:00
Michael Desa 42ba7ffe11 feat(http): add authentication handler middleware 2018-10-02 14:11:44 -04:00