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

Allow specifying a list of base dir names for poshi runner resources plugin

    Details

      Description

      Context:
      Recently some functional test files (.function, .macro, .testcase) have been moved out from 'liferay-portal/portal-web' into module-specific directories such as 'liferay-portal/modules/apps/account/account-test/src/testFunctional' which do not get bundled up into the poshi runner resources jar since it only seeks files within `liferay-portal/portal-web.` Due to this, the legacy database upgrade for the 'liferay-qa-portal-legacy-ee' repo is currently not functional.

      Request:
      We want to be able to specify a comma-delimited list of directories (absolute paths) to include when generating the com.liferay.poshi.runner.resources jar .

      This is how we are currently setting a single directory for inclusion (relative to a pre-defined root directory within the default gradle plugin):

      poshiRunnerResources {
          baseNameDir "portal", "test/functional/com/liferay/portalweb"
      }
      

      The goal is to be able to do something like this instead:

      poshiRunnerResources {      
          baseNameDir "portal", "/opt/dev/projects/github/liferay-portal/portal-web/testFunctional/test/functional/com/liferay/portalweb,/opt/dev/projects/github/liferay-portal/modules/apps/account/account-test/src/testFunctional"
      }
      

      Relevant code in the PoshiRunnerResource plugin files that may need to be modified:
      PoshiRunnerResourcesExtension.java
      PoshiRunnerResourcesPlugin.java

       

        Attachments

          Activity

            People

            Assignee:
            peter.yoo Peter Yoo
            Reporter:
            yi-chen.tsai Yi-Chen Tsai (Inactive)
            Engineering Assignee:
            Peter Shin
            Recent user:
            Enterprise Release HU
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                7.3.X
                Master