Skip to main content

Deploy all integrations to new environment with a single click using OIC

 

MAKE SURE ALL THE OIC CONNECTIONS ARE CONFIGURED


 Introduction

When it's time for deployment exporting all the individual integrations and importing into the environments individually could be quite a tedious task.

Main Article

In this blog I will be explaining about automating the Deployment process in OICS.

Below is the order of the steps that are to be followed: 

STEP:1

Configure a dummy trigger connection


STEP:2 List the files from SFTP as shown below

Provide the input directory of the files where the .iar exports are stored


you can refer to : https://oracletechshares.blogspot.com/2022/07/archive-integrations-of-instance-using.html  for easy way to export the integrations .




STEP:3

Drop a for-each action and map it according as shown below




Inside the loop follow STEP4 and STEP 5


STEP:4

Use the same SFTP connection once again .

The configuration of the SFTP should be as per below screenshot





    Adjust the mappings as below



STEP5

Add the invoke rest trigger connection which is configured with the deployment environment URI

Fill in the details as below:

 

Paste ‘/ic/api/integration/v1/integrations/archive’ in the endpoint URI field




Make sure you had marked the below two boxes




Click on NEXT followed by DONE.

 

Now, Adjust the mappings between STEP 4 and STEP 5 as below




Hard code Content Type to ‘multipart/form-data’ and File Input Html Field Name to ‘file’


That’s it your end integration should look like below:




 Hit Submit and Chill.


P.S : Incase you want to deploy only one particular Integration configure the ImprotTrigger connection with below payload.

{

  "IntegrationFileName”: ""

}

and directly map the IntegrationFileName to FileName field of SFTP performing  Downloadfile action.



-Preetham Konjeti

Comments

Popular posts from this blog

Convert App based Integration to Scheduled Integration without wrapper in OICS

we all know that converting a scheduler integration to REST is quite easy , where as the reverse is not possible and the only way to achieve it is through creating a wrapper scheduler integration and invoking the trigger one as child from there. But there is another way through which we can achieve the direct conversion. For that please refer to below example. Note : Every step mentioned has to be done very carefully Create Scheduler Integration. I’ve created a base one in which it invokes a SOAP service.  I’ve created a small trigger integration which I’m going to change to scheduler without any wrapper. Please follow the below steps to convert rest based to scheduler:     1)    Export the integration.     2) Rename the iar file to zip.     3) Now unzip the file.     4)    Compare the properties files of both scheduler and rest based integration and make the changes to rest based as per the scheduler integration After ...

ChatGpt X Oracle Digital Assistant Integration

  Introduction In this article I will be explaining about integrating the ChatGpt with Oracle Digital Assistant. NOTE : This is not a suggestion to have ChatGPT in your ODA, this article is just to showcase the flexibility of the ODA to easily integrate with anything. Main article ChatGPT ChatGPT is an AI language model developed by OpenAI, capable of processing natural language input from users and generating coherent and relevant responses. It has been trained on an enormous corpus of text data using unsupervised learning, allowing it to generate responses that are not just grammatically correct, but also contextually appropriate and engaging. ChatGPT is particularly useful in scenarios where there is a need for rapid and accurate responses to user queries, such as in customer service or personal assistants. However, it may struggle to generate appropriate responses in certain situations and may not be suitable for scenarios requiring a high degree of personalization or...

Easy Chatbot/Digital Assistant Creation and Integration into VBCS

  Introduction : In this blog I will be explaining about creating a chatbot and integrating with your VBCS application. Main Article: Chatbots are the coolest things that everyone would love to have in their application. Let’s start by building a basic chatbot which suggests you a place to visit in India based on your food preferences. STEP1 : ·        Go to the skills section of your digital assistant. ·        click on the Add Intent and rename it to ‘suggestPlaces’ and then go to utterances section of and provide your input. ·        Basically, utterances are the initial conversations that would be started by the humans in a chatbot. once you are done with providing your utterances. click on the train with ML at the top of the page and wait till it gets completed.   STEP2 : ·        Go to the entity section and create an entity (type: valueli...