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

Allow rewriting of request parameters for KVP request #1087

Closed

Conversation

stephanr
Copy link
Member

This PR is a supplement to #1086 to manipulate single KVP parameters.

The reason for this is, that some desktop clients are sending invlaid parameters or expection uncommon default values.
With this PR parameters of a KVP request can be manipulated to replace faulty parameters or to enable selective defaulting.

For example invalid DPI parameters can be removed or a default value can be set (as X-DPI).

This is targeted to be an easier replacement for rewriting request with a proxy-server like nginx or apache.

* fix NPE on rewrite

* prepare layer for dpi testing
…handled correctly

 + add similarity test to verify that min/max scale with dpi/pixelsize are applied correctly

+ add similarity tests which check that dpi/pixelsize parameters are handled correctly
+ add missed RemoveMatch
 * allign vsp handling with documentation
@stephanr stephanr added enhancement enhancement or improvement schema change change to deegree configuration files labels Sep 16, 2020
@stephanr stephanr changed the title WIP: Allow rewriting of request parameters for KVP request Allow rewriting of request parameters for KVP request Sep 18, 2020
@tfr42 tfr42 added the WMS deegree Web Map Service label Feb 12, 2021
@tfr42 tfr42 added this to the 3.5 milestone Feb 12, 2021
@tfr42 tfr42 added the CI failing CI build job fails label Jan 18, 2022
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label May 13, 2022
@copierrj
Copy link
Member

copierrj commented May 13, 2022

Improving the DPI handling situation in deegree is appreciated. However, the TMC is not ready to accept functionality only to deal with misbehaving clients.

@tfr42 tfr42 modified the milestones: 3.5, Backlog May 13, 2022
@tfr42 tfr42 added the needs discussion requires discussion with contributor label May 13, 2022
@stephanr
Copy link
Member Author

Improving the DPI handling situation in deegree is appreciated. However, the TMC is not ready to accept functionality only to deal with misbehaving clients.

Since the DPI parameter handling has already been merged with #1086, the rewrite functionality is not continued and the PR will be closed.

@stephanr stephanr closed this Oct 19, 2022
@tfr42 tfr42 removed this from the Backlog milestone Nov 30, 2023
@tfr42 tfr42 removed needs discussion requires discussion with contributor needs rebase PR is not up to date and needs rebase CI failing CI build job fails WMS deegree Web Map Service schema change change to deegree configuration files labels Nov 30, 2023
@tfr42 tfr42 removed the enhancement enhancement or improvement label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants