Created
April 10, 2020 17:51
-
-
Save lornasong/3f28537223d095158b5a74641f9feb35 to your computer and use it in GitHub Desktop.
NMA PoC Sequence Diagram - Kim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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