How implement OSLC delegate UI in RQM?
Hello,
I'm developing a custom execution adapter based on the OSLC 2.0 public API. To have a good integration in Rational Quality Manager, I want to provide a delegate UI dialog for selection, as described in this example . Could you indicate how customize RQM to do as shown in the example? Thanks in advance! |
2 answers
Jerome,
in the example I posted the code that is being modified is for the OSLC consumer application, ninaCRM. There is code added to the consumer app that invokes the delegated UI of the OSLC provider (in this case, a change management app like RTC). It uses the post message protocol. The whole point of OSLC is so that it can be used instead of having to know anything about the internal API or workings of the OSLC provider. RQM and any other OSLC provider that supports delegated UI dialogs makes these dialogs available to OSLC consumers who use an IFrame for ex., to display the delegated UI dialog. Hopefully you can take this explanation and apply it to your use case. I still am having trouble visualizing what you are trying to accomplish. Please keep in mind that delegated UI dialogs provide very specific integration points such as to select existing provider artifacts or create new provider artifacts. Read intro in the link I provided regarding OSLC Delegated UI Comments Rosa,
I think the answer is No. The OSLC delegated UI dialogs are defined by the provider, in this case, RQM, and thus display what the provider wants to display as part of their delegated UI. The OSLC APIs exposed by RQM allow you to see what dialogs it exposes when the service provider catalog is retrieved.
Jérôme Beauquis
commented Sep 17 '13, 12:27 p.m.
Thanks for your explanations
If you develop a provider, then it's up to a consumer to invoke a resource selection delegated UI dialog that you provide as part of the OSLC provider. So, you can't control RQM as a consumer to your OSLC provider. What I have been trying to say is that since RQM is an OLSC provider, an app which is a OSLC consumer can invoke the resource selection dialog that RQM makes available as an OSLC provider.
Jérôme Beauquis
commented Sep 24 '13, 12:07 p.m.
Thanks for your answers.
|
Hello Jérôme,
I have my own adapter which i need to add to RQM. where in Test Script i need to modify or have new UI for my Adapter Type . How did you resolved your issue , i need some Plug-in with which i shall be able to create a UI in RQM. can you please help me. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Is your custom execution adapter attempting to be an OSLC consumer of RQM as an OSLC provider? What are you trying to select via the dialog? If your adapter is an OSLC consumer and RQM is the OSLC provider, then you are actually in this scenario: http://open-services.net/resources/tutorials/integrating-products-with-oslc/integrating-with-an-oslc-provider/making-incident-to-defect-linking-easy/
If this is not the correct scenario, please describe why you think you need to customize RQM? Perhaps explain what integration scenario you are trying to accomplish.
@jerome though I am not answering your question on delegated UI directly, I am sure you have looked at https://jazz.net/wiki/bin/view/Main/RQMTestAutomationAdapterAPI#Developing_an_Automation_adapter that explains how you can go about developing a Execution Adapter for RQM.
like @rosa says - can you explain the use case for the delegated UI you are looking at?
I have my own automation tool for non-regression tests. To use it via RQM, I developped an automation adapter (OSLC consumer) to communicate via the automation provider. The automation adapter is based on the Lyo Client example: http://wiki.eclipse.org/Lyo/BuildClient#RQMAutomationSample
Now, I can execute a test case of my tool by executing a RQM test script.
Parameters (test case identifier, report creation, ...) are indicated "manually" in text fields, in the RQM test script page. User has to know identifiers before using RQM or user has to switch between RQM application and my application to get parameters values to put in the RQM test script page.
To avoid this and to have a more user-friend UI, I want to use delegate UI dialogs like shown in the example of @rosa.
If I understand well this example, the "RQMTestScript.jsp" page has to be customized. Is there a way to do this?