Skip to content

Instantly share code, notes, and snippets.

@lornasong
Created April 10, 2020 17:51
Show Gist options
  • Save lornasong/3f28537223d095158b5a74641f9feb35 to your computer and use it in GitHub Desktop.
Save lornasong/3f28537223d095158b5a74641f9feb35 to your computer and use it in GitHub Desktop.
NMA PoC Sequence Diagram - Kim
title Kim's thinking
Practitioner->NMA: configures
note left of NMA
ex: webservices
adaptor info
end note
NMA->Adapter: configures
note left of Adapter
ex: middleware IP
authentication info
end note
Catalog->Catalog: IP changes
NMA<->Catalog: monitors and gets newest IPs (using consul-template library)
NMA->Adapter: get IPs of the middleware that it knows of
NMA->NMA: diffs IP against catalog and middleware
NMA->Adapter: sends changes/creates payload (could be in template)
Adapter->Adapter: creates payload
Adapter->Middleware: applies change
#adapter has no memory
# NMA would be able to provide current state + change state over
# Adapter decides POST vs. PATCH. Adapter to know about the bulk
# vs. crud changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment