Updating the Lab Management Catalog or not
I have just installed RQM 2.0 yesterday and want to update the Lab Management Catalog with our list of Operating Systems, Installed Software etc.
I have been using the RQMUrlUtility and Poster using the documentation on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate. However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url address as %20 results in a + character in the added Catalog entry - eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added Catalog entries using the ADMIN userid and another adminstrator Id. I can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the Menus, so none of the enrolled users including the other admin userid can create Lab resources using our collection of Operating Systems and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes 'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password ***** -filepath AIX6.xml -url https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project "calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml" written to URL : "https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5 "
I have been using the RQMUrlUtility and Poster using the documentation on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate. However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url address as %20 results in a + character in the added Catalog entry - eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added Catalog entries using the ADMIN userid and another adminstrator Id. I can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the Menus, so none of the enrolled users including the other admin userid can create Lab resources using our collection of Operating Systems and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes 'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password ***** -filepath AIX6.xml -url https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project "calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml" written to URL : "https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5 "
4 answers
Are the Catalog entries which I see via the menus Admin -> System Properties -> Lab Resource Properties specific to the project that I'm logged into, since I can see a different set of Catalog entries depending which project I'm in from the same userid (ADMIN)
Should the RQMUrlUtility and Poster url include the project when defining labresourceattributes e.g https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project+Name/labresourceattribute/AIX%206.0 ? I would have thought that System properties would be for the whole RQM server environment otherwise I will have to define all of my operating systems and installed software entries for each project.
Thanks for your advice
D
Should the RQMUrlUtility and Poster url include the project when defining labresourceattributes e.g https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Project+Name/labresourceattribute/AIX%206.0 ? I would have thought that System properties would be for the whole RQM server environment otherwise I will have to define all of my operating systems and installed software entries for each project.
Thanks for your advice
D
I have just installed RQM 2.0 yesterday and want to update the Lab Management Catalog with our list of Operating Systems, Installed Software etc.
I have been using the RQMUrlUtility and Poster using the documentation on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate. However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url address as %20 results in a + character in the added Catalog entry - eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added Catalog entries using the ADMIN userid and another adminstrator Id. I can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the Menus, so none of the enrolled users including the other admin userid can create Lab resources using our collection of Operating Systems and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes 'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password ***** -filepath AIX6.xml -url https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project "calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml" written to URL : "https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5 "
dpayne wrote:
Why not use the interface in System Properties to add these. That is
one of the big additions in RQM 2.0. There is no need to use the API to
do this but you can. We have done a complete customization of this area
for TERs and it works great. The things that are set in Lab
Customization also appear in the Test Environment for TERs as well.
This was a very important addition in 2.0 for us.
I have just installed RQM 2.0 yesterday and want to update the Lab
Management Catalog with our list of Operating Systems, Installed
Software etc.
I have been using the RQMUrlUtility and Poster using the documentation
on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate.
However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url
address as %20 results in a + character in the added Catalog entry -
eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a
space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added
Catalog entries using the ADMIN userid and another adminstrator Id. I
can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the
Menus, so none of the enrolled users including the other admin userid
can create Lab resources using our collection of Operating Systems
and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes
'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password *****
-filepath AIX6.xml -url
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project
"calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector
isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a
specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml"
written to URL :
"https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5
"
Why not use the interface in System Properties to add these. That is
one of the big additions in RQM 2.0. There is no need to use the API to
do this but you can. We have done a complete customization of this area
for TERs and it works great. The things that are set in Lab
Customization also appear in the Test Environment for TERs as well.
This was a very important addition in 2.0 for us.
dpayne wrote:
I have just installed RQM 2.0 yesterday and want to update the Lab
Management Catalog with our list of Operating Systems, Installed
Software etc.
I have been using the RQMUrlUtility and Poster using the documentation
on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate.
However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url
address as %20 results in a + character in the added Catalog entry -
eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a
space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added
Catalog entries using the ADMIN userid and another adminstrator Id. I
can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the
Menus, so none of the enrolled users including the other admin userid
can create Lab resources using our collection of Operating Systems
and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes
'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password *****
-filepath AIX6.xml -url
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project
"calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector
isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a
specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml"
written to URL :
"https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5
"
Why not use the interface in System Properties to add these. That is
one of the big additions in RQM 2.0. There is no need to use the API to
do this but you can. We have done a complete customization of this area
for TERs and it works great. The things that are set in Lab
Customization also appear in the Test Environment for TERs as well.
This was a very important addition in 2.0 for us.
I have used the interface for a few entries but we have 463 updates to make, so a manual process is too error prone and lengthy. I can write a simple script to update the entries using the API, but the new entries don't appear for all users on the system except the ADMIN userid.
D
dpayne wrote:
I have just installed RQM 2.0 yesterday and want to update the Lab
Management Catalog with our list of Operating Systems, Installed
Software etc.
I have been using the RQMUrlUtility and Poster using the documentation
on the Wiki https://jazz.net/wiki/bin/view/Main/RQMCatalogUpdate.
However, I see two problems.
1) Using the RQMUrlUtility a space character defined in the url
address as %20 results in a + character in the added Catalog entry -
eg AIX%206.0 becomes AIX+6.0
If you use the Poster application, the %20 is displayed correctly as a
space in the menus.
2) Using either Poster or RQMUrlUtility, I have successfully added
Catalog entries using the ADMIN userid and another adminstrator Id. I
can retrieve the XML entries using Poster and RQMUrlUtility.
However, ONLY the ADMIN userid can see the new Catalog entries in the
Menus, so none of the enrolled users including the other admin userid
can create Lab resources using our collection of Operating Systems
and Installed Software.
Any ideas ?
Here is an entry from RQMUrlUtility adding 'AIX 6.5' which becomes
'AIX+6.5'
Adding entries and retrieving them
java -jar RQMUrlUtility.jar -command PUT -user ADMIN -password *****
-filepath AIX6.xml -url
https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX%206.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to localhost:9443 using project
"calhost:9443"
30-Jul-2009 08:05:14 org.apache.commons.httpclient.HttpMethodDirector
isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a
specified file to URL
RQMUrlUtility: Server Response code: 201
RQMUrlUtility: XML string from file : "AIX6.xml"
written to URL :
"https://localhost:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresourceattribute/AIX+6.5
"
Why not use the interface in System Properties to add these. That is
one of the big additions in RQM 2.0. There is no need to use the API to
do this but you can. We have done a complete customization of this area
for TERs and it works great. The things that are set in Lab
Customization also appear in the Test Environment for TERs as well.
This was a very important addition in 2.0 for us.
I have used the interface for a few entries but we have 463 updates to make, so a manual process is too error prone and lengthy. I can write a simple script to update the entries using the API, but the new entries don't appear for all users on the system except the ADMIN userid.
D
Looking at the source for the RQMUrlUtility, it converts all spaces and %20 characters in the given URL to '+' characters. That is why I'm seeing a '+' character in the menu entry on the Web interface instead of a space character unlike the Poster plugin which keeps the %20 character in the url.
Here are the lines from the RQMUrlUtlyCommandLine.java source :-
sAttachURL = sAttachURL.replaceAll(" ", "+");
sAttachURL = sAttachURL.replaceAll("%20", "+");
Is the RQMUrlUtility program a supported program or should I update it myself to keep the %20 character in the URL ?
Thanks for your advice.
D