[jboss-jira] [JBoss JIRA] (JGRP-2166) Attributes should also be set via environment variables

Bela Ban (JIRA) issues at jboss.org
Tue Apr 18 07:35:00 EDT 2017


     [ https://issues.jboss.org/browse/JGRP-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-2166.
----------------------------
    Resolution: Done


> 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