-
Notifications
You must be signed in to change notification settings - Fork 9
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
Url prefix #85
Url prefix #85
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about hard-coding API_VERSION independent of well-known, otherwise fine.
I moved the definition of API_VERSION to the WellKnown class. Please re-review @metzm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better now that the API version is defined only once and used throughout! Please merge.
Two questions:
|
Yes that is the case but it has never been different. One state of the backend can only serve one version at a time. When we had multiple versions deployed, we did this by using different branches and let nginx do the reverse proxy. So this change is not a step towards more restriction but towards more transparency in my view. If we ever want to deploy multiple versions again, I would stick to the git branching approach.
The shaky appearance only appeared in combination with nginx and the case that |
@mmacata sounds all reasonable, thanks. Good to go fdrom my limited point of view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The explanation of @mmacata for support of one single version makes sense.
To make deployment independent of nginx, the openeo-grassgis-driver is - with this PR - able to add the API version prefix itself. As this is an api breaking change when used without nginx, a major release will be necessary afterwards.