Changes between Version 46 and Version 47 of WikiStart


Ignore:
Timestamp:
05/08/19 16:49:23 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v46 v47  
    5050Tech 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}}}
    5151
     52=== /info
     53returns general information (see ServerInfo), like this
     54{"freeSlots":4,"totalSlots":4}
    5255
     56The 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.
    5357
    5458=== /available
     
    9094 * can send JSON-formatted Action objects as requested by the agent (see the events module in genius2 core)
    9195
     96All parties must be guaranteed to terminate at some time.
     97
    9298=== /running
    9399/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.