From 4b5d2c90ad162d3ab9675f59a37cc21e3447ac24 Mon Sep 17 00:00:00 2001 From: Joerg Heffner <56156750+gitgoodjhe@users.noreply.github.com> Date: Tue, 29 Sep 2020 09:10:38 +0200 Subject: [PATCH] TSK-1400: Changed Port and added note --- .../main/java/pro/taskana/rest/ExampleRestConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rest/taskana-rest-spring-example-boot/src/main/java/pro/taskana/rest/ExampleRestConfiguration.java b/rest/taskana-rest-spring-example-boot/src/main/java/pro/taskana/rest/ExampleRestConfiguration.java index 4d844f855..b085f6198 100644 --- a/rest/taskana-rest-spring-example-boot/src/main/java/pro/taskana/rest/ExampleRestConfiguration.java +++ b/rest/taskana-rest-spring-example-boot/src/main/java/pro/taskana/rest/ExampleRestConfiguration.java @@ -34,10 +34,11 @@ public class ExampleRestConfiguration { return new SampleDataGenerator(dataSource, schemaName); } + // only required to let the adapter example connect to the same database @Bean(initMethod = "start", destroyMethod = "stop") public Server inMemoryH2DatabaseaServer() throws SQLException { return Server.createTcpServer( - "-tcp", "-tcpAllowOthers", "-tcpPort", "9090"); + "-tcp", "-tcpAllowOthers", "-tcpPort", "9095"); } }