Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #146 from hawkular/mazz/wip
Browse files Browse the repository at this point in the history
HAWKULAR-276 - only put jdoe in config for dev builds.
  • Loading branch information
pilhuhn committed May 28, 2015
2 parents cee313c + e8758b2 commit f607ab5
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions dist/src/main/resources/wildfly/patches/standalone.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -254,20 +254,31 @@

<!-- Hawkular Monitor agent subsystem -->
<subsystem xmlns="urn:org.hawkular.agent.monitor:monitor:1.0"
enabled="true"
apiJndiName="java:global/hawkular/agent/monitor/api"
numMetricSchedulerThreads="3"
numAvailSchedulerThreads="3">
<xsl:if test="$kettle.build.type='dev'">
<xsl:attribute name="enabled">true</xsl:attribute>
</xsl:if>
<xsl:if test="$kettle.build.type='production'">
<xsl:attribute name="enabled">false</xsl:attribute>
</xsl:if>

<diagnostics enabled="true"
reportTo="LOG"
interval="1"
timeUnits="minutes"/>

<storage-adapter type="HAWKULAR"
username="jdoe"
password="password">
<xsl:attribute name="url">http://&#36;{jboss.bind.address:127.0.0.1}:&#36;{jboss.http.port:8080}</xsl:attribute>
<storage-adapter type="HAWKULAR">
<xsl:if test="$kettle.build.type='dev'">
<xsl:attribute name="username">jdoe</xsl:attribute>
<xsl:attribute name="password">password</xsl:attribute>
</xsl:if>
<xsl:if test="$kettle.build.type='production'">
<xsl:attribute name="username">SET_ME</xsl:attribute>
<xsl:attribute name="password">SET_ME</xsl:attribute>
</xsl:if>
<xsl:attribute name="url">http://&#36;{jboss.bind.address:127.0.0.1}:&#36;{jboss.http.port:8080}</xsl:attribute>
</storage-adapter>

<metric-set-dmr name="WildFly Memory Metrics" enabled="true">
Expand Down

0 comments on commit f607ab5

Please sign in to comment.