-
Notifications
You must be signed in to change notification settings - Fork 46
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
Filter WMS capabilities with correct OGC server #2932
Conversation
You should also add a test case :-) |
cdbb4b0
to
f499361
Compare
77d5022
to
8e5dfe2
Compare
bd8c630
to
ad50080
Compare
ad50080
to
04f1b15
Compare
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.
Mhh can't approve because that's my own PR at the beginning 😒
But I approve
@@ -152,15 +161,19 @@ def caching_prepare_input_source(source, base=None): | |||
saxutils.prepare_input_source = caching_prepare_input_source | |||
|
|||
|
|||
def filter_capabilities(content, role_id, wms, wms_url, headers, proxies): | |||
def filter_capabilities(content, role_id, wms, url, headers, proxies, request, ): |
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.
last ,
works but looks strange
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.
fixed :-)
@@ -63,65 +64,65 @@ | |||
caching.init_region({"backend": "dogpile.cache.memory"}) | |||
|
|||
|
|||
def cleanup_db(): |
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.
That cleans really all ? What about metadata, tsearch... ? Perhaps layer ? (or that comes with treeitem ? but both layerv1 and v2 ?)
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.
TreeItem cover all the tree, FullTextSearch and Shorturl will be added.
04f1b15
to
f0a3a75
Compare
Can I merge ? |
Part of #2929
TODO:
attribute refresh operation cannot proceed -> maybe come frome the-> must to expung objects in sessioncache_on_argument
It seems to work with a single argument but not with an array ?(I've not tested the things about doing a curl to get capabilities with basic auth.)