Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: Unify and extend HTTP Client Configuration Capabilities #1119

Open
jakobmoellerdev opened this issue Nov 21, 2024 · 3 comments
Open

EPIC: Unify and extend HTTP Client Configuration Capabilities #1119

jakobmoellerdev opened this issue Nov 21, 2024 · 3 comments
Labels
area/ipcei Important Project of Common European Interest kind/epic Large multi-story topic

Comments

@jakobmoellerdev
Copy link
Contributor

jakobmoellerdev commented Nov 21, 2024

Description

We want to be able to globally (and locally) configure HTTP Client specific settings such as

  • PROXY Settings
  • Certificate Settings
  • Secure / Insecure Flags

as well as inject global handlers such as

  • Logging Middleware
  • Middleware for Tracing (down the line)

For this we need to establish a common configuration structure that can be used within OCM globally as well as be injected into accessmethods on demand later on (to locally override).

An example config might look like this:
https://gist.github.com/hilmarf/130eae7fad45e3602f1b061bbb6abf49#file-ocmconfig-L91-L106

@jakobmoellerdev jakobmoellerdev added the kind/epic Large multi-story topic label Nov 21, 2024
@github-actions github-actions bot added the area/ipcei Important Project of Common European Interest label Nov 21, 2024
@jakobmoellerdev
Copy link
Contributor Author

Relates to #1118 as this would have been great there but we didnt have a big config struct yet.

@jakobmoellerdev
Copy link
Contributor Author

#1064 is also related as its an initial take but as of writing still lacks the integration into the global config struct

@hilmarf
Copy link
Member

hilmarf commented Nov 21, 2024

sample .ocmconfig contains a proposal for a new config type: http.config.ocm.software

@jakobmoellerdev jakobmoellerdev moved this from 🆕 ToDo to 📋 Next-UP in OCM Backlog Board Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ipcei Important Project of Common European Interest kind/epic Large multi-story topic
Projects
Status: 📋 Next-UP
Development

No branches or pull requests

2 participants