Java APIs/sample code snippets for using Global Configuration REST/OSLC APIs
![]() Hello,
Is there any sample code/utility to use APIs mentioned in https://jazz.net/gc/doc/scenarios from Java code.
I am able to test these APIs using REST Clients but for automation using GET/PUT/POST writing a Java code seems inevitable. Any help in this regards will be helpful. Basic Authentication to GC/GET/PUT/POST Global Configuration samples or references to build code will be really helpful.
Thanks!
|
One answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Aug 23 '21, 11:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This example is available on Github and uses Eclipse Lyo as framework:
You end up having to use an HTTP client, but the framework does all the marshalling/unmarshalling for you, if you can get it to work.
Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is not GC API, it is DNG API, but the principle applies. This is for OSLC, but can also be adopted to other APIs.
|
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.