You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/09/26 09:23:00 UTC
[jira] [Commented] (KARAF-7555) config-list and service-list do not interpolate ${env:..} values
[ https://issues.apache.org/jira/browse/KARAF-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609399#comment-17609399 ]
Jean-Baptiste Onofré commented on KARAF-7555:
---------------------------------------------
That's normal and expected behavior for security reason. Do you really need it ?
> config-list and service-list do not interpolate ${env:..} values
> ----------------------------------------------------------------
>
> Key: KARAF-7555
> URL: https://issues.apache.org/jira/browse/KARAF-7555
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.3.7
> Reporter: Matt Pavlovich
> Priority: Major
>
> When a config value is set to use an environment variable, config:list and service:list commands do not interpolate for ${env:FOO}
> For given config file:
> {noformat}
> bar = ${env:HOSTNAME}
> {noformat}
> {noformat}
> karaf@root()> config:list "(service.pid=org.foo)"
> ----------------------------------------------------------------
> Pid: org.foo
> BundleLocation: ?
> Properties:
> bar =
> felix.fileinstall.filename = file:/..../etc/org.foo.cfg
> service.pid = org.foo
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)