<div dir="ltr">Consistency helps :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 12:16 PM, John Mazzitelli <span dir="ltr">&lt;<a href="mailto:mazz@redhat.com" target="_blank">mazz@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It was pointed out to me (which I forgot) that WildFly itself supports the syntax ${env.X} to denote environment variables.<br>
<br>
Now, this Java Agent isn&#39;t based on WildFly and these ${x} tokens appear in the yaml file and not the standalone.xml so we technically do no have to be consistent with WildFly syntax, but I wonder if I should switch this anyway to use the ${env.X} syntax just to make it consistent for people that are familiar with WildFly syntax.<br>
<br>
Let me know - this would be a trivial change but I would like to make another release quickly if this change is to be made.<br>
<br>
--John Mazz<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
&gt; Thanks for the update ! And for releasing-early/releasing-<wbr>often<br>
&gt;<br>
&gt; On Sat, Mar 18, 2017 at 3:22 PM, John Mazzitelli &lt;<a href="mailto:mazz@redhat.com">mazz@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Just released Hawkular Java Agent 0.29.1.Final that contains a new feature.<br>
&gt; &gt;<br>
&gt; &gt; To support deploying Java Agent within containers (though this feature<br>
&gt; &gt; isn&#39;t restricted to that use-case), you can configure many settings in the<br>
&gt; &gt; Java Agent YAML config with ${x} expressions (similar to how HWFA can be<br>
&gt; &gt; configured in standalone.xml).<br>
&gt; &gt;<br>
&gt; &gt; It supports getting values from system properties, environment variables,<br>
&gt; &gt; with default values optionally defined. The following expressions are<br>
&gt; &gt; supported - hopefully this is self-explanatory:<br>
&gt; &gt;<br>
&gt; &gt; ${some.system.property}<br>
&gt; &gt;<br>
&gt; &gt; ${some.system.property:a-<wbr>default-value}<br>
&gt; &gt;<br>
&gt; &gt; ${ENV~SOME_ENV_VAR}<br>
&gt; &gt;<br>
&gt; &gt; ${ENV~SOME_ENV_VAR:a-default-<wbr>value}<br>
&gt; &gt;<br>
&gt; &gt; Not all properties support expressions (most don&#39;t need them) but<br>
&gt; &gt; properties that define things like hosts, ports, urls, passwords,<br>
&gt; &gt; filepaths, do support expressions.<br>
&gt; &gt;<br>
&gt; &gt; If I missed any, or if you&#39;d like a property to support expressions that<br>
&gt; &gt; does not currently, write a HWKAGENT JIRA: <a href="https://issues.jboss.org/" rel="noreferrer" target="_blank">https://issues.jboss.org/</a><br>
&gt; &gt; projects/HWKAGENT<br>
&gt; &gt;<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; hawkular-dev mailing list<br>
&gt; &gt; <a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>