-
Notifications
You must be signed in to change notification settings - Fork 0
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
[GIP] Replace Security Proxy by new Gateway component #8
Comments
Hello ! Some answers can be found on https://github.com/georchestra/georchestra-gateway/blob/main/README.md, but I'd like more details. Http headersWill the proxyfied applications (using sec-* http headers) need to be adapted? LogsWhat about the OGC protocols? I understand they are not implemented in the gateway. So what can we do to have something similar to analyse our platform usage? SMTPWhat about the SMTP function that exists with SP (we use it in a mapstore plugin but we can change our usage) ? LOSSESAre there any other security proxy functions that are likely to disappear? |
About the OGC logs, we collectively decided it's a bad idea to have the gateway handle them. It should be another component's responsibility. The upcoming Code Sprint will help get a better idea of what's coming next. Regarding the SMTP proxy feature, you probably mean the mailservice that is part of the console application, and allows users to send emails to other users as long as they have the EMAILPROXY role. Since it's part of the console, rather than the security-proxy, it should just work as previously. No expected impact (kudos to @pmauduit for reminding me that it's part of the console rather than the SP). My colleagues will provide answers for the 2 other questions. |
Oh, my bad, it's because the user is managed by an Identity Provider ! |
I'll play the (obvious) devil's advocate:
|
Added a missing note in the GIP description "The plan is to offer a one year migration period to geOrchestra users, the 24.0 release supporting both the Security Proxy and the Gateway." |
This is something I was willing to explore during next week's codesprint (debian packaging, CICD on paulla infra, ansible playbook, ...) |
Not yet
We have no use case with our current customers regarding this. You should get in touch to get a quote ;-)
Depends on the above.
Same.
Documentation will be provided with the component, but anything related with Apache is now obsolete and will be removed in the coming weeks.
Yes.
Yes. |
Or we can just have a code sprint ;-) |
No. |
added my +1, though i consider the sample configuration to be an abomination calling for proper documentation/customization examples... i guess we'll see what's actually missing when in production :) |
Thanks Landry for the feedback. |
Could you be more precise about this point (e.g. bad behaviours in the sample config, or so) ? There is a documentation in the sources tree here already: https://github.com/georchestra/georchestra-gateway/blob/main/docs/index.adoc |
+1 for me because we are expecting for OAuth2 et OpenID support . |
and.. how am i supposed to get there when i'm reading yaml in the datadir ? :) bits of that docs seem to be meant for developers only btw... what i mean by abomination (ok, maybe a strong word) is that i only see tons of yaml structures, some of them apparently redundant (eg from a high pov some of this assumes:
i know this config has been written over time when building/developing the gateway, and most of the config values are a direct mapping of the security proxy config but... just look at the comments in otherwise, it just feels we're trading XML & properties files (so 90's!) with comments/explanations that were carefully constructed over the years for a blob of yaml, because that's the new hotness (thanks to k8s) if i'm a georchestra platform admin, and say i want to add a path to redirect to a new application, i look in the files, i curse, then i run away screaming ;) but don't worry, i will be able to get over it.. i'm more concerned about other platform admins who don't closely follow the development. |
There may indeed lack a bit of "migrating from geOrchestra's security-proxy" documentation (and a one explaining what is about configuring spring cloud gateway versus what is about georchestra custom config), but the yaml files from the datadir are already commented somehow:
so, yeah, there is still room for improvement for sure |
+1 for me as well |
fwiw, this GIP is still open, and in light of georchestra/georchestra-gateway@8beee0d i'd like to stress that since this commit, java 21 is a requirement to build the gateway (i have no idea for runtime). If the gateway is a core component of georchestra, then that requirement should be properly written somewhere... this broke the community builds of the gateway, because that requirement wasnt discussed anywhere. |
[FR] Qui ?
Camptocamp, avec les soutiens financiers de Deutsche Telekom, de la MEL et de l'INRAE
[EN] Who ?
Camptocamp, with financial support from Deutsche Telekom, MEL and INRAE
[FR] Elements concernés
Security Proxy, remplacé par un nouveau composant nommé Gateway
[EN] Target Module
Security Proxy, replaced by a new component named Gateway
[FR] Quoi ?
Remplacement du Security Proxy par une solution plus moderne basée sur Spring Cloud Gateway et Spring Webflux, apportant de nouvelles fonctionnalités :
[EN] What ?
Replacement of Security Proxy with a more modern solution based on Spring Cloud Gateway and Spring Webflux, with new features :
[FR] Pourquoi ?
Modernisation du point d'entrée vers les applications geOrchestra, besoin de nouvelles méthodes d'authentification, support de nouveaux protocoles
[EN] Why ?
Modernization of entry point to geOrchestra applications, need for new authentication methods, support for new protocols
[FR] Comment ?
Par remplacement du Security Proxy par le nouveau composant Gateway
[EN] How ?
By replacing Security Proxy with the new Gateway component
[FR] Identifiez-vous d'éventuels problèmes et avez-vous une idée sur la façon de les circonvenir ?
[EN] Any potential pitfalls and ways to circumvent them ?
[FR] Quand ?
Finalisation en cours, sortie pour geOrchestra 24.
L'idée est d'offrir une période d'un an aux utilisateurs pour migrer vers le nouveau composant, la release 24.0 supportant indifféremment Security Proxy et Gateway.
geOrchestra 23.0.x - Security Proxy
geOrchestra 24.0.x - Security Proxy ou Gateway au choix
geOrchestra 25.0.x - Gateway
[EN] When ?
Finalization in progress, targeting geOrchestra release 24
The plan is to offer a one year migration period to geOrchestra users, the 24.0 release supporting both the Security Proxy and the Gateway.
geOrchestra 23.0.x - Security Proxy
geOrchestra 24.0.x - Security Proxy or Gateway
geOrchestra 25.0.x - Gateway
State of the vote:
The text was updated successfully, but these errors were encountered: