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

Automatically disable webhooks for configuration-events workspace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None

    Description

      After bring webhooks to SaaS, we have discovered that some automatic webhook events are triggered, when changes are done to configuration-events workspace.

      Received events are like this:

      eventId b8f33a6b-e32a-4bd7-a316-a3a784e4ec0c
      path    /5486336c-1fe5-4686-8f4b-c8a861a9f7f1
      workspace   configuration-events
      eventType   Unpublished
      nodeType    mgnl:content
      recursive   false
      eventDate   2022-11-04T08:20:36.217 

      So we need to not take into account events generated on configuration-events workspace.

      Now lots of events are triggered within the same second:

      2022-11-04 08:20:32,952 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node a090c224-1e8d-4e4e-bc45-163e81264f50
      2022-11-04 08:20:33,007 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node bdc6c6e2-10d0-4871-a5b2-32813660e8eb
      2022-11-04 08:20:33,050 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 902efca6-92a7-4e10-9c62-f56e50345d0a
      2022-11-04 08:20:33,091 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 86c0c01f-4a88-4fff-b40c-8dbf45d60fe8
      2022-11-04 08:20:33,133 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node ee841f2a-9900-472a-8a91-444c0587d3a8
      2022-11-04 08:20:33,174 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 6bf2be71-8cc2-4dce-9b30-166edd49884b
      2022-11-04 08:20:33,222 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node da9f2af6-384d-4ffd-9f7b-6c9264ccf291
      2022-11-04 08:20:33,274 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node eea2eef3-e39b-42bc-8958-2e2081c23840
      2022-11-04 08:20:33,312 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 0378deaa-88b1-4885-8534-69fbf91178ec
      2022-11-04 08:20:33,352 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 42078e77-5cdb-4421-a79a-11122cf7ed16
      2022-11-04 08:20:33,392 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node fdda78ac-4dcf-4a85-a77f-f4afcdb9f185
      2022-11-04 08:20:33,437 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 552ec709-5388-4c78-97eb-a00d51dd175c
      2022-11-04 08:20:33,493 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node aa876f73-3ad6-431a-abc2-b29ea29fe3c7
      2022-11-04 08:20:33,551 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node e3dc621f-cdc7-4106-add4-0493970ea0b3
      2022-11-04 08:20:33,597 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 9c668b7a-5593-4cca-9aa9-00173be82644
      2022-11-04 08:20:33,643 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node b208f056-7d61-4401-9ba0-ed800ebb113b
      2022-11-04 08:20:33,687 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 06cf79d9-4436-43fd-9c8f-ecad878dad5f
      2022-11-04 08:20:33,737 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node f83257b8-2d9a-4f3e-ac33-6dbd403d48e4
      2022-11-04 08:20:33,778 INFO  [pool-124-thread-1] info.magnolia.webhooks.command.BaseWebhookCommand  {}: [ContentPublishedCommand] Publishing CONTENT_UNPUBLISHED event for node 3370cbd6-bd26-40ed-8ab8-8e2dc737dc38 

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: