Tuesday, December 24, 2013

Flat File Connector: Packaging the Connector

Description: Create a flat file connector installer package. The package should contain all the artifacts and metadata for the flat file connector (E.g. IT Resource, Process Form, Resource Object, Adapters, etc). On a new OIM environment, you will be able to install the flat file connector. After connector installation, modify the IT Resources to point to your target system accordingly.

Connector Installer Package File Structure 
FlatFile/
    |
    |---bundles/
    |
    |---configuration/
    |    |
    |    |----FlatFile-Cl.xml
    |
    |---xml/
         |
         |----FlatFile-ConnectorConfig.xml


FlatFile-Cl.xml
This xml specfies where the other files are within the connector installer package. Typically there is a connector jar file defined (E.g. <file>org.identityconnectors.flatfile-1.0.jar</file>), but since a connector server is being used it not necessary. If you are using a connector server to perform flat file code, you would need place the connector jar file in the bundles directory of your connector server installation directory. In this example, I am assuming a connector server is in place on the target system.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.-->
<connector orderid="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=".\ConnectorSchema.xsd">
<connector-name>Flat File Connector</connector-name>
<connector-version>1.0</connector-version>
<filecopy>
<destination folder="bundles">
<file></file>
</destination>
</filecopy>
<configuration>
<source folder="xml">
<file>FlatFile-ConnectorConfig.xml</file>
</source>
</configuration>
</connector>

FlatFile-ConnectorConfig.xml
This file should contain all the flat file connector artifacts and metadata. Create this file using the OIM Export Deployment Manager.

1. In the OIM console, navigate to the Advanced section and click Export Deployment Manager.


2. Export Process Form, IT Resource, Process, Resource, IT Resource Definition, Lookup, Scheduled Task, and other dependencies for the flat file connector.





1 comment:

  1. I want to add date of birth field in HRfeed. due to privacy we will make use of montha and date and year will be 1900 for all employees date of birth. Could you please

    suggest me how to do this

    ReplyDelete