[Hawkular-dev] services build has a problem

John Mazzitelli mazz at redhat.com
Fri Jun 17 17:42:48 EDT 2016


I wrote this up here: https://issues.jboss.org/browse/HAWKULAR-1090

----- Original Message -----
> For the record, I just checked out hawkular-services tag 0.0.2.Final, built
> the dist, and I see this in standalone.xml now:
> 
>     <system-properties>
>         <property name="hawkular.backend"
>         value="${hawkular.backend:embedded_cassandra}"/>
>         <property name="hawkular.agent.enabled"
>         value="${hawkular.agent.enabled:false}"/>
>     </system-properties>
> 
> which means all of this will work.
> 
> But now, in master, I don't get any <system-properties> section at all.
> 
> ----- Original Message -----
> > This recently changed and doesn't work like it did before. I can't figure
> > out
> > what's wrong.
> > 
> > The -Pdev build isn't working correctly (and neither is the non-dev build).
> > 
> > When you build without -Pdev, the agent should be disabled by default. But
> > it
> > is not, and you will get agent errors on startup.
> > 
> > When you build with -Pdev, the agent should be enabled and with the
> > hawkualr.rest.user/password properties set inside standalone.xml. But they
> > are not, and you again get agent startup errors.
> > 
> > This used to work a few days ago.
> > 
> > The .xsl that used to tweak the standalone.xml doesn't seem to be doing
> > what
> > it was supposed to do. Look here:
> > 
> > https://github.com/hawkular/hawkular-services/blob/master/feature-pack/src/main/xsl/configuration/standalone/hawkular-services-template.xsl#L30-L51
> > 
> > See where it sets the system properties to control the agent enabled flag
> > and
> > the credentials? This isn't doing anyting that I can see because the distro
> > doesn't have any system proeprties in standalone.xml, but this used to
> > work.
> > We'd get those <system-properties> elements in standalone.xml.
> > 
> > I can't figure out what changed. Hoping someone knows the deal and can put
> > this back.
> > _______________________________________________
> > hawkular-dev mailing list
> > hawkular-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hawkular-dev
> > 
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list