Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Distributor: Consume events that signal a subscription change #4439

Closed
5 tasks
warber opened this issue Jun 22, 2021 · 1 comment
Closed
5 tasks

Distributor: Consume events that signal a subscription change #4439

warber opened this issue Jun 22, 2021 · 1 comment

Comments

@warber
Copy link
Contributor

warber commented Jun 22, 2021

Action Item

In KEP52 the proposal is, the give the user the opportunity to customize subscriptions for a given Keptn Integration.

Supporting this use case, the distributor needs to be triggered to update its current subscriptions to the desired state.
In order to do so, the distributor listens for and reacts to the general purpose event (e.g. sh.keptn.event.subscription.changed, defined in #4437 ) which holds the current subscription information for a particular keptn integration and updates its subscriptions accordingly.

ℹ️ In order to implement the above feature, also a distributor which is running on a remote execution plane needs to be able to receive event other than *.triggered. (done in #4498)

Acceptance Criteria

  • Keptn integration can be used to update its subscriptions dynamically.
  • Distributor is able to create subscriptions with different filters each
  • Solution is backwards compatible

Definition of Done

  • existing integration test is enhanced to test this functionality
  • documentation updated

Dependencies

#4437
#4498

@warber warber added area:core kep:52 ready-for-refinement Issue is relevant for the next backlog refinment labels Jun 22, 2021
@warber warber added this to Ready for refinement in Refinement board Jun 22, 2021
@johannes-b johannes-b modified the milestones: 0.8.7 (Bridge), 0.8.7 Jul 5, 2021
@johannes-b johannes-b moved this from Ready for refinement to Refined and prioritized (Core) in Refinement board Jul 6, 2021
@johannes-b johannes-b changed the title (WIP) Distributor: Consume events that signal a subscription change Distributor: Consume events that signal a subscription change Jul 6, 2021
@johannes-b johannes-b added next-sprint Items that should be discussed and implemented in the next sprint and removed ready-for-refinement Issue is relevant for the next backlog refinment labels Jul 6, 2021
@thisthat
Copy link
Member

With #4987, we decided to implement this feature using APIs instead of events.

@thisthat thisthat removed this from Refined and prioritized (Core) in Refinement board Aug 27, 2021
@johannes-b johannes-b removed the next-sprint Items that should be discussed and implemented in the next sprint label Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants