Ident2JDBC
Workflow for Export from LDAP and Import into a JDBC database
Ident2JDBC exports data from the Identity Store to a JDBC database. You use it when another application stores its data in relational tables and you want DirX Identity to feed that database on a schedule.
The workflow uses MetaCP for the Identity Store export and JDBCAgent for the database write. The first step is delta-capable, so you can use the workflow for incremental exports as well as full refreshes.
The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.
At a Glance
Name |
|
Category |
Source Scheduled / JDBC |
Technology |
Tcl-based scheduled workflow |
LDAP object class |
|
Workflow type |
- |
Connected system / controller type |
- |
Configuration wizard |
|
Active in the factory data |
not set |
Factory data version |
7.0 |
Factory data path |
|
Prerequisites
-
MetaCPis available and can reach the Identity Store. -
JDBCAgentis installed and can connect to the target JDBC database. -
The channels
Ident2JDBC,OutData, andInDataare configured for the export from the Identity Store and the handover to the database job.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
Export from LDAP |
|
start activity |
2 |
|
Import into a JDBC database |
|
|
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
0 |
|
delta-or-full |
|
1 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
0 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
1 |
A Tcl-based workflow runs scheduled in the C++-based Server (IdS-C). Its activities run in the order
defined by the dxmPredecessorActivity-DN chain, and each activity starts a job that runs one agent
with one input and one output channel. Agents exchange their data through files or directly through
the meta controller, so a typical workflow consists of an export activity that writes the data of the
connected system and an import activity that maps and loads that data into the Identity Store.
You start these workflows manually from the Identity Manager or attach them to a schedule.
The workflow contains two activities. Ident2JDBC_MetaCP runs first and prepares the export data from the Identity Store. Ident2JDBC_JDBCAgent starts only after that step succeeds and writes the handover data to the JDBC target. If the first activity fails, the database step does not run; if the second activity fails, the workflow ends with that error.
Operation
-
The scheduler starts activity
Ident2JDBC_MetaCPin agentMetaCP. -
MetaCPreads the Identity Store data through channelIdent2JDBC, applies the configured mappings, and writes the handover result to channelOutData. -
Because delta handling is enabled for
Ident2JDBC_MetaCP, you can use the workflow for delta exports or run it as a full export when needed. -
After a successful first step, activity
Ident2JDBC_JDBCAgentreads the handover data through channelInDataand writes it to the JDBC target. Any error stops the workflow at the failing activity.