Introduction

Smart Reviewer is a feature designed to streamline the creation of effective, scriptless test cases. It helps in reviewing each and every test step of the test case just like how code review is done.



    
Under Review

Rework

Approved

Merged

Abandoned

Access

Review Dashboard

Configurations in Orchestration

Add Configs in System Configuration Page

  1. Launch Automatics Orchestration tool. From menu select Settings → System Configuration as shown in the image below.

       


2. Click on 'Add configuration' shown on the top right corner of the System Configuration page and add the following configurations and click on save changes button.


Parameter NameDescription
REVIEW_MANAGEMENT_SERVICE_URLReview Management Service Base URL
REVIEW_MANAGEMENT_SERVICE_DNS_URLProvide the DNS (Domain Name System) base URL of the Review Management Service application.
Admin.func.testcase.reviewers

This configuration contains the details of reviewers based on the execution environment. Enter the details in below format.
[
    {
        "env": "The execution environment name",
        "reviewers": [
            "<Provide the user id>|<Provide the email id>"
        ]
    }
]
eg:
[{"env":"RDKB","reviewers":["henry|henry97@pqr.com,emily|emily98@pqr.com"]},{"env":"RDKV","reviewers":["sarah|sarahlee@pqr.com,william|williamdr@pqr.com"]}]

jira.url

Enter the base url of the Jira account

jira.username

Enter the username of the Jira service account

jira.password

Enter the password of the Jira service account



Review-Management-Service Setup

Software Requirement

JDK 17 Setup Details

Follow Steps below to install Java 17 on CentOS/linux.

Building Review Management Service Source Code

  1. Clone Review Management Service source code from Review Management Service
  2.  Open ReviewManagementService/src/main/resources/application.properties in source code and update the username, password and database name and save the changes.
  3. Build the source code using maven to generate the jar file

"mvn clean install

Deployment

  1. Copy the jar file to the VM where Review Management Service to be deployed.
  2. Create 2 directories review-management-service and logs in VM.
  3. Copy the jar file to review-management-service directory.
  4. Run the below command from review-management-service directory to bring the Review Management Service up in the VM.

    nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar ReviewManagementService-0.0.1-SNAPSHOT.jar > logfile.log 2>&1 &
  5. reviewservice.log file will be created in the logs directory and we can check the real time logs of the Review Management using this file.