IBM Rational ClearQuest Architecture Analysis
Author: quietly and then fall asleep
Abstract: IBM Rational ClearQuest is designed in accordance with the standard three-layer structure, including data layers, functional layers (business layers), representations. The structure and interrelationships of the three layers are explained below.
This article uses the IBM Rational ClearQuest 2003.06.00 version.
Data layer
IBM Rational ClearQuest All information is stored in the relevant database.
The data layer of IBM Rational ClearQuest is divided into two categories: a database (referred to as SR database) used in ClearQuest Maintenance Tool; a database (called Schema Database) used in ClearQuest Designer.
1.1 Schema Repository Database
The SR database stores Schema Repository data and various information, including Schema Repository, including SCHEMA data, and Group and User data in the user adminitrator. .
In the case of Schema Repository, the Connection of Schema Repository and SR databases is created in Create Schema Repository in Clearquest Maintenance Tool, and the Schema Repository content is stored in the SR database.
In the case of Schema Repository, the Connection of Schema Repository is established in the ClearQuest Maintenance Tool, the original SR database content is unchanged.
When deleting Schema Repository, the SR database still exists and can be reconnected by the New Connection.
When moving (MOVE) SR database, the source SR database still exists and can be re-connected via the New Connection.
1.2 Schema Database
The Schema database stores related Schema information, including various information of the schema itself, and the user operates this schema's Groups and UserS information through the change information entered by the client (Defect, Email_Rule, Project, etc.).
The Schema database is specifically divided into Provinceion Database and Test Database.
2. Functional layer
The functional layer is the most important in IBM Rational ClearQuest, and all settings are almost implemented in the functional layer. Functional layers include two parts, ClearQuest Maintenance Tool and ClearQuest Designer. There is also a web server that can be selected.
The description will be described below.
2.1 ClearQuest Maintenance Tool Tool
ClearQuest Maintenance Tool (cqdbsetup.exe in the installation directory) is configured before using ClearQuest.
ClearQuest Maintenance Tool allows administrators to create (Mangage) and management (Mangage) Schema Repository, User Databases, and Connections.
Using ClearQuest Maintenance Tool, you can create (edit), Edit, Create, Edit, Duplicate, Delete (DELETE) connection (CONNEETE) connection (CREATE). In ClearQuest Maintenance Tool, you must Create or New Connection at least one Schema Repository. Whether it is Designer, the client is still a web server, it must be connected to the Schema Repository in Maintenance Tool.
Schema repository is a "Scenario Warehouse" according to the literal translation, that is, all Schema is attached to a specific schema repository.
If there are multiple Schema Repository, when using Designer, the client, the web server, you must select a specific Schema Repository, followed by the SCHEMA Repository range.
2.2 ClearQuest Designer
Designer (CQDesign.exe in the installation directory) Design Schema.
When entering Designer, if there are multiple Schema Repository in ClearQuest Maintenance Tool, one of them must be selected to enter Designer, and all Schema Repository, which is designed in Designer, and all Schema information is stored. In the corresponding SR database.
Since Schema information in Designer is stored in the SR database, Schema can not connect to the Schema database. However, if you need to use the ClearQuest client or the web side to change the operation record, you must establish a Schema database connected to Schema.
When you create a new Schema, you must select an existing Schema, the new schema inherits the original Schema information, including Field, States and Actions, Forms, etc.
For the sake of convenience, a configuration of a configuration SCHEMA (without connection database) can be created, all other schema can inherit from this standard schema, and simple modification can be used.
Schema connected Schema database is divided into two: Production Database and Test Database.
Test Database is commissioned for designing Schema. After the design is good, if you have established Test Database corresponding to Schema, you can select the File-> Test Work call client in the menu to view the results of the Schema design.
Production Database is a database actually used. Only when there is a ProDuction Database, you can use the client to perform ClearQuest.
2.3 Web Server
You must configure a web server when you need to use a browser access to a ClearQuest record; otherwise you may not install or configure web server components.
When setting up a web server, if it is a hard disk partition in the NTFS format, you must set the full control permission of the cache directory.
3. Representation
IBM Rational ClearQuest supports two forms of access: Web Browser Access or client access. 3.1 Web Access
After configuring the web server, you can use the browser access to ClearQuest.
Use the browser to operate ClearQuest, you can build the recorded query and report, and CHART cannot be established.
Windows XP or Windows 2003 operating system, you need to install the Java virtual machine to access the log content.
There is a Chinese name file in the attachment, which may not be accessible, you need to set whether you use UTF-8 access URL.
3.2 Client Access
The client (ClearQuest.exe in the installation directory) is a program that actually changing the process.
At the client, you can build Query, Chart, Report, etc. The client can see the submitted record by establishing Query. The use of Report must have a corresponding crystal report. Email_rule is set on the client.
4. Other tools
In IBM Rational ClearQuest, there are some other tools, which will be described below.
4.1 ClearQuest Export Tool
ClearQuest Export Tool exports data from the ClearQuest database. For example: record, history, attachment, etc.
4.2 ClearQuest Import Tool
ClearQuest Import TOOL imports data exported from ClearQuest Export Tool.
ClearQuest Export Tool and ClearQuest Import Tool are mainly used in different databases.
4.2 Create Rational ClearQuest Evaluation Databases
When there is no Schema Repository in ClearQuest Maintenance Tool, you can use this tool to create a evaluation using Schema Repository, there is a SAMPLE in the corresponding schema, you can view the features of ClearQuest.
4.3 ClearQuest User Administration
ClearQuest User Administration Sets and manages user and user groups used by ClearQuest.
After the setting is complete, you need to upgrade the database using the Upgrade.