Building a flexible Rational ClearCase system using HTTP Network technology, part 2nd

Source: Internet
Author: User
Tags comparison

Querying UCM project information in rationalclearcase with Web service

Developing the Rational Clearcase UCM project information Query system using the Java language and Web Service technology

A total of two articles in this series, taking the development of a clearcase monitoring system used in a production environment as an example, provides readers with information on how to use java-based Web2.0 and Web Service Technologies to develop clearcase monitoring and UC in a Linux environment M Project Query System. This is the second part of the series that will show you how to use the Java language and Web Service Technologies to develop a Rational Clearcase UCM project information Query system.

Application Scenario Introduction of UCM Project information Query system

The Clearcase UCM model contains a number of information that records the development process and progress of the project, such as the development status information for each branch in each of the project's child development streams, each containing information about the project development activities at different times. This information is of great help to all aspects of software project development. For example, during the process of building a software product, you can retrieve the code changes for each product build by querying the UCM active changesets, and you can retrieve the progress of the project development at different points of time by querying the baseline of each UCM component during project progress tracking. In existing Clearcase client programs (CCRC,CC Web and CC Native clients), only a very limited, UI-enabled UCM project information query is available (for example, you can query for features such as the changeset contained in a specific baseline by clicking a mouse) 。 These features do not meet the needs of all aspects of software development, while existing clients do not have a computer programming interface to provide these features, and other software used in the development process, such as Product Builder, cannot obtain UCM information from these existing client programs.

In the normal way, in order to obtain these UCM information, the Software development project organization needs to write custom scripting programs (which are typically written in Perl and the Shell language, contain cleartool command-line directives to query for the UCM information required) and Clea Run these programs on the Rcase server host and then need to somehow download the execution results from the server host and parse the required UCM information. Another approach is to use the Rational Team API provided by Clearcase to write a Java-based custom client program to query for the desired UCM information, but the Rational team API can only be calculated on a ClearCase client that has already been installed Machine, and can only be called by programs written in the Java language. The above two methods need to combine the use of a variety of different programming languages, or have certain limitations of use. And they all involve the interaction of several different physical machines and the collaborative work of project members of many different roles. The process is very complex and does not have good maintainability and functionality scalability.

When using the UCM project information Query system described in this article, the Software project development team only needs to access the UCM query system by using a WEB Service client program written in any language in various project development support software to obtain the desired project UCM information. This process does not require the installation of Clearcase client programs or the collaboration of project members with multiple different roles. The process of development and use is simple and enables the software development team to obtain UCM project status information from a Clearcase server in a unified way in a variety of heterogeneous software systems.

Figure 1 is a comparison of the system structures using the above two methods. The basic concepts of Clearcase UCM and the related command-line query directives are introduced first in the following sections of this article, and then how to use Java and Web service to develop a generic UCM project information query system that can be used as a SOAP Web Servic E Way to provide the Clearcase UCM query service to the client program.

Figure 1. A comparison of the structure of the general method and the way of using UCM project information Query system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.