Type System Manager V1.3
Command line tool to support managing IBM Rational DOORS Next Generation Type Systems.
See the following material to understand the code.
- Maintaining the Rational DOORS Next Generation type system in a configuration-management-enabled environment. Part 1: Manual procedures
- Maintaining the Rational DOORS Next Generation type system in a configuration-management-enabled environment. Part 2: Automation
- Maintaining the Rational DOORS Next Generation type system in a configuration-management-enabled environment. Part 3: Automation tool deep dive
Part 1: Manual procedures explains the best practices backing up the approach.
- Part 2: Automation explains the basics how the automation works, very much like this readme. Part 3: Automation tool deep dive is a deep dive in how to get the code, compile the code, buld the code and package releases. It also explains in great detail how the code works.
Additional information can be found in
The Type System Manager provides the following commands
-
deliverTypeSystemByDescription that uses string tags in the description to identify exactly one source stream and one or many target streams. The command then delivers the type system of the source stream to all target streams.
-
importTypeSystemByDescription that uses string tags in the description to identify exactly one source stream and one or many target streams. The command then imports the type system of the source stream into all target streams.
-
exportConfigurations to export the streams/configurations for components of a project area as target into a source to target mapping CSV file.
-
exportConfigurationsByDescription to export a source to target mapping for the configurations of the components of a project area to a CSV file, where the configurations are streams and marked with a source or target tag as substring in the description.
-
exportAllConfigurationsByDescription to export a source to target mapping for the configurations of the components of all project areas to a CSV file, where the configurations are streams and marked with a source or target tag as substring in the description.
-
importTypeSystem to import a RM Type System from streams/configurations of a component into streams/configurations of other components using a CSV/Excel file describing the source and target configurations.
-
deliverTypeSystem to deliver the changes to a type system in source streams/configurations of components to other streams/configurations for this component using a CSV/Excel file describing the source and target configurations.
- Export the streams/configurations to a CSV file using exportConfigurations.
- Open the CSV file with an editor e.g. Notepad++ or Excel.
- Find the configuration that is the source for the operation and copy the URL from the "target" column to use it as source configuration.
- Paste this configuration URL into the "source" column's cells in the desired rows for the target streams/configurations.
- Delete all rows with no source configuration URL.
- Save the CSV/Excel file.
- Run the desired command importTypeSystem to import the type system or deliverTypeSystem to deliver the type system changes providing the CSV file as input.
- Use and maintain pairs of "tag" strings such as -sourceTag TSDSource_TS1 -targetTag TSDTarget_TS1 in the descriptions of streams
- Export the streams/configurations to a CSV file using exportConfigurationsByDescription or exportAllConfigurationsByDescription.
- Run the desired command importTypeSystem to import the type system or deliverTypeSystem to deliver the type system changes providing the CSV file as input of a source to target mapping.
- Use and maintain pairs of "tag" strings such as -sourceTag TSSource_DTS1 -targetTag TSTarget_DTS1 in the descriptions of streams
- Run the desired command importTypeSystemByDescription to import the type system changes, or deliverTypeSystemByDescription to deliver the type system changes from the source configuration to the target configuration.
-command deliverTypeSystemByDescription -url https://clm.example.com:9443/rm -user user -password password -sourceTag TSSource_DTS1 -targetTag TSTarget_DTS1
-command importTypeSystemByDescription -url https://clm.example.com:9443/rm -user user -password password -sourceTag TSSource_ITS1 -targetTag TSTarget_ITS1
-command exportConfigurations -url https://clm.example.com:9443/rm -user user -password password -project "GC JKE Banking (Requirements Management)" -csvfile export.csv -csvDelimiter ";"
-command exportConfigurationsByDescription -url https://clm.example.com:9443/rm -user user -password password -project "GC JKE Banking (Requirements Management)" -sourceTag TSSource_TS1 -targetTag TSTarget_TS1 -csvfile export_description.csv -csvDelimiter ";"
-command exportAllConfigurationsByDescription -url https://clm.example.com:9443/rm -user user -password password -sourceTag TSSource_TS1 -targetTag TSTarget_TS1 -csvfile export_description.csv -csvDelimiter ";"
-command importTypeSystem -url https://clm.example.com:9443/rm -user user -password password -csvfile TypeSystemImport.csv -csvDelimiter ";"
-command deliverTypeSystem -url https://clm.example.com:9443/rm -user user -password password -csvfile TypeSystemDelivery.csv -csvDelimiter ";"
This software is licensed under the Eclipse Public License: Eclipse Public License - v 1.0
The code is dependent on, and usses the following packages published under the following licenses
Package | Version | License |
---|---|---|
slf4j-api | 1.7.25 | License MIT https://www.slf4j.org/license.html |
slf4j-log4j12 | 1.7.25 | License MIT https://www.slf4j.org/license.html |
wink-client | 1.4 | Apache License http://www.apache.org/licenses/ |
commons-cli | 1.2 | Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0 |
commons-io | 1.3.2 | Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0 |
oslc-java-client | 2.3.0 | Eclipse EPL, EDL https://wiki.eclipse.org/Lyo/Licenses |
xml-apis | 1.4.01 | Apache License 2.0 http://xerces.apache.org/xml-commons/licenses.html |
javax.json | 1.1.2 | CDDL 1.1 GPL 2.0 https://goo.gl/JhfxP5 |
opencsv | 4.2 | Apache License 2.0 http://opencsv.sourceforge.net/license.html |