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

GET with "accept: application/json" fails with internal error #9

Open jadelkhoury opened 4 years ago

jadelkhoury commented 4 years ago

the server receives the request, and does return the proper instance. The problem lies in the jax-rs Provider for json. It could be that we don't have such a provider by default.

jadelkhoury commented 4 years ago

The problem is that the package-info.java file is generated into the server project. But it should be instead be part of the domains package. This is a bug in LyoDesigner, to be reported there.

Workaround? Move the package-info.java class to the domains project.

jadelkhoury commented 4 years ago

To be followed under https://github.com/eclipse/lyo.designer/issues/175