QC-config-us2folder.pxml
Used to copy QC requirements from a specific QC folder, and copy Rally UserStories into the same QC folder.
Below are the sections relating to this QC connector run:
- This configuration file: QC-config-us2folder.pxml
- The logfile output: rallylog.log
Configuration file QC-config-us2folder.pxml
<!-- **********************************************************************
FILE: QC-config-us2folder.pxml
PURPOSE: Have the QC connector copy QC requirements from a specific QC folder,
and have it copy Rally UserStories into the same QC folder.
USAGE: Replace all the "Your-..." strings below with values appropriate
for your environment.
*********************************************************************** -->
<Config>
<RallyConnection>
<Url>Your-Rally-URL</Url>
<WorkspaceName>Your-Rally-Workspace</WorkspaceName>
<Projects>
<Project>Your-Rally-Project</Project>
</Projects>
<User>Your-Rally-Username</User>
<Password>Your-Rally-Password</Password>
<ArtifactType>UserStory</ArtifactType>
<ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
<CopySelectors>
<CopySelector>FormattedID > US458</CopySelector>
</CopySelectors>
</RallyConnection>
<QCConnection>
<Url>Your-QC-URL</Url>
<Domain>Your-QC-Domain</Domain>
<Project>Your-QC-Project</Project>
<User>Your-QC-Username</User>
<Password>Your-QC-Password</Password>
<ArtifactType>REQ</ArtifactType>
<IDField>RQ_REQ_ID</IDField>
<ExternalIDField>Your-QC-ExternalID</ExternalIDField>
<ExternalEndUserIDField>RQ_USER_03</ExternalEndUserIDField>
<!-- .......................................................................
QC to Rally: The following <CopySelector> and <UpdateSelector> are used
to limit where the QC connector will search for QC requirements which
are to be copied to Rally UserStories (or updated).
....................................................................... -->
<CopySelectors>
<CopySelector>RQ_FATHER_NAME = (^Requirements\Folder 1\Folder A^)</CopySelector>
</CopySelectors>
<UpdateSelectors>
<UpdateSelector>RQ_FATHER_NAME = (^Requirements\Folder 1\Folder A^)</UpdateSelector>
</UpdateSelectors>
<!-- .......................................................................
Rally to QC: The following <RequirementFolder> tag is used to specify
the destination folder for Rally UserStories which are to be copied to
QC requirements. Note: If the folder name is not unique within your QC
system, the <RequirementFolderID> tag may be used instead.
....................................................................... -->
<RequirementFolder>Folder A</RequirementFolder>
</QCConnection>
<Connector>
<FieldMapping>
<Field><Rally>Name</Rally> <Other>RQ_REQ_NAME</Other></Field>
<Field><Rally>Description</Rally> <Other>RQ_REQ_COMMENT</Other></Field>
</FieldMapping>
</Connector>
<ConnectorRunner>
<Preview>false</Preview>
<LogLevel>Debug</LogLevel>
<Services>COPY_QC_TO_RALLY, COPY_RALLY_TO_QC</Services>
</ConnectorRunner>
</Config>
The logfile output: rallylog.log
******************************************************************************
rally2_qc_connector
pid: 2020
starting at: 2013-08-08 22:26:12 Z
cwd: C:/Users/jpkole/RallyQC
configs: QC-config-us2folder.xml
interval: -1
******************************************************************************
ANY : ConnectorRunner.block in run - processing to commence using content from QC-config-us2folder.xml
ANY : Class.read_config_file - QC-config-us2folder.xml last modified 2013-08-08 22:26:03 UTC, size: 2509 chars
ANY : RallyConnection.initialize - Initializing Rally connection version 2.8.8
INFO : RallyConnection.initialize - Rally Web Services version 1.16
ANY : QCConnection.initialize - Initializing Quality Center connection version 2.8.8
INFO : Connector.initialize - Ruby platform i386-mingw32
INFO : Connector.initialize - Ruby version 1.9.2
INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user jpqc11
DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\HP\QUALIT~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/HP/Quality Center Client Side/OTAClient.dll
INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.5761)
INFO : QCConnection.connect - Domain: DEFAULT
INFO : QCConnection.connect - Project: JPproject11
INFO : RallyConnection.connect - Connecting to Rally at https://rally1.rallydev.com/slm as user jpkole@rallydev.com
DEBUG : RallyConnection.connect - Looking up workspace - JP's Workspace Playground
DEBUG : RallyConnection.connect - Looking up projects
INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm - Workspace: JP's Workspace Playground
INFO : RallyConnection.connect - Projects: PR01 - Brewing - Beer - All Grain
INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "jpkole@rallydev.com" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "userstory" validated
WARN : RallyConnection.check_for_warnings - <Warnings>
<OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
</Warnings>
DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : Connector.validate - RallyConnection validate succeeded
DEBUG : QCConnection.validate - Quality Center Connection - user entry "jpqc11" detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - artifact type "req" validated
DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "RQ_REQ_ID" validated
DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "RQ_USER_01" validated
DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
DEBUG : Connector.validate - Quality Center Connection validate succeeded
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "RQ_REQ_NAME" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "RQ_REQ_COMMENT" existence validated
INFO : Connector.validate - Validation complete
ANY : ConnectorRunner.run_services - Last Run 2013-08-08 15:42:29 UTC --- Now 2013-08-08 22:26:38 UTC
ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
INFO : QCConnection.find_new - find_new query: RQ_USER_01 ="" and RQ_FATHER_NAME ="(^Requirements\Folder 1\Folder A^)"
INFO : QCConnection.find_new - Found 1 New reqs in QC
INFO : Connector.copy_to_rally - Copy to Rally
DEBUG : Connector.block in map_fields_to_rally - Mapping RQ_REQ_NAME(Req3 in QC) - to - Name(Req3 in QC)
DEBUG : Connector.block in map_fields_to_rally - Mapping RQ_REQ_COMMENT(<html>
<body>
<div align="left"><font face="Arial"><span style="font-size:8pt">Desc for Req3 in QC</span></font></div>
</body>
</html>) - to - Description(<html>
<body>
<div align="left"><font face="Arial"><span style="font-size:8pt">Desc for Req3 in QC</span></font></div>
</body>
</html>)
INFO : RallyConnection.create_internal - Created US466
DEBUG : QCConnection.update_external_id_fields - set QC Req RQ_REQ_ID: 3 external id field RQ_USER_01 --> |13365160093|
DEBUG : QCConnection.update_external_id_fields - set QC Req RQ_REQ_ID: 3 external end user id field RQ_USER_03 --> |US466|
INFO : Connector.copy_to_rally - Quality Center req 3 copied to Rally userstory US466
ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
INFO : RallyConnection.find_new - Find New Rally userstorys
INFO : RallyConnection.find_new - find_new query: QCPR01ExtID = "" and Project = PR01 - Brewing - Beer - All Grain and formatted_i_d > "US458"
WARN : RallyConnection.check_for_warnings - <Warnings>
<OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
</Warnings>
INFO : RallyConnection.find_new - Found 1 new userstorys in Rally
INFO : Connector.copy_to_other - Copy US459 to Quality Center
DEBUG : Connector.block in map_fields_to_other - Mapping Name(US459 in Rally) - to - RQ_REQ_NAME(US459 in Rally)
DEBUG : Connector.block in map_fields_to_other - Mapping Description(desc for US459 in Rally) - to - RQ_REQ_COMMENT(desc for US459 in Rally)
DEBUG : QCConnection.create_internal - set all artifact fields
INFO : QCConnection.create_internal - Created req 45 in QC
INFO : RallyConnection.update_internal - Updating US459
INFO : Connector.copy_to_other - Rally userstory US459 copied to Quality Center req 45
ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
INFO : QCConnection.disconnect - Disconnected from Quality Center
ANY : ConnectorRunner.run_services - time file written with value of 2013-08-08 22:26:38 UTC
ANY : ConnectorRunner.block in log_service_statistics - QC-config-us2folder.xml: 1 items copied from Quality center to Rally
ANY : ConnectorRunner.block in log_service_statistics - QC-config-us2folder.xml: 1 items copied from Rally to Quality center
ANY : ConnectorRunner.log_service_statistics - QC-config-us2folder.xml: service run took 31 seconds