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

            brian.lee Brian Lee
            crabel Christoph Rabel
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 28 weeks, 3 days ago

              Packages

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