Saturday, November 2, 2024

#1029 - OIC Integration Basics - Lab 1

Introduction

This is the first in a set of posts, designed for those totally new to OIC. It covers the mechanics of creating integrations in OIC, as well as covering basic implementation patterns. If you want instructions on provisioning OIC, then check out my post here

Finally, this set of posts has been labelled, just click here to access them all.

Lab 1

This is a basic lab to get you acquainted with using OIC connections and integrations. Here you will create a simple hello world style integration with a REST interface.

Begin by creating a new project in OIC -





































Within the project, begin by creating a Connection - Connections are key to OIC, they take care of the plumbing between apps or technologies, letting you concentrate on what needs to be done, as opposed to how to do it.

Click Test and then Save -
congratulations on creating your first connection.


Create an Integration

We choose the integration type Application - which supports sync and async integration patterns.

Use the REST trigger to define the contract of this api. Configure as follows - 

use the following json example - 

{"name": "Niall C."}

clicking Edit opens the mapper - 


Note the Source and Target nodes -

we will use the String - concat() function to concatenate the following - 'Hi there ' + Name.

Drag concat to the Greeting field -

 
Note the Expression Builder at the bottom of the page - 

Edit as follows - 

Drop the request (Source) Name field after the comma - 



Last step is to set a tracking field - 

Save the integration and note how it's status changes to configured -

Exit the Integration Designer - then Activate

Now Run

Open the Body tab - 
Then click Run

























Note the Activity Stream - click on instance id - 

Summa Summarum

You have created your first connection and integration - granted a banal example, but still, now you know the mechanics. 

The next lab will go a bit further...














 







 

No comments: