It's all about the answers!

Ask a question

RTC WebService can access other repositories?


Marko Tomljenovic (31645109) | asked Apr 08 '16, 11:24 a.m.
Hi,
I am currently working through this tutorial to implement my first RTC web service: https://jazz.net/wiki/bin/view/Main/HiJazzTutorial

The web service base class already provides me all services that I need to access data on that repository (the service runs on).

Now I am wondering whether it is possible to access let's say work items on another repository too. How would I authenticate against the other server? Is this done automatically?
PS. In our environment the user credentials are the same on all repositories since they all use LDAP/AD.

Thank you

One answer



permanent link
Donald Nong (14.5k414) | answered Apr 15 '16, 2:24 a.m.
When you talk about "other servers", you need to developer a OSLC consumer to access the data.
https://jazz.net/library/article/635

For authentication, how the user repository is configured in Jazz is irrelevant as the API only talks with Jazz, not LDAP directly.

Comments
Marko Tomljenovic commented Apr 15 '16, 3:35 a.m. | edited Apr 15 '16, 3:38 a.m.

In case the other RTC server provides the functionality as a OSLC/WEB service I still need to authenticate on the other server.

How do I do this?
Is this done automatically in case the servers are "friends" and I try to access it via OSLC calls?

In my case the 'data' that I want to access on the other server is not OSLC accessible.


Donald Nong commented Apr 15 '16, 4:50 a.m.

Go through the workshop and you should get the answer.

To utilize the "friendship", you will need to use OAuth.

If the data is not OSLC accessible, you may need to build a web service on that server to publish such data.

Your answer


Register or to post 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.