grouper-users - Re: [grouper-users] passing bash variables in grouper.properties file to grouper
Subject: Grouper Users - Open Discussion List
List archive
Re: [grouper-users] passing bash variables in grouper.properties file to grouper
Chronological Thread
- From: Jay Hoff <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: Re: [grouper-users] passing bash variables in grouper.properties file to grouper
- Date: Thu, 7 Apr 2016 12:43:32 -0400
Chris, thanks for your response. Below are some questions from one of our developers, Scott Cole. We are running RHEL 6.x, fyi. -Jay Hello, We would like to be able to dynamically populate some of the property values in a configuration overlay for grouper.properties but are struggling to get our changes using the elConfig suffix to work as described in the Wiki. Specifically, we would like to set the grouper.env.name and grouper.ui.url properties dynamically. The problem I see is that the Grouper source code seems to be expecting those property names as is, not grouper.env.name.elConfig. At least that is how the GrouperStartup printConfigOnce method handles things. For example, I have attempted to set the environment name as follows: grouper.env.name.elConfig = ${java.lang.System.getenv().get('IDS_ENV')}, where IDS_ENV is an environment variable with value TEST. When we deploy that change and restart Grouper, the log file shows the <no label configured> value for the environment, presumably because the property being looked at is "grouper.env.name", not "grouper.env.name.elConfig". That leaves me with 2 questions: 1. Is there a way to view all of the properties that are in use while Grouper is running with the dynamic properties showing their resolved value? 2. Is it even possible to use the elConfig suffix on base properties like grouper.env.name and grouper.ui.url? Thank you for your time." Scott Cole
|
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
- [grouper-users] passing bash variables in grouper.properties file to grouper, Jay Hoff, 04/05/2016
- RE: [grouper-users] passing bash variables in grouper.properties file to grouper, Hyzer, Chris, 04/06/2016
- Re: [grouper-users] passing bash variables in grouper.properties file to grouper, Jay Hoff, 04/07/2016
- RE: [grouper-users] passing bash variables in grouper.properties file to grouper, Hyzer, Chris, 04/08/2016
- Re: [grouper-users] passing bash variables in grouper.properties file to grouper, Jay Hoff, 04/07/2016
- RE: [grouper-users] passing bash variables in grouper.properties file to grouper, Hyzer, Chris, 04/06/2016
Archive powered by MHonArc 2.6.16.