Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
ng6
Commits
e57a3ef7
Commit
e57a3ef7
authored
Apr 30, 2019
by
Celine Noirot
Committed by
Romain Therville
Jul 26, 2019
Browse files
Add config example and remove useless function
parent
da53fd08
Changes
2
Hide whitespace changes
Inline
Side-by-side
application.properties.example
View file @
e57a3ef7
...
...
@@ -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 @
e57a3ef7
...
...
@@ -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
Supports
Markdown
0%
Try again
or
attach a new 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