You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2009/06/03 03:02:07 UTC

[jira] Created: (ODE-618) system properties to set ports used by test cases

system properties to set ports used by test cases 
--------------------------------------------------

                 Key: ODE-618
                 URL: https://issues.apache.org/jira/browse/ODE-618
             Project: ODE
          Issue Type: Test
          Components: Test environment
            Reporter: Alexis Midon
            Assignee: Alexis Midon
             Fix For: 1.3.3


Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.

Ports used by test cases should be configurable through system properties for instance. 

The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
test,port.0, test.port.1, and so on
For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.

Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".

Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:

   alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
   sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-618) system properties to set ports used by test cases

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-618:
-----------------------------

    Description: 
Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.

Ports used by test cases should be configurable through system properties for instance. 

The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
test,port.0, test.port.1, and so on
For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.

When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
Like: $ buildr test TEST_P0RTS=9999,7777

Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".

Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:

   alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
   sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy


  was:
Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.

Ports used by test cases should be configurable through system properties for instance. 

The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
test,port.0, test.port.1, and so on
For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.

Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".

Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:

   alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
   sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy



> system properties to set ports used by test cases 
> --------------------------------------------------
>
>                 Key: ODE-618
>                 URL: https://issues.apache.org/jira/browse/ODE-618
>             Project: ODE
>          Issue Type: Test
>          Components: Test environment
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.3
>
>
> Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.
> Ports used by test cases should be configurable through system properties for instance. 
> The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
> test,port.0, test.port.1, and so on
> For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.
> When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
> Like: $ buildr test TEST_P0RTS=9999,7777
> Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".
> Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:
>    alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
>    sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-618) system properties to set ports used by test cases

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746969#action_12746969 ] 

Alexis Midon commented on ODE-618:
----------------------------------

we need a port for the RMi server as well.

> system properties to set ports used by test cases 
> --------------------------------------------------
>
>                 Key: ODE-618
>                 URL: https://issues.apache.org/jira/browse/ODE-618
>             Project: ODE
>          Issue Type: Test
>          Components: Test environment
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.4
>
>
> Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.
> Ports used by test cases should be configurable through system properties for instance. 
> The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
> test,port.0, test.port.1, and so on
> For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.
> When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
> Like: $ buildr test TEST_P0RTS=9999,7777
> Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".
> Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:
>    alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
>    sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-618) system properties to set ports used by test cases

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen updated ODE-618:
---------------------------------

    Fix Version/s: 1.3.5
                       (was: 1.3.4)

Postponed to 1.3.5.

> system properties to set ports used by test cases 
> --------------------------------------------------
>
>                 Key: ODE-618
>                 URL: https://issues.apache.org/jira/browse/ODE-618
>             Project: ODE
>          Issue Type: Test
>          Components: Test environment
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.5
>
>
> Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.
> Ports used by test cases should be configurable through system properties for instance. 
> The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
> test,port.0, test.port.1, and so on
> For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.
> When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
> Like: $ buildr test TEST_P0RTS=9999,7777
> Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".
> Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:
>    alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
>    sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ODE-618) system properties to set ports used by test cases

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716348#action_12716348 ] 

Alexis Midon commented on ODE-618:
----------------------------------

committed in 1.X, New Revision: 781236

> system properties to set ports used by test cases 
> --------------------------------------------------
>
>                 Key: ODE-618
>                 URL: https://issues.apache.org/jira/browse/ODE-618
>             Project: ODE
>          Issue Type: Test
>          Components: Test environment
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.3
>
>
> Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.
> Ports used by test cases should be configurable through system properties for instance. 
> The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
> test,port.0, test.port.1, and so on
> For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.
> When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
> Like: $ buildr test TEST_P0RTS=9999,7777
> Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".
> Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:
>    alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
>    sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-618) system properties to set ports used by test cases

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated ODE-618:
------------------------------

    Fix Version/s:     (was: 1.3.3)
                   1.3.4

> system properties to set ports used by test cases 
> --------------------------------------------------
>
>                 Key: ODE-618
>                 URL: https://issues.apache.org/jira/browse/ODE-618
>             Project: ODE
>          Issue Type: Test
>          Components: Test environment
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 1.3.4
>
>
> Ports 8888 and 7070 are hardcoded in axis2-war test suite. This prevents from running multiple builds concurrently.
> Ports used by test cases should be configurable through system properties for instance. 
> The system proprety "test.ports" accepts a coma separated list of ports that might be used by test cases. Based on this list Axis2TestBase creates a set of properties named:
> test,port.0, test.port.1, and so on
> For instance test.ports=8888,7070 creates test.port.0=8888 and test.port.1=7070.
> When building ODE, "test.ports" can be set from the command line by using the TEST_PORTS env variable. 
> Like: $ buildr test TEST_P0RTS=9999,7777
> Test cases must then use these properties to start their services. For instance Axis2TestBase starts axis2 webapp on port "test.port.0", a Jetty instance runs on "test.port.1".
> Samples processes do not have to worry about the port they are deployed on. This is handled by Axis2. However the url of external services must be set through endpoint properties like:
>    alias.sample-ns=http://sample04.policy.samples.rampart.apache.org
>    sample-ns.sample04-policy.ode.address=http://localhost:${test.port.0}/axis2/processes/sample04-policy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.