Skip to content

Commit

Permalink
fix(mediator): Enabled X-Request-Id ATL-5568 (#104)
Browse files Browse the repository at this point in the history
* fix(mediator): Enabled X-Request-Id ATL-5568

Signed-off-by: Shailesh Patil <shailesh.patil@iohk.io>

* fix(mediator): Enabled X-Request-Id ATL-5568

Signed-off-by: Shailesh Patil <shailesh.patil@iohk.io>

---------

Signed-off-by: Shailesh Patil <shailesh.patil@iohk.io>
  • Loading branch information
mineme0110 authored Aug 30, 2023
1 parent 98a8e99 commit b0d4fee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension [R, Err](app: HttpApp[R, Err])
"fly-client-ip",
"client-ip",
composeAnnotate(
"request-id",
"X-Request-ID",
"fly-request-id",
composeAnnotate(
"user-agent",
Expand Down
5 changes: 5 additions & 0 deletions infrastructure/charts/mediator/templates/apisixroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ spec:
enable: true
config:
regex_uri: ["^/(.*)","/$1"]
- name: request-id
enable: true
config:
header_name: "X-Request-ID"
include_in_response: true
{{ template "cors" . }}

---
Expand Down

0 comments on commit b0d4fee

Please sign in to comment.