https://github.com/jonnor/javafbp-runtime
FBP runtime protocol implementation for JavaFBP
https://github.com/jonnor/javafbp-runtime
fbp fbp-runtime
Last synced: 8 months ago
JSON representation
FBP runtime protocol implementation for JavaFBP
- Host: GitHub
- URL: https://github.com/jonnor/javafbp-runtime
- Owner: jonnor
- Created: 2014-09-09T13:49:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T17:57:55.000Z (over 9 years ago)
- Last Synced: 2025-05-08T03:42:12.225Z (8 months ago)
- Topics: fbp, fbp-runtime
- Language: Java
- Size: 391 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JavaFBP runtime
----------------
Implementation of the [FBP runtime protocol](http://noflojs.org/documentation/protocol/),
allowing to create [JavaFBP](https://github.com/jpaulm/javafbp) with [Flowhub](http://flowhub.io)
and other compatible clients.
Status
-------
Proof-of-concept. Can be used to create simple programs live with Flowhub and run them.
TODO
------
In roughly prioritized order.
Milestone 0.1: minimally useful
* Fix network excecution blocking main thread, should execute in background
* Add proper commandline arguments for port, library path, runtime registry etc
* Implement support for multiple graphs
* Implement stopping of networks
* Implement redirection of stdout/stderr, for showing in IDE
* Implement introspection of data passing through edges
Later
* Implement support for arrayports
* Implement support for subgraph components
* Implement support for component specific icons
* Implement component:getsource, for showing component .java code in IDE
* Implement component:setsource, for creating components from .java code in IDE
* Implement debug mode, catching exceptions and notifying IDE where they happen
* Implement remote subgraph support, allowing a JavaFBP program/runtime to be used as a component
Building from git
-----------------
cd runtime
gradle installApp
Run & Connect to Flowhub
--------------------------
Note: instructions only tested on GNU/Linux
Open [Flowhub](http://app.flowhub.io), log in.
Click "Register runtime" and copy your user UUID.
export FLOWHUB_USER_ID=MY-USER-UUID-XXX
./build/install/runtime/bin/runtime
The runtime should now register itself and listen on a port for UI to connect.
Go back to Flowhub, hit the *refresh icon* next to "Register runtime".
Create a new project, select JavaFBP as the runtime type.
You should now be connected and be able to build JavaFBP programs!