[JBoss JIRA] (WFLY-646) TS: Dynamic way to get ports of various services.
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-646?page=com.atlassian.jira.plugin.s... ]
Jason Greene moved AS7-4153 to WFLY-646:
----------------------------------------
Project: WildFly (was: Application Server 7)
Key: WFLY-646 (was: AS7-4153)
Component/s: (was: Test Suite)
Fix Version/s: (was: 8.0.0.Alpha1)
> TS: Dynamic way to get ports of various services.
> -------------------------------------------------
>
> Key: WFLY-646
> URL: https://issues.jboss.org/browse/WFLY-646
> Project: WildFly
> Issue Type: Sub-task
> Reporter: Ondrej Zizka
> Assignee: Ondrej Zizka
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> {code:java}
> private int getRecoveryManagerPort() throws IOException {
> /* /socket-binding-group=standard-sockets/socket-binding=txn-recovery-environment:read-attribute(name=port) */
> final ModelNode address = new ModelNode();
> address.add("socket-binding-group", "standard-sockets");
> address.add("socket-binding", "txn-recovery-environment");
> final ModelNode operation = new ModelNode();
> operation.get(OP).set(READ_ATTRIBUTE_OPERATION);
> operation.get(OP_ADDR).set(address);
> operation.get("name").set("port");
> try {
> return executeOperation(operation).asInt();
> } catch (MgmtOperationException ignored) { }
> return -1;
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (WFLY-645) Implement fallback mechanism for AS7 properties in pom.xml
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-645?page=com.atlassian.jira.plugin.s... ]
Jason Greene moved AS7-4102 to WFLY-645:
----------------------------------------
Project: WildFly (was: Application Server 7)
Key: WFLY-645 (was: AS7-4102)
Affects Version/s: (was: 7.1.1.Final)
Component/s: (was: Test Suite)
Fix Version/s: (was: 8.0.0.Alpha1)
> Implement fallback mechanism for AS7 properties in pom.xml
> ----------------------------------------------------------
>
> Key: WFLY-645
> URL: https://issues.jboss.org/browse/WFLY-645
> Project: WildFly
> Issue Type: Sub-task
> Reporter: Pavel Janousek
> Assignee: Pavel Janousek
>
> There are several places where is used fallback mechanism when some content from property is taken like:{code}static final String someIPproperty = System.getProperty("<some> key>", "localhost");{code}
> The final decision based on (linked) AS7 devel discussion is leaving this approach and set-up this things in pom.xml's only.
> After this task will be done, old approach will be leaved at all and every new patch will be forced to not use/include a such fallback mechanism only.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months