Commit Graph

152 Commits (00a91ad22f60c8dd27c4611dfe8a6f59d7ea343d)

Author SHA1 Message Date
Daniel Moran 15b9531273
fix: correct various typos (#19987)
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Greg 285c6ce06d
chore: add simple metrics related to installed templates (#19873) 2020-11-02 10:59:01 -07:00
George 3d643e0681
refactor(notification): move rule service into own package (#19804)
* refactor(notification): move rule service into own package

* chore(launcher): fix tests to use clients as opposed to direct kv service

* chore(influx): update task cli to consume core domain model task from client

* chore(kv): remove rule service behaviours from kv

This also introduces the org id resolver type. Which is transplanted
from the kv service. As this one function coupled all resource
capabilities onto the kv service. Making removing these capabilities
impossible. Moving this type out into its own package which depends on
each service explicitly ensures we don't have one type which has to
implement all the service contracts.

* fix(launcher): remove double reference to influxdb package
2020-10-27 11:45:05 +00:00
greg linton 6dc785e894 chore: address feedback 2020-09-15 09:33:44 -06:00
greg linton 8c61b922dd chore: update old tests and add new tests 2020-09-09 20:10:52 -06:00
greg linton 1d9a5623e3 chore: remove name from service clone org resources
these functions are not hit by the cli
2020-08-27 17:48:17 -06:00
greg linton 7cc195556d chore: cleanup types 2020-08-27 15:37:44 -06:00
greg linton 4e1bc7ceb2 feat(pkger): add ability to export dashboards by name 2020-08-27 15:32:04 -06:00
Greg be35109440
feat(templates): handle task as option and spec in template query (#19369) 2020-08-26 14:44:59 -06:00
Johnny Steenbergen 35bc18bc34 fix(task): update task max page size error message to include an accurate limit
previously it had returned and error of 100, but the limit was 500.
2020-08-06 11:09:40 -07:00
Johnny Steenbergen 41cb12aeec feat(pkger): add parameterization to dashboard queries
references: #18237
2020-08-04 17:02:34 -07:00
Johnny Steenbergen e7310b414c fix(pkger): update stacks with snapshot of all prevoius event resources 2020-07-28 15:58:59 -07:00
Johnny Steenbergen d768132aaa feat(pkger): make envRef default values support more types
references: #18237
2020-07-28 12:22:46 -07:00
Bucky Schwarz 88cdf43db1 revert: feat(pkger): add Stack resource type to global list
This reverts commit 99eabf8a44.

A backend change was needed to make this work in Cloud envs, that change is blocked.
2020-07-22 12:48:53 -07:00
Johnny Steenbergen 99eabf8a44 feat(pkger): add Stack resource type to global list
now that Stacks have landed, the resource type can now be included for
any all access tokens, not just the token from setup
2020-07-21 11:16:00 -07:00
Johnny Steenbergen 944b097628 feat(pkger): extend stacks API with uninstall ability
this new ability removes the resources associated with the stack
and adds the uninstall event.
2020-07-09 17:05:53 -07:00
Johnny Steenbergen 8b6788fdd2 feat(pkger): make stacks event sourced
closes: #18874
2020-07-08 13:40:48 -07:00
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 b9e6744807 chore(pkger): finalize adoption of templates naming convention
closes: #18580
2020-06-30 16:33:45 -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 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 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 802afebf8c feat(pkger): add support for selected fields to variable
references: #18240
2020-06-22 17:05:18 -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 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 7e8ab162e7 feat(pkger): extend stacks with update functionality
references: #18548
2020-06-17 09:47:33 -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 1a89e49086 fix(pkger): capture and fix panics converting tasks 2020-06-11 17:44:52 -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 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 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