Details
-
Story
-
Status: Closed
-
Trivial
-
Resolution: Completed
-
None
-
7.0.x
-
Committed
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:
- Start Portal
- Deploy attached JAR file
- Add a "npm-portlet-a Portlet" to the Welcome page
- Assert that it works and displays "NNN/[email protected]" inside the portlet box (where NNN will be an integer number representing a bundle id)