Skip to content

Commit

Permalink
Updates to config
Browse files Browse the repository at this point in the history
  • Loading branch information
filak committed Jan 24, 2025
1 parent 44d829a commit 7b9bc2d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions flask-app/instance/conf/mtw-dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ WORKER_HOST = http://127.0.0.1:55933/
API_SCOPE = mtw_api_worker
API_STATUS = private
API_TIMEOUT = 10
API_TOKEN_MAX_AGE = 10
API_TOKEN_MAX_AGE = 604800

#API_AUTH_BASIC_USER = test
#API_AUTH_BASIC_PWD = test
Expand All @@ -124,17 +124,17 @@ TARGET_LANG = cs
## the custom URI prefix for you translation ##
TARGET_NS = http://mesh.medvik.cz/link/

### ! Source namespace ! ###
## default: http://id.nlm.nih.gov/mesh/ ##
## If using a versioned MeSH source dataset You MUST specify a respective year, ie: mesh2019.nt.gz => SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/ ##
#SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/

### Default values:
#SPARQL_HOST = http://127.0.0.1:3030/
#SPARQL_DATASET = mesh

### DO NOT EDIT BELOW THIS LINE ###

### Source namespace ###
## Default: http://id.nlm.nih.gov/mesh/ ##
## If using a versioned MeSH source dataset You MUST specify a respective year, ie: mesh2019.nt.gz => SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/ ##
#SOURCE_NS = http://id.nlm.nih.gov/mesh/2025/

### MeSH RDF SPARQL Endpoint
#MESH_RDF = https://id.nlm.nih.gov/mesh/sparql

Expand All @@ -143,7 +143,7 @@ TARGET_NS = http://mesh.medvik.cz/link/
### Source namespace vocabulary ###
#SOURCE_NS_VOCAB = http://id.nlm.nih.gov/mesh/vocab#

### MeSH Translation vocabulary namespace - Please DO NOT CHANGE ###
### MeSH Translation vocabulary namespace - DO NOT CHANGE ###
#TRX_NS_VOCAB = http://www.medvik.cz/schema/mesh/vocab/#

[flowconf]
Expand Down
15 changes: 7 additions & 8 deletions flask-app/instance/conf/mtw.ini
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ API_SCOPE = mtw_api_worker
API_STATUS = private
#API_STATUS = public
API_TIMEOUT = 10
API_TOKEN_MAX_AGE = 10
API_TOKEN_MAX_AGE = 1800

#API_AUTH_BASIC_USER = test
#API_AUTH_BASIC_PWD = test
Expand All @@ -127,17 +127,17 @@ TARGET_LANG = cs
## the custom URI prefix for you translation ##
TARGET_NS = http://mesh.medvik.cz/link/

### ! Source namespace ! ###
## default: http://id.nlm.nih.gov/mesh/ ##
## If using a versioned MeSH source dataset You MUST specify a respective year, ie: mesh2019.nt.gz => SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/ ##
#SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/

### Default values:
#SPARQL_HOST = http://127.0.0.1:3030/
#SPARQL_DATASET = mesh

### DO NOT EDIT BELOW THIS LINE ###

### Source namespace ###
## Default: http://id.nlm.nih.gov/mesh/ ##
## If using a versioned MeSH source dataset You MUST specify a respective year, ie: mesh2019.nt.gz => SOURCE_NS = http://id.nlm.nih.gov/mesh/2019/ ##
#SOURCE_NS = http://id.nlm.nih.gov/mesh/2025/

### MeSH RDF SPARQL Endpoint
#MESH_RDF = https://id.nlm.nih.gov/mesh/sparql

Expand All @@ -146,7 +146,7 @@ TARGET_NS = http://mesh.medvik.cz/link/
### Source namespace vocabulary ###
#SOURCE_NS_VOCAB = http://id.nlm.nih.gov/mesh/vocab#

### MeSH Translation vocabulary namespace - Please DO NOT CHANGE ###
### MeSH Translation vocabulary namespace - DO NOT CHANGE ###
#TRX_NS_VOCAB = http://www.medvik.cz/schema/mesh/vocab/#

[flowconf]
Expand All @@ -159,4 +159,3 @@ TRX_NOTES = annotation,considerAlso,historyNote
DESC_NOTES = annotation,considerAlso,historyNote,onlineNote,publicMeSHNote,translatorsNote

ROLES = manager,editor,contributor,viewer,disabled,locked

0 comments on commit 7b9bc2d

Please sign in to comment.