ibmcognos.import
The ibmcognos.import property allows you to configure a data server connection that imports metadata. For example, you can integrate Cognos Analytics with Egeria by importing Egeria metadata.
Requirements
To integrate Cognos Analytics with Egeria, you must have the following:
- a Cognos Analytics 11.2.0 environment or later installed, configured, and running
- an Egeria environment with the analytics-modeling OMAS running Version: 2.5 or later.
For more information, see Analytics Modeling Open Metadata Access Service (OMAS) (https://egeria.odpi.org/open-metadata-implementation/access-services/analytics-modeling/)
- an Egeria catalog populated with at least one DeployedDatabaseSchema
If connecting via https, you must import the SSL certificates to the Cognos Analytics keystore. For instructions see: Importing certificate from an SSL enabled website to Cognos Analytics (https://www.ibm.com/support/pages/importing-certificate-ssl-enabled-website-cognos-analytics)
JSON Configuration
Integration of Cognos Analytics with Egeria is configured via a JSON document. This document describes the REST calls to make to the analytics-modeling OMAS.
The egeria.json document is divided into three sections, each section describing a REST call Cognos Analytics will make to Egeria’s analytics-modeling OMAS:
- schemas
- Called when listing available schemas for a Data Source Connection
- tables
- Called when listing available tables for a Data Source Connection schema
- modules
- Called when loading metadata for a Data Source Connection schema
- Updating attributes
- In the egeria.json file, update the attributes shown in the following table:
- Finding a DeployedDatabaseSchema GUID
-
The analytics-modeling OMAS provides an endpoint to quickly find all available DeployedDatabaseSchema instances and their GUIDs. This endpoint can be executed from the swagger-ui or via a REST call to the OMAS.
Here is an example:

- Hosting the configuration file
- For Cognos Analytics to use a JSON configuration file successfully, the file must either be:
- hosted on an http server
For example, with the URL http://hostname:3000/egeria.json
OR
- copied to a location that is common to all Cognos Analytics reporting nodes
For example, with the URL file:///D:/config/egeria.json
- hosted on an http server
Creating a data server connection that imports metadata from Egeria
Follow these steps:
- Go to the Create data server connection wizard.
- Click the Open menu icon
. - Click .
- Click the Open menu icon
- Select the data server type from the list of supported types.
For example, select Microsoft SQL Server.
- In the field New data server connection, type a unique name for the
connection.
For example, type MSSQL_GOSALES1
- Beside Connections details, click Edit and enter
the connection details for the type of connection that you are creating.
- Fill in the JDBC URL field.
For example, type jdbc:sqlserver://server:12345;databaseName=GOSALES
- In the Connection Properties field, enter the
following:
ibmcognos.import=URL_of_JSON_file
Here are two example URLS:
- ibmcognos.import=file:///D:/egeria/config.json
- ibmcognos.import=http://myserver:3000/config.json
- Fill in the JDBC URL field.
- Under , select the signon from the drop-down list, or create a new signon
by clicking the add icon
. In the New
data server connection window on the Credentials tab, type a user
ID and password. - Click Test to verify that the connection works.
- Click Save to save the new data server connection.
Modeling with Egeria metadata
You are now ready to navigate to the Assets page to preview and load metadata as usual. Metadata is retrieved from Egeria via JDBC calls.
After you load a schema, you can see the results by creating a new data module using the schema as the source.
For more information, see Creating a data module.
