Johnny Steenbergen
136822da51
feat(pkger): extend endpoints to be able to define a endpoint and rename it
2020-03-17 11:31:33 -07:00
Johnny Steenbergen
43de2fb4e8
feat(pkger): extend checks to be able to define a check and rename it
2020-03-17 08:16:04 -07:00
Johnny Steenbergen
de32cf94d0
feat(pkger): extend labels to be able to define a label and rename it
2020-03-16 16:20:42 -07:00
Johnny Steenbergen
952d7d7528
feat(pkger): extend buckets to be able to define a bucket and rename it
...
this work is the first of making resources ALL unique by metadata.name. The
displayName is a means to rename an existing resource. This is all to support
pkger idempotency. The metadata.name field will be the unique identifier within
a pkg.
2020-03-16 14:18:30 -07:00
Ariel Salem
d2a49b8052
fix(ui): fixed dashboard cells and check query builder update bug ( #17202 )
2020-03-11 14:35:39 -07:00
Johnny Steenbergen
39b433c43f
feat(pkger): add table view parser support
2020-03-04 12:48:46 -08:00
Johnny Steenbergen
fca4e13255
fix(pkger): fix issue with imports causing option task to be injected at wrong point
...
closes : #17069
2020-03-02 15:19:54 -08:00
Johnny Steenbergen
7761c99818
fix(pkger): elminate threshold color requirement for guage charts
2020-02-27 09:49:12 -08:00
Johnny Steenbergen
ce08936deb
fix(pkger): fix check for labels having conflict
...
also backfills a bunch of missing tests for these has conflict types
2020-02-13 11:58:06 -08:00
Johnny Steenbergen
036ba49e12
feat(pkger): add env ref fields for remaining resources
2020-02-05 07:47:12 -08:00
Johnny Steenbergen
64c8707594
feat(pkger): add support for env references for buckets
2020-02-04 17:00:11 -08:00
Johnny Steenbergen
71f204d465
fix(pkger): drop text color requirement for single stat charts
2020-02-03 13:48:34 -08:00
Zoe Steinkamp
5ff7ec6035
fix: Fixing master gauge issues
2020-01-16 14:53:28 -07:00
Zoe Steinkamp
f4ba7db697
fix: Fixing master gauge issues
2020-01-16 13:55:30 -07:00
Zoe Steinkamp
9afac5bac6
feat(ui): add the optional suffix and prefix to guage ( #15909 )
2020-01-16 08:40:40 -07:00
Johnny Steenbergen
41beaf0bd5
fix(pkger): fixes issue where pkger can't discern the mime/content type of a package
...
also makes the yaml decoder the default. To foten we end up in application/octet-stream
which is the default for many different mime types. This provides a mechanism
around that so that when the automagical detection fails it can allow the user
to provide it via the CLI.
2020-01-14 15:44:48 -08:00
Johnny Steenbergen
234c458fa0
fix(pkger): fix missing API version in export of existing resources
2020-01-14 14:36:37 -08:00
Johnny Steenbergen
63fd1e2e9a
feat(pkger): make pkger packages CRD compliant
2020-01-14 13:20:00 -08:00
Johnny Steenbergen
fdc3e7658c
feat(pkger): add ability to supply a pkg from a url
...
the following is now possible from the CLI(same in REST API):
influx pkg -u 1717709ffa/bucket_pkg_json
2020-01-12 07:53:58 -08:00
Michael Desa
26e8ee879c
feat: add tool to migrate 1.x chronograf dashboards and variables
...
feat(pkger): export dashboard and variable *ToResource methods
fix(pkger): add empty selected _measurement to builder config
feat(chronograf): add note & note visibility to dashboard cell
The 1.x DashboardCell struct had migrated since we brought the code into
the InfluxDB codebase. This allows us to migrate cells that were created
since then.
feat(cmd/chronograf-migrator): add 1.x chronograf migrator tool
feat(chronograf-migrator): add function to transpile queries
fix: update spelling of todo comment pkger/models.go
Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
fix(chronograf): add type to DashboardQuery
The type has evolved since this code was moved over from chronograf.
Previously, we did not have access to flux as a type of query.
feat(chonograf-migrator): transpile influxql query to flux if possible
fix(chronograf): omit fields when empty on old chronograf structs
fix: make linter not mad at me
feat(chronograf-migrator): lowercase variable names
fix(pkger): add empty selected measurement to builder config
chore(chronograf-migrator): add basic readme
chore(pkger): export Variable and Dashboard ToResource methods
fix(chronograf-migrator): move flags out of init call
2020-01-10 09:05:19 -08:00
Johnny Steenbergen
cce279a80e
feat(pkger): add ability to provide secrets alongside package when applying
...
this provides the ability to add secret refs at runtime instead of adding
them to the pkg.
2019-12-27 12:41:42 -08:00
Johnny Steenbergen
c9431bceb8
feat(pkger): add apply functionality for task resource
2019-12-23 13:56:42 -08:00
Johnny Steenbergen
8e87498317
feat(pkger): add dry run functionality for task resource
2019-12-23 11:40:28 -08:00
Johnny Steenbergen
e33d74b38c
feat(pkger): add support for tasks to parser
2019-12-23 09:24:35 -08:00
Johnny Steenbergen
af5b7fd7d3
feat(pkger): add export support for notification rules
2019-12-21 14:58:02 -08:00
Johnny Steenbergen
61dceaa727
feat(pkger): add application functionality for the notification rules resource
2019-12-20 12:48:46 -08:00
Johnny Steenbergen
02aec6ed29
feat(pkger): add dry run functionality for notification rules
2019-12-19 16:31:22 -08:00
Johnny Steenbergen
1d3e0daca4
feat(pkger): add parser support for notification rules
2019-12-19 12:56:02 -08:00
Johnny Steenbergen
a8a4d3d0b2
feat(pkger): add export functionality to checks resource
2019-12-18 17:52:28 -08:00
Johnny Steenbergen
677e836bf4
feat(pkger): add apply functionality for checks
...
this work is to support pkger, but was able to add back in the
skipped tests. seeing failures upstream, and didn't catch it in
influxdb b/c the tests were being skipped.
closes : #14799
2019-12-18 15:02:03 -08:00
Johnny Steenbergen
1db3256980
feat(pkger): add check dry run functionality
2019-12-18 12:15:08 -08:00
Johnny Steenbergen
7c10270c4c
feat(pkger): add support for check resource to pgker parser
...
adds both basic resource specific and the label association
support to check resource in parser
2019-12-18 11:07:19 -08:00
Johnny Steenbergen
d42bbb3c64
feat(pkger): add support for exporting notification endpoints
2019-12-17 11:33:34 -08:00
Johnny Steenbergen
b8652ee178
feat(pkger): add support for secret references to notification endpoints parsing
2019-12-17 11:33:34 -08:00
Johnny Steenbergen
39e89eafdf
chore(pkger): utilize http client for integration tests for pkger
2019-12-13 09:46:01 -08:00
Johnny Steenbergen
3daaa4d307
feat(pkger): add apply functionality for notification endpoints kind
2019-12-11 15:13:42 -08:00
Johnny Steenbergen
69d7eb4455
feat(pkger): add notification endpoint dry run functionality
2019-12-11 15:13:42 -08:00
Ariel Salem
08d8efbaec
feat(ui): added date/time format for graphs ( #16148 )
...
* feat(ui): added date/time format for graphs
* fix(ui): removed unnecessary console.log
* feat(ui): updated BE models to reflect necessary updates to structs
* fix(dashboard): updated failing gotests
2019-12-06 12:03:55 -08:00
Johnny Steenbergen
4a888cc706
feat(pkger): add support for notification endpoints to parser
2019-12-06 10:40:11 -08:00
Johnny Steenbergen
ea67663ab7
fix(pkger): cleanup leftover bits from telegraf and label mapping misses
...
telegraf was not being mapped correctly for applying the label mapppings
and touched up a bunch of other issues that came up along the way.
2019-12-06 08:51:32 -08:00
Johnny Steenbergen
c76babdce6
feat(pkger): add support for exporting telegraf
2019-12-05 09:58:44 -08:00
Johnny Steenbergen
695211aeda
feat(pkger): add dry run and apply functionality for telegraf resources
2019-12-04 13:50:42 -08:00
Johnny Steenbergen
51500396b3
feat(pkger): extend dashboards to capture position fields for xy and line plus stat charts
2019-12-03 16:10:50 -08:00
Johnny Steenbergen
996c88e953
feat(pkger): add telegraf as a valid resource to the pkger parser
2019-12-03 11:17:20 -08:00
Johnny Steenbergen
d0a336fbf8
chore(pkger): refactor nested labels and non unique by name resources
...
makes the label mapping more generic so we don't have to create N number
of label mapping funcs.
2019-12-03 11:17:20 -08:00
Johnny Steenbergen
988fd0ae80
chore(pkger): refactor diff into common types for easier access
2019-11-22 16:09:23 -08:00
Johnny Steenbergen
888baa2db6
feat(pkger): move bucket pkger model to reflect http APIs retention rules in palce of retention period
2019-11-22 11:13:06 -08:00
Johnny Steenbergen
4d0e0ba1a4
chore(pkger): fixing up the pkger parse error to respect the initial Error call
...
the errors changed during the pkger http server error improvements and this
fixes it to be similar to what it once was, only now its in a flatter fashion
very similar to the pkger http server apply response.
2019-11-21 17:37:14 -08:00
Johnny Steenbergen
77ddcab2b5
feat(influx): add nix pipe support to influx pkg cmd
2019-11-21 10:55:12 -08:00
Johnny Steenbergen
9c525ad413
feat(pkger): add ability to export all and defined list of resources via influx cli to a package
...
refers: #15921
2019-11-21 10:55:12 -08:00
Deary Hudson III
12846aa8e1
feat(pkger): adds histogram chart support ( #15943 )
2019-11-16 14:14:46 -06:00
Deary Hudson III
93c9189a49
feat(pkger): exports scatter and heatmap charts ( #15890 )
2019-11-14 19:05:21 -06:00
Johnny Steenbergen
d08ebf8658
feat(pkger): improve error handling for parser
2019-11-14 08:32:52 -08:00
Deary Hudson III
d3381c4cc0
feat(pkger): adds markdown chart support ( #15872 )
2019-11-13 15:30:52 -06:00
Deary Hudson III
901a76382b
feat(pkger): adds heatmap ( #15857 )
2019-11-12 14:09:13 -06:00
Deary Hudson III
8fe201f8e2
feat(pkger): adds scatter chart support ( #15856 )
2019-11-12 12:06:53 -06:00
Johnny Steenbergen
b58e7947b1
feat(pkger): add support for exporting resource associations
...
also adds some extra user friendliness. it sorts the pkg created via an
export by resource kinds. It also titles the kinds to make them match the
documentation even though the kind is case insensitive. Easier to read this
way.
2019-11-11 08:51:54 -08:00
Johnny Steenbergen
a64b976561
feat(pkger): add export functonality to pkger for existing buckets/labels/dashboards
...
no associations included at this time. Also fixes http response to be just
the pkg without the envelope. Having that envelope makes the API icky to
work with from any shell script or just saving it to file. This feels more
organic to just drop that envelope.
2019-11-08 16:55:24 -08:00
Johnny Steenbergen
5eb29e9ed9
feat(pkger): add label associations to variables
2019-11-07 12:33:20 -08:00
Johnny Steenbergen
d252b20ecc
feat(pkger): add support for variable resource kind to pkger
2019-11-07 12:33:20 -08:00
Johnny Steenbergen
2902638c8a
feat(pkger): add pgker http server to the api handler
2019-11-07 09:44:24 -08:00
Johnny Steenbergen
515b3f542a
feat(pkger): add support for the dry run and apply pkger http endpoints
...
not included is the pretty error handling for the pkger.ParseErr handling
2019-11-07 09:44:24 -08:00
Deary Hudson III
57ffddd9cc
feat(pkger): adds gauge chart support ( #15775 )
2019-11-06 13:22:36 -06:00
Deary Hudson III
3d5e60f1de
feat(pkger): adds xy chart support ( #15767 )
2019-11-05 13:19:25 -06:00
Johnny Steenbergen
a76ca6f199
feat(pkger): add single stat plus line view support to pkger
2019-11-04 11:26:51 -08:00
Johnny Steenbergen
9d44bb02b4
feat(pkger): update pkg application to skip resources that impose no changes
2019-11-04 09:06:55 -08:00
Johnny Steenbergen
c47bad5981
feat(pkger): add single stat chart to pkger dashboards
2019-11-01 14:36:18 -07: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
37decdfa24
chore(pkger): fixup loose ends from PR review
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
a03c497015
feat(pkger): add dry run functionality
...
does not apply to mappings, will apply mappings no matter what. we need to
remedy the uniqueness of resources from the API side. Applies to labels,
label mappings,
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
c7545f8951
feat(pkger): add label -> bucket mappings to pkger
2019-11-01 11:59:09 -07:00
Deary Hudson
220309e498
feat(pkger): adds label support
2019-11-01 11:59:09 -07:00
Johnny Steenbergen
52647af79e
feat(pkger): add groundwork for manifest to support bucket resource
2019-11-01 11:59:09 -07:00