[MGNLHOOK-28] Content unpublished subscriber implementation Created: 12/Apr/22  Updated: 22/Jul/22  Resolved: 10/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: 0d Remaining Estimate: Not Specified
Σ Time Spent: 3h Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLHOOK-27 Content published subscriber implemen... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLHOOK-120 Implement content unpublished subscri... Technical task Completed Javier Benito  
MGNLHOOK-121 Submit PR Technical task Completed Javier Benito  
MGNLHOOK-122 Testing on Magnolia instance Technical task Completed Javier Benito  
MGNLHOOK-123 Review Technical task Completed Jaroslav Simak  
MGNLHOOK-124 piQA Technical task Completed Javier Benito  
MGNLHOOK-125 QA Technical task Completed Oanh Thai Hoang  
Team: DeveloperX
Epic Link: Web project is updated when content is changed
Sprint: DevX 12
Story Points: 3

 Description   

The goal of this task, is to implement info.magnolia.webhooks.events.subscribers.ContentUnpublishedEventSubscriber#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 ContentUnpublishedEventSubscriber 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-27).


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