Commit Graph

145 Commits (052c896fa48ebfca2ebc19b7538011659fc26137)

Author SHA1 Message Date
Chris Goller 052c896fa4 feat(http): add flux query service client 2018-09-13 13:21:19 -05:00
Chris Goller 310a64fc97 feat(http): use proxy request in flux service 2018-09-13 13:00:27 -05:00
Chris Goller 02ac64fc35 test(http): add test for querying flux service 2018-09-13 11:56:49 -05:00
Chris Goller 61d60a3c61 feat(http): update /v2/query client to send query.Request with auth 2018-09-13 10:39:08 -05:00
Nathaniel Cook 1786402d48 Merged pull request #822 from influxdata/nc-remove-platform
chore: Updates to be able to remove platform as a dependency of Flux
2018-09-12 10:31:25 -06:00
Nathaniel Cook 672e2d5fe7 chore: Updates to be able to remove platform as a dependency of Flux 2018-09-12 10:18:54 -06:00
Michael Desa 6d083fb8e3 feat(http): add links to auth service response structures 2018-09-12 11:44:44 -04:00
Gianluca Arbezzano d117803e8c
Merge pull request #812 from influxdata/feature/790
Add org as a query param to bucket
2018-09-11 16:59:20 +02:00
Gianluca Arbezzano 12c24080b4
Add org as a query param to bucket
Fixed #790

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2018-09-11 15:24:23 +02:00
Gianluca Arbezzano 0c862f71a1
Add links to orgs http handler
Fixed #795

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2018-09-11 14:55:29 +02:00
Michael Desa 50dad74429
Merge pull request #788 from influxdata/doc/api
Fill out swagger documentation to be the expected state of the API
2018-09-10 16:08:42 -04:00
Michael Desa d6098882f9 feat(http): add links to bucket service response structures 2018-09-10 15:26:08 -04:00
Michael Desa f437888ee2 doc(http): add macro (template variable) swagger documentation
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-06 18:13:36 -04:00
Michael Desa 2c82b18800 doc(http): add links to resources
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-06 16:13:53 -04:00
Michael Desa e2d5ac1637 doc(http): nest users under org and misc. cleanup
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-06 16:13:53 -04:00
Michael Desa 23b468d948 doc(http): add org query param to required resource routes
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-06 16:13:53 -04:00
Michael Desa ec1b4219cb doc(http): remove ping endpoint from swagger
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-09-06 16:13:53 -04:00
Stuart Carnie ac75af2f58 refactor: Migrate query package to influxdata/flux repository 2018-09-06 11:13:48 -07:00
Chris Goller b48fad0c4e
Merge pull request #771 from influxdata/feature/query
feat(http): add flux endpoint /v2/query influx
2018-09-06 11:27:54 -05:00
Jade McGough cd30e5a820
add internal system buckets for orgs (#652)
feat(bolt): add internal system buckets for orgs
2018-09-06 09:19:58 -07:00
Michael Desa 330f76c331 feat(http/influxdb): add csv dialect support to json response 2018-09-06 09:56:16 -04:00
Jade McGough 43e0d143e7
chore(http): return early if a critical error occurs in write path org/bucket lookup (#767) 2018-09-05 15:53:57 -07:00
Chris Goller 6307531df0 feat(http): add checks for nil compiler 2018-09-05 09:33:10 -05:00
Chris Goller cb1de24097 feat(http) add top-level links and health 2018-09-04 17:28:59 -05:00
Chris Goller 37bd273acd feat(http): add flux endpoint /v2/query influx 2018-09-04 16:08:00 -05:00
Mark Rushakoff d4753e2ed6 chore(platform): remove Last Run field from Task
Closes #626.
2018-08-30 11:02:17 -07:00
Chris Goller acddea49a8 fix(http): remove swagger typos 2018-08-30 11:24:55 -05:00
Mark Rushakoff eb24f2d780 fix(http): fix compile error from outdated merge 2018-08-30 09:16:07 -07:00
Jade McGough b39ba889e4
feat(http): add write path (#682)
feat(http): Add write path with embedded NATS streaming server
2018-08-29 16:15:39 -07:00
Chris Goller 4c42d40ca9 docs(http): authorization status is now active or inactive 2018-08-29 13:07:39 -05:00
Chris Goller 40e56333e1 refactor(http): update authorization to use active/inactive status 2018-08-29 13:07:39 -05:00
Chris Goller 8fa72fa35b feat(auth): allow authorizations to be enabled/disabled 2018-08-29 13:07:38 -05:00
Michael Desa 45233d939a feat(platform): add uniform query endpoint for sources
Using query request struct to query resources

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Use query.ProxyRequest instead query.Request

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Proxy request from idpd

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Comments about the desired results

Signed-off-by: Lorenzo Fontana <lo@linux.com>

V1 endpoints working with flux

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Influxql working for v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

V2 influxql query endpoint working

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

V2 Flux compiler support

Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

Improve comments in bolt sources and give error on self

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Review tests failing

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Avoid type casts for compiler types

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Using nil instead of dbrp mapping service for influxql v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Check if compiler types are valid for influxql

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Organization as query param in the flux external handler

Signed-off-by: Lorenzo Fontana <lo@linux.com>

feat(http): update swagger documentation for flux query endpoint

feat(http): document query endpoint design

The code documented does not currently work. It is indended that this
will be implemented in follow up PRs.

feat(platform): move source to platform package

The source Query endpoint implements what's in the query swagger docs

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

feat(platform): allow for encoding and decoding of csv dialects

feat(platform): specify dialect in flux page

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-28 15:53:20 -04:00
Chris Goller bb7d80e7bd
Merge pull request #692 from influxdata/feature/write-swagger
docs(http): add write endpoint documentation
2018-08-27 16:25:09 -07:00
Chris Goller 878ca0f95b docs(http): add further description for 401 on /write 2018-08-27 18:21:31 -05:00
Chris Goller eb443cad53 docs(http): remove outside of retention duration 2018-08-27 18:01:22 -05:00
Chris Goller 6b6aad3478 docs(http): add org parameter to writes 2018-08-27 11:58:14 -05:00
Chris Goller 42f6b278e4 docs(http): add 422 response for writes where points outside of RP 2018-08-26 12:54:12 -05:00
Chris Goller 957e3f72ae docs(http): remove minutes and hours from precision on write 2018-08-26 10:23:34 -05:00
Chris Goller 48107600f2 docs(http): fix swagger formatting for /write route 2018-08-26 10:20:58 -05:00
Chris Goller 4fd19c0054 docs(http): add content-type, content-length, and accept to /write 2018-08-26 10:18:05 -05:00
Chris Goller c85517fcdf docs(http): fix header in write to be content-encoding 2018-08-26 10:01:30 -05:00
Chris Goller 52e71f9592 docs(http): add identity support in Accept-Encoding for write 2018-08-26 09:54:09 -05:00
Chris Goller 0da3fa9122 docs(http): document write over quota response 2018-08-26 09:49:54 -05:00
Chris Goller d4c95ccc5f docs(http): update database to bucket 2018-08-26 09:42:21 -05:00
Chris Goller 54999f3207 docs(http): add disabled boolean for authorization tokens 2018-08-24 14:20:19 -07:00
Chris Goller 2f23bc4045
Merge branch 'master' into feature/write-swagger 2018-08-24 10:33:13 -07:00
Chris Goller 83cf2ace19 docs(http): add write endpoint documentation 2018-08-24 10:26:40 -07:00
Michael Desa 8bc2d33b78 feat(platform): move chronogaf v2 dashboards to platform
test(testing): add tests for dashboards and cells

test(bolt): all conformance tests for dashbaords and cells

fix(bolt): rename dashboardV2Bucket to dashboardBucket

feat(chronograf): introduce v2 dashboards

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): add tests for v2 dashboard reducer

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): create dashboard from dashboard index

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): move tests to same level of heirarchy as file tested

chronograf(chore): implement import dashboard with v2 api

chore(chronograf): delete dashboards from v2 api

chore(chronograf): add source health handler

chore(chronograf): move sources reducer to sources dir

chore(chronograf): remove stutter in notify

WIP stop namespacing by sourceID

chore(chronograf): no longer namespace routes under sources/:sourceID

WIP move dashtimeV1 to ranges

WIP remove CEO

chrore(chronograf): WIP Remove CEO and QueryMaker

chore(chronograf): introduce updateDashboard v2

chore(chronograf): Change cell to view

A dashboard's cell object now only contains positional information
for the cell in it's grid and a reference to the cell's view data.
A cell's view contains all necessary information for the cell's
visualization.

Add react-grid-layout types

chore(chronograf): introduce add cell

chore(chronograf): fix type errors

Not on DashboardPage

feat(platform): add cell methods to dashboard service interface

feat(mock): update dashboard service with cell methods

feat(testing): add cell methods to testing package

feat(bolt): add dashboard cell methods to bolt dashbaord service

feat(http): add cell routes to dashbaord handler

feat(platform): add dependent create/destroy of views from cells

chore(chronograf): introduce update dashboard cells endpoint

WIP update cells FE

fix(http): rename Cells to cells on dashboard cells response

chore(chronograf): re-introduce dashboard cell dragging

feat(platform): add copy dashboard cell to dashboard service

chore(platform): rename cell to view across codebase

feat(bolt): add replace dashboard tests

Move Layouts to Cells

Introduce delete cell

Fix broken test

fix(platform): update route for copying a a dashboard cell

UI for delete cell

Introduce copy cell

feat(platform): add copy view options to AddDashboardCell

feat(bolt): delete views when dashboard is removed.

Cleanup

Fix type errors

Fix links not updating

Remove annotations from RefreshingGraph

Sources and types work

fix(platform): add TODO.go files back

fix(view): rename visualizationType to type in view JSON

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(dashboardTime): change dashboardID to string

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(http): add dashboard api to swagger documentation

review(http): fix comments and function naming

feat(http): update sources swagger documentation

review(http): update the swagger to reflect the implementation

feat(platform): add usingView options to POST /dashboard/:id/cells
2018-08-24 13:22:58 -04:00
Jade McGough a1734f3d35 refactor(http): update task log structure in swagger 2018-08-23 15:58:46 -07:00