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>
Signed-off-by: Shailesh Patil <53746241+mineme0110@users.noreply.github.com>

Signed-off-by: Shailesh Patil <shailesh.patil@iohk.io>
  • Loading branch information
mineme0110 committed May 1, 2024
1 parent d9d83f2 commit f96d683
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 f96d683

Please sign in to comment.