Showing posts with label ICS. Show all posts
Showing posts with label ICS. Show all posts

Saturday, 4 February 2017

Oracle Integration Cloud Service (ICS) Coding Standards

Naming Convention for {Source/Target}-SOAP or SOAP-{Source/Target} based Integrations

·        Naming conventions for the Connections

Syntax:
<ProjectName>-SOAP-<Operation><BusinessEntity>-<AdapterName>

Example:
Sample-SOAP-ReceiveAccount-SFDC


·        Naming conventions for Integrations

Syntax:
<ProjectName>-< Operation><BusinessEntity>-<AdapterName>

Example:
Sample-ReceiveAccount-SFDC


·        Naming conventions for Identifier

Syntax:
<ProjectName>_<Operation><BusinessEntity>_<AdapterName>

Example:
SAMPLE_RECEIVEACCOUNT_SFDC when Target is SFDC


Naming Convention for {Source/Target}-{Source/Target} based Integrations  

·        Naming conventions for the Connections

Syntax:
<ProjectName>-<AdapterName>-Conn

Example:
Sample-Salesforce-Conn


·        Naming conventions for Integrations

Syntax:
<ProjectName>-Sync-<SourceAdapter>-<BusinessEntity>-<TargetAdapter>

Example:
Sample-Sync-OSC-Account-SFDC when source is OSC and Target is SFDC.


·        Naming conventions for Identifier

Syntax:
<ProjectName>_Sync_<SourceAdapter>_<BusinessEntity>_<TargetAdapter>

Example:
SAMPLE_SYNC_OSC_ACCOUNT_SFDC when source is OSC and Target is SFDC





·        Naming Convention for lookups

Must start with the Object Name / Business Entity Name.
Should be followed by the Element Name that needs domain value mapping.
Must be uppercase.

Syntax:
<BusinessEntity/ObjectName>_<ElementName>

Example:
ACCOUNT_THEATER.dvm



Description: Lookups created will be used inside the Integrations.

·        Better Readability

      Proper description to be present at each level of Integration, lookup's for better readability.
      
      
      
      Reason: Clear description prevent us from creating a duplicate integration and helpful in re-usability

Thank You!!!!


Happy Learning!!!!

Oracle Integration Cloud Service (ICS) Best Practices

1. Proper Versioning of Integration should be maintained
 
 Example: 01.00.0000

 

Reason: Service versioning defines the strategy for having multiple versions of the same  service to be operational at same time so that changes and enhancements to service  interface do not affect existing consumers.

2. Integration should be inside Package.

 Syntax: <CompanyName>.<ProjectName>.ics.pkg
 Example: xyz.sample.ics.pkg
    
 
   
Reason: All Integration which are included in the package can be imported/exported in one shot from one environment to other environment.
  
Issue: If we won’t give the package name the integration will be created as normal integration without package and it will be a miss when we migrate integrations of project which are present in specific package from one environment to other and manually we have to move that particular integration.

3. Fault Mapping Should be done for every integration of map to data and Global Fault should be added for orchestrated integrations.

Reason: For proper debugging, get exact details of the error and to check where exactly integration has failed. If we don’t implement this, we are not aware where exactly the issue is and it will be time consuming.

4. All three Business Identifiers for tracking should be provided (Primary Id of Business Entity, Name, Cross Reference Id) and make one of them as primary according to the business functionality. 


Reason: It will be helpful for easy tracking, when issue comes immediately we can get into details and take necessary actions without time consuming.

5. Check for NULL values before assigning mandatory fields.

Reason: Checking the validation before sending the data to Target System which will reduce unnecessary calls with improper data.

6. Filter condition has to be implemented for events while configuring Adapter endpoint in integration to avoid same event firing continuously.


7. Copy-of in ICS Mapping:

Template:

Use when source and target has same WSDL (Including namespaces).

Reason: It will be helpful even if new elements have been added in the end systems, no need of mapping changes in integration and just what we need to do is a meta data refresh on connection and on the integration created.

Value-of in ICS Mapping:

 

Use when source and target has (Same/Diff) WSDL with different namespaces.

Reason: If we use copy of here, target won’t receive the data as both WSDL’s has different namespaces.

8. If the Service which is used in configuring the connection is deployed on managed servers try to use the load balancer WSDL URL.


Reason: Even if one managed server goes down this load balancer URL will automatically point to other running managed servers.

9. It would be preferred to login to ICS with their individual Id’s.

Reason: To avoid Session Conflict’s, Locked Draft state of integration and potential activation and deactivation issues of integrations.


Thank You!!!!


Happy Learning!!!!

Thursday, 29 December 2016

ICS - HelloWorld - Lookups,Its Usage in Integration and Testing

Create Lookups



OR



Give lookup details *Lookup Name and Description



Enter Domain Name and Domain Value









Lookup was saved successfully





Using the lookup created in Mapping






Default value setting as ICS (If no input is given we will Get response as "Hello ICS")











Testing from SOAP UI

Request: Key from DVM, Response: Hello World



Request: Any Value, Response:Hello ICS(Default Value)



Monitor



Thank You!!!!


Happy Learning!!!!

ICS - HelloWorld - View Package,Testing (SOAP UI),Monitor

1. Click on Packages or View Packages



OR





2. Testing from SOAP UI

Request:



3. Click on Monitor Integrations on the Dashboard



OR



Click on Tracking





Response or Output:



Thank You!!!!


Happy Learning!!!!

ICS - HelloWorld - Create and Activate Integration using Orchestration

Click on Integrations



OR



Click on New Integration



Select Orchestration



Give Integration details *Integration Name, *Identifier, *Version, Description and Package which it belongs to



Integration "HelloWorld" was created successfully. Drag drop the SOAP Connection created



Configure SOAP Endpoint









Double click on HelloWorld Map Which is similar to the one shown in left side panel





Concat Hello, Input received and click on save and then close





Click on Save



Map was saved successfully





Set Business Identifier for Tracking (We can set three identifiers but one is mandatory)





Save and Exit Integration





Activate the Integration



Enable tracing and click on Yes





Integration was Activated Successfully



Thank You!!!!


Happy Learning!!!!