ERnsTL
ERnsTL
* in addition to Websocket with JSON objects
* https://github.com/PSeitz/serde_json_borrow
Info: * the event types of the runtime:packet message are the same as the network:{connect, begingroup, data, endgroup, disconnect} output messages * runtime:packet message is for remote subgraphs = runtime-to-runtime...
* see spec: https://flowbased.github.io/fbp-protocol/#graph-clear * TODO what needs to be done to make this work? * TODO in start() the graph is handed over as parameter, but in stop() it...
* there are some fields for this in the protocol spec * seems pretty free-form on the format of the tests, there is no language for FBP tests defined, it...
* TODO There is a field referenceTo! https://github.com/flowbased/fbp-protocol/blob/555880e1f42680bf45e104b8c25b97deff01f77e/schema/yaml/shared.yml#L67 * TODO There is a field requestId! https://github.com/flowbased/fbp-protocol/blob/555880e1f42680bf45e104b8c25b97deff01f77e/schema/yaml/shared.yml#L46 * useful for network:packet so that not the whole payload needs to be echoed...
* The FBP network protocol spec also calls them input and output messages: https://github.com/flowbased/fbp-protocol/blob/master/schema/yaml/network.yml#L246 * the messages are not 100% a request-response pattern -> input and output messages are better...
* TODO display results on a webinterface? made in flowd or standard methods? or just export info via API? * goal: can be visualized using grafana * note: how to...
* TODO return performance / monitoring data with health response? or keep this separately? when we run a perf request, we know that health is OK anyway so...?
Problem: * struct duplication with just minor differences * many structs, some even just for "with token, without token" -> 2 structs * some structs like packet and packetsent are...