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

Create a common facility to be able to resolve NPM versions from the server

Details

    Description

      Create an OSGi component that can be requested by each OSGi bundle to resolve its NPM dependencies based on its own package.json definitions.

      This is to avoid having to hard wire the package version in JSP pages, for example, which can be error prone creating issues each time the version number is updated. 

      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 "Hello World!" inside the portlet box

      Attachments

        Activity

          People

            kiana.suetani Kiana Suetani
            ivan.zaera Ivan Zaera
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 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