Johnny Steenbergen
f5b9a30b1f
feat(pkger): extend labels diff and summary types to include PkgName and Remove
...
the pkgName refers to the unqiue label resource within the pkg and the
Remove field indicates the label will be removed when applying the pkg
2020-04-01 14:13:45 -07:00
Johnny Steenbergen
34c3b35ca3
feat(pkger): add stack state management for buckets
2020-04-01 13:09:14 -07:00
Johnny Steenbergen
7d8bd1e055
chore(pkger): refactor influx pkg cmd to not validate in CLI and have server validate
...
the pkger.ValidSkipParseError option allows our server to be the one to validate the
the pkg is accurate. If a user has an older version of the UI and our cloud gets updated
with new validation rules,they'll get immediate access to that change without having to
rol their CLI build.
also fixes issue where we swallow initial errors when check setup middleware
fails.
2020-03-25 11:50:14 -07:00
Johnny Steenbergen
8d546f4197
feat(pkger): extend tasks with ability to define and rename it
...
closes : #17233
2020-03-19 10:50:53 -07:00
Johnny Steenbergen
51b0b9f681
feat(pkger): extend notification rules with ability to define and rename it
2020-03-19 08:59:07 -07:00
Johnny Steenbergen
c6f4d3992e
feat(pkger): extend dashboard to be able to define and rename it
2020-03-18 17:02:35 -07:00
Johnny Steenbergen
b3927f4945
feat(pkger): extend telegraf configs to be able to define a config and rename it
2020-03-18 15:14:48 -07:00
Johnny Steenbergen
5711415b78
feat(pkger): extend variables to be able to define a variable and rename it
2020-03-17 12:32:19 -07:00
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
Johnny Steenbergen
39b433c43f
feat(pkger): add table view parser support
2020-03-04 12:48:46 -08:00
Johnny Steenbergen
7761c99818
fix(pkger): elminate threshold color requirement for guage charts
2020-02-27 09:49:12 -08:00
Johnny Steenbergen
6ce0c3de7f
feat(pkger): add support for combining pkgs
2020-02-06 12:40:30 -08:00
Johnny Steenbergen
b2da311aa2
chore(pkger): simplify env refs to remove juggling state between validations
2020-02-06 10:31:43 -08:00
Johnny Steenbergen
7cf6167356
feat(influx): extend pkg command with providing env ref entries
...
this also extend dry run to provide env refs to it. the refactoring was
to enable that bit. Having the ability to dry run with the env ref entries
means we can dry run the pkg with the env ref values to see the impact before
the application takes place.
2020-02-06 08:48:05 -08:00
Johnny Steenbergen
1343ccf7dc
chore(pkger): refactor env refs lookup to be unique by entry idx
...
entry idx is static and unique per object. using this here as a means
to remove duplication when assigning envs on multiple validations of a
pkg.
2020-02-06 08:48:05 -08:00
Johnny Steenbergen
bbdd6bf7fc
feat(pkger): add env refs for associations
2020-02-05 09:48:50 -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
Johnny Steenbergen
c45f011a59
chore(pkger): update comment and update root of pkg error to be `root`
2020-01-24 16:53:24 -08:00
Zoe Steinkamp
d4912dbdaa
fix: Fixing master gauge issues
...
go test
2020-01-16 14:16:45 -07:00
Johnny Steenbergen
63fd1e2e9a
feat(pkger): make pkger packages CRD compliant
2020-01-14 13:20:00 -08:00
Johnny Steenbergen
fe12fd051e
feat(pkger): add jsonnet support for package files
2020-01-13 09:55:08 -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
Johnny Steenbergen
c9431bceb8
feat(pkger): add apply functionality for task resource
2019-12-23 13:56:42 -08:00
Johnny Steenbergen
aef32b0a0a
chore(pkger): improve error handling in service
...
this provides influxdb.Errors whenever possible from the pker service layer.
the behavior that caused the error is somewhat implicated in the errro code.
it is not perfect but is a big step forward. using the http server/client to
run pkger stuff makes it abundantly clear the errors need to be communicated
better.
closes : #16313
2019-12-23 09:36:25 -08:00
Johnny Steenbergen
e33d74b38c
feat(pkger): add support for tasks to parser
2019-12-23 09:24:35 -08:00
Johnny Steenbergen
1d3e0daca4
feat(pkger): add parser support for notification rules
2019-12-19 12:56:02 -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
51f1b73738
feat(pkger): speed up application of pkg with a touch of concurrency
...
governs the concurrency with a simple semaphore. Defaults to 5
concurrent reqs, anything greater, could put a lot of pressure
on the system as a whole (especially OSS/bolt store).
2019-12-06 18:15:35 -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
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
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
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
1a28a3256e
feat(pkger): extend apply HTTP API to return parse err with 422 resp
2019-11-14 12:11:13 -08: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