I've checked the commit log. I think you have to add whirr-druid as a dependency to whirr-cli in cli/pom.xml.
Everything else looks fine to me. -- Andrei Savu / axemblr.com On Tue, Jul 30, 2013 at 8:43 PM, Russell Jurney <russell.jur...@gmail.com>wrote: > Thanks, I've looked at those classes and read the SPI docs and it looks > like what I'm doing should work: > > > https://github.com/rjurney/whirr/blob/trunk/services/druid/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler > > which references > > > https://github.com/rjurney/whirr/blob/trunk/services/druid/src/main/java/org/apache/whirr/service/druid/DruidStandaloneClusterActionHandler.java > > However, the service isn't detected :( > > > On Mon, Jul 29, 2013 at 12:24 PM, Andrei Savu <savu.and...@gmail.com>wrote: > >> Whirr is using Java SPI for discovery: >> >> http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html >> >> See: >> >> >> https://github.com/apache/whirr/blob/trunk/services/hadoop/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler >> >> Or: >> >> >> https://github.com/apache/whirr/blob/trunk/services/chef/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandlerFactory >> >> Whirr doesn't usually run inside an OSGi container. >> >> -- Andrei Savu / axemblr.com >> >> >> On Mon, Jul 29, 2013 at 10:11 PM, Russell Jurney < >> russell.jur...@gmail.com> wrote: >> >>> How are new services discovered? I am looking at HandlerMapFactory and >>> associated classes, and I can't figure out how to get my service added to >>> the list of valid roles. I have the osgi/Activator code in there, is >>> something else required? >>> >>> -- >>> Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome >>> .com >>> >> >> > > > -- > Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome. > com >