@Override @Before protected void setUp() throws Exception { super.setUp(); services = new Services(); Configuration conf = services.getConf(); conf.set( Services.CONF_SERVICE_EXT_CLASSES, "org.apache.oozie.service.EventHandlerService," + "org.apache.oozie.sla.service.SLAService"); conf.setClass( EventHandlerService.CONF_LISTENERS, SLAJobEventListener.class, JobEventListener.class); services.init(); }
@Before @Override protected void setUp() throws Exception { super.setUp(); services = new Services(); conf = services.getConf(); conf.set( Services.CONF_SERVICE_EXT_CLASSES, JMSAccessorService.class.getName() + "," + JMSTopicService.class.getName()); conf.set( JMSJobEventListener.JMS_CONNECTION_PROPERTIES, "java.naming.factory.initial#" + ActiveMQConnFactory + ";" + "java.naming.provider.url#" + localActiveMQBroker + ";" + "connectionFactoryNames#" + "ConnectionFactory"); services.init(); }
@Override protected void setUp() throws Exception { super.setUp(); services = new Services(); services.init(); }