Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Public API in DM 4.0

Hi,

I've tried to find information about the public APIs offered by DM 4.0. What changes are introduced in DM 4.0? I can find Epic 20950 dealing with the subject but I don't seem to have read access to its children.

We currently have a product that is an extension on RSA. We would like to offer capabilities to our product to view (not necessarily in diagram form) and manipulate a model from a web browser.

1. How much of a model managed by DM can another Jazz Team Server Extension access?

2. Can another extension make modifications to the model such as adding classes and dependencies and apply stereotypes to these elements.

3. Can another extension change tagged values of a class with our own stereotype?

4. Does the public API of DM 4.0 offer queries that invovles stereotyped classes such as "give me all classes in the model that has stererotype A applied".

Thanks.

0 votes



4 answers

Permanent link
Please see response in-line:

1. How much of a model managed by DM can another Jazz Team Server Extension access?
The entire model can be accessed.

2. Can another extension make modifications to the model such as adding classes and dependencies and apply stereotypes to these elements.
Yes. But you have to have your own entry point (UI).

3. Can another extension change tagged values of a class with our own stereotype?
Yes. But you have to have your own entry point (UI).

4. Does the public API of DM 4.0 offer queries that invovles stereotyped classes such as "give me all classes in the model that has stererotype A applied".
Yes, although the query is not going to be as simple as stated above :)

0 votes


Permanent link
Thank you very much for your reply!

Just to clarify. By entry point (UI) you mean it could be any external application (with its own UI) accessing the DM storage using the REST APIs provided by you and having a consumer key configured on the Jazz platform?

0 votes


Permanent link
Correct.

0 votes


Permanent link
 Hi Dusko,

>>4. Does the public API of DM 4.0 offer queries that invovles stereotyped classes such as "give me all classes in the model that has stererotype A applied". 
>Yes, although the query is not going to be as simple as stated above :)

We have reached the point where we want to explore the querying possibilities. We are struggling a bit with achieving the query (queries) that will give the result to the question above.

Any chance that you (or somebody else) can outline the series of queries needed to return all classes in a certain model that has a stereotype (with a certain name) applied? We have found documentation regarding basic queries but we have not found any documentation when there is a user profile involved.

Thanks,
Petter

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 10 '12, 4:07 a.m.

Question was seen: 5,489 times

Last updated: Aug 31 '12, 10:26 a.m.

Confirmation Cancel Confirm