Skip to content

Enable running without a message bus #285

Closed

Description

@DiamondJoseph
No description provided.

Activity

  1. added
    enhancement
    onboarding
    on Aug 1, 2023
  2. callumforrester commented on Apr 19, 2024

    @callumforrester
    Contributor

    Blueapi can now tolerate a message bus connection failure on startup, but is not very usable. I've opened two separate tickets to fix that: #426 and #427.

    I do still think this issue is valid as we want blueapi to be able to start up this way by design rather than just when the message bus fails, will post details below.

  3. callumforrester commented on Apr 19, 2024

    @callumforrester
    Contributor

    As a developer I want to configure the bluepai server and CLI to work without a message bus so that I can easily run it up without messing around with external dependencies.

    Possible Solution

    The way I suggest to do this is make StompConfig in config.py an optional part of ApplicationConfig and run mypy. It will highlight where the stomp config is being used on the assumption that it is definitely there and where None-checks are needed. Ultimately stomp can be made optional.

    Acceptance Criteria

    • If a user does not supply a stomp config in the config file, blueapi server does not attempt to connect to a message bus on startup
    • If a user does not supply a stomp config in the config file, blueapi client does not attempt to connect to a message bus on running a plan
    • There are tests that prove both paths
  4. added
    c: client
    c: cli
    c: messaging
    on Apr 19, 2024
  5. added a commit that references this issue on Apr 26, 2024
  6. added a commit that references this issue on May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: clic: clientc: messagingenhancementonboarding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions