Skip to content

Commit

Permalink
adaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina committed Oct 31, 2023
1 parent e740df5 commit 437ef30
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,24 +274,24 @@ public Response generateContinuousBin(QueryRequest continuousData, @Context Http


@POST
@Path("/proxy/{container}")
@Path("/services/{container}/{request}")
@Operation(hidden = true)
Response postProxy(
@PathParam("container") String containerId,
// @PathParam("request") String request,
@PathParam("request") String request,
String body
) {
return proxyWebClient.postProxy(containerId, "/foo/bar", body);
return proxyWebClient.postProxy(containerId, request, body);
}

// @GET
// @Path("/proxy/{container}/{request}")
// @Operation(hidden = true)
// Response getProxy(
// @PathParam("containerId") String containerId,
// @PathParam("request") String request
// ) {
// return proxyWebClient.getProxy(containerId, request);
// }
@GET
@Path("/services/{container}/{request}")
@Operation(hidden = true)
Response getProxy(
@PathParam("containerId") String containerId,
@PathParam("request") String request
) {
return proxyWebClient.getProxy(containerId, request);
}

}

0 comments on commit 437ef30

Please sign in to comment.