Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

     1.1 Setting Pagination Limit

 Pagination Limit: 

 user can set pagination limit in both the ways one using UI and and other using MySql DB.


 1.1.1 Using UI

  1.User should navigate to 'https://automatics.rdkcentral.com/Automatics/login.htm' url and click on 'System Configuration' under settings drop down as show in the image below.

   Image Added


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.

Image Added


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 in table  )


12.  Setting CD Routers url

2.1.1 Using UI

1.User should navigate to 'https://automatics.rdkcentral.com/Automatics/login.htm' url and click on 'System Configuration' under settings drop down as show in the image below.Image Added


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.

Image Added


user should set the urls for different CDRouters available in MASTER_CONFIG table. If more than one CDRouters are available also user has to set the urls according in the master_config table under CDROUTERS 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"}] )

...

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.
               Image Added


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



23.Adding a new test type as CDROUTER

...

3. user should add 'CDROUTER' in the configuration value and click on save changes to save the new test_type.



 

34.Creating a New Job as AUTO_CDROUTER_TEST_JOB

...

This microservice needs JAVA 11 to run. User should use Java 11 to make this microservice up.

12. 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.