Closed pakb closed 2 weeks ago
Passed #3819
•
6272c17835: PB-1028 : fix COG loading after rebase error
Project |
web-mapviewer
|
Branch Review |
bug-PB-1028-adapt-cog-loading
|
Run status |
Passed #3819
|
Run duration | 05m 08s |
Commit |
6272c17835: PB-1028 : fix COG loading after rebase error
|
Committer | Pascal Barth |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
21
|
Skipped |
0
|
Passing |
212
|
View all changes introduced in this branch ↗︎ |
While working on the latest PR for PB-1028 I made some rebase mistake and didn't detect them before merging.
COG files were loaded entirely once again... So here's the fix, with some additional benefits.
I tried to simplify the FileAPI functions, the ones that load files (either through a simple GET or through service-proxy) It wasn't possible, with the addition of COG to the mix, to keep FileParser to decide to load content on its own, so I created a function that get the MIME type (and other relevant info on the file) so that each time we need to load a file, we can decide which way (of loading) we want to go (proxy or not proxy)
I will add a new E2E test for COG in the next PR
Test link