-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: add paramter "resolvedepth" in UI when downloading data via WFS #1174
feat: add paramter "resolvedepth" in UI when downloading data via WFS #1174
Conversation
The text for the buttons will be updated in the next days. |
b1231d8
to
e6f77d4
Compare
b29a425
to
7b6f51c
Compare
...boldt.hale.io.wfs.ui/src/eu/esdihumboldt/hale/io/wfs/ui/getfeature/GetFeatureParamsPage.java
Show resolved
Hide resolved
...mboldt.hale.io.wfs.ui/src/eu/esdihumboldt/hale/io/wfs/ui/getfeature/WFSGetFeatureSource.java
Outdated
Show resolved
Hide resolved
7b6f51c
to
4393c61
Compare
@@ -34,4 +34,5 @@ class WFSGetFeatureConfig { | |||
BBox bbox | |||
String bboxCrsUri | |||
Integer maxFeatures | |||
String resolvedepth |
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.
Code style: this should be called resolveDepth
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 actually created it like that and then when I tested I got a URL like:
.......SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&NAMESPACES=xmlns....TYPENAMES=sd%3ASpeciesDistributionDataSet&resolveDepth=2
and I thought that is not what we wanted, as I have always seen URIs with resolvedepth.
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 I understand, the name of the member variable here is not related to the name of the parameter that is added to the query, right?
In any case, WFS query parameters are not case-sensitive, resolveDepth
, resolvedepth
and even RESOLVEDEPTH
work just the same (see sec. 6.2.5.2 of the WFS specification).
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.
Right, but from the wizard when creating the parameters that will be added to the query I need to create the parameter in a way.
The commit message and the PR should also reference the related GitHub issue #1085 |
4393c61
to
4d1cce0
Compare
...boldt.hale.io.wfs.ui/src/eu/esdihumboldt/hale/io/wfs/ui/getfeature/GetFeatureParamsPage.java
Outdated
Show resolved
Hide resolved
89b51d6
to
7b4845a
Compare
The closing keyword (e.g. "Closes" or "Fixes") is still missing (see discussion here) |
809978b
to
8c9e64f
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.
One minor thing related to the commit message, the message should start lower case (i.e. add
instead of Add
)
8c9e64f
to
6d0b90e
Compare
6d0b90e
to
05be80d
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.
Thanks for the updates, LGTM now
Add in the dialog for the WFS GetCapability the possibility to choose if you want to add a resolveDepth for a request and how much would that be. Has been added a spinner to choose a number above 0 or the '*' for all the possible depths to be resolved. ING-4129 Closes halestudio#1085
05be80d
to
cfd20aa
Compare
@stempler I just |
@emanuelaepure10
The issue is not really resolved, just usually/mostly works, at least when a build cache is available. I don't know what the reason is when it fails despite having access to the cache. But as you see this is not a required check. If you need the artifacts build, you can open the details and trigger a rerun of the failed job. |
|
Shouldn't PRs only be merged after the corresponding ticket is challenged? I'm wondering because the merge now closed #1085 even though the challenge on ING-4129 was not done yet. |
Yes, that would be the desired approach. @emanuelaepure10 maybe you remember when we discussed the autoclosing of issues here. |
@stempler I remember very well the discussion, but I see no conclusion.
didn't sound like THE way to go ahead from then on. But if that was the intention, please accept my apologies, and now I will know how to act for the future. |
@emanuelaepure10 No need to apology, I just wanted reference the discussion as a reminder on what was discussed. As you already had added the |
🎉 This PR is included in version 5.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Add in the dialog for the WFS GetCapability the possibility to choose if you want to add a resolveDepth for a request and how much would that be. Has been added a spinner to choose a number above 0 or the '*' for all the possible depths to be resolved.
ING-4129
Closes #1085