oslc-op / sysml-oslc-server

Sample code to demonstrate how to use Lyo Designer to create an OSLC server for the SysML v2 REST API.
Apache License 2.0
10 stars 2 forks source link

Query on the Elements seems to endup in an endless loop #13

Open jadelkhoury opened 4 years ago

jadelkhoury commented 4 years ago

https://aide.md.kth.se/sysml_oslc_server/services/projects/585a5a94-61a0-4a60-9731-c2be32b06f89/commits/7cbc0568-1f44-4725-ace0-e7d4e1c046c6/service2/elements/query

This query as HTML is fine, but when asking for text/turtle, JMH seems to get stuck.

Note that queries on any other sublasss seems to work fine.

Could it be that JMH cann't handle a response that is a hybrid of instances of many different classes?

Discovery:

This page works. Try with different pageSize & page, some pages work, while others don't. So problems seems to relate to specific resources that are problematic (or maybe if the instances seem to be of same type?) https://aide.md.kth.se/sysml_oslc_server/services/projects/585a5a94-61a0-4a60-9731-c2be32b06f89/commits/7cbc0568-1f44-4725-ace0-e7d4e1c046c6/service2/elements/query?oslc.paging=true&oslc.pageSize=20&page=1