Open trevorhardy opened 4 years ago
@eberleim will be taking point on this as a part of his efforts to complete the web interface for v3.
@eberleim, here are the queries I see us wanting to support for debugging purposes in the v3 release of the web interface. Based on our conversation on July 17, 2020, I'm going to break these down into two groups (federate-specific and global) and describe the information it returns that we think debugging users would find useful. I'll also indicate the language I think we should use in the UI and also the exact terms (both object of query and query parameter) that HELICS needs to return the necessary values.
In all of these cases, once the user indicates they are doing a federate-specific query, the web interface/helics_cli needs to provide a list of federates to choose from. The user must pick only one. The user will then specify which inputs or outputs they want the value of; the user may specify any number of these to display (including all of them).
federate
- current_time
federate
- publications
federate
- subscriptions
federate
- inputs
federate
- endpoint_filters
federate
- state
core
- global_time
core
- federation_state
To support global situation awareness during debug sessions, an ability to run HELICS queries on the federation is needed from the web interface. (Since the SQLite database will not necessarily contain a record of all signals passed during a co-simulation run, HELICS queries are being added to support user interactive debugging.) @eberleim has a minimal interface already in place in the web interface but there is currently no back-end support in place.
@trevorhardy will be working on defining the web interface elements to provide a v.0 support for the queries. Once that is in place @eberleim and @kdheepak will work on implementing the feature fully.