Something went wrong while setting issue due date.
Fix error running without any clients defined
Closed
Fix error running without any clients defined
The soar bus crashes if the data/clients.json
file is missing. This file is created by the api when the first client is created.
Options:
- Catch the FileNotFoundError and default to an empty object in the soar_bus like it does in the API
- Create a default
admin
client the first time the API is started
I'm tempted to do both.
-
Catch FileNotFoundError for
./data/clients.json
in soar bus -
Create a default
admin
client the first time the API is run -
Test running
run-compose.sh
from a fresh clone
changed milestone to %SoAR-2023W07
added Partner::NOC Status::In Progress Weight::2 labels
created merge request !15 (merged) to address this issue
mentioned in merge request !15 (merged)
removed Status::In Progress label
added Status::In Review label
mentioned in commit a668781f
closed via merge request !15 (merged)
Please register or sign in to reply