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

Add a method to NPMResolver API to be able to get the JSPackage associated to the own OSGi bundle

Details

    Description

      Currently NPMResolver allows resolving any npm module name in the context of an OSGi bundle except the one associated with such OSGi bundle. We need a method to obtain an OSGi bundle's own module.

      Steps to test:

      1. Start Portal
      2. Deploy attached JAR file
      3. Add a "npm-portlet-a Portlet" to the Welcome page
      4. Assert that it works and displays "NNN/[email protected]" inside the portlet box (where NNN will be an integer number representing a bundle id)

      Attachments

        Activity

          People

            kiana.suetani Kiana Suetani
            ivan.zaera Ivan Zaera
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.0.0 DXP FP37
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master