Managing data sources
As an administrator with Jazz administrative privileges, or a report manager, you can add and edit Report Builder data sources. For example, you can update the password that is required to connect to a data source, or specify a new location for a data source, as part of balancing workload among servers in a distributed environment.
Before you begin
- Report Builder must be installed and registered as an application with Jazz® Team Server.
- If you are using Report Builder with IBM® Engineering Lifecycle Optimization Engineering Insights, Lifecycle Query Engine must be installed and registered as an application with Jazz Team Server.
- The Java Database Connectivity (JDBC) driver for your database type must be installed as part of the Report Builder installation.
- You must have Jazz administrative privileges or be a report manager.
Following are the tasks that are related to data sources:
Viewing data sources
View a list of all available data sources, including default, active, and archived data sources.
About this task
Procedure
Connecting to data sources
After a data source is added, after you enable configuration management for the first time, or immediately after the installation of Report Builder, an administrator must establish a connection to it before users can use reports on their dashboard.
About this task
- Immediately after installing and configuring Report Builder
An administrator with Jazz administrative privileges must connect to the data source that was installed as part of IBM Engineering Lifecycle Management that uses Report Builder.
- After enabling configuration management for the first time.
After you enable configuration management for the first time in your solution (in any requirements management or quality management project area), wait for the TRS feeds to refresh Lifecycle Query Engine. By default, this refresh action occurs every 60 seconds. The LQE scoped by a configuration data source, which you use to report on data in configurations, is available only after the first project that you enable publishes a configuration. For details about TRS feeds and refresh rates, see Managing data providers for Lifecycle Query Engine.
- After adding subsequent data sources.
To discover and connect to a data source, complete the following steps:
Procedure
Results
Adding data sources
If Report Builder does not have a data source, an administrator with Jazz administrative privileges or a report manager can add one. Be sure to know the data source type and depending upon the type, and vendor, the properties that are required to connect to it.
About this task
To add data sources, complete the following steps:
Procedure
- Click the Administration icon in the main menu bar of the Report Builder new user experience page. This action takes you to the Administration settings page.
- Click Data sources to view a list of all available data sources.
- Click + in the toolbar to create a data source.
- A Create data source form is displayed where you can specify a data source name, select the data source type and enter connection properties.
- After you have entered the required connection properties, click Test connection to verify whether a connection is being established with the data source. Once the data source is successfully connected, a green icon gets displayed.
- Click Create to create the new data source. A success notification appears informing you that the data source was successfully created.
Editing data sources
It is recommended that you do not edit data sources because it can have implications for data collection jobs and reports. If you must change a data source property, ensure that you understand other corresponding changes that you must make.
About this task
To Edit an existing data source, complete the following steps:
Procedure
Adding data sources for configurations
Before you begin
- On the Data sources table listing, ensure that at least one Lifecycle Query Engine or Lifecycle Query Engine by a configuration data source exists.
- You must be familiar with how the global configurations in a project area are related.
About this task
Inconsistent type definitions across project areas make reports difficult to reuse and can produce unexpected results, such as duplicate attributes. To prevent this scenario, you can create a data source based on a specific configuration to ensure that a specific version of the type system (custom attributes, types, links, enumerations and so on) is used for reporting. When building and running reports, team members see only the types from the configuration for the data source.
When team members build reports that use a configuration-specific data source, the type definitions in that configuration are used for fetching report results.
- Reporting on applications that have versioned type systems, such as IBM Engineering Requirements Management DOORS® Next
- Sharing type definitions across Global Configuration Management project areas
- Importing properties from another IBM DOORS Next project area or component
Procedure
Changing configuration of a data source
You can change the configuration of an existing type scoped data source to report on a more recent type definition scheme.
About this task
Procedure
- Click the Administration icon in the main menu bar of the Report Builder new user experience page. This action takes you to the Administration settings page.
- Click Data sources to view a list of all available data sources.
- Click Edit for the corresponding type scoped data source in the table listing or click the respective data source name in the data source list to edit the configuration properties. The Data source configuration properties page is displayed.
- In the Change configuration section, click the Choose configuration button.
- A dialog displays where you select the configuration that you want to use. To select the configuration you must first specify a domain, project area, component (optional), and configuration, in order to filter the list of available configurations.
- Click Continue to return to the data sources properties page. The fields for Name, Description, and URL are automatically updated based on your configuration selections.
- Click Save. A success notification informs that the data source was successfully updated.
Deleting an existing data source
You can delete a data source that might or might not be default, and has no reports that are associated with it, or delete data source with reports that are associated with it or delete a data source that has dependent data sources.
About this task
Procedure
Archiving an existing data source
Over time, you might create many data sources for specific configurations so that teams can generate consistent reports based on the type systems of those configurations. However, you might use only a subset of these data sources at a time. Data source type system model is computed and stored in memory. To free up storage and memory, you can archive the data sources that teams no longer run reports against. You can restore archived data sources later if you need them.
About this task
Procedure
- Click the Administration icon in the main menu bar of the Report Builder new user experience page. This action takes you to the Administration settings page.
- Click Data sources to view a list of all available data sources.
- In the data source table listing, click More actions for the corresponding item and select Archive from the options listed or click the data source name and then click Archive on the Edit data source page.
- A dialog window is displayed informing the user that the data source will no longer be available for building or running reports and dashboard widgets that use the data source. If the data source that you are archiving is the one that is the default, the dialog allows you to select a different default data source.
- Click Archive to complete the archiving data source action. The data source table listing is refreshed with the new default data source, and the previous one is marked as archived. A success notification is also displayed on the page, which informs you that the previous default data source was archived and that the default data source was updated.
Restoring a data source
Restoring a data source takes a few minutes. You might restore a data source for regulatory purposes or to re-create an environment to address a product recall.
About this task
To restore an archived data source, complete the following steps:
Procedure
- Click the Administration icon in the main menu bar of the Report Builder new user experience page. This action takes you to the Administration settings page.
- Click Data sources to view a list of all available data sources.
- In the data source table listing, click More actions for the corresponding item and select Restore from the options listed or click the data source name and then click Restore on the Edit data source page. A success notification informs you that the data source was restored, and in the data source table listing it again shows the state as active instead of archived.
Refreshing the type system model
For each reporting data source, Report Builder generates a memory-based type system model hierarchy: a collection of closely related meta-types, based on the type URIs. Report Builder loads the type system models when you open the report editor, using the cached type system model to populate the user interface (for example, the entries and domain groupings in the Choose an Artifact section), and to generate the queries for the report.