@Test public void timeoutSet() { PropertyConfigurer.getAllLoadedProperties().put("timeout.foo:Service1/v1.0/Operation1","1000"); PropertyConfigurer.getAllLoadedProperties().put("timeout.Service1/v1.0/Operation2","100"); ev.registerService("foo", serviceDef, service, resolver); ev.registerService(serviceDef, service, resolver); DefinedExecutable fooOp1De = ev.getDefinedExecutable(fooOp1Key); assertEquals(1000, fooOp1De.getMaxExecutionTime()); DefinedExecutable op2De = ev.getDefinedExecutable(op2Key); assertEquals(100, op2De.getMaxExecutionTime()); }
@Override public void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver) { registerService(null, serviceDefinition, implementation, resolver); }
ServiceRegisterableExecutionVenue extends BaseExecutionVenue implements ApplicationListener, ServiceRegistrar { @Override public void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver) { registerService(null, serviceDefinition, implementation, resolver); } }
ServiceRegisterableExecutionVenue extends BaseExecutionVenue implements ApplicationListener, ServiceRegistrar { @Override public void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver) { registerService(null, serviceDefinition, implementation, resolver); }  }
ServiceRegisterableExecutionVenue extends BaseExecutionVenue implements ApplicationListener, ServiceRegistrar { @Override public void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver) { registerService(null, serviceDefinition, implementation, resolver); }  void setIdentityResolverFactory(IdentityResolverFactory identityResolverFactory); void setServiceLogManagerFactory(ServiceLogManagerFactory serviceLogManagerFactory); void setStats(KPIMonitor stats); void setMonitorRegistry(MonitorRegistry monitorRegistry); void setTracer(Tracer tracer); Tracer getTracer(); @Override void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver); @Override void registerService(String namespace, ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver); Map<String, Set<ServiceDefinition>> getNamespaceServiceDefinitionMap(); @Override void onApplicationEvent(ApplicationEvent event); ServiceLogManager getServiceLogManager(String namespace, String serviceName, ServiceVersion version); }
ServiceRegisterableExecutionVenue extends BaseExecutionVenue implements ApplicationListener, ServiceRegistrar { @Override public void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver) { registerService(null, serviceDefinition, implementation, resolver); }  void setIdentityResolverFactory(IdentityResolverFactory identityResolverFactory); void setServiceLogManagerFactory(ServiceLogManagerFactory serviceLogManagerFactory); void setStats(KPIMonitor stats); void setMonitorRegistry(MonitorRegistry monitorRegistry); void setTracer(Tracer tracer); Tracer getTracer(); @Override void registerService(ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver); @Override void registerService(String namespace, ServiceDefinition serviceDefinition, Service implementation, ExecutableResolver resolver); Map<String, Set<ServiceDefinition>> getNamespaceServiceDefinitionMap(); @Override void onApplicationEvent(ApplicationEvent event); ServiceLogManager getServiceLogManager(String namespace, String serviceName, ServiceVersion version);  }