skip to main content
Using Hybrid Data Pipeline : Configuring data sources for OData connectivity and working with data source groups : Creating a data source group

Try Now

Creating a data source group

A data source group contains references to multiple OData-enabled data source definitions, enabling you to access them all with the same resource path.
Take the following steps to create a data source group.
1. In the left navigation panel, click Data Sources to open the Data Sources view.
2. Click the Data Source Groups tab. The Data Source Groups page opens.
3. Click +NEW GROUP. The Create a Data Source Group page opens.
4. Enter a unique name to identify the data source group in the Data Source Group Name field.
5. Optionally, enter a description for the data source group in the Description field.
6. Choose the OData version for the data source group from the OData Version dropdown. If you want to use more than one version, you need to create different data source groups for each OData version. Note that the OData version of a data source group cannot be different from the OData versions of its members.
7. Optionally, specify a value in the Maximum Length of Entity Name field to control the length of the entity prefix. You can specify values from 10 to 128. Names that are longer than the specified value are altered to fit.
OData Access URI displays the URI to access the data source group. You cannot edit this field.
The OData base URL is needed to configure your application to use the OData service for a data source. The base URL for an OData enabled data source is shown in the Access URI field of the OData tab. In an OData-enabled application, select HTTP Basic authentication (user ID and password), and provide your Hybrid Data Pipeline user ID and password. With the base URL and Hybrid Data Pipeline credentials configured, OData queries can be executed on the OData service.
8. Optionally, specify whether the OData service temporarily caches information about the data source. Set the value to 1 to enable caching, and provide better performance for production. Set the value to 0 to disable caching; use 0 when you are configuring the data source.
Caching the back end connection improves performance when multiple OData queries are submitted to the same data source because the connection does not need to be established for every query.
When you configure a data source for OData, it is recommended that the OData session caching be disabled. because changes to the Hybrid Data Pipeline data source connection parameters are not implemented during caching because the connection is established using the old data source definition.
9. The OData Data Source section displays the list of data sources that have been enabled for OData. These data sources have a defined schema map and an associated model.
a. Select the data sources that you want to add to the group.
b. For every selected data source, enter a unique prefix. The prefix can be a combination of alphanumeric characters but must not start with a number. The length of prefix must be less than half the value of Maximum Entity Name Length. For example, if the value of Maximum Length of Entity Name is 10, the prefix must be no more than 5 characters long.
10. Click Save & Close. The new data source group is displayed on the Data Source Groups page.
11. Optionally, click the OData URI icon to view the OData URI to access the data source group.