17830: Sets up X-Request-Id if not provided by client. Adds it to the response.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 21 Jul 2021 23:51:10 +0000 (20:51 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 22 Jul 2021 15:27:14 +0000 (12:27 -0300)
commite940be406403ddad4b60ee91fdf60bf6bbfb1664
tree65eef18e392159786fd27c8717b10e3496b7f644
parent36ddebdcf0ab91bf9b03e7bf18a6d63a2ab90d14
17830: Sets up X-Request-Id if not provided by client. Adds it to the response.

Uses the IDGenerator to explicitly set one request id if needed, so that it
can return it to the client without the need to dig it out from the railsAPI
response.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
lib/controller/router/response.go
lib/controller/router/router.go