Skip to content

Instantly share code, notes, and snippets.

@bmbouter
Created October 23, 2015 19:31
Show Gist options
  • Select an option

  • Save bmbouter/9e1b196e7b3da8727f51 to your computer and use it in GitHub Desktop.

Select an option

Save bmbouter/9e1b196e7b3da8727f51 to your computer and use it in GitHub Desktop.
Pulp Consumer Action
@startuml
title Pulp Consumer Action Example (bind to repo)
actor "API Client" as client
autonumber
client -> httpd: bind consumer 'foo' to repo 'bar'
httpd -> MongoDB: create TaskStatus record
httpd -> "Dedicated Queue for Consumer 'foo'" as fooQueue: dispatch message to bind to repo 'bar'
...Time passes until consumer 'foo' Connects to Qpid...
fooQueue -> "consumer 'foo'" as foo: deliver message
activate foo
foo -> MongoDB: update TaskStatus as Started
note right: bind to repo 'bar'
foo -> MongoDB: update TaskStatus as Finished
deactivate foo
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment