You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
<Work In Progress>
Following diagram shows interaction of Orchestration tool with CD Router Automation Engine via CD Router Service.
Advantage: No Jenkins resources are needed for triggering test execution.
![](/download/attachments/264609478/image2023-6-16_19-44-20.png?version=1&modificationDate=1686924862000&api=v2)
Trigger CD Router Tests from Automatics
Following diagram shows the interaction among Automatics CD Router service and CD Router Automation Engine
![](/download/attachments/264609478/cdrouter%20package%20trigger.png?version=1&modificationDate=1688567649000&api=v2)
CD Router and Automatics in CI/CD Pipeline
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IlJhZGhpa2EgU3VkaGFrYXJhbiIsIm91dHB1dFR5cGUiOiJibG9jayIsImxhc3RNb2RpZmllck5hbWUiOiJWZW5rYXQgTmFydWt1cnRoaSIsImxhbmd1YWdlIjoiZW4iLCJ1aUNvbmZpZyI6Int9IiwiZGlhZ3JhbURpc3BsYXlOYW1lIjoiIiwic0ZpbGVJZCI6IiIsImF0dElkIjoiMjcwOTU5NTY2IiwiZGlhZ3JhbU5hbWUiOiJDSUZsb3ciLCJhc3BlY3QiOiIiLCJsaW5rcyI6ImF1dG8iLCJjZW9OYW1lIjoiQXV0b21hdGljcyBDRCBSb3V0ZXIgSW50ZWdyYXRpb24iLCJ0YnN0eWxlIjoidG9wIiwiY2FuQ29tbWVudCI6ZmFsc2UsImRpYWdyYW1VcmwiOiIiLCJjc3ZGaWxlVXJsIjoiIiwiYm9yZGVyIjp0cnVlLCJtYXhTY2FsZSI6IjEiLCJvd25pbmdQYWdlSWQiOjI2NDYwOTQ3OCwiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6MjcwOTYzMjMwLCJwYWdlSWQiOiIiLCJsYm94Ijp0cnVlLCJzZXJ2ZXJDb25maWciOnsiZW1haWxwcmV2aWV3IjoiMSJ9LCJvZHJpdmVJZCI6IiIsInJldmlzaW9uIjoyLCJtYWNyb0lkIjoiOTVlNmIzNzgtZGJjMy00MzJkLThmMWYtZDY2ZTg4MGZkNGY1IiwicHJldmlld05hbWUiOiJDSUZsb3cucG5nIiwibGljZW5zZVN0YXR1cyI6Ik9LIiwic2VydmljZSI6IiIsImlzVGVtcGxhdGUiOiIiLCJ3aWR0aCI6Ijg0NiIsInNpbXBsZVZpZXdlciI6ZmFsc2UsImxhc3RNb2RpZmllZCI6MTcwMzIyNzA4OTAwMCwiZXhjZWVkUGFnZVdpZHRoIjpmYWxzZSwib0NsaWVudElkIjoiIn0=
Use Case
![](/download/attachments/264609478/image2023-6-16_19-45-41.png?version=1&modificationDate=1686924942000&api=v2)
Changes in Existing Screens
E2E RDK Request Filter Page
In the request filter page, new tab CDRouter Tests will be coming where user can select CDRouter Tests for CI/CD integration
![](/download/attachments/264609478/image2023-7-12_16-8-23.png?version=1&modificationDate=1689158304000&api=v2)
After CDRouter automation ids are selected, they are displayed in the main page of E2E RDK Request Filter Page.
![](/download/attachments/264609478/image2023-7-12_16-20-21.png?version=1&modificationDate=1689159022000&api=v2)
New UI Screens
Following UI Screens are required to be added in Orchestration
CD Router Test Trigger Page
- To trigger an execution job in CDRouter, we can use webAPI mentioned in below link.
On success, it will return 200 response code and status of execution will be Pending initially.
![](/download/attachments/264609478/image2023-6-16_19-52-29.png?version=1&modificationDate=1686925351000&api=v2)
CD Router Job Manager Screen
We can use API mentioned in below link, to get the status of jobs. When execution status changes to running, in the response of this API, we will get the result id. Using result id, we can get the result details of the job.
We can think of background thread checking for updates of running jobs from cdrouter.
https://support.qacafe.com/cdrouter/cdrouter-web-api/jobs#get-a-job
To download execution logs, we can use API mentioned in below link:
- Download execution logs of a job
![](/download/attachments/264609478/image2023-6-16_19-53-25.png?version=1&modificationDate=1686925408000&api=v2)
CD Router Results Page
- To get execution result of job, we can use webAPI mentioned in below link
![](/download/attachments/264609478/image2023-6-16_20-5-5.png?version=1&modificationDate=1686926107000&api=v2)
Config Manage Page
From this page, user can view configs in CD Router
![](/download/attachments/264609478/image2023-6-16_19-56-18.png?version=1&modificationDate=1686925579000&api=v2)
Package Manage Page
From this page, user can view packages in CD Router
![](/download/attachments/264609478/image2023-6-16_19-58-31.png?version=1&modificationDate=1686925713000&api=v2)
DB Structure
Adding 2 new tables to automatics DB:
![](/download/attachments/264609478/image2023-6-16_19-46-33.png?version=1&modificationDate=1686924994000&api=v2)
Reference CD Router Web APIs:
https://support.qacafe.com/cdrouter/cdrouter-web-api/