Docs
MDDS Recovery

MDDS Recovery

Setup to connection to Vero SIM

Pre Requirement

To setup MDDS Recovery, you need a running MDDS Receiver instance at your end. To Install MDDS Receiver please check on MDDS Receiver

Get API connection information

After setting up the MDDS Receiver, run the following command to obtain the IP address and port of your MDDS Recovery API:

 docker logs vero_mdds_receiver_hose_1 |grep  "Now listening on:"

You will see output similar to this:

root@vero:~# docker logs vero_mdds_receiver_hose_1 |grep  "Now listening on:"
[04:34:17 INF] Now listening on: http://0.0.0.0:53659

Replace 0.0.0.0 with your local IP address to obtain the actual Swagger API URL, for example: http://your-local-ip:53659/swagger/index.html

If you want to set a static port for the Swagger API URL, set the environment variable URLS=http://0.0.0.0:53659 in your container run command as follows:

docker run -d \
  -e API_KEY=your_api_key \
  -e MDDS_ENDPOINT=vero_mdds_ip \
  -e MDDS_PORT=vero_mdds_port \
  -e URLS=http://0.0.0.0:53659 \
  --name vero_mdds_receiver \
  --restart=always \
  --network host \
  registry.gitlab.com/maithanhtan/public_docker_cicd/service.krx.sim_connector/service.krx.sim_connector:latest

Use API to send MDDS Recovery:

There two way to send mdds recovery:

Manually send from recovery file

In this:

LocalUnitCastIP is your server IP to receive these MDDS recovery messages.
LocalUnitCastPort is your server Port to receive these MDDS recovery messages.
The Vero Receiver is sending UDP messages as a client in this flow. So, the source IP is the Vero Receiver container and the port is a random UDP port.

The recovery file is a raw MDDS message. You can get an example from this link

Send Recovery per group

In this:

LocalUnitCastIP is your server IP to receive these MDDS recovery messages.
LocalUnitCastPort is your server Port to receive these MDDS recovery messages.
The request body is a list of group IDs for recovery.

Group ID is the topic of the message to receive. You can get a list of group IDs and their corresponding messages from this link