Accessing DOORS using Java Rest Api's (Not DNG)
Accepted answer
Ok, for DOORS Classic, the OSLC API should follow the same rules as the DNG API.
There is this article to get started: DOORS OSLC Services
Using the OSLC Workshop article - https://jazz.net/library/article/635 - for the Java with OSLC part, and above article you should be able to get going.
3 other answers
Hi Shan
Yes, above set of links are a good point to start, specially the CLM API landing page.
This is the set of DNG public API's that are available:
- RRC Reportable API - https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI - creating custom reports to be run from DNG or RPE, read only.
- OSLC RM V2 API - http://open-services.net/bin/view/Main/RmSpecificationV2 - the open standard way to programmatically integrate with DOORS Next Generation, there is an elaborate workshop to get you started here OSLC Workshop article - https://jazz.net/library/article/635 - These programs can be from any language that support HTTP REST calls, e.g. Java, C# etc. Hence these are more flexible to run and can read and update DNG data, as part of a web server, or standalone, but have some limitations set by the current OSLC standard, for example module support. In release 6.0.5 extension have been added for modules.
- DNG Server API - https://jazz.net/wiki/bin/view/Main/DNGServerAPI - starting with version 6.x, various public RM server API's have been added, also REST API's, for configuration management, task tracker, modules, ReqIF, and type import.
- TRS 2.0 - http://open-services.net/wiki/core/TrackedResourceSet-2.0/ - the OSLC Tracked Resource Set open standard REST API to hook into the stream of low level changes done to resources in the DNG application (and other Jazz apps as well); read only.
- and there is the client extension capability - https://jazz.net/wiki/bin/view/Main/RMExtensionsMain, these are Javascript extension that are added as widgets you can run from the dashboard, and can be used to view and edit DNG data. It's more tailored to DNG, so has better module support, but is limited to run in a browser/javascript environment.
And there is the private REST API, which you could reverse engineer looking at the requests/responses, but it isn't documented and supported, and can change over time, so usage at your own risk.
I propose to use the Lyo Framework. It definitely supports Doors Classic.
Have a closer look on http://www.eclipse.org/lyo/ and also verify the implementation of a Doors OAuth client sample available here
Comments
Thanks Matthias.
I will look into it.
Hi Mathias,
I am currently using eclipse lyo framework for fetching data from doors.
I am stuck at some point using this framework and posted as a different question.
The question is :
"How to get attributes name and value from Doors classic using eclipse lyo"
If you any idea on this please post in that question.
I am not a DOORS specialist. I would suggest to have a look at https://www.google.com/search?q=Doors+OSLC
OSLC is the common ground for all the integrations.
By the way, consider creating a new question, if one has already an accepted answer.
Comments
Shan P
Mar 22 '19, 6:19 a.m.Can anyone please let me know the suggestions?
Shan P
Mar 25 '19, 3:26 a.m.Is there anything wrong in this question or no answer for this question?
Bas Bekker
JAZZ DEVELOPER Mar 25 '19, 11:44 a.m.Are you asking for DOORS Next Generation, or DOORS Classic?
Shan P
Mar 26 '19, 6:56 a.m.Hello,