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

Configure events definition based on Content Types

    XMLWordPrintable

Details

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

    Description

      SP: 3

       

      This task depends upon MGNLHOOK-18.

      In this step, we need to add to the existing webhook definitions registry, support for entities = Content Types.

      For example, we should be able to load webhook definitions like this (note that the entity is tour, which is declared as a Content Type):

      events:
        - name: p2
          eventType: unpublish
          entity: tour #You can use an existing contentType

      Validation should be taken into account, to ensure that an event must not provide a not existing Content Type. Error should be reported on the Definitions App.

      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: