Skip to content

Instantly share code, notes, and snippets.

@bmbouter
Created September 28, 2018 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmbouter/a6fa7d1cfcd6fabcb66ce7e07f7be99e to your computer and use it in GitHub Desktop.
Save bmbouter/a6fa7d1cfcd6fabcb66ce7e07f7be99e to your computer and use it in GitHub Desktop.
A call sequence diagram of downloading Ansible Collection content from Galaxy which stores it using Pulp
@startuml
autonumber
title Collection Download
participant Mazer
box "galaxy.example.com"
participant Nginx
participant "Pulp's Webserver"
end box
' Mazer requests content
Mazer [#red]-> Nginx : GET https://galaxy.ansible.com/api/v1/collection/:namespace-:name:version.tgz
' Route the request to Pulp using a reverse proxy
"Nginx" [#green]-> "Pulp's Webserver" : GET pulp.internal/api/v1/collection/:namespace-:name:version.tgz
"Nginx" <-[#green] "Pulp's Webserver" : 200 OK w/ data
' Give Response to Mazer
Mazer <-[#red] Nginx : 200 OK w/ data
legend right
(Red) -> HTTP(S) calls from and responses to Mazer
(Green) -> Calls to, response from Pulp
endlegend
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment