Monday, August 30, 2021
OIC - How to create Rest ICS connection
OIC - Update lookup from a CSV file
UseCase: Here, we will feed a lookup name as input and then based on the lookup name we will fetch the Lookup csv file from a location using FTP protocol and then call lookup rest api to update the the respective lookup.
Rest API details to update lookup:
API : /ic/api/integration/v1/lookups/{name}
Verb : PUT
Request Json payload:
{"columns":["rightnow","soap"],"rows":[{"rowData":["RN1","SOAP1"]},{"rowData":["RN2","SOAP2"]}],"name":"myLookup"}
Prerequisites:
- You should have a FTP connection to read the csv.
- You should have a ICS rest connection.
Implementation steps:
Step1: We will feed lookup name.
URI: /update/{lookupName}
OIC - send Binary object as rest response
UseCase: Here, we will send .JPG object as input using rest trigger and fetch the file using FTP protocol and send as Rest binary response.
Note: we can also choose document, text or png type or other media types.
Implementations steps:
Step1: Take a rest trigger and configure.
Verb: Get.
Add and review parameters for this endpoint checked
Configure this endpoint to trceive the response checked
Saturday, August 28, 2021
OIC - Search Data from CSV file
Usecase: Here, I will show you how you can search employee information from a CSV file using empid.
High level steps:
- Add rest configure to fetch emp details based on id
- Read csv file using FTP connection
- Map the searching logic to show in rest response.
Implementation:
Step1: Add an App driven orchestratation integration style and add a rest connection and configure id template param and emp details as response.
Friday, August 27, 2021
OIC - Business identifiers
- Business Identifiers helps to track the messages from monitoring dashboard very easily.
- Suppose you are subscribing an event - supplier details from ERP and you want to track the meseages based on the unique supplier id or POid that you can achieve using this feature.
- Without enabling the tracking or business fields, you can not activate the integration.
- Max 3 identifiers can be assigned during design time.
- One is primary identifier.
- Others two are secondary or business identifiers.
- One error sign will be showing in the integration untill you add the tracking fields.
Add tracking and monitor:
Step1: Whether you have a soap or rest triggerd service, go to the actions and tracking and add the 3 fields, Here i added empid as primary and ename and dept fields as secondary fields.
Step2: Go to the monitoring and integrations. Empid will be added as primary identifier and ename and dept will be added in the business identifiers.
Tuesday, August 24, 2021
OIC - Using Stage file to encrypt and decrypt files.
Use Case: Here, We will download a csv file using FTP connection and encrypt the file using Stage action and then write the file using FTP connection and then read the encrypted the file using FTP connection and decrypt the file using Stage and write again to file location using FTP.
Implementation steps:
Step1: First We must have imported the PGP private and public keys to settings certificates.
https://soalicious.blogspot.com/2021/08/oic-import-pgp-keys-to-use-in-stage.html
Step2: Download the file using FTP connection.
OIC - Import PGP keys to Setting Certificates to use in Stage file to encrypt and decrypt files.
Here I will show you how to import the PGP keys in settings Certificate section which will be later on used in Stage file for encrypting and decrypring files.
Import steps:
Public Key is used for Encryption and Private Key for decryption. In order to use encrypt/decrypt files we have to upload PGP keys in OIC.
To upload PGP Keys:
Step1: From OIC Home page→ Settings → Certificates page. Click Upload at the top of the page.
Step2: In the Upload Certificate dialog box, select the certificate type. Each certificate type enables Oracle Integration Cloud to connect with external services.
PGP: Use this option for bringing PGP Certificates.
Public Key:
Enter Alias Name and Description
Select Type as PGP
Select Category as Public
Select PGP File, Click Browse and select the public key file to be uploaded
Select ASCII-Armor Encryption Format
Select Cipher Algorithm
Click Upload.
OIC - Decrypt file using FTP download operation and read reference in stage activity
Use Case: Here, we will download (with decrypt) an encrypyed csv file without schema option and then read file reference using stage read entire file option.
Implementation steps:
Step1: First create FTP connection following below blog:
https://soalicious.blogspot.com/2021/08/oic-create-sftp-connection-with-pgp.html
Step2: Create an orchestrated intwgration and drag and drop FTP connection and download the file with pgp encrypt option.
Featured Post
OIC - how can I use XSLT functions to remove leading zeros from numeric and alphanumeric fields?
To remove leading zeros from an numeric field in Oracle Integration Cloud (OIC) using XSLT, you can Use number() Function The number() funct...
-
Please find the following links for OIC hands on and relevant information: Oracle Integration Cloud Introduction | Benefits | Services offer...
-
OIC interview Q & A: 1. FBDI approach with an example https://soalicious.blogspot.com/2022/02/oic-erp-supplier-bulk-import-and.html 2. ...
-
What is Throttling: Throttling is termed as "regulate the flow". Oracle Service Bus has throttling feature and by using that f...
-
Usecase: Here, we will extract the data from HCM and then download the data from UCM uaing Flow Actions Service and Generic Soap Service To...
-
Stage or vfs or virtual file system is a temporary location in the oic local file system which stores temporary files required for processin...
-
UseCase: Here, we will show you how to split an input, received as comma separated string values( here, emails) into array of values using c...
-
Usecase: Here, we will see how we can download the import Payables Invoices report. That is we will download report equivalent .xml file w...
-
Usecase: Here, we will demonstrate the detailed implementation steps for AP Invoice FBD Import from polling the file from source >> cr...
-
UseCase: While mapping the elements in the mapper using XSD structure of the file contents, getting below 2 types of translation errors: Err...
-
Credential Store Framework (CSF) is used in OWSM to manage the secure credentials. CSF provides a way to store, retrieve, and delete cred...