@@ -160,9 +160,9 @@ public void listTasks(RoutingContext rc) {
160160 }
161161 }
162162
163- @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<id >[^:]+)" , order = 1 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
163+ @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<taskId >[^:]+)! \\ /pushNotificationConfigs " , order = 1 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
164164 public void getTask (RoutingContext rc ) {
165- String taskId = rc .pathParam ("id " );
165+ String taskId = rc .pathParam ("taskId " );
166166 ServerCallContext context = createCallContext (rc , GetTaskRequest .METHOD );
167167 HTTPRestResponse response = null ;
168168 try {
@@ -265,9 +265,9 @@ public void setTaskPushNotificationConfiguration(@Body String body, RoutingConte
265265 }
266266 }
267267
268- @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<id >[^/]+)\\ /pushNotificationConfigs\\ /(?<configId>[^\\ /]+)" , order = 2 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
268+ @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<taskId >[^/]+)\\ /pushNotificationConfigs\\ /(?<configId>[^\\ /]+)" , order = 2 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
269269 public void getTaskPushNotificationConfiguration (RoutingContext rc ) {
270- String taskId = rc .pathParam ("id " );
270+ String taskId = rc .pathParam ("taskId " );
271271 String configId = rc .pathParam ("configId" );
272272 ServerCallContext context = createCallContext (rc , GetTaskPushNotificationConfigRequest .METHOD );
273273 HTTPRestResponse response = null ;
@@ -284,7 +284,7 @@ public void getTaskPushNotificationConfiguration(RoutingContext rc) {
284284 }
285285 }
286286
287- @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<id >[^/]+)\\ /pushNotificationConfigs\\ /$" , order = 1 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
287+ @ Route (regex = "^\\ /(?<tenant>[^\\ /]*\\ /?)tasks\\ /(?<taskId >[^/]+)\\ /pushNotificationConfigs\\ /$" , order = 1 , methods = {Route .HttpMethod .GET }, type = Route .HandlerType .BLOCKING )
288288 public void getTaskPushNotificationConfigurationWithoutId (RoutingContext rc ) {
289289 String taskId = rc .pathParam ("id" );
290290 ServerCallContext context = createCallContext (rc , GetTaskPushNotificationConfigRequest .METHOD );
0 commit comments