IBM Software Group | Rational software Introduction IBM Rational Change (>= ) 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
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 >= Check if the following XML is shown using this URL: : / /rootservices
IBM Software Group | Rational software Get list of databases Enter this URL: or Database name Database URI Enter admin login and password if required (i.e. in the TLS VM weve used the demo user).
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: 2f464fd7896d/role/User/queries 2f464fd7896d/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: 2f464fd7896d/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