Johnny Steenbergen
205d022b52
feat(pkger): extend SummaryNotifcationEndpoints with its env references
...
references: #18407
2020-06-10 15:57:06 -07:00
Johnny Steenbergen
98cc30fa24
feat(pkger): extend SummaryCheck with its env references
...
references: #18407
2020-06-10 15:57:06 -07:00
Johnny Steenbergen
ef00f66a55
feat(pkger): extend SummaryDashboard with its env references
...
references: #18407
2020-06-10 15:22:08 -07:00
Johnny Steenbergen
bb270f1145
feat(pkger): extend SummaryLabel with its env references
...
references: #18407
2020-06-10 14:18:37 -07:00
Johnny Steenbergen
70b3619df6
feat(pkger): extend SummaryBucket with its env references
2020-06-10 13:34:33 -07:00
Johnny Steenbergen
73ffe23f9d
chore(pkger): backfill missing fillColumns field for histograms
...
closes : #18431
2020-06-10 07:50:35 -07:00
Johnny Steenbergen
ad27fc9b16
chore(pkger): fixup Accept/Content-Type header inspection in export endpoints
2020-06-09 08:07:34 -07:00
Johnny Steenbergen
812743ec31
chore(pkger): drop unnecessary middleware for http server
2020-06-08 16:19:26 -07:00
Johnny Steenbergen
be4f989961
fix(pkger): lazy init the pkger store
...
closes : #18383
2020-06-05 14:17:26 -07:00
Johnny Steenbergen
09843e110e
chore(pkger): fixup tracing span creation
...
fallback to using the packge.method(type).additional format
2020-06-04 16:02:24 -07:00
Johnny Steenbergen
bc9b69b96f
fix(pkger): provide charts when export stack dashboards by stack
2020-06-04 15:16:15 -07:00
Johnny Steenbergen
a6ead1246e
fix(pkger): provide correct stackID for recording pkg application
...
this bug surfaces when you do not provide a stack ID to the apply call.
the new stack is created, but the resources created are not associated
with it. This remedies that issue.
2020-06-04 13:47:52 -07:00
Johnny Steenbergen
3dcd5d496f
feat(pkger): add ability to export by stack
...
this ability exports all resources associated with a stack by the same
metadata.name fields as the original application had done it. This can
be used as a means to snapshot the current state of the stack. This can
be used for source control or other means.
closes : #18271
2020-06-02 08:18:11 -07:00
Johnny Steenbergen
53794bfae5
feat(pkger): make all pkg applications stateful
...
if no stack is provided then one will be provided for you.
closes : #17997
2020-05-28 16:59:21 -07:00
Johnny Steenbergen
b25b4021c3
chore(pkger): refactor return values for Apply/DryRun to enable extending it
...
references: #17997
2020-05-28 15:34:15 -07:00
Johnny Steenbergen
bfc27a9d65
fix(pkger): relax chart validation on query values
...
this fixes a bug where we are trying to export a dashboard that has chart
with unexpected missign queries. the root cause of these issues is uknown
but the fix here is to remove the strict requirement. a user can still
delete any unexpected cell if they deem necessary after the export.
2020-05-27 15:02:37 -07:00
Ben Johnson
97960a5930
feat(http): Client disconnections should return a HTTP 499 error code.
...
This commit checks http.Request.Context().Err() to see if the context
has been canceled before writing an error code. It uses the non-standard
Nginx 499 error code for client disconnection.
2020-05-14 14:51:57 -06:00
Johnny Steenbergen
37d44d882d
chore(pkger): handle edge cases for telegraf configs that manifest from user interaction
...
closes : #17434
2020-05-06 16:49:50 -07:00
Johnny Steenbergen
3eb5af969a
chore(pkger): handle edge cases for tasks that manifest from user interaction
...
references: #17434
2020-05-06 16:49:50 -07:00
Johnny Steenbergen
7be0d8289b
chore(pkger): handle edge cases for rules that manifest from user interaction
...
references: #17434
2020-05-06 16:18:48 -07:00
Johnny Steenbergen
7f8aa4c40f
chore(pkger): handle edge cases for endpoints that manifest from user interaction
...
references: #17434
2020-05-06 15:56:32 -07:00
Johnny Steenbergen
b4b52570b4
chore(pkger): handle edge cases for labels that manifest from user interaction
...
references: #17434
2020-05-06 15:26:01 -07:00
Johnny Steenbergen
d4aa3be8db
chore(pkger): handle edge cases for dashboards that manifest from user interaction
...
references: #17434
2020-05-06 15:12:30 -07:00
Johnny Steenbergen
485cc3ea54
chore(pkger): handle edge cases for checks that manifest from user interaction
...
references: #17434
2020-05-06 14:57:04 -07:00
Johnny Steenbergen
24dd13bcc6
chore(pkger): handle edge cases for buckets that manifest from user interaction
...
references: #17434
2020-05-06 14:19:44 -07:00
Johnny Steenbergen
ce2baee4d6
chore(pkger): make export test assertions deterministic
2020-05-06 13:49:23 -07:00
Johnny Steenbergen
f575ea8d41
chore(pkger): handle edge cases that can manifest from users in the platform and stateful pkg applications
...
references: #17434
2020-05-06 13:01:50 -07:00
Johnny Steenbergen
9ab4447617
chore(pkger): ensure sorting is done by PkgName for all parser resource summaries
2020-05-06 13:01:50 -07:00
Johnny Steenbergen
3fd731511a
chore(pkger): make integration stack tests indpendent
2020-05-05 11:01:13 -07:00
Johnny Steenbergen
784b222d4d
feat(pkger): enforce metadata.name dns name compliance
...
this PR includes a lot of small changes to names in existing test pkgs.
the tests are updated to follow suit.
closes : #17940
2020-05-04 12:40:22 -07:00
Johnny Steenbergen
95ad3c6582
feat(pkger): add the ability to remove a stack and all its associated resources
...
closes : #17554
2020-05-01 16:18:13 -07:00
Johnny Steenbergen
c7e97f1625
feat(pkger): add service and http server integreations for stack lists
...
references: #17554
2020-04-30 13:24:15 -07:00
Johnny Steenbergen
097d761c3a
feat(pkger): extend store with stack lists operation
...
references: #17544
2020-04-30 13:24:15 -07:00
Johnny Steenbergen
ff27edbea9
feat(pkger): add support for using URLs associated with stack to apply/dry run
2020-04-29 16:48:00 -07:00
Johnny Steenbergen
0a696237eb
chore(pkger): refactor telegraf tests to remove dependency on pkg parsed flag
...
references: #17434
2020-04-29 16:48:00 -07:00
Johnny Steenbergen
72906a4484
feat(pkger): add support for stateful label mappings
...
references: #17434
2020-04-24 17:05:55 -07:00
Johnny Steenbergen
3acd860563
feat(pkger): add stateful management for notification rules
...
references: #17434
2020-04-23 11:47:32 -07:00
Johnny Steenbergen
d82aa62fff
feat(pkger): extend store to support associations
...
references: #17434
2020-04-22 16:50:40 -07:00
Johnny Steenbergen
47e5facc81
feat(pkger): add stateful management for telegraf configs
2020-04-21 15:47:49 -07:00
Johnny Steenbergen
596d8fde45
feat(pkger): add stateful management for tasks
...
notes on this commit. This commit was grueling ;-(. The task API is not a friendly
API to consume. There are a lot of non obvious things going on and almost every
one of them tripped me up. Things of note:
* the http.TaskService does not satisfy the influxdb.TaskService,
making it impossible to use as a dependency if tasks service gets
split out
* the APIs for create and update do not share common types. For example:
creating a task takes every field as a string, but in the update it is
taken as a options.Duration type. A step further and you'll notice that
create does not need an option to be provided, but the update does. Its
jarring trying to understand the indirection here. I struggled mightily
trying to make sense of it all with the indirection and differing types.
Made for a very difficult task (no pun intended) when it should have been
trivial. Opportunity here to fix these up and make this API more uniform
and remove unneccesary complexity like the options type.
* Nested IDs that get marshaled, are no bueno when you want to marshal a task
that does not have an ID in it, for either user/org/or self IDs. Its a challenge
just to do that.
* Lots of logs in the kv.Task portion where we hit errors and log and others where
we return. It isn't clear what is happening. The kv implementation is also very
procedural, and I found myself bouncing around like a ping pong ball trying to
make heads or tails of it.
* There is auth buried deep inside the kv.Task implementation that kept throwing me
off b/c it kept throwing errors, instead of warns. I assume, not sure if I'm
correct on this, but that the stuff being logged is determined inconsequential
to the task working. I had lots of errors from the auth buried in there, and hadn't
a clue what to make of it....
leaving these notes here as a look back at why working with tasks is so
difficult. This API can improve dramatically. I spent 5x the time trying
to figure out how to use the task API, in procedural calls, than I did
writing the business logic to consume it.... that's a scary realization ;-(
references: #17434
2020-04-21 09:14:20 -07:00
Johnny Steenbergen
c483aec2d2
feat(pkger): add stateful management for dashboards
2020-04-20 14:04:45 -07:00
Johnny Steenbergen
8251c362ee
chore(pkger): refactor parser notification rule state out into stateful type
...
this PR also drops a bunc of dead code that was necessary for times of integration.
references: #17434
2020-04-17 14:02:29 -07:00
Johnny Steenbergen
21694416a3
chore(pkger): refactor parser dashboard state out into stateful type
...
references: #17434
2020-04-16 13:27:36 -07:00
Johnny Steenbergen
f084a93fa2
chore(pkger): refactor parser telegraf config state out into stateful type
...
references: #17434
2020-04-16 12:05:07 -07:00
Johnny Steenbergen
da2cf7e94a
chore(pkger): refactor parser task state out into stateful type
...
references: #17434
2020-04-16 10:06:44 -07:00
Johnny Steenbergen
94ae519cc6
chore(pkger): refactor parser notification endpoint state out into stateful type
...
references: #17434
2020-04-15 14:26:25 -07:00
Johnny Steenbergen
c8a79f5653
chore(pkger): refactor parser variable state out into stateful type
...
references: #17434
2020-04-14 16:48:56 -07:00
Johnny Steenbergen
cb7f8ba521
chore(pkger): refactor parser check state out into stateful type
...
references: #17434
2020-04-14 15:43:50 -07:00
Johnny Steenbergen
68183bb156
chore(pkger): refactor embedded types out of stateful types
2020-04-14 14:12:23 -07:00
Johnny Steenbergen
c718b676ef
chore(pkger): refactor pkger data model to separate parsed and stateful datum
2020-04-14 09:28:09 -07:00
Johnny Steenbergen
217eddc87e
fix(pkger): add monotoneX geom type to valid geometries
2020-04-13 13:31:14 -07:00
Johnny Steenbergen
ec1324ba4a
fix(pkger): fixup field misassignment in table view export
...
closes : #17708
2020-04-13 12:22:36 -07:00
Johnny Steenbergen
67ccbd4490
fix(influx): add nil check for printing diff of endpoints and checks
2020-04-09 13:15:32 -07:00
Johnny Steenbergen
cee77081b2
feat(pkger): extend tasks with unique constraints
2020-04-08 14:38:32 -07:00
Johnny Steenbergen
afb1653bff
chore(pkger): refactor diffs to use reuable identifier type
2020-04-08 13:30:43 -07:00
Johnny Steenbergen
85e31e8194
feat(pkger): update tasks with unique constraints
2020-04-08 13:30:43 -07:00
Johnny Steenbergen
845718c0d6
feat(pkger): update dashboards with unique constraints
2020-04-08 11:21:28 -07:00
Johnny Steenbergen
dd432360cc
feat(pkger): update notification rule with unique constraints
2020-04-08 10:36:21 -07:00
Johnny Steenbergen
c245f3233b
chore(pkger): add stack state management for notification endpoints
2020-04-06 14:56:56 -07:00
Johnny Steenbergen
1e19f38502
chore(pkger): add stack state management for variables
2020-04-06 10:22:55 -07:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Johnny Steenbergen
21d2bf5dc6
chore(pkger): add stack state management for checks
2020-04-02 16:32:20 -07:00
Johnny Steenbergen
e6317a04ee
chore(pkger): refactor summary/diff types for Endpints|Checks|Variables
2020-04-02 12:35:51 -07:00
Johnny Steenbergen
762e9a422e
feat(pkger): add stack state management for labels
2020-04-02 09:03:59 -07:00
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
098fd27ab4
feat(pkger): extend DiffBucket with name for existing and new bucket values
...
provides mapping between pkgName and resource the diff represents. Now that
stacks are in place, the existing bucket may change names.
2020-03-31 13:34:40 -07:00
Johnny Steenbergen
aa8e080858
chore(pkger): add additional documentation for pkger
2020-03-27 12:54:55 -07:00
Johnny Steenbergen
37646464b3
feat(pkger): add stack init cmd to influx cli
...
closes : #17235
2020-03-27 08:32:58 -07:00
Johnny Steenbergen
8c70dc9b23
feat(pkger): add create stack endpoint for http server
2020-03-26 12:37:43 -07:00
Johnny Steenbergen
7a24e450c1
feat(pkger): add auth for pkger stack CRUDing
...
adds new AuthAgent type that can be reused across service middleware.
2020-03-26 10:11:59 -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
c926accb42
feat(pkger): add create stack implementation for service
2020-03-23 16:30:27 -07:00
Johnny Steenbergen
aae629bffd
feat(pkger): extend stack with name and description fields
2020-03-20 11:37:30 -07:00
Johnny Steenbergen
e116ecaf5e
feat(pkger): add CRUD store implmentation
2020-03-20 10:15:02 -07:00
Johnny Steenbergen
583e512451
feat(pkger): add stack foundation
2020-03-20 10:15:02 -07:00
Johnny Steenbergen
2d1186a696
feat(pkger): add human readable random names to pkg resource metadata.name field one export
2020-03-20 08:18:04 -07:00
Johnny Steenbergen
74dd8397d3
chore(pkger): refactor name and display name with type
2020-03-19 10:50:53 -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
9d272b2229
chore(pkger): refactor exportCoordinator constructor
2020-03-18 17:02:35 -07:00
Johnny Steenbergen
53a14e653f
chore(pkger): add tests to confirm telegraf configs can export with duplicative names
2020-03-18 15:14:48 -07:00
Johnny Steenbergen
c31f321d11
chore(pkger): refactors export mechanics to provide unique metadata.name and spec.name
...
this is applied to all the resoruces that have had the spec.name field applied.
all resources that have not will work in the same way before this commit.
2020-03-18 15:14:48 -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
c8a4d1c018
chore(pkger): cleanup http server tests that hit an external service
2020-03-16 16:20:42 -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
de24c0e813
feat(influx): extend pkg export all cmd to allow for filtering of output
...
currently, support by filtering labelName and or by resource kind
closes : #17029
2020-03-09 09:27:01 -07:00
Johnny Steenbergen
1c9fd705a3
feat(pkger): add support for exporting org resources filtered by label
2020-03-06 14:51:01 -08:00
Johnny Steenbergen
6818925643
feat(pkger): add support for exporting all and filter by resource types
...
note: all associations are still included for resources that match the
filte criteria.
2020-03-06 11:51:38 -08:00
Johnny Steenbergen
29af0a26ff
feat(pkger): add support for exporting table view charts
...
closes : #16882
2020-03-04 14:20:56 -08: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
46758e3370
fix(pkger): correct the export of tasks to include system type tasks
...
wrong assumption in original design. The system tasks are actually
the CRUD tasks. Name is a bit confusing for user generated tasks.
closes : #17038
2020-02-27 17:16:12 -08:00
Johnny Steenbergen
1a12ebc8ab
fix(pkger): fix bug where tasks are exported for notification rules
2020-02-27 15:28:07 -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
684f7b82ad
feat(pkger): extend HTTP API to enable users to submit multiple pkgs in one call
2020-02-07 08:08:58 -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
9ee07b097c
chore(pkger): refactor http server to use new http.API type
2020-02-04 10:42:54 -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
343c9b166b
chore(pkger): consolidate pkger http server into pkger
...
this is the last step for pkger to follow the service definition pattern
that is in the works. Some bits from http were moved into kit/transport/http
for reusability. End result is to hopefully axe http pkg for resuable types in
kit. Long ways off still...
2020-02-03 12:39:47 -08:00
Johnny Steenbergen
f9ed0ccb82
feat(pkger): add metrics svc middleware
2020-02-03 11:07:46 -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
Johnny Steenbergen
f22201f5a8
fix(pkger): update yaml dep and trim space for all queries exported by pkger
...
attempt at fixing an issue that is hard to reproduce. the dep library says it
is fixed but we are still seeing issues.
closes : #16632
2020-01-22 17:44:56 -08:00
Zoe Steinkamp
5ff7ec6035
fix: Fixing master gauge issues
2020-01-16 14:53:28 -07:00
Zoe Steinkamp
93037e3975
fix: Fixing master gauge issues
2020-01-16 14:23:04 -07:00
Zoe Steinkamp
d4912dbdaa
fix: Fixing master gauge issues
...
go test
2020-01-16 14:16:45 -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
93c8a2a104
feat(pkger): add service logging and tracing middlewares
2020-01-15 12:00:59 -08: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
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
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
0dc5c2af92
feat(pkger): fixup flux query normalization in exporting of task
2019-12-27 15:16:48 -08:00
Johnny Steenbergen
5bdcfaee4d
fix(pkger): make pkger skip system tasks when exporting all tasks
2019-12-27 14:26:18 -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
33756ca7a8
fix(pkger): remove tasks created by checks from being exported when exporting by org
2019-12-27 09:36:23 -08:00
Johnny Steenbergen
1c2421cb9c
feat(pkger): add export support for tasks
2019-12-23 15:41:14 -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
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
af5b7fd7d3
feat(pkger): add export support for notification rules
2019-12-21 14:58:02 -08:00
Greg
abd8ce0089
feat(http): add functionality to retrieve/store telegraf config as toml ( #16132 )
2019-12-20 14:20:13 -07: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