Deary Hudson III
81965f0b33
feat(kv): unique variable names ( #15695 )
...
* feat(kv): unique variable names
- adds system bucket for creating an index of unique variable names
- adds tests
- deleted unit tests for dead code
- removed a test runner for the variable service from http
2019-11-04 14:28:21 -06:00
Johnny Steenbergen
eea44f6c72
feat(pkger): add dashboard support to pkger
...
included is the base for dashboards and association of labels with
dashboards.
2019-11-01 12:20:54 -07:00
Johnny Steenbergen
fb5f00e05b
chore(http): add missing client methods for label/buckets GET reqs
2019-11-01 11:59:09 -07:00
Deary Hudson
220309e498
feat(pkger): adds label support
2019-11-01 11:59:09 -07:00
Brandon Farmer
ce3e2969ae
Merge pull request #15646 from influxdata/system-bucket-deletion
...
feat(influxdb): Prevent the deletion of system buckets
2019-10-30 16:02:00 -07:00
Brandon Farmer
b5744f1fe1
fix(swagger): Fixes conflicting label types
2019-10-30 15:31:37 -07:00
Brandon Farmer
e473394e7d
feat(influxdb): prevent users from rename system buckets
2019-10-30 12:53:43 -07:00
Gavin Cabbage
75147d014c
feat(tasks): expose lastRunStatus and lastRunError in task API
2019-10-30 14:00:22 -04:00
kelwang
5403e8aaa6
Merge pull request #15607 from influxdata/cli_delete_predicate
...
feat(cmd/influx): add cli delete predicate
2019-10-29 12:10:20 -04:00
Kelvin Wang
27d15deadb
feat(cmd/influx): add cli delete predicate
2019-10-28 11:46:01 -04:00
Gavin Cabbage
6fb8a67ff8
fix(api): change task ID runs success status from 200 to 201
2019-10-26 00:16:48 -04:00
Kelvin Wang
4615a01338
fix(kv): use urm filter to search endpoints
2019-10-24 13:28:34 -04:00
Kelvin Wang
81283b1ac2
fix(kv): find checks by urm
2019-10-24 12:29:48 -04:00
Brandon Farmer
88bf178802
feat(influxdb): Add labels create endpoints
...
- Notification Rules
- Notification Endpoints
- Checks
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2019-10-23 09:53:50 -07:00
Alirie Gray
a8f5e5ba19
fix(tasks): create API facing interface for task runs ( #15539 )
2019-10-22 15:35:47 -07:00
Brandon Farmer
ea82dc3470
fix(tasks): tasks look up system bucket id
2019-10-21 14:48:47 -07:00
Brandon Farmer
b343250390
fix(influxdb): fixes broken tests from system bucket changes
2019-10-21 14:48:47 -07:00
Brandon Farmer
2e0749b3ba
feat(influxdb): Add system buckets on org creation
...
* Only allow users to create user buckets
* Only accept bucket creation parameters on post
2019-10-21 14:48:47 -07:00
Deary Hudson III
c04249ec78
fix(http): /api/v2/orgs/:id/owners|members to 404 ( #15504 )
...
ensures that the endpoints:
* /api/v2/orgs/:id/owners
* /api/v2/orgs/:id/members
404 when the organization resource does not exist
2019-10-21 16:37:30 -05:00
Kelvin Wang
e1d246a19d
fix(predicate): remove unsupported operator parsing
2019-10-18 15:16:21 -04:00
Kelvin Wang
2837d4ec08
fix(predicate): add string parser
2019-10-18 12:02:53 -04:00
Jade McGough
fcc06d4291
feat(http): add predicate endpoint
2019-10-18 12:02:53 -04:00
Kelvin Wang
62f4042853
feat(influxdb): add predicate package
2019-10-18 12:02:52 -04:00
Alirie Gray
552168d3ae
refactor(tasks): use Go time objects for timestamps on task Runs ( #15406 )
2019-10-17 17:23:45 -07:00
George
b3b2f52d57
chore(gateway): log error on unauthorized attempt ( #15452 )
2019-10-17 17:57:01 +01:00
kelwang
3f168b109d
Merge pull request #15117 from influxdata/clientURL_optional
...
fix(notification/endpoint): pagerduty clientURL should be optional
2019-10-15 13:11:50 -04:00
Lyon Hill
3c6779f011
feat(task): Allow tasks to run more isolated from other task systems ( #15384 )
...
* feat(task): Allow tasks to run more isolated from other task systems
To allow the task internal system to be used for user created tasks as well
as checks, notification and other future additions we needed to take 2 actions:
1 - We need to use type as a first class citizen, meaning that task's have a type
and each system that will be creating tasks will set the task type through the api.
This is a change to the previous assumption that any user could set task types. This change
will allow us to have other service's white label the task service for their own purposes and not
have to worry about colissions between the types.
2 - We needed to allow other systems to add data specific to the problem they are trying to solve.
For this purpose adding a `metadata` field to the internal task system which should allow other systems to
use the task service.
These changes will allow us in the future to allow for the current check's and notifications implementations
to create a task with meta data instead of creating a check object and a task object in the database.
By allowing this new behavior checks, notifications, and user task's can all follow the same pattern:
Field an api request in a system specific http endpoint, use a small translation to the `TaskService` function call,
translate the results to what the api expects for this system, and return results.
* fix(task): undo additional check for ownerID because check is not ready
2019-10-11 08:53:38 -06:00
kelwang
072270d7d8
Merge pull request #15372 from influxdata/cli_list_org_members
...
fix(cmd/influx): fix list org members
2019-10-10 12:10:25 -04:00
Kelvin Wang
c96fe7ed6e
fix(cmd/influx): fix list org members
2019-10-10 11:57:03 -04:00
Johnny Steenbergen
dbe0103d92
fix(logging): blacklist endpoints with sensitive data from logging body
2019-10-09 13:17:24 -07:00
Johnny Steenbergen
5a546d5827
Merge pull request #15335 from influxdata/2939/add_logging_to_gateway
...
2939/add logging to gateway
2019-10-07 14:49:36 -07:00
Johnny Steenbergen
9d5392cfd9
fix(logging): add debug logging for all http requests
2019-10-07 14:19:21 -07:00
Jakub Bednář
ea9cf13af6
fix(notification/rule): fixed http NotificationRule ( #15245 )
...
* Fixed handler path for a list of all labels for a notification rule
* Fixed filtering NotificationRules by limit and offset
2019-10-07 09:36:55 +02:00
George
9f5390e449
feat(auth): add jwt support in auth middleware ( #15152 )
2019-09-27 12:12:41 +01:00
Jakub Bednář
732c0cc28d
fix(http): update NotificationRuleBase and NotificationRule schema to reflect reality ( #15244 )
...
* NotificationRuleBase: the endpointID should be required and editable, there is missing a links property
* NotificationRule: add discriminator
* add a missing TraceSpan parameter into a GetNotificationRules and GetChecks
2019-09-26 12:07:44 +02:00
Jakub Bednář
95d6301458
fix(http): add a discriminator for a Threshold schema, add links into CheckBase schema ( #15198 )
2019-09-26 11:09:59 +02:00
Michael Desa
ca937eaf11
fix(http): lookup task before clearing it's id from the notification rule
2019-09-25 16:33:05 -04:00
Johnny Steenbergen
4da248ec30
Merge pull request #15275 from influxdata/task/15258_remove_senstive_data_logging
...
chore(http): remove logging of senstive data
2019-09-25 10:13:10 -07:00
Johnny Steenbergen
fc955c5abe
chore(http): remove logging of senstive data
...
after discussion with team, dropping the request logging was decided on.
2019-09-25 09:49:09 -07:00
Jakub Bednář
ff2747a728
fix(http/check): fix handler path for a list of all labels for a check ( #15216 )
2019-09-25 09:07:24 +02:00
Jakub Bednář
d23b1f9904
fix(http): add discriminator for Check schema ( #15178 )
2019-09-25 08:50:09 +02:00
Brandon Farmer
f61fe82708
fix(influxdb): Always return user status
2019-09-24 15:19:16 -07:00
Michael Desa
d48b28e533
fix(http): prevent writing to http request multiple times
...
Closes https://github.com/influxdata/influxdb/issues/15260
Additionally, we look up a task before clearing the taskID from the
check.
2019-09-24 15:48:36 -04:00
Kelvin Wang
4aa6df1c34
fix(cmd/influx): org add/remove members
2019-09-24 13:26:18 -04:00
kelwang
c3127c8cdd
Merge pull request #15179 from bednar/check-cron
...
fix(alerts): remove the cron option from checks/rules
2019-09-23 21:28:02 -04:00
kelwang
236e8c14ee
Merge pull request #15150 from bednar/flux-paren-expression
...
fix(http): add ParenExpression
2019-09-23 21:26:57 -04:00
Jakub Bednář
9f0d9f6ecb
fix(http): fix NotificationEndpoint: ( #15148 )
...
* Add TraceSpan parameter to GetNotificationEndpoints operation
* Fixed handler path for a list of all labels for a notification endpoint
* Fixed filter NotificationEndpoints by limit and offset
2019-09-23 15:55:37 -07:00
Brandon Farmer
d83fabeabc
feat(influxdb): user disabling
2019-09-23 11:57:16 -07:00
Jakub Bednar
8089b9c7ea
fix(http): fix capitalization
2019-09-23 10:30:20 +02:00
Jakub Bednar
83997a7345
fix(http): add ParenExpression
2019-09-23 10:29:09 +02:00