[MGNLHOOK-44] Filtering supports operators (AND and OR) Created: 13/Apr/22  Updated: 22/Jul/22  Resolved: 02/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: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLHOOK-42 Filtering grammar including path expr... Closed
depends upon MGNLHOOK-43 Filtering supports repository express... Closed
depends upon MGNLHOOK-45 Filtering supports nodeType expressions Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLHOOK-103 Implement OR operator Technical task Completed Javier Benito  
MGNLHOOK-104 Submit PR Technical task Completed Javier Benito  
MGNLHOOK-105 Testing on Magnolia instance Technical task Completed Javier Benito  
MGNLHOOK-106 piQA Technical task Completed Jaroslav Simak  
MGNLHOOK-107 Review Technical task Completed Robert Šiška  
MGNLHOOK-108 QA Technical task Completed Jaroslav Simak  
Team: DeveloperX
Epic Link: Webhook event filter
Sprint: DevX 11
Story Points: 5

 Description   

Add this step we are going to add support for filtering on events, based on operators.

So definitions like this:

events:
  - name: p1
    eventType: publish
    entity: Content
    filter: "@nodeType = 'mgnl:page' AND @path LIKE '/site%'" 

should be allowed, added to the webhook definition registry (events), and work.


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