Uploaded image for project: 'Magnolia Webhooks'
  1. Magnolia Webhooks
  2. MGNLHOOK-28

Content unpublished subscriber implementation

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Neutral
    • 1.0.0
    • None
    • None

    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).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                jbenito Javier Benito
                jbenito Javier Benito
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h
                    3h