RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
By clicking this icon we can see the child Jobs name. After that click on this icon . Then CDRouter Execution logs will be available in the Jenkins icon. We can verify pass and failures of all the steps.
1.User should make the following changes
1.1 Setting Pagination Limit
Pagination Limit: User has the freedom to set the pagination limit.
If the user sets the pagination limit to 10, it means that in a single API call, the orchestration side will receive 10 packages. If there are a total of 30 packages and the pagination limit is set to 10, then these packages will be fetched in three requests. This approach is implemented to maintain a constant JSON size and to minimize any potential overhead, ensuring efficient processing.
user can set pagination limit in both the ways one using UI and other using MySql DB.
...
1.User should navigate to Automatics URL and click on 'System Configuration' under settings drop down as show in the image below.
...
1.1.2 Using MySql
user should be able to set the pagenation limit from master_config table. (User should set CDROUTER_PAGINATION_LIMIT from MASTER_CONFIG table ).
user has to run this query to update.
Code Block | ||
---|---|---|
| ||
INSERT INTO master_config (CONFIG_NAME, CONFIG_VALUE) VALUES ('CDROUTER_PAGINATION_LIMIT', '10'); |
2. Setting CD Routers url
2.1.1 Using UI
1.User should navigate to Automatics home url and click on 'System Configuration' under settings drop down as show in the image below.
2. User should click on 'Add configuration' shown on the top right corner of the System Configuration page and add the Configuration name and configuration value accordingly and click on save changes button.
user should set the URL for different CDRouter available in MASTER_CONFIG table. If more than one CDRouter are available also user has to set the URL according in the master_config table under CDROUTER column. the values entered by the user should be in JSON format only as shown in the figure.
Example : (CDROUTERS master config value:
[{"name":"CDRouter1","url":"http://123.456.789.012"},{"name":"CDRouter2","url":"http://987.654.321.012"}] )
Code Block | ||
---|---|---|
| ||
INSERT INTO master_config (CONFIG_NAME, CONFIG_VALUE)
VALUES ('CDROUTERS', '[{"name":"CDRouter1","url":"http://123.456.789.012"},{"name":"CDRouter2","url":"http://987.654.321.012"}]');
|
1.3 Setting CDRouter base URL:
1.3.1 Using UI
user can add CDRouter service base url also by following above steps but changing the configuration name and configuration value accordingly.
1.3.2 Using MySql DB
user should set the base CD router url in master-config table under CDROUTER_SERVICE_BASE_URL column.
Example: http://localhost:8080/api/cdrouter/service
Code Block | ||
---|---|---|
| ||
INSERT INTO master_config (CONFIG_NAME, CONFIG_VALUE)
VALUES ('CDROUTER_SERVICE_BASE_URL', 'http://localhost:8080/api/cdrouter/service');
|
Note: user should add their base CDRouter service url when they setup the CDRouter service
3.Adding a new test type as CD-ROUTER
...
3. user should add 'CDROUTER' in the configuration value and click on save changes to save the new test_type.
4.Creating a New Job as AUTO_CDROUTER_TEST_JOB
2. Click on add new job on the right top corner as shown below.
...
5. Adding CDRouter Base URL in Manage Script Page
2. User should add CDRouter base URL under Device Name and add 'CDROUTER' as Image Name prefix. Select the device type in Select Category and click on save button.
it's a mandatory step that user should follow.
1.Java Version
This micro service needs JAVA 11 or 17 to run. User should use Java 11 or 17 to make this micro service up. please refer setup page for steps to install Java 11 or 17.
2. Automatics base URL
In CDRouter service user should navigate to application.properties and update automatics.url with proper automatics base url and save the changes.
3. Adding Automatics base URL in extra properties of the device from device manager page.