summaryrefslogtreecommitdiff
path: root/yarns.webapp/020-status.yarn
blob: ba8c903ccb8cca932eb606bc2aa509775211df73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WEBAPP status reporting
=======================

WEBAPP reports it status via an HTTP request. We verify that when it
starts up, the status is that it is doing nothing: there are no jobs,
it has no Lorry or Trove specs.

    SCENARIO WEBAPP is idle when it starts
    GIVEN a running WEBAPP
    WHEN admin makes request GET /1.0/status
    THEN response is JSON
    AND response has running-queue set to False
    FINALLY WEBAPP terminates