Repository navigation
Add configurable additional links to /collections - #215
Merged
Merged
Conversation
jampukka
force-pushed
the
collections-links-203
branch
from
October 22, 2026 13:43
83ebbc1 to
81a4f22
Compare
jampukka
force-pushed
the
collections-links-203
branch
from
October 22, 2026 13:48
81a4f22 to
82991a7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #203. A fourth configurable link source for the top-level
linksof/collections(JSON and HTML), alongside the three from #177.api.collections.links.*api.links.*:api.collections.links=a,bplus<name>.href/rel/type/title(hreflangoptional)collections.links=a,b,c: that would collide with a collection namedlinksHakunaConfigParser.readCollectionsAdditionalLinks()/FeatureServiceConfig.collectionsAdditionalLinksreadLinksWithPrefix; theLocalized*wrapper delegates to the wrapped service (links are not translated)collections.ftlselfandalternate, which the page already renders itselfTo note:
href/rel/type/titlefails startup, as with the other three sourcesrel=selforrel=alternateappears in the JSON but not in the HTML section; fixing that needs a change toCollectionsContent, left out on purposedocker/cfg/addresses.propertiesnow shows three such links: the INSPIRE-requireddescribedby+application/xmlmetadata record, the recommendedtext/htmlvariant of the same record, and alicenselink.