Skip to content

Commit

Permalink
fix: adds docs
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Aug 31, 2023
1 parent 3d8fe91 commit 8d9e4bc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ public class FormatterConfigurationImpl implements FormatterConfiguration {
@Value("${gn.linkToLegacyGN4:false}")
Boolean linkToLegacyGN4;

/**
* Used to enable customMetadataUrl in rss response.
*/
@Value("${gn.linkToCustomMetadataUrl:false}")
Boolean linkToCustomMetadataUrl;

@Value("${gn.legacy.url}")
String legacyUrl;

/**
* Used to override link to metadata in rss response. It takes precedence over legacyUrl if both enabled.
* By default, the customMetadataUrl will redirect to host url with a trailing slash and followed by the metadata uuid. e.g: http://geonetwork.org/uuid
* You can customize it by redirect to another service (always followed by metadata uuid). e.g: http://my-other-service.com/uuid
*/
@Value("${gn.customMetadataUrl:}")
String customMetadataUrl;

Expand Down

0 comments on commit 8d9e4bc

Please sign in to comment.