[Hawkular-dev] Where should integration components live?

Gary Brown gbrown at redhat.com
Wed Dec 2 03:04:53 EST 2015


I think if all that will remain is a common library, which I guess will be located in hawkular-commons, then it would be better for the integration code to remain with their components.

Although this work may be disruptive and result in changes in multiple repos, I still see the bus as plumbing and it should result in a stable API. Whereas the component code that uses the bus is more likely to change, and therefore it would be easier for the component developers to have their code in one place.

Regards
Gary

----- Original Message -----
> I am primarily talking about bus integration which would include things like,
> 
> * hawkular-metrics-component
> * hawkular-alerts-bus
> * hawkular-alerts-bus
> * hawkular-alerts-actions-bus
> * hawkular-inventory-bus-api
> * hawkular-inventory-bus
> 
> Once we move to WF 10, we will drop the bus subsystem in favor of the default
> messaging subsystem. All that remains of the bus is a shared, common
> library. It will no longer have (or need to have) any
> relationship/dependency with the nest. I wonder if the bus integration
> components should live in the main hawkular repo. If we have integration
> tests involving these components that run in a hawkular server, then I think
> from a development stand point, it makes things easier if they live in the
> main hawkular repo.
> 
> > On Dec 1, 2015, at 3:34 PM, Peter Palaga <ppalaga at redhat.com> wrote:
> > 
> > Hi John, I was about to write a message on this topic now after I spoke
> > with mazz :)
> > 
> >> integration components, particularly those that interact
> >> with the bus, live in the respective component repos.
> > 
> > I am not 100% sure which are "integration components" for you.
> > 
> > Nevertheless, mazz and me agree to move the "new Bus" (after
> > HAWKULAR-844) and "new Nest"
> > (https://github.com/hawkular/hawkular-nest/pull/1 ) to hawkular-commons
> > git repository. I'll write more about the proposal in the next message.
> > 
> > -- P
> > 
> > On 2015-12-01 21:09, John Sanda wrote:
> >> Currently integration components, particularly those that interact
> >> with the bus, live in the respective component repos. I have been
> >> working with Peter on HAWKULAR-844 to migrate the bus from ActiveMQ
> >> to the default messaging subsystem in WildFly 10, which is based on
> >> ActiveMQ Artemis. While working on this, I started to wonder if all
> >> of the integration components should live in the same repo. Let’s say
> >> I make a breaking change in the bus, then we have to update and cut
> >> releases for each of the component repos, which is currently five or
> >> six. If the integration components live in the same repo as the bus,
> >> it is much easier to make the changes and we only have one new
> >> release to worry about. Keeping the integration components in the
> >> same repo should also help reduce the number of dependencies in each
> >> of the component repos which makes development on any one of them
> >> easier. I want to know what people think because once HAWKULAR-844 is
> >> done, I would like to consider some refactoring in the bus code to
> >> utilize JMS 2.0 APIs including support for async sending/receiving
> >> messages. This would likely entail breaking changes.
> >> 
> >> - John _______________________________________________ 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
> 
> 
> _______________________________________________
> 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