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.
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.
4 answers
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 :)
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 :)
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