Commit Graph

90 Commits (2d4a12fdf67c3dfe6c3fb11ec6fe5e3a8a4a00a2)

Author SHA1 Message Date
Johnny Steenbergen 72db5bdd96 chore(pkger): cache testdata dir in memory to reduce disk calls in tests
speeds up test ~5x
2020-06-17 15:28:46 -07:00
Johnny Steenbergen 5af53f88c5 feat(pkger): allow for base github content urls for json/yaml/jsonnet templates
closes: #18479
2020-06-16 13:00:29 -07:00
Johnny Steenbergen b977568390 feat(pkger): extend pkger to provide sources of templates to each template 2020-06-16 08:04:37 -07:00
Johnny Steenbergen 12c1b61d00 feat(pkger): provide label associations env refs to each resource type
closes: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen 0d07f8e579 feat(pkger): extend SummaryVariable with its env references
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen 5d8538de5a feat(pkger): extend SummaryTelegrafConfig with its env references
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen b4e1ea7903 feat(pkger): extend SummaryTasks with its env references
references: #18407
2020-06-10 17:14:53 -07:00
Johnny Steenbergen d9925ffbc4 feat(pkger): extend SummaryNotifcationRules with its env references
references: #18407
2020-06-10 16:23:43 -07:00
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 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
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 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 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 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 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
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 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