Skip to content

fix flatgeobuf params by getRequestConfigurationByUrl - #12200

Merged
allyoucanmap merged 1 commit into
geosolutions-it:masterfrom
stefanocudini:fix-12162-cogs-flatgeobuf-from-protected-storage_patch
Mar 31, 2026
Merged

allyoucanmap merged 1 commit into
geosolutions-it:masterfrom
stefanocudini:fix-12162-cogs-flatgeobuf-from-protected-storage_patch

Conversation

@stefanocudini

@stefanocudini stefanocudini commented Mar 31, 2026 •

Copy link
Copy Markdown
Member

Fix #12162

  • fix cog catalog sugin security params
  • new function setSecurityParams
  • added unit test for setSecurityParams
  • secure params in 3D layers
  • fix tests SecurityUtils
  • This PR includes missing security params in the FlatGeoBufLayer requests

Description

In short, in cases of datasets using custom rules in the requestsConfigurationRules section of localConfig.json, the URL parameters for resource addresses corresponding to COG and FlatGeobuf files were not being passed. See the issue for an example of rules to use for testing.

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?

#12162

What is the new behavior?
Ensure the security params are included inside FlatGeoBufLayer in openlayers

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

Other useful information

See the linked issue for bug reproducing details.
Geonode-client porting is required

@stefanocudini stefanocudini added this to the 2026.01.01 milestone Mar 31, 2026
@cla-bot cla-bot Bot added the CLA Ready label Mar 31, 2026
@stefanocudini stefanocudini self-assigned this Mar 31, 2026
@stefanocudini stefanocudini linked an issue Mar 31, 2026 that may be closed by this pull request
1 task done
@allyoucanmap
allyoucanmap merged commit 06c0454 into geosolutions-it:master Mar 31, 2026
11 checks passed
@allyoucanmap

Copy link
Copy Markdown
Contributor

@ElenaGallo please test this fix on dev, thanks

@offtherailz

Copy link
Copy Markdown
Member

Created backport PR for 2026.01.xx:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-12200-to-2026.01.xx
git worktree add --checkout .worktree/backport-12200-to-2026.01.xx backport-12200-to-2026.01.xx
cd .worktree/backport-12200-to-2026.01.xx
git reset --hard HEAD^
git cherry-pick -x 06c0454619cb2ead15ce8d7e6800ca9fd25f3545
git push --force-with-lease

dsuren1 added a commit to anup39/MapStore2 that referenced this pull request Apr 16, 2026
…log_refactor_genode_int_11930

* commit 'de55770d13eb703b5b6cfe31ae55f38fea0b9fcf':
  Fix geosolutions-it#12146: ArcGIS support for FeatureService (geosolutions-it#12235)
  geosolutions-it#12094: Fix dropdown menu overflow when adding links to text widget in TextEditor (geosolutions-it#12260)
  geosolutions-it#12207: Fix - ScaleBox plugin - Custom scales not reported on map load (geosolutions-it#12212)
  fix a few danish translations (geosolutions-it#12230)
  geosolutions-it#12223: fix rule manager field filtering with checkbox is not working properly (geosolutions-it#12224)
  geosolutions-it#12218: fix pagination in rules manager layers autocomplete does not work (geosolutions-it#12219)
  Fix geosolutions-it#12213 - Fixed startup script for java new versions (geosolutions-it#12214)
  Update Changelog for version 2025.02.03 (geosolutions-it#12211)
  Fix pre-release gh action workflow for CLA (geosolutions-it#12205)
  Update Changelog for version 2026.01.00 (geosolutions-it#12202)
  fix geosolutions-it#12162 flatgeobuf params by getRequestConfigurationByUrl (geosolutions-it#12200)
  Fix geosolutions-it#12162 COG and FlatGeobuf layers support params for protected storage (geosolutions-it#12179)
  Fix doc of MapImport plugin (geosolutions-it#12197)
  Fix geosolutions-it#12044: fix wfs layer hidden in 3D + scale arrow not rendering (geosolutions-it#12155)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

COG and FlatGeobuf layers support params for protected storage

4 participants