domingo, 11 de noviembre de 2018

Simple App Orchestration flow with Oracle Integration Cloud

I want to demonstrate how easy is to create an App Orchestration flow with Oracle Integration Cloud Service. The flow will be very simple: every time a new temperature record is created into a database table, it will trigger a flow that will notify by email if the value of the temperature is over 30 degrees.



Oracle Cloud Trial

Log into the Oracle Cloud account and see the dashboard
image


Prepare the database


After having created a database cloud service go to the console and
take note of the public ip address and the connect string

image

Connect to the database through the SQL Developer

image
Create a table called CLAVEVALOR to store temperature data with and
status column ESTADO
image

Remote Agent Installation in DBCS VM

In order to capture database changes we need to install a remote agent
into the database VM.
Having already created "Autonomous" Integration Cloud Service (ICS)  
version 18.4.1.181017.0400-1756 , let's go to ICS console > Integrations
image

From here we will go to Agents menu for creating the agent group and
to download the agent needed to set up remote capture from the DBCS table
modifications
image

Create a database agent group.
image

Download and install the remote agent installer into the DBCS VM
image

Copy the agent to the DBCS VM
image

Access to the DBCS VM through SSH connection and unzip
oic_connectivity_agent.zip
image

In the DBCS VM configure the InstallerProfile.cfg with the integration
cloud service information
image

Run the connectivity agent Agent Installer as a Background Process
image

After installation, agent appears linket to the  gent group
image

Create connections

image

Connections already created
image

Oracle Database Cloud Service connection with the connection properties,
security user and agent group to capture database changes
image

Create the integration

image

Create an App Driven Orchestration integration style
image

Notification configuration
image

image

Database changes configuration
image

Basic info and next
image

Polling information indicating table to take into account and the review
polling strategy
image

Polling strategy and frecuency
image

image

Testing the integration

Inserting a new value into the table as unprocessed record
image

Record is inserted with unprocessed status
image

Once the polling frequency is accomplished the new record is processed
image

The temperature is over 30 degrees so an email is sent to my account
alerting about that circumstance.
image


Oracle AI

 Oracle AI Oracle AI Vector Search Workflow