[jboss-jira] [JBoss JIRA] (JGRP-2166) Attributes should also be set via environment variables
Bela Ban (JIRA)
issues at jboss.org
Fri Mar 24 11:15:01 EDT 2017
[ https://issues.jboss.org/browse/JGRP-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-2166:
---------------------------
Description:
Currently, an attribute such as {{mcast_port=$\{my.mcast_port:7500\}}} is set to 7500 by default. If there is a system property {{my.mcast_port}}, it will override the port.
We should also look for environment values; the precedence would be
* If there is a system property, use it
* If not, if there is an environment variable, use it // this is new
* Else use the configured value (e.g. 7500)
was:
Currently, attributes such as {{mcast_port=${my.mcast_port:7500}}} are set to 7500 by default. If there is a system property {{my.mcast_port}}, then it will override the port.
We should also look for environment values; the precedence would be
* If there is a system property, use it
* If not, if there is an environment variable, use it // this is new
* Else use the configured value (e.g. 7500)
> Attributes should also be set via environment variables
> -------------------------------------------------------
>
> Key: JGRP-2166
> URL: https://issues.jboss.org/browse/JGRP-2166
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 4.0.2
>
>
> Currently, an attribute such as {{mcast_port=$\{my.mcast_port:7500\}}} is set to 7500 by default. If there is a system property {{my.mcast_port}}, it will override the port.
> We should also look for environment values; the precedence would be
> * If there is a system property, use it
> * If not, if there is an environment variable, use it // this is new
> * Else use the configured value (e.g. 7500)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list