Tutorial for Configuring the Database Resources Connector
The Database Resources Connector is a highly configurable connector that enables ASM Core to import resources from external databases.
About the Database Resources Connector
About this tutorial
Files required for this tutorial
Stage 0 - The base ICNF file

Step 1: Set up the database for the tutorial
Step 2: Configure ASM Core to connect to the database
Stage 1 - Modify the ICNF to expose and import one resource type
Step 1:

Step 2: Define the table schema that contains data for Computers

Step 3: Define the names of the queries that will retrieve data from the Computers table.

Step 4: Define the fields to be exposed corresponding to the query results

Step 5: Define the queries for each of the query names defined in step 3 above

Step 6: Apply the ICNF file and import the resource


Stage 2 - Modify the ICNF to expose an additional resource type
Step 1:
Step 2: Define the table schema that contains data for Devices

Step 3: Define the names of the queries that will retrieve data from the Devices table.

Step 4: Define the fields to be exposed corresponding to the query results

Step 5: Define the queries for each of the query names defined in step 3 above

Step 6: Apply the ICNF file and import the resource


Stage 3 - Modify the ICNF file to define link types and expose links between resources
Step 1:
Step 2: Define links between the Computer and Device resources

Step 3: Define the queries to identify the links

Step 4: Apply the ICNF file and define the links


Stage 4 - Modify the ICNF file to contain view definitions
Step 1:
Step 2: Define the view ID for Software in the Computers resources

Step 3: Define the fields to be exposed by the Software view

Step 4: Define the view schema for Software in the Computers resources

Step 5: Define queries for the Software view

Step 6: Apply the ICNF file and define the links

Addendum - Enabling multiple integration sources for the connector
Step 1: Insert the appVersion and Connector elements for the different sources

Step 2: Define queries for the different sources

Step 3: Insert the forVersion attribute into the resource query name section

Last updated