Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
communications-backbone communications-backbone
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Communications Backbone System
  • communications-backbonecommunications-backbone
  • Issues
  • #31

Closed
Open
Created Feb 17, 2023 by Dan Jones@danjonOwner3 of 3 tasks completed3/3 tasks

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:

  1. Catch the FileNotFoundError and default to an empty object in the soar_bus like it does in the API
  2. 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
Edited Feb 17, 2023 by Dan Jones
Assignee
Assign to
SoAR-2023W07
Milestone
SoAR-2023W07
Assign milestone
Time tracking