IBM Rational software presentation template

Download Report

Transcript IBM Rational software presentation template

®
IBM Software Group
Rational Publishing Engine and
Rational Change configuration
Francisco López Minaya
Rational Technical Solution Architect
[email protected]
© 2010 IBM Corporation
IBM Software Group | Rational software
Introduction
 IBM Rational Change (>= 5.0.2.1) supports the OSLC-CM 1.0 REST API specification.
You can use this API to integrate Rational Change with OSLC-CM consumers (RPE,…)
 These slides explain how to extract CRs info from Rational Change using Rational
Publishing Engine via the OSLC-CM REST API.
 The RPE version used is 1.1.1.1
IBM Software Group | Rational software
Big steps
 The big steps to extract CRs info from Change are:
1. Check your Rational Change version implements the OSLC-CM REST API
2. Get the list of databases
3. Select a database and get the list of (Change) queries
4. Select a query and get the list of CRs you wish to report on
5. …create the template and build the report based on the CRs
…..These steps are detailed in the next slides….
IBM Software Group | Rational software
Check if Rational Change supports OSLC-CM REST API
1. Check Rational Change version >= 5.2.0.1
2. Check if the following XML is shown using
this URL:
http://<change_host>:<port>/<context>/rootservices
IBM Software Group | Rational software
Get list of databases
 Enter this URL:
http://localhost:8090/change_tls/oslc or http://192.168.11.10:8090/change_tls/oslc
Enter admin login
and password if
required (i.e. in
the TLS VM we’ve
used the “demo”
user).
Database
name
Database
URI
IBM Software Group | Rational software
Get queries for a database
 Add /role/User/queries to a database URI and copy all to your browser address bar:
http://192.168.11.10:8090/change_tls/oslc/db/5a83734c-7c11-47a5-a9a32f464fd7896d/role/User/queries
Rational Change
folders to organize
queries
IBM Software Group | Rational software
Get the list of CRs running the query
 Click on the query (i.e All CRs)
Copy this URL, this will be the
“Data Source URI” requested by
RPE Launcher
IBM Software Group | Rational software
RPE – Add Datasource Schema to template
 Add Datasource Schema
 Add ?metadata=schema to the previously copied URL to get the Schema file location:
http://192.168.11.10:8090/change_tls/oslc/db/5a83734c-7c11-47a5-a9a32f464fd7896d/role/User/queries/system/All%20CRs?metadata=schema
IBM Software Group | Rational software
Data source schema in the dta template
IBM Software Group | Rational software
Map datasource schema to datasource in the RPE Launcher
 Enter the URL copied in slide 7. (Remember user/password!!!)
IBM Software Group | Rational software
Create the template and generate the report
IBM Software Group | Rational software
Francisco J. López Minaya
Rational Technical Solution Architect
[email protected]
© Copyright IBM Corporation 2008. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any
kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor
shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use
of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or
capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product
or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business
Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.
12