Random problem reading environments on module startup (MGNLHOOK-307)

[MGNLHOOK-317] QA Created: 05/Jan/23  Updated: 02/Feb/23  Resolved: 01/Feb/23

Status: Completed
Project: Magnolia Webhooks
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Milan Divilek Assignee: Oanh Thai Hoang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 3h
Original Estimate: Not Specified

Attachments: PNG File definition-app.png     PNG File webhook3.png     PNG File webhook4.png    
Team: DeveloperX
Date of First Response:
Sprint: DevX 28, DevX 29

 Comments   
Comment by Oanh Thai Hoang [ 01/Feb/23 ]

I finish QA, look good to me, this is how I do.

Prepare different webhooks yaml with different path in main (webhook1, webhook2) and webhook-env-check (webhook3, webhook4).

 

  • Ensure when switching envs, definitions of webhooks are loaded. As below img, I can see definition are loaded

  • When publish item in webhook-env-check env (I have to change a bit in publish rule for publishing in another env), I can see events with path webhook3, and webhook4 as below img

 

  • Switch again to main env and check the same with webhook1, webhook2
  • Restart instances multiple times and repeat the steps

 

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