Data Integration With Rest Api: Technical White Paper
Data Integration With Rest Api: Technical White Paper
Data Integration
With REST API
Real-time or near real-time accurate and fast retrieval of key metrics is a critical need for an
organization. Many times, valuable data are stored in siloed systems with zero or incomplete
integration with other critical systems, thereby leading to redundancy, inconsistency and
confusion when reporting on the data. This also requires allocating expensive person-hours to
manually collect, clean, aggregate and report the key metrics, resulting in valuable time lost
accessing critical data for key decisions. Maintenance and reporting costs and complexity
increase as data keep growing if no archival strategy is in place.
Our use case details an implementation that was successfully performed to resolve all
of these challenges.
• By creating an interactive dashboard for the CIO and 1. Data is pulled from sources in a predefined
executives of the organization, both flexibility and frequency by invoking respective REST API
standardization were achieved—a key factor in driving routines. Informatica Java transformation in
sound business decisions. Informatica is used for this purpose.
• The integration and transformation processing
2. The data are then stored in Cloudera data lake in
automation has increased productivity by
native format.
eliminating human intervention and decreasing the
risk of human error. 3. The relevant data are then pulled into the
• By initially landing data in the data lake, the enterprise warehouse and transformed/
organization has lowered the cost of storing historical aggregated for analytical purposes.
data and created a flexible area to conduct expiration
for analytics and data science workloads. 4. Tableau connects to the analytics warehouse and
uses the aggregated data in the dashboards.
Architecture
An overview of REST API
The below diagram depicts the logical architecture of
the implementation. REST API, also known as RESTful APIs, is a popular
type of API. An advantage of REST API is that it uses
existing protocols like HTTP; therefore, no additional
software is needed for its creation.
Figure 1: REST data integration architecture 1. Client-Server. The client and the server should be
separate from each other and allowed to
evolve independently.
Data resides in multiple applications, both cloud-
based and local (file systems/databases). The strategy 2. Stateless. REST APIs are stateless; requests can be
used for cloud-based sources was Representational made independently of one another. Each request
State Transfer (REST) API. For local source systems,
direct connections were used. This article focuses on
the cloud-based source data extraction.
ETL implementation
// print result
• Data processor transformation has one input port
System.out.println(response.toString()); that takes in the JSON string to be parsed as
responseOut = response.toString(); input. Connect the output ports from the data
processor as needed to the correct downstream
}
write transformation.
else
{
System.out.println(“GET request not worked”);
}
System.out.println(“GET DONE”);
}
catch (Exception e)
{
logInfo(“Error”);
}
Figure 8: m_Agile_Portfolio_Stage
About TEKsystems
We’re partners in transformation. We help clients activate ideas and solutions to take advantage of a new world of
opportunity. We are a team of 80,000 strong, working with over 6,000 clients, including 80% of the Fortune 500, across
North America, Europe and Asia. As an industry leader in Full-Stack Technology Services, Talent Services and real-world
application, we work with progressive leaders to drive change. That’s the power of true partnership. TEKsystems is an
Allegis Group company.