forked from NatLibFi/Skosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds repeatable configuration property `skosmos:includeConfig` to include configuration from file or URL. The configuration is cached as usual, based on modification time of `config.ttl` only. See NatLibFi#1403 for discussion.
- Loading branch information
Showing
7 changed files
with
124 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@prefix skosmos: <http://purl.org/net/skosmos#> . | ||
@prefix : <http://base/#> . | ||
|
||
:config a skosmos:Configuration ; | ||
|
||
# include configuration from from URL | ||
skosmos:includeConfig <http://localhost:13030/skosmos-test/data?graph=http://skosmos.config/> . | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@prefix skosmos: <http://purl.org/net/skosmos#> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
|
||
# This configuration is being included from file | ||
|
||
<http://example.org/> a skosmos:Configuration ; | ||
|
||
# whether to enable the spam honey pot or not, enabled by default | ||
skosmos:uiHoneypotEnabled false ; | ||
|
||
# default time a user must wait before submitting a form | ||
skosmos:uiHoneypotTime 2 . | ||
|
||
<whatever> a skos:Concept . |
This file contains 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