It's all about the answers!

Ask a question

Is there a generalized approach to programmatically create all type of objects and retrieve their metadata in IBM EWM using Java APIs?


Akshay Gadhave (111) | asked Sep 27, 5:27 a.m.

 

Hi,
Have following questions related to programmatic objects creation in IBM EWM-

1) Is there a generalized approach within the IBM EWM Java APIs that allows for performing CRUD (Create, Read, Update, Delete) operations on various types of objects, including project areas, work items, components, and all the others?  In other words, is there a single generic function or method that can be used to interact with all the different EWM objects? Let's say function 'CreateObject(String ObjectTypeName)' will creates any type of object in IBM EWM application.

2) How can we retrieve metadata for all the object types within IBM RTC using Java APIs? Is there a wrapper class or a centralized method that can provides access to metadata for all object types, eliminating the need to call individual client classes for each object type?

2 answers



permanent link
Ralph Schoon (62.7k33643) | answered Sep 27, 5:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Sep 27, 5:34 a.m.

 As far as I know the answer is NO for both questions.


permanent link
David Honey (1.7k17) | answered Sep 27, 7:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Short answer: No

Longer answer:
The public APIs are documented at https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
Project areas, team areas, iterations are part of the Jazz Foundation Process component.
There are public REST APIs that allow you to create, fetch, update them. And the APIs are specific to each type of artifact.

There are both Java and REST APIs to create, update,query for, work items. But these will be specific to work iftems and unrelated to artifacts from foundation process.

There are also EWM releases which can be created, updated, archived through REST APIs that are specific to releases.

Comments
Ralph Schoon commented Sep 27, 7:22 a.m. | edited Sep 27, 7:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The question was specifically about the Java APIs of EWM. This means the SDK and the Plain Java Client Libraries.


If you want to get an idea about the Java APIs, you can find examples in my blog. 
Check the top posts and pages. You can also search.

I also provide some examples for the REST/OSLC APIs especially for EWM. 

There are examples, example code and links to open source projects on the blog. E.g. see the interesting links page or the blog posts. 

Your answer


Register or to post your answer.