Skip to content
Snippets Groups Projects
Commit 35df6c24 authored by Stefano Borini's avatar Stefano Borini
Browse files

Fixed incorrect call in reader

parent bbbd4bec
No related branches found
No related tags found
1 merge request!79Deliver notification info
...@@ -89,7 +89,8 @@ class WorkflowReader(HasStrictTraits): ...@@ -89,7 +89,8 @@ class WorkflowReader(HasStrictTraits):
wf.mco = self._extract_mco(wf_data) wf.mco = self._extract_mco(wf_data)
wf.data_sources[:] = self._extract_data_sources(wf_data) wf.data_sources[:] = self._extract_data_sources(wf_data)
wf.kpi_calculators[:] = self._extract_kpi_calculators(wf_data) wf.kpi_calculators[:] = self._extract_kpi_calculators(wf_data)
wf.notification_listeners[:] = self._extract_listeners(wf_data) wf.notification_listeners[:] = \
self._extract_notification_listeners(wf_data)
except KeyError as e: except KeyError as e:
logging.exception("Could not read file") logging.exception("Could not read file")
raise InvalidFileException("Could not read file. " raise InvalidFileException("Could not read file. "
......
...@@ -70,6 +70,16 @@ ...@@ -70,6 +70,16 @@
] ]
} }
} }
],
"notification_listeners": [
{
"id": "force.bdss.enthought.factory.ui_notification",
"model_data": {
"sync_url": "tcp://127.0.0.1:12346",
"pub_url": "tcp://127.0.0.1:12345",
"identifier": "vfdjlkadfkljfsd"
}
}
] ]
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment