Table-Top Infrastructure for the H2020 STRATEGY project, which is based on the KP7 DRIVER+ infrastructure. To read more about the developement results, click here, or browse a list of dissemination results here. In particular, the animation and the Test-bed design specification v3.
To run a technology-supported trial, exercise, training or table top, the EU-funded DRIVER+ project has developed a complete setup. Within the EU-funded H2020 STRATEGY project, this infrastructure is further refined and adapted to support the 7 tabletops and the final exercise. It consists of:
- Middleware, so different solutions/applications can exchange information with each other, receive (simulation) time information, and can exchange large files.
- The Trial Management Tool (TMT), a scenario editor to inject messages/events into the middleware, triggering actions in role players, end-user applications or attached simulators.
- Mail service, for exchanging messages between participants, and with the TMT.
All services are running in Docker containers, so you need to have Docker running on your system. In the docker
folder, several TTI configurations can be found, including specific instructions. To start up all services, do:
git clone https://github.com/STRATEGY-EU/TTI.git
cd TTI/docker/local
docker-compose pull
docker-compose up -d
And a home page should be available at localhost.
Or watch the instructions:
To show the status of all services, you can, for example, use dockly
(you need to have node.js installed), which you can install using npm i -g dockly
(on Linux, this may require sudo
privileges). Alternatively, you can simply do docker ps
.
A typical approach to connect your system to the TTI is as follows:
- Run TTI locally
- Choose an adapter and integrate it in your system
- Connect to the local TTI (configuring the adapter)
- Create a new AVRO message schema or select an existing schema.
- Name the schema (
my_name-value.avsc
) and add it to the schemas folder of the TTI. Alternatively, you can add it manuanlly via the Schema Registry UI. In that case, however, please also add amy_name-key.avsc
file, i.e. the AVRO schema for the keys, which can be a renamed topic of any other key file. - Restart the TTI (
docker-compose up -d
) so the bootstrapper will register the new schema. - Check if the schema has been registered using the Schema Registry UI.
- Send a message to the new topic (
my_name
, exclude-value
). - Check if the message has been received using the Kafka topics UI.1. Run TTI locally
- To receive messages, check that the schema is available and subscribe to the topic.
- Use the TMT to create messages and send them to the TTI (check as in 9).
- Your adapter should receive these messages too, and you can handle them appropriately.
NOTE: Each adapter exposes the simulation time. Please use that simulation time as the actual time if your application displays time, or sends messages to others.
For detailed information, see here. First use the mail API to create a mail account, e.g. [email protected]
. Next, you can use that account to login via the Webmail UI (with the password 'default'). Alternatively, you can create mail accounts automatically by sending a simulation_entity_post
message.