Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97701

A missing extension failure should be shown for jaxrs whiteboard applications in jaxrs:check

    Details

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 3 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                Master