TSK-1400: Changed Port and added note

This commit is contained in:
Joerg Heffner 2020-09-29 09:10:38 +02:00 committed by Mustapha Zorgati
parent f50e5ef64a
commit 4b5d2c90ad
1 changed files with 2 additions and 1 deletions

View File

@ -34,10 +34,11 @@ public class ExampleRestConfiguration {
return new SampleDataGenerator(dataSource, schemaName); return new SampleDataGenerator(dataSource, schemaName);
} }
// only required to let the adapter example connect to the same database
@Bean(initMethod = "start", destroyMethod = "stop") @Bean(initMethod = "start", destroyMethod = "stop")
public Server inMemoryH2DatabaseaServer() throws SQLException { public Server inMemoryH2DatabaseaServer() throws SQLException {
return Server.createTcpServer( return Server.createTcpServer(
"-tcp", "-tcpAllowOthers", "-tcpPort", "9090"); "-tcp", "-tcpAllowOthers", "-tcpPort", "9095");
} }
} }