Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
f322a5f8
Commit
f322a5f8
authored
Apr 30, 2019
by
Celine Noirot
Browse files
Add config example and remove useless function
parent
bc3e95d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
application.properties.example
View file @
f322a5f8
...
...
@@ -32,8 +32,6 @@ server_socket_port = 8080
server_socket_protocol = https
# date format
date_format = %d/%m/%Y
# data retention time (in years)
retention_time = 2
#optional : key for jflow server ssl configuration
ssl_certificate = certificate.crt
...
...
@@ -87,6 +85,19 @@ work_directory = <path>/work
# accessible by all cluster nodes
tmp_directory = <path>/tmp
# Configure different storage directory
# and associate retention date or duration
#
# eg with a duration
[space_default]
dir_name=default
retention_period=3
#
# eg with a fix date
[space_final]
dir_name=directory
retention_date=12/03/2021
[ui]
# This must be an absolute path of a directory mounted and accessible by the server
user_base_directory = /work/
...
...
src/ng6/config_reader.py
View file @
f322a5f8
...
...
@@ -203,12 +203,3 @@ class NG6ConfigReader(object):
except
:
raise
Exception
(
"Failed when parsing the config file get_server_parameters !"
)
def
get_retention_time
(
self
):
"""
return the retention time parameter
@return: retention_time
"""
try
:
return
self
.
reader
.
get
(
'global'
,
'retention_time'
)
except
:
raise
Exception
(
"Failed when parsing the config file get_retention_time!"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment