[MGNLHOOK-296] Replace webhook.site url in e2e because it will expire soon Created: 16/Nov/22  Updated: 06/Jan/23  Resolved: 06/Jan/23

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

Type: Story Priority: Neutral
Reporter: Chuong Doan Huy Assignee: Chuong Doan Huy
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3.5d Time Spent: 3.5d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2022-12-13-11-09-16-119.png    
Issue Links:
Relates
relates to MGNLHOOK-145 End to end tests for webhooks on SaaS Closed
dependency
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLHOOK-303 Implement Sub-task Completed Chuong Doan Huy  
MGNLHOOK-304 Review code Sub-task Completed Oanh Thai Hoang  
MGNLHOOK-305 Close when jenkins build is green Sub-task Completed Chuong Doan Huy  
Team: DeveloperX
Date of First Response:
Epic Link: Webhooks Maintenance (Phase 1)
Sprint: DevX 25, DevX 26, DevX 27, DevX 28
Story Points: 2

 Description   

Current webhooks e2e tests is using webhook.site to verify request, e.g https://webhook.site/96ea8785-7e55-4ac8-b1af-b3de8b562c38
Because the limit quote is 500 requests, we will exceed the limit soon lead to failing the tests.
We need to find a way to solve this problem.
----------------
Enable webhooks e2e tests.



 Comments   
Comment by Christopher Zimmermann [ 16/Nov/22 ]

Maybe create a service in our own infrastructure a "dummy webhook destination" that we can test against. Rather then externaal commercial service.

Comment by Chuong Doan Huy [ 22/Nov/22 ]

Hi czimmermann,
After discuss with Luong from SRE, we think that building a static server containing mockServer image to provide services for verifying webhooks is the simplest solution. Here is the ticket : https://jira.magnolia-cms.com/browse/SRE-3590
Feel free to give opinions, thanks.

Comment by Christopher Zimmermann [ 22/Nov/22 ]

Sounds good to me. Can you link this ticket to that one as "depends on"?

Comment by Christopher Zimmermann [ 22/Nov/22 ]

Flag added

Flagging as it is depending on SRE to implement simple test server.

Comment by Chuong Doan Huy [ 07/Dec/22 ]

Ticket Cloud-2713 mentioned that after publish " A message appears, but the publishing status does NOT change to green". Because of this, unpublished action can not be executed because the status does NOT change to green.

Comment by Oanh Thai Hoang [ 13/Dec/22 ]

Can not publish to public instance is related to resolve wrong context of draft environment ticket https://jira.magnolia-cms.com/browse/CLOUD-2804

 

Until draft env is resolving correctly, data can publish from draft -> main correctly. 

 

Comment by Christopher Zimmermann [ 13/Dec/22 ]

Flag added

Dependencids on other team..

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