Changes between Version 46 and Version 47 of WikiStart
- Timestamp:
- 05/08/19 16:49:23 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v46 v47 50 50 Tech note: on the /run/<party name> requirement, we need this format {{{/run/<party>}}} so that we can extract the context path from a given party reference. This is needed because Genius2 internally passes around only party references. However some services need to access the other services, particularly {{{/free}}} 51 51 52 === /info 53 returns general information (see ServerInfo), like this 54 {"freeSlots":4,"totalSlots":4} 52 55 56 The free slots are the slots that can accomodate more running parties, each running party requires a slot. The totalSlots indicates the total number of slots on this server, which is available when all parties have finished running. 53 57 54 58 === /available … … 90 94 * can send JSON-formatted Action objects as requested by the agent (see the events module in genius2 core) 91 95 96 All parties must be guaranteed to terminate at some time. 97 92 98 === /running 93 99 /running provides a websocket that continuously sends a list of currently running parties (each being a serialized RunningPartyInfo object containing the name, id , start and (worst case) end time.