You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,7 +82,6 @@ docker run --rm -p 10042:10042 intersect-dashboard
59
82
## 🖥️ Dashboard service
60
83
61
84
The dashboard service uses [intersect-sdk](https://github.com/INTERSECT-SDK/python-sdk) to enable endpoints that work with message brokers (i.e RabbitMQ).
62
-
The service will include three endpoints to serve the dashboard component: `get_bragg_data`, `get_transition_data`, and `get_next_temperature`.
63
85
64
86
### 🐳 Docker
65
87
@@ -68,7 +90,7 @@ The service will include three endpoints to serve the dashboard component: `get_
68
90
To build the Docker image for the service, run the following:
@@ -103,10 +125,21 @@ docker run --rm -p 10044:10044 intersect-storage
103
125
104
126
## 🧪 Testing with the client
105
127
106
-
To test the networking of the service and the observer on the dashboard, we can use intersect-sdk to create clients that serve the purpose of simulating
107
-
the traffic through the message broker. We have two clients.
128
+
To test the networking of the service and the dashboard, we can use intersect-sdk to create clients that serve the purpose of simulating
129
+
the traffic through the message broker. We have three clients.
108
130
109
-
### single_client.py
131
+
### Realtime Client
132
+
133
+
This is a client that implements a message stack with different events (get_bragg_data, get_transition_data, get_next_temperature) and wait times, in order to simulate a real-time stream of events. More information
134
+
on this type of client here [counting example](https://intersect-python-sdk.readthedocs.io/en/latest/examples/counting.html). Use this client to test all the dashboard functionality.
135
+
136
+
To run this client make sure you have the service running, then you can execute the following:
This is a client that implements a message stack with different events (get_bragg_data, get_transition_data, get_next_temperature) and wait times, in order to simulate a real-time stream of events. More information
136
-
on this type of client here [counting example](https://intersect-python-sdk.readthedocs.io/en/latest/examples/counting.html).
137
-
138
-
To run this client make sure you have the service running, then you can execute the following:
139
-
140
-
```bash
141
-
python clients/realtime_client.py
142
-
```
143
-
144
-
### transition_client.py
166
+
### Transition Client
145
167
146
168
This is a client that implements a message stack for testing the transition plot. The transition plot receives the type TransitionData which contains a campaign ID, temperature, and a variable size y-list.
147
169
The client can simulate a full campaign for the transition plot via its two arguments `--n` for number of points `--ny` for y-list length as follows.
@@ -244,12 +266,11 @@ make transition
244
266
## Authors
245
267
246
268
This project was created by the [NSDF team](https://nationalsciencedatafabric.org/contributors.html), and the [INTERSECT team](https://www.ornl.gov/intersect).
247
-
To reach out email us at info@nationalsciencedatafabric.org and Dr. Michela Taufer mtaufer@utk.edu.
269
+
To reach out email us at [info@nationalsciencedatafabric.org](mailto:info@nationalsciencedatafabric.org) and Dr. Michela Taufer [mtaufer@utk.edu](mtaufer@utk.edu).
248
270
249
271
## Acknowledgements
250
272
251
273
The authors would like to express the gratitude to:
252
274
253
275
- NSF through the awards 2138811, 2103845, 2334945, 2138296, and 2331152.
0 commit comments