Details
-
Story
-
Resolution: Fixed
-
Neutral
-
None
-
None
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).
Checklists
Attachments
Issue Links
- is related to
-
MGNLHOOK-28 Content unpublished subscriber implementation
-
- Closed
-
- mentioned in
-
Page Loading...
1.
|
Implement content published use case, using rest client |
|
Completed | Javier Benito |
2.
|
Testing on Magnolia instance |
|
Completed | Javier Benito |
3.
|
Submit PR |
|
Completed | Javier Benito |
4.
|
Review |
|
Completed | Jaroslav Simak |
5.
|
piQA |
|
Completed | Jaroslav Simak |
6.
|
QA |
|
Completed | Chuong Doan Huy |