You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2011/02/22 21:24:38 UTC
[jira] Created: (UIMA-2069) Remove hardcoded port numbers from UIMA
AS tests
Remove hardcoded port numbers from UIMA AS tests
------------------------------------------------
Key: UIMA-2069
URL: https://issues.apache.org/jira/browse/UIMA-2069
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Fix For: 2.3.1AS
Currently extended tests use hardcoded port numbers in broker URLs. Also, most deployment descriptors use hardcoded URLs with specific port numbers. Modify all deployment descriptors to use placeholder for broker URL. During test bootstrapping, first test if a default port is open and if not increment it and test it again until an open port is found. Once found set the System property to enable UIMA AS to resolve the placeholder.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (UIMA-2069) Remove hardcoded port numbers from UIMA
AS tests
Posted by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-2069.
-------------------------------
Resolution: Fixed
Replaced hard coded broker URLs with placeholders in all test deployment descriptors. Modified extended JUnit tests to use generated broker URLs. New code tries to acquire port 61617 as its default broker port. If that port is taken, the port number is incremented and tested again. This continues until an open port is found.
> Remove hardcoded port numbers from UIMA AS tests
> ------------------------------------------------
>
> Key: UIMA-2069
> URL: https://issues.apache.org/jira/browse/UIMA-2069
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.3.1AS
>
>
> Currently extended tests use hardcoded port numbers in broker URLs. Also, most deployment descriptors use hardcoded URLs with specific port numbers. Modify all deployment descriptors to use placeholder for broker URL. During test bootstrapping, first test if a default port is open and if not increment it and test it again until an open port is found. Once found set the System property to enable UIMA AS to resolve the placeholder.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira