-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stefano Cossu
committed
Apr 6, 2019
1 parent
7e41171
commit a5bd7ff
Showing
6 changed files
with
220 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Set to 1 in development. | ||
DEBUG: 1 | ||
# Generate key with: | ||
# >>> import os | ||
# >>> os.urandom(24) | ||
SECRET_KEY: <set me> |
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,50 @@ | ||
# Default Python 3 logging file. This is parsed by `dictConfig()`. See | ||
# https://docs.python.org/3.5/library/logging.config.html#logging-config-dictschema | ||
|
||
version: 1 | ||
disable_existing_loggers: true | ||
|
||
formatters: | ||
default_fmt: | ||
format: "%(asctime)s %(levelname)s %(name)s - %(message)s" | ||
extended_fmt: | ||
format: "%(asctime)s %(levelname)s %(name)s:%(funcName)s:%(lineno)d - %(message)s" | ||
|
||
handlers: | ||
logfile: | ||
class: logging.handlers.RotatingFileHandler | ||
# Relative paths are relative to the `data_dir` value in `application.yml`. | ||
# You can change this value to an absolute path or leave it alone and | ||
# symlink the location to a different directory. | ||
filename: log/lakesuperior.log | ||
maxBytes: 10485760 | ||
backupCount: 3 | ||
formatter: default_fmt | ||
level: INFO | ||
console: | ||
class: logging.StreamHandler | ||
stream: ext://sys.stdout | ||
formatter: default_fmt | ||
level: INFO | ||
|
||
loggers: | ||
store: | ||
qualname: lakesuperior.endpoints | ||
handlers: [logfile] | ||
level: INFO | ||
propagate: no | ||
store: | ||
qualname: lakesuperior.store_layouts | ||
handlers: [logfile] | ||
level: INFO | ||
propagate: no | ||
model: | ||
qualname: lakesuperior.model | ||
handlers: [logfile] | ||
level: INFO | ||
propagate: no | ||
|
||
root: | ||
level: INFO | ||
handlers: [console, logfile] | ||
|
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,10 @@ | ||
# Place CUSTOM namespace prefix definitions here. Internal FCREPO definitions | ||
# are defined in the core application configuration and will OVERRIDE duplicate | ||
# prefixes defined here. | ||
|
||
dctype : http://purl.org/dc/dcmitype/ | ||
oa : http://www.w3.org/ns/oa# | ||
ore : http://www.openarchives.org/ore/terms/ | ||
rel : http://id.loc.gov/vocabulary/relators/ | ||
skos : http://www.w3.org/2004/02/skos/core | ||
|
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,10 @@ | ||
# Configuration for testing framework. | ||
# | ||
# These values override the ones found in `application.yml`. | ||
|
||
store: | ||
ldp_rs: | ||
location: /tmp/fcrepo_test/data/ldprs_store | ||
ldp_nr: | ||
path: /tmp/fcrepo_test/data/ldpnr_store | ||
|