Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, 7.2.0 GA1
-
7.2.x, 7.1.x
-
Committed
-
3
Description
When creating a rest application using Jaxrs Whiteboard, it is possible to require an extension.
@Component( property = \{ JaxrsWhiteboardConstants.JAX_RS_APPLICATION_BASE + "=/somepath", JaxrsWhiteboardConstants.JAX_RS_NAME + "=Somename", "osgi.jaxrs.extension.select=(component.name=SomeComponent)" }, service = Application.class, immediate = true ) public class SomeApplication extends Application {//... }
Now, when the extension SomeComponent is not available, a failure dto should be generated, see 151.8 in the Whiteboard specification. But this error is not shown anywhere. At least jaxrs:check should highlight that an extension is missing.