Keith Babo created SWITCHYARD-705:
-------------------------------------
Summary: Allow port configuration to be overloaded via system/test property
Key: SWITCHYARD-705
URL:
https://issues.jboss.org/browse/SWITCHYARD-705
Project: SwitchYard
Issue Type: Enhancement
Components: test
Reporter: Keith Babo
Fix For: 0.5
Problem : you cannot run unit tests that bind to a port (e.g. 18001) at the same time an
application is deployed to a running AS7 instance using the same port. This is incredibly
annoying.
Solution : support substitution of binding values via environment configuration and/or
application configuration.
The easy and quick solution piggy backs on the existing socket-binding support used for
AS7 to allow a test case to be configured to use an alternate port during test runs.
There should be a test API hook for this so you can call it in your test code and there
should also be a way to inject it through a system property (e.g. mvn -D ).
A more comprehensive solution looks at application properties as specified in SCA and ties
all of this together using that. Like a binding URI could contain a property key and said
key could resolve against different values for test execution and runtime execution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira