-
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
fix: download linked objects in a WFS using "resolvedepth" #1180
Conversation
fc243b7
to
ef11840
Compare
@stempler Any idea why my PRs are always failing with the same error in the "Comment with links to the artifacts"? |
cadb5a6
to
5519274
Compare
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
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.
Commit message and PR should reference the related GitHub issue #1084
Or if we just setup the hits to UNKNOWN_SIZE, then the ignoreNumberMatched box doesn't make any sense because wont be used. |
70b72af
to
91bac9e
Compare
@florianesser I have squashed the previous commit and this one just to be able to better see the change. |
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
91bac9e
to
8822bbc
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.
LGTM
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Show resolved
Hide resolved
...boldt.hale.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
...boldt.hale.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
@stempler does it happened to remember if there is somewhere a test example that contains "additionalObjects"? Thanks |
383e44a
to
9a7a2da
Compare
7d0781e
to
fa6a2b1
Compare
...e.io.gml.test/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollectionTest.java
Outdated
Show resolved
Hide resolved
....hale.io.gml.test/src/eu/esdihumboldt/hale/io/gml/reader/internal/StreamGmlReaderTest.groovy
Outdated
Show resolved
Hide resolved
....gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/WfsBackedGmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
6c526f7
to
165cbbf
Compare
@stempler that should be hopefully the last and complete version. Please let me know if there is anything else to add. |
...boldt.hale.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
...boldt.hale.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollection.java
Outdated
Show resolved
Hide resolved
...e.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/DuplicateIDsFilterIterator.java
Outdated
Show resolved
Hide resolved
...e.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/DuplicateIDsFilterIterator.java
Show resolved
Hide resolved
...e.io.gml/src/eu/esdihumboldt/hale/io/gml/reader/internal/wfs/DuplicateIDsFilterIterator.java
Outdated
Show resolved
Hide resolved
....hale.io.gml.test/src/eu/esdihumboldt/hale/io/gml/reader/internal/StreamGmlReaderTest.groovy
Show resolved
Hide resolved
...esdihumboldt.hale.io.gml.geometry/src/eu/esdihumboldt/hale/io/gml/geometry/GMLConstants.java
Outdated
Show resolved
Hide resolved
bc581c7
to
477e506
Compare
It seems that the following three tests are failing:
However, these tests are passing successfully on my local environment. Do you have any suggestions on what might be causing the failures and how to resolve them? |
477e506
to
02ed610
Compare
It appears that 3 tests are failing. Could you provide some guidance on what might be causing these failures and how I can resolve them? |
No clue at the moment what could be the issue. I retriggered the check but same result. It seems to be a side effect of other tests running:
|
b96fa31
to
114f046
Compare
test this please |
114f046
to
ec908d8
Compare
To rerun the GitHub actions job when there were failures you can just open the workflow run and select "Rerun jobs" -> "Rerun failed jobs". |
ec908d8
to
16c6e39
Compare
...e.io.gml.test/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollectionTest.java
Outdated
Show resolved
Hide resolved
16c6e39
to
cce4c8d
Compare
@stempler @florianesser LE: I was wrong. Sorry for disturbing, the error is still there. |
9358310
to
1df2898
Compare
...e.io.gml.test/src/eu/esdihumboldt/hale/io/gml/reader/internal/GmlInstanceCollectionTest.java
Outdated
Show resolved
Hide resolved
Using "resolvedepth" when trying to download data via WFS is now downloading all the linked objects. ING-4128 Closes halestudio#1084
1df2898
to
9c8eb15
Compare
Using "resolvedepth" when trying to download data via WFS is now downloading the linked objects. As the requested hits to a WFS is better to be setup to UNKNOWN_SIZE, so the size comes as well to be always UNKNOWN_SIZE, the code related to hits and size has been removed and the related methods have been changed accordingly.
ING-4128
Closes #1084