[Hawkular-dev] hawkular java agent now supports ${x} in config

Thomas Heute theute at redhat.com
Mon Mar 20 03:56:34 EDT 2017


Thanks for the update ! And for releasing-early/releasing-often

On Sat, Mar 18, 2017 at 3:22 PM, John Mazzitelli <mazz at redhat.com> wrote:

> Just released Hawkular Java Agent 0.29.1.Final that contains a new feature.
>
> To support deploying Java Agent within containers (though this feature
> isn't restricted to that use-case), you can configure many settings in the
> Java Agent YAML config with ${x} expressions (similar to how HWFA can be
> configured in standalone.xml).
>
> It supports getting values from system properties, environment variables,
> with default values optionally defined. The following expressions are
> supported - hopefully this is self-explanatory:
>
> ${some.system.property}
>
> ${some.system.property:a-default-value}
>
> ${ENV~SOME_ENV_VAR}
>
> ${ENV~SOME_ENV_VAR:a-default-value}
>
> Not all properties support expressions (most don't need them) but
> properties that define things like hosts, ports, urls, passwords,
> filepaths, do support expressions.
>
> If I missed any, or if you'd like a property to support expressions that
> does not currently, write a HWKAGENT JIRA: https://issues.jboss.org/
> projects/HWKAGENT
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20170320/beddc233/attachment.html 


More information about the hawkular-dev mailing list