Commit ae7bf9eb authored by Andrea Manzi's avatar Andrea Manzi
Browse files

Merge branch 'develop'

parents 4db0880c 92873966
Pipeline #1045561 passed with stage
in 2 minutes
......@@ -4,7 +4,7 @@
%{!?nosetest_path: %global nosetest_path "/tmp"}
Name: fts-rest
Version: 3.9.1
Version: 3.9.2
Release: 1%{?dist}
BuildArch: noarch
Summary: FTS3 Rest Interface
......@@ -327,6 +327,9 @@ EOF
%changelog
* Mon Aug 19 2019 Andrea Manzi <amanzi@cern.ch> - 3.9.2-1
- New bugfix release
* Thu Feb 21 2019 Andrea Manzi <amanzi@cern.ch> - 3.8.3-1
- New bugfix release
......
......@@ -64,7 +64,7 @@ base_dir = os.path.dirname(__file__)
setup(
name='fts3-rest',
version='3.9.1',
version='3.9.2',
description='FTS3 Python Libraries',
long_description='FTS3 Python Libraries',
author='FTS3 Developers',
......
......@@ -28,7 +28,7 @@ from fts3rest.lib.base import BaseController, Session
from fts3rest.lib.helpers import jsonify
from fts3rest.lib import api
API_VERSION = dict(major=3, minor=9, patch=1)
API_VERSION = dict(major=3, minor=9, patch=2)
def _get_fts_core_version():
......
......@@ -34,13 +34,17 @@ def submit_state_change(job, transfer, transfer_state):
msg_enabled = pylons.config.get('fts3.MonitoringMessaging', False)
if not msg_enabled or msg_enabled.lower() == 'false':
return
publish_dn = pylons.config.get('fts3.MonitoringPublishDN', False)
msg_dir = pylons.config.get('fts3.MessagingDirectory', '/var/lib/fts3')
mon_dir = os.path.join(msg_dir, 'monitoring')
_user_dn = job['user_dn'] if publish_dn else ''
msg = dict(
endpnt=pylons.config['fts3.Alias'],
user_dn=job['user_dn'],
user_dn=_user_dn,
src_url=transfer['source_surl'],
dst_url=transfer['dest_surl'],
vo_name=job['vo_name'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment