QueryCapability in Rational Model Manager (v7.0.2)
Dmitry A. Lesin (248●2●69●96)
| asked Sep 19 '22, 9:53 a.m.
edited Sep 23 '22, 2:25 p.m. by David Lafreniere (4.8k●7) Hello!
I can not query resources from RMM v7.0.2 deployed in CCM application. Does it work in this version?
The query capability was discovered by next way:
1. Set JKE Banking (CCM) project area from samples as architectural enabled
2. Run HTTP GET for oslc_am catalog discovered in rootservices of CCM application to get available service providers
3. HTTP GET for required service provider from the catalog
4. Detect query capability in service provider details
5. HTTP GET for discovered query capability
As if something isn't implemented yet and waiting for next releases? Or I did something wrong?
Thank you! |
Accepted answer
David Lafreniere (4.8k●7)
| answered Sep 23 '22, 2:20 p.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Sep 23 '22, 4:07 p.m. Side Note:
We do not support: -oslc.searchTerms
-oslc.orderBy
-oslc.properties
and only support * for:
-oslc.select
-oslc.where
The request to expand on the OSLC query support is tracked in: Support query capabilities in the OSLC AM API. (62419)
Also see this related work item: 62269: RMM OSLC AM provider for third party tools
Dmitry A. Lesin selected this answer as the correct answer
Comments David, look like your answer got messed up some how. The example query looks incomplete, as does (other than ).
I think you are saying that RMM only supports OSLC query where and select clauses sufficient for DNG/DOORS to query for incoming Architecture Management links?
Thanks for noticing that. Looks like the asterisk character needs to be escaped (with a backslash).
David Honey
commented Sep 26 '22, 4:43 a.m.
| edited Sep 26 '22, 4:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should probably include at least the
Dmitry A. Lesin
commented Oct 05 '22, 4:04 a.m.
Thank you David L. and everybody who was participating in this discussion! It seems that David's sample definitely works. |
4 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Sep 19 '22, 10:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Sep 19 '22, 10:26 a.m. Dmitry I would suspect you did not provide the correct request headers. The OSLC header is missing. Comments
Ralph Schoon
commented Sep 19 '22, 10:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would try OSLC-Core-Version: 2.0
Dmitry A. Lesin
commented Sep 19 '22, 10:26 a.m.
Hi Ralph,
|
Rational Design Manager (RDM) is End of Service (EOS), and does not ship with ELM 7.0.2. Do you mean Rhapsody Model Manager (RMM)?
Get on the queryBase resource is not defined in OSLC Query. Some servers do implement this, often by returning the URLs of all available resources. But servers are not required to support this. This behavior may have changed between RDM and RMM. Try an actual OSLC Query. Comments
Ralph Schoon
commented Sep 20 '22, 2:29 a.m.
| edited Sep 20 '22, 2:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Jim, I find that surprising. According to https://docs.oasis-open.org/oslc-core/oslc-query/v3.0/csprd01/oslc-query-v3.0-csprd01.html#using-a-query-capability the server MUST support a GET on the query base.
However, the error message seems to suggest that the query is interpreted as "in" and it is missing a parameter.
|
David Honey (1.8k●1●7)
| answered Sep 20 '22, 4:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Your request is missing an
Comments The OSLC Query specification says that the OSLC query parameters are optional. So while it should be valid to omit all parameters such as
|
> The request to expand on the OSLC query support is tracked in: Support query capabilities in the OSLC AM API. (62419)
> Also see this related work item: 62269: RMM OSLC AM provider for third party tools
Quite frustrating to put links into a forum that are not accessible !!!
Is there anywhere accessible that give more information on this ? Comments The links used to be accessible. See https://jazz.net/blog/index.php/2024/02/29/jazz-net-is-evolving/ for what is changing. This information is no longer openly accessible.
Couple of things here:
- it's not a good idea to comment on someone else's forum question using an answer
- this forum question is almost two years old and quite a few things have changed since then
- the links you're complaining about were also posted almost two years ago when access to the internal Jazz servers was still available. This access changed in March this year, so you just missed out on them working
So basically, you are complaining about a two year old post with broken links that worked until only a few months ago, by posting an answer to that post which is not an answer.
:-)
PS: If Ralph sees this he won't be as nice as me lol
|
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.