Commit Graph

134 Commits (6fa144192fc3ce170ee7c880c00181c3b76513d8)

Author SHA1 Message Date
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