Skip to content

DRY definition of gateway headers and its usage

Jan Provaznik requested to merge jp-headers-dry into master

What does this MR do and why?

  • move cloud_connector_headers API helper method: this method is used across codebase on various layers (not only API), so instead of having to include API helper, these headers are now defined in a more generic module.
  • moves definition of AI gateway headers into a method which is re-used on all places

Closes #463782 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports