TSK-1400: Changed Port and added note
This commit is contained in:
parent
f50e5ef64a
commit
4b5d2c90ad
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue