QC-config-SuppressDeprecationWarning.pxml

The <SuppressDeprecationWarning /> tag in the <RallyConnection> section of the configuration file will cause the typical "API status is Deprecated" message to be changed from a "WARN" to an "INFO".

The message merely indicates that the internal libraries, upon which the connectors were built, are still using a version of the Rally Web Services API which is being deprecated. Whenever Rally updates the connectors to use a more current version of the Rally Web Services API, these message should no longer appear. These warnings can be safely ignored.

Although this example uses a QC configuration file for demonstration purposes, it is equally applicable to the JIRA, TFS, Bugzilla and CQ connectors.

Below are two almost identical configuration files (and accompanying rallylog.log file outputs) which demonstrate two different runs of the connector, one without and one with the <SuppressDeprecationWarning> tag.

Below are the four sections relating to this QC connector run:

  1. This configuration file: QC-config-NoSuppressDeprecationWarning.pxml
  2. The logfile output: rallylog.log

  3. This configuration file: QC-config-SuppressDeprecationWarning.pxml
  4. The logfile output: rallylog.log

Configuration file QC-config-NoSuppressDeprecationWarning.pxml

<!-- **********************************************************************
FILE:    QC-config-NoSuppressDeprecationWarning.pxml

PURPOSE: To demonstrate the lack of the <SuppressDeprecationWarning /> tag
         in the configuration file.

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>Defect</ArtifactType>
                <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
        <!--    <SuppressDeprecationWarning />    -->
        </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>BUG</ArtifactType>
                <IDField>BG_BUG_ID</IDField>
                <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
                <ExternalEndUserIDField>BG_USER_02</ExternalEndUserIDField>
        </QCConnection>

        <ConnectorRunner>
                <Preview>true</Preview>
                <Services>COPY_RALLY_TO_QC</Services>
        </ConnectorRunner>
</Config>

The rallylog.log file for QC-config-NoSuppressDeprecationWarning.pxml

**************************************************************************************************
     rally2_qc_connector
         pid: 1272
         starting at: 2013-12-09 17:13:48 Z
         cwd: Z:/JPKoleQC
         configs: x075-SuppressDeprecation.xml
         interval: -1
         connector-version: Connector version: 4.0.1-29-dev-9f870e86cc192d77a39ec175fe9635ab4a5037a0
         rally-version: Rally Spoke version 4.0.2 using rally_api gem version 0.9.25
         other-spoke: QCConnection version 4.0.2
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x075-SuppressDeprecation.xml
  ANY : Class.read_config_file - x075-SuppressDeprecation.xml last modified 2013-12-09 17:13:37 UTC, size: 949 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 4.0.2
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 4.0.2
 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\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: Default
 INFO : QCConnection.connect -   Project: JPproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally IDField name of "ObjectID" validated
DEBUG : RallyConnection.validate - Rally ExternalIDField name of "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 "bug" validated
DEBUG : QCConnection.validate - Quality Center IDField name of "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center ExternalIDField name of "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center ExternalEndUserIDField name of "BG_USER_02" 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
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-11-14 19:24:47 UTC  --- Now 2013-12-09 17:13:59 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: ((QCPR01ExtID = "") AND (Project.Name = "PR01"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 2 new defects in Rally
 INFO : ConnectorRunner.show_preview_message - ------- Preview Mode -------
 INFO : ConnectorRunner.block in show_preview_message -  DE353
 INFO : ConnectorRunner.block in show_preview_message -  DE356
 INFO : ConnectorRunner.show_preview_message - Found 2 records in Rally
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.block in log_service_statistics - x075-SuppressDeprecation.xml: 0 items copied from Rally to Quality center (Preview Mode)
  ANY : ConnectorRunner.log_service_statistics - x075-SuppressDeprecation.xml: service run took 13 seconds

Configuration file QC-config-SuppressDeprecationWarning.pxml

<!-- **********************************************************************
FILE:    QC-config-SuppressDeprecationWarning.pxml

PURPOSE: To demonstrate the use of the <SuppressDeprecationWarning /> tag.

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>Defect</ArtifactType>
                <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
                <SuppressDeprecationWarning />
        </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>BUG</ArtifactType>
                <IDField>BG_BUG_ID</IDField>
                <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
                <ExternalEndUserIDField>BG_USER_02</ExternalEndUserIDField>
        </QCConnection>

        <ConnectorRunner>
                <Preview>true</Preview>
                <Services>COPY_RALLY_TO_QC</Services>
        </ConnectorRunner>
</Config>

The rallylog.log file for QC-config-SuppressDeprecationWarning.pxml

**************************************************************************************************
     rally2_qc_connector
         pid: 2896
         starting at: 2013-12-09 17:16:02 Z
         cwd: Z:/JPKoleQC
         configs: x075-SuppressDeprecation.xml
         interval: -1
         connector-version: Connector version: 4.0.1-29-dev-9f870e86cc192d77a39ec175fe9635ab4a5037a0
         rally-version: Rally Spoke version 4.0.2 using rally_api gem version 0.9.25
         other-spoke: QCConnection version 4.0.2
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x075-SuppressDeprecation.xml
  ANY : Class.read_config_file - x075-SuppressDeprecation.xml last modified 2013-12-09 17:15:51 UTC, size: 941 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 4.0.2
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 4.0.2
 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\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: Default
 INFO : QCConnection.connect -   Project: JPproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally IDField name of "ObjectID" validated
DEBUG : RallyConnection.validate - Rally ExternalIDField name of "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 "bug" validated
DEBUG : QCConnection.validate - Quality Center IDField name of "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center ExternalIDField name of "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center ExternalEndUserIDField name of "BG_USER_02" 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
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-11-14 19:24:47 UTC  --- Now 2013-12-09 17:16:16 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: ((QCPR01ExtID = "") AND (Project.Name = "PR01"))
 INFO : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 2 new defects in Rally
 INFO : ConnectorRunner.show_preview_message - ------- Preview Mode -------
 INFO : ConnectorRunner.block in show_preview_message -  DE353
 INFO : ConnectorRunner.block in show_preview_message -  DE356
 INFO : ConnectorRunner.show_preview_message - Found 2 records in Rally
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.block in log_service_statistics - x075-SuppressDeprecation.xml: 0 items copied from Rally to Quality center (Preview Mode)
  ANY : ConnectorRunner.log_service_statistics - x075-SuppressDeprecation.xml: service run took 17 seconds

Feedback

Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.