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
  • #62

Closed
Open
Created Sep 13, 2024 by Dan Jones@danjonOwner0 of 14 tasks completed0/14 tasks

Sort out subscription management

At the moment if you change a subscription and restart the soar_bus the client ends up with both the old and new subscription.

  • make a script to manually unsubscribe a queue from a topic so we can fix it where it's wrong
  • update the POST /client endpoint to accept multiple subscriptions
  • update the client_create.py script to accept multiple subscriptions
  • turn the client subscription into a list of subscriptions in the config file
    • accept subscription string singular
    • accept subscriptions list of strings
  • make an authed api call that lets a client update their subscription list
  • on api call (or soar_bus start up)
    • iterate over current bindings and add if not present
    • iterate over existing bindings and remove if not current
    • doing it like this is slower and less efficient but avoids missing messages during the change
  • make changes in the adapter implementations to make the api call on connect (enables users to change their subscriptions by editing their config file)
    • backbone-adapter-python
    • backbone-adapter-javascript
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking