-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update documentation related to JSON serialisation of events includin…
…g dataflow
- Loading branch information
1 parent
496c752
commit 16de266
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Serialising dataflow events with JSON | ||
===================================== | ||
|
||
There are some facilities to support serialisaiton of events such as dataflow as JSON files or streams. | ||
|
||
The :ref:`Runnable API <runnable_api_dataflows>` provides a method | ||
``dataflow_output_ids_from_json($filename, $default_branch)`` to read a set of paramaters (output IDs) | ||
serialised as JSON from a flat file. | ||
|
||
Additionally, eHive uses JSON serialisation to interface Runnables written in guest languages (such as Python) | ||
with Workers. This is handled by, and documented in, ``Bio::EnsEMBL::Hive::GuestProcess``. This could serve | ||
as an example for advanced users wishing to construct infrastructure to transmit events between eHive | ||
and other systems. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters