[MGNLHOOK-27] Content published subscriber implementation Created: 12/Apr/22  Updated: 22/Jul/22  Resolved: 07/Jun/22

Status: Closed
Project: Magnolia Webhooks
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.0

Type: Story Priority: Neutral
Reporter: Javier Benito Assignee: Javier Benito
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 2.5h Time Spent: 2.5h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLHOOK-28 Content unpublished subscriber implem... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLHOOK-114 Implement content published use case,... Technical task Completed Javier Benito  
MGNLHOOK-115 Testing on Magnolia instance Technical task Completed Javier Benito  
MGNLHOOK-116 Submit PR Technical task Completed Javier Benito  
MGNLHOOK-117 Review Technical task Completed Jaroslav Simak  
MGNLHOOK-118 piQA Technical task Completed Jaroslav Simak  
MGNLHOOK-119 QA Technical task Completed Chuong Doan Huy  
Team: DeveloperX
Epic Link: Web project is updated when content is changed
Sprint: DevX 11
Story Points: 5

 Description   

The goal of this task, is to implement info.magnolia.webhooks.events.subscribers.ContentPublishedEventSubscriber#onEvent method, right after all the other things have been made during the webhooks development (event detection, filtering, rest client registration, etc).

We should use the registered Rest Client corresponding to the current ContentPublishedEventSubscriber instance (which should have its corresponding webhook event definition accessible or known), to make the request.

We must transform the source event to the desired data structure, received as parameter by the Rest Client method.

We should check if this logic can be extracted to a BaseEventSubscriber which could be used by both subscribers (MGNLHOOK-28).


Generated at Mon Feb 12 10:00:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.