You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/09/01 09:52:00 UTC

[jira] [Created] (KNOX-1019) Remove test-driver "hack" to copy services

Colm O hEigeartaigh created KNOX-1019:
-----------------------------------------

             Summary: Remove test-driver "hack" to copy services
                 Key: KNOX-1019
                 URL: https://issues.apache.org/jira/browse/KNOX-1019
             Project: Apache Knox
          Issue Type: Test
            Reporter: Colm O hEigeartaigh
            Assignee: Colm O hEigeartaigh
            Priority: Minor
             Fix For: 0.14.0


The GatewayTestDriver has some code to manually find the service definitions and copy them:

//TODO: [sumit] This is a hack for now, need to find a better way to locate the source resources for 'stacks' to be tested

This is also re-used a few times in the gateway-test module. A much better approach is to use the maven-dependency-plugin to copy the services into the target directory, and then point the gatewayServicesDir to this. This means the copying only takes place once, and is independent of the file-system layout.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)