Jared Scheib
c9daa0c1d2
Update swagger to include defaultRP
...
Backfill source fields that were missing to swagger as well.
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 12:34:36 -07:00
Iris Scholten
c56382255e
Create Test for proxying InfluxDb
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-13 14:34:57 -07:00
Jared Scheib
91042ef91a
WIP Test Influx proxy API
2018-04-13 11:22:33 -07:00
Jared Scheib
3754fa6dfa
Test UpdateSource (including defaultRP)
...
Uses a test server to mock the server responses
necessary for update.
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-12 17:54:21 -07:00
Jared Scheib
4d70b5d171
Include source defaultRP in UpdateSource
...
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-12 16:00:49 -07:00
Iris Scholten
c3bed99a92
Complete test for get SourcesID
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 14:20:02 -07:00
Iris Scholten
8d7107093c
WIP create test for getting a source with no defaultRP
...
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-11 13:34:58 -07:00
Andrew Watkins
7c0fc49225
Display arguments and thier values
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Jared Scheib
3ffaa55aee
Merge pull request #2832 from influxdata/feature/rest-measurements
...
Add API for measurements with pagination
2018-04-04 16:55:48 -07:00
Jared Scheib
207fb0a49b
Merge branch 'master' into feature/rest-measurements
2018-04-04 16:21:16 -07:00
Jared Scheib
78e219b43f
Test Measurements api for 'prev' link when offset > limit
2018-04-04 16:19:54 -07:00
Jared Scheib
8f0c5d6055
Remove redundant limit value check from newMeasurementsLinks
2018-04-04 15:33:26 -07:00
Brandon Farmer
e447471404
If a org is missing then don't add it to list
...
Requests to /me and deleting organization can result in a race condition
2018-04-04 15:25:58 -07:00
Brandon Farmer
5770d5e6f7
Only add stateChangesOnly to new rules
...
- New rules default to a blank id
- Check for blank id before adding stateChangesOnly
2018-04-04 14:26:16 -07:00
Jared Scheib
8ccf582acc
Rename db & rp vars & url params for clarity & consistency
...
Updates swagger as well.
Clarify that instead of dbid and rpid, these values are names.
Rename the var for the Databases service to dbsvc.
2018-04-04 14:22:08 -07:00
Jared Scheib
982fa38fc1
Rename database function arguments for consistency
2018-04-04 13:25:45 -07:00
Andrew Watkins
b127d2d96a
Merge pull request #3118 from influxdata/bugfix/flash-notifications
...
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Luke Morris
9eb7a8cdd4
Reintroduce :interval: work
...
This reverts commit 4b54081cf8
.
:interval: represents a duration now
queryConfig must recognize both :interval: forms
Another case to consider
Fix broken links in CHANGELOG
Rudimentary migration system w/ :interval: migration
Only looking for :interval: now
Server can expect time(:interval:) from now on
Repair go specs
2018-04-03 16:52:34 -07:00
Andrew Watkins
8f770c4636
Update server tests
2018-04-03 16:38:52 -07:00
Jared Scheib
0f0e1b60ac
Add swagger docs for new /measurements API, response, & structs
2018-04-03 16:04:16 -07:00
Jared Scheib
1a0a02c612
Test GetMeasurements overrides offset less than 0 with offset 0
2018-04-03 16:04:16 -07:00
Jared Scheib
e2e0b9749c
Test GetMeasurements overrides limit <= 0 with limit 100
2018-04-03 16:04:16 -07:00
Jared Scheib
55e8f5cbd8
Test GetMeasurements fails on invalid offset value provided
2018-04-03 16:04:16 -07:00
Jared Scheib
786d345ee2
Test GetMeasurements fails on invalid limit value provided
2018-04-03 16:04:16 -07:00
Jared Scheib
214c57c5d7
Test GetMeasurements with no offset or limit
2018-04-03 16:04:16 -07:00
Jared Scheib
3727caf5fd
WIP Test GetMeasurements
...
Create Databases mocks
Add comments to chronograf.Databases methods
2018-04-03 16:04:16 -07:00
Jared Scheib
eb4d07f4ae
Change AllMeasurements to GetMeasurements to be precise & update comment
2018-04-03 16:04:16 -07:00
Chris Goller
a5722da2a7
Add measurements with pagination
2018-04-03 16:04:16 -07:00
Andrew Watkins
5f5a8c2ee5
Introduce /health endpoint
2018-04-03 15:58:33 -07:00
Andrew Watkins
118cbcd0bd
Merge pull request #3112 from influxdata/bugfix/influxdb-delete-user-role
...
Bugfix: Delete UserRole and handle providing no roles or permissions
2018-04-03 12:02:27 -07:00
nathan haugo
c94bb8d6ce
Update for 1.4.3.1
2018-04-02 17:50:32 -07:00
Andrew Watkins
518bd60f00
Fix server validation
2018-04-02 17:09:31 -07:00
Alex P
88706be6dc
Merge branch 'master' into moar-colors-n-stuff
2018-04-02 11:51:27 -07:00
ebb-tide
de22496613
Merge branch 'master' into feature/table-graph-polish
2018-03-29 18:56:10 -07:00
ebb-tide
b38b812867
Change swagger a tad
2018-03-29 18:52:35 -07:00
Jared Scheib
183a194215
Merge pull request #2656 from influxdata/swagger-1.4.0.0
...
Update Swagger for most multiorganization & multiuser changes
2018-03-29 17:01:53 -07:00
Jared Scheib
6d93ee470f
Further disambiguate Invalid JSON vs Invalid data schema
2018-03-29 16:53:13 -07:00
Jared Scheib
7a85c9be1c
Update superAdmin description
2018-03-29 16:43:10 -07:00
Jared Scheib
ccce4a6226
Remove -Chronograf suffix from User & Role
2018-03-29 16:40:35 -07:00
Jared Scheib
04251c01d8
Add 'InfluxDB-' prefix to User, Role, Permission, & Allowance
2018-03-29 16:39:13 -07:00
Jared Scheib
50feb5b138
Remove obsolete 'public' property from organizations
2018-03-29 16:18:19 -07:00
Brandon Farmer
d5a6f4a75d
Fix tests related to new ifql ast link
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer
178b366191
Func item triggers a handler when it is clicked
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Andrew Watkins
ad7d96d697
Add endpoint for raw string conversion to AST
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins
6e35370751
Change /suggestions response format to include params
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:03:26 -07:00
Andrew Watkins
81ea6506ab
Provide links to ifql api
2018-03-29 16:01:01 -07:00
Brandon Farmer
7ee78603ee
Update revision for ifql and fix tests
2018-03-29 16:01:01 -07:00
Brandon Farmer
83c3813d7e
Add endpoints for ifql function suggestions
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:01:01 -07:00
Jared Scheib
0fb86814f6
Correct typo
2018-03-29 15:45:21 -07:00
Jared Scheib
1898c0847e
Properly use enums to limit valid role strings
2018-03-29 15:44:04 -07:00