Adding types to an i2 Analyze deployment
The data that you retrieve from an external source through the i2® Connect gateway must have entity and link types that are defined somewhere in the i2 Analyze deployment. If none of the existing schemas contains types that correspond with the external data, then you must extend or write a new schema as part of connector development.
If the data that you can retrieve from the external source is compatible with existing schema types, and your connector does not need to define its own types, then you can skip this task. Otherwise, you need to add type definitions to the i2 Analyze deployment.
There are two ways to add types to an existing deployment of i2 Analyze:
- Add the new entity, link, and property types directly to one of the deployed schemas in the usual way. Additive changes to schemas are always allowed.
- Create a gateway or connector schema (along with an accompanying charting scheme), and define the new item types in that schema.
Choosing which approach to use depends on your aims:
- Adding types to the Information Store schema makes them immediately and permanently available throughout the i2 Analyze deployment. Users can upload records that they retrieve from the external source to the Information Store without any further intervention.
- Especially in a deployment that does not include the Information Store, adding types to an existing gateway schema has some of the same benefits. The new types appear at familiar locations in the Analyst's Notebook Premium user interface, and they become available to future connectors.
- A key reason for creating a gateway schema to contain your new types is when you are creating a library of connectors that provide access to a particular source. The types in the gateway schema can be shared by all the connectors, and you can provide the gateway schema alongside the connectors if you need to distribute them.
- Creating a connector schema provides the highest level of flexibility. You can add the connector with its schema to any i2 Analyze deployment that includes the i2 Connect gateway. And you can make modifications to the connector schema without affecting the other schemas. But by its nature, this approach is also the least well integrated with the rest of the deployment.