SIC: Overview of Adeptia Rest Services Creation for GUI
Learning Objective
Learn how data is stored in the Solution DB.
Understand the process flow design that supports data processing.
Learn how to write and execute a joining query to fetch necessary information from the database (DB).
Understand how to create a REST provider URL and call the process flow to fetch data.
Identify the attributes required for the UI (web form).
Gain knowledge of the backend server's steps in querying the database, retrieving relevant information, and sending this data to the front end for display.
Overview
In this SIC use case, data is stored in the Solution DB. The data retrieval involves writing a joining query to fetch the necessary information from the backend. The query will be based on the attributes required for the UI, such as File Phase, Error Description, Total Record Count, Unique Record Count, Duplicate Record Count, and File Status.
 Use cases
Â
Â
Step-by-Step Guide to Design Backend Service.
Design Process flow
Use Queary Editor to write a joining query
Create REST Provider End-point
Publish the Provider (REST URL) at UI
Prerequisite:
Download the SIC object
Create Solution DB and Table
Deploy User Interface WAR
1. Download SIC object and deploy
2. Creating Solution DB Table
Database Structure
The tables in the Solution DB should be structured to support these queries efficiently. Here is an example schema:
Run the following query in the specified order to create backend tables.
Â
Â
Deploy User Interface WAR
Download the WAR file - Click here to download it.
Steps to deploy GUI WAR solution on Adeptia
Ensure Adeptia Connect is Running:
Verify that the Adeptia Connect service is active and running before beginning the deployment process.
Prepare the WAR File:
Locate and copy the WAR file created for the GUI.
Access the Connect Portal Directory:
Navigate to the directory where the Connect Portal is installed:
<Connect_Installed_Location>/ConnectPortal/webapp/wars
.
Deploy the WAR File:
Paste the copied WAR file into the
wars
directory.Wait for a few minutes to ensure the file is fully transferred and recognized by the system.
Restart the Connect Portal:
Restart the Connect Portal service to apply the new deployment.
Verify Deployment:
After the restart, check the Connect Portal to confirm that the new GUI is accessible and functioning as expected.
Note: It is crucial to ensure that Adeptia Connect remains in running mode throughout the deployment.
Steps to Publish a Web Form in Adeptia Connect
Navigate to the Configure Tab:
Go to the Configure tab in Adeptia Connect.
Select the Web Forms Page:
From the available options, select the "Web Forms" page.
Initiate Web Form Publishing:
Click on "Publish Web Form".
Provide the Required Details:
Fill in the following details:
Name: Enter a name for the web form.
Description: Provide a brief description of the web form.
URL: Specify the URL for the web form.
Type: Select "Web Page" as the type.
Navigation Path: Enter "My Solutions" for the navigation path.
Link Name: Provide a link name for the web form.
Â