use of de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.HttpEndpointConfig in project FAAAST-Service by FraunhoferIOSB.
the class IntegrationTestHttpEndpoint method init.
@Before
public void init() throws Exception {
environment = AASFull.createEnvironment();
ServiceConfig serviceConfig = new ServiceConfig.Builder().core(new CoreConfig.Builder().requestHandlerThreadPoolSize(2).build()).persistence(new PersistenceInMemoryConfig()).endpoints(List.of(new HttpEndpointConfig())).messageBus(new MessageBusInternalConfig()).build();
service = new Service(serviceConfig);
messageBus = service.getMessageBus();
service.setAASEnvironment(environment);
service.start();
}
Aggregations