Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ There are two ways of interacting with AliECS:
* [DCS PrepareForRun behaviour](/core/integration/README.md#dcs-prepareforrun-behaviour)
* [DCS StartOfRun behaviour](/core/integration/README.md#dcs-startofrun-behaviour)
* [DCS EndOfRun behaviour](/core/integration/README.md#dcs-endofrun-behaviour)
* [ECS2DCS2ECS mock server](/core/integration/README.md#ecs2dcs2ecs-mock-server)
* [DD Scheduler](/core/integration/README.md#dd-scheduler)
* [Kafka (legacy)](/core/integration/README.md#kafka-legacy)
* [ODC](/core/integration/README.md#odc)
Expand Down
13 changes: 13 additions & 0 deletions core/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,19 @@ The environment will then declare a **failure**, the
`STOP_ACTIVITY` transition will be blocked and the environment
will move to `ERROR`.

### ECS2DCS2ECS mock server

ECS2DCS2ECS is a simple server that mimics the DCS service and is developed by the DCS team.
In particular, it sends heartbeats, reports detectors as PFR or SOR available and replies with requested state sequences.

The state sequences should be added as extra arguments to the DCS calls with key `"STATE_SEQUENCE"`, while the value is a comma-separated list of `MILLIS_DELAY:DETECTOR_STATE` values.

From the AliECS user point of view, state sequences can be defined as the following user-vars (Advanced Configuration panel in COG), which are then passed to the corresponding PFR/SOR/EOR calls for all detectors:

- `dcs_pfr_state_sequence`
- `dcs_sor_state_sequence`
- `dcs_eor_state_sequence`

## DD Scheduler

DD scheduler plugin informs the Data Distribution software about the pool of FLPs taking part in data taking.
Expand Down