Commit Graph

252 Commits (c8af0f35be11d9e731e3bfdba3e16ea45513a814)

Author SHA1 Message Date
Johnny Steenbergen f15fc045fb fix(pkger): fulfill pagination for tasks/checks/not rules for export all
closes: #18850
2020-07-06 13:11:59 -07:00
Johnny Steenbergen 44bd37c1a0 chore(pkger): ensure all diff and summary resource collections are non null 2020-07-06 10:51:20 -07:00
George 96d84b9126
refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570)
* refactor: migrator and introduce Store.(Create|Delete)Bucket

feat: kvmigration internal utility to create / managing kv store migrations

fix: ensure migrations applied in all test cases

* chore: update kv and migration documentation
2020-07-01 12:08:20 +01:00
Johnny Steenbergen e851228102 feat(pkger): extend template diff types with kind
closes: #18804
2020-06-30 17:22:34 -07:00
Johnny Steenbergen ffe5d941d3 feat(pkger): extend template Summary with discrete kinds for each summary type
references: #18804
2020-06-30 16:47:15 -07:00
Johnny Steenbergen b9e6744807 chore(pkger): finalize adoption of templates naming convention
closes: #18580
2020-06-30 16:33:45 -07:00
Johnny Steenbergen b5fcb06883 fix(pkger): stop swallowing parser errors from pkger parser in http remote service 2020-06-29 17:31:59 -07:00
Johnny Steenbergen 952007001b chore(pkger): drop mentions of pkgs from within service models
references: #18580
2020-06-29 16:43:40 -07:00
Johnny Steenbergen cb7ecace6f feat(pkger): update remote http client to use new routes
this implicitly affects the CLI which uses that client. It will now hit the
new endpoints which will ship with the next release of OSS beta, and have
already landed in our upstream repos.

references: #18580
2020-06-29 14:58:40 -07:00
Johnny Steenbergen 2927f0e718 feat(pkger): add stable HTTP APIs for stacks and templates
references: #18580
2020-06-29 13:45:32 -07:00
Johnny Steenbergen 2825427cf5 chore(pkger): convert packages endpoints into new naming convention
note: going to make this evolution in two steps so that we have a simple
rollback to get back to a working state. We'll be maintaining both packages
and the new templates and stacks endpoints for a while as users start to
move onto a newer CLI version. Sunsetting by end of July.

references: #18580
2020-06-29 09:45:58 -07:00
Johnny Steenbergen 2f2140e7a7 feat(influx): extend stacks update cmd with ability to add resources
closes: #18646
2020-06-29 07:03:52 -07:00
Johnny Steenbergen fdcf8000f6 feat(pkger): extend stacks with ability to add resources without applying
references: #18646
2020-06-26 14:47:52 -07:00
Johnny Steenbergen 0f7ab73199 chore(pkger): drop behavior to update stack when exporting 2020-06-26 14:47:52 -07:00
Johnny Steenbergen a6a5d0d43f fix(pkger): update handling of diff dashboard charts 2020-06-26 11:55:19 -07:00
Johnny Steenbergen fdc1da6bc5 chore(pkger): drop field no longer in use
this was missed in a previous PR wehre we added the status in place of the
remove boolean flag
2020-06-26 10:21:12 -07:00
Johnny Steenbergen 846b7d0207 feat(pkger): add ability to export stack with additional resources and update stack with associated exports
references: #18646
2020-06-25 21:25:30 -07:00
Johnny Steenbergen 29d4091e0a feat(influx): extend influx export command with ability to export stack
closes: #18646
2020-06-25 21:25:30 -07:00
David McKay b600559d53 chore: fix indentation 2020-06-25 18:16:57 +01:00
David McKay 6e4d7be3cf chore(editorconfig): revert editorconfig changes, too much work 2020-06-25 18:16:57 +01:00
David McKay 687130d030 fix: restore newlines with updated editorconfig 2020-06-25 18:16:57 +01:00
David McKay b3c738fc53 fix: have tests use non-default value and support pkger 2020-06-25 18:16:57 +01:00
Johnny Steenbergen c67a6ee1ea feat(pkger): extend metrics for export functionality 2020-06-25 09:47:33 -07:00
Johnny Steenbergen cb8fe33da8 chore(pkger): drop reference to pkg in PkgImpactSummary type 2020-06-25 09:47:33 -07:00
Johnny Steenbergen f554563cea chore(pkger): refactor independent stack export functionality out of existence
the Export behavior (renamed from CreatePkg) now provides for stackID as
another input. With this we are able to remove the additional endpoint
/api/v2/packages/stacks/:stack_id/export. It now fits into the
/api/v2/packages/export endpoint as another req body parameter. This also
makes all export functionality in teh same space, encapsulated both in the
endpoint and within the service layer :-).

references: #18646
2020-06-25 09:47:33 -07:00
Johnny Steenbergen 6694c7e393 chore(pkger): refactor export by stack to reuse CreatePkg functionality
this also makes it so that an association (label) that is added to a
resource is also included in the returned output. There is 1 test that
was changed as part of this work. It is to test for this specific change
in behavior

references: #18646
2020-06-24 12:03:20 -07:00
Johnny Steenbergen 8feab6d016 chore(pkger): ensure sorting of axes on export of a dashboard's query 2020-06-24 05:19:11 -07:00
Johnny Steenbergen d671185bdc fix(pkger): fixup updates for variables where updates from selected were skipped 2020-06-23 08:05:27 -07:00
Johnny Steenbergen 802afebf8c feat(pkger): add support for selected fields to variable
references: #18240
2020-06-22 17:05:18 -07:00
Johnny Steenbergen 34c4e5a48b feat(pkger): add env default vaules for template references 2020-06-22 15:14:16 -07:00
Johnny Steenbergen 2d4a12fdf6 chore(pkger): accomodate skipping resources that are part of an association 2020-06-22 14:24:33 -07:00
Johnny Steenbergen d8ac728ac0 feat(pkger): extend metrics to cover org and user id for template installations
chore(pkger): fixup error messages
2020-06-18 10:50:10 -07:00
Johnny Steenbergen ec8c252dbb feat(pkger): extend public apply API with new action to skip resources by kind
closes: #18490
2020-06-18 08:03:34 -07:00
Johnny Steenbergen a2bca73760 feat(pkger): extend service with ability to skip resources by kind
references: #18490
2020-06-17 17:57:48 -07:00
Johnny Steenbergen a179d6d473 fix(pkger): delete newly created stack when applying a template that encounters err 2020-06-17 17:57:23 -07:00
Johnny Steenbergen a4e4be7787 feat(pkger): add ability to skip a resource within a template
references: #18490
2020-06-17 17:22:56 -07:00
Johnny Steenbergen 0b531e83bb feat(pkger): extend pkger apply/dry run with ability to skip resources
this work is primarily to introduce the state changes internally within
the state coordinator. The coordinator can be unit tested effectively to
verify the actions are being heard.

references: #18490
2020-06-17 15:28:46 -07:00
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 7e8ab162e7 feat(pkger): extend stacks with update functionality
references: #18548
2020-06-17 09:47:33 -07:00
Johnny Steenbergen 61cd72b0cd chore(influx): update usage and soften comparisons for kind matching on export
closes: #18550
2020-06-16 15:31:39 -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 ea322d8286 feat(pkger): extend metrics to collect remote sources
closes: #18243
2020-06-16 12:17:45 -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 020c9e7374 chore(pkger): add source to Pkgs to 2020-06-16 08:04:37 -07:00
Johnny Steenbergen 6ff46c0f3c chore(pkger): drop deprecated shouldRemove from parser identity 2020-06-16 08:04:37 -07:00
Johnny Steenbergen 1a89e49086 fix(pkger): capture and fix panics converting tasks 2020-06-11 17:44:52 -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