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

Expansion: Allow max expansion level to be configured per URL #173

Open
mcweba opened this issue Oct 31, 2017 · 0 comments
Open

Expansion: Allow max expansion level to be configured per URL #173

mcweba opened this issue Oct 31, 2017 · 0 comments
Assignees

Comments

@mcweba
Copy link
Collaborator

mcweba commented Oct 31, 2017

The gateleen-expansion module provides properties called max.expansion.level.soft and max.expansion.level.hard to configure the global maximum values of expand parameters.

These properties can be used to protect the system from having to process very expensive expansion requests with many levels.

However, there are use cases where a higher expand level than the global level is required. To support these use cases, the global maximum values (defined by the already mentioned properties) should be allowed to be overridden.

Implement the possibility to configure the expand levels on a "per URL basis". This could be done in an additional configuration resource or in the routing rules. When no configuration for an URL is found, the global maximum expand levels should be used.

@mcweba mcweba self-assigned this Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant