Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add desired service map #48

Merged
merged 3 commits into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ frontend --> recommendationservice --> productcatalogservice
frontend --> shippingservice
```

_To view a graph of the desired state of this application [click here](./docs/v1Graph.md)_

Find **Protocol Buffers Descriptions** at the [`./pb` directory](./pb/README.md).

| Service | Language | Description |
Expand Down
93 changes: 93 additions & 0 deletions docs/v1Graph.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Desired Service Map

This diagram illustrates the desired relationships between services for the v1 work.

```mermaid

austinlparker marked this conversation as resolved.
Show resolved Hide resolved
graph TD

subgraph Service Diagram
adservice(Ad Service):::java
cache[(Cache<br/>&#40redis&#41)]
cartservice(Cart Service):::dotnet
checkoutservice(Checkout Service):::golang
currencyservice(Currency Service):::cpp
emailservice(Email Service):::ruby
frontend(Frontend):::golang
loadgenerator([Load Generator]):::python
paymentservice(Payment Service):::nodejs
productcatalogservice(ProductCatalog Service):::golang
recommendationservice(Recommendation Service):::python
shippingservice(Shipping Service):::rust
adminservice(Admin Service):::php
productstore[(Product Store)]:::db

Internet -->|HTTP| frontend
loadgenerator -->|HTTP| frontend
adminservice --> productstore

checkoutservice --> cartservice --> cache
checkoutservice --> productcatalogservice
checkoutservice --> currencyservice
checkoutservice --> emailservice
checkoutservice --> paymentservice
checkoutservice --> shippingservice
checkoutservice --> |evalFlag| featureflagfeservice

frontend --> adservice
frontend --> cartservice
frontend --> productcatalogservice
frontend --> checkoutservice
frontend --> currencyservice
frontend --> recommendationservice --> productcatalogservice
frontend --> shippingservice
frontend --> |evalFlag| featureflagfeservice

productcatalogservice --> |evalFlag| featureflagfeservice
productcatalogservice --> productstore

featureflagbeservice(Flag Server):::erlang
featureflagfeservice(Flag UI/API):::erlang
featureflagstore[(Flag Store<br/>&#40Blob/DB&#41)]

featureflagfeservice --> featureflagbeservice --> featureflagstore

end
classDef java fill:#b07219;
classDef dotnet fill:#178600;
classDef golang fill:#00add8;
classDef cpp fill:#f34b7d;
classDef ruby fill:#701516;
classDef python fill:#3572A5;
classDef nodejs fill:#f1e05a;
classDef rust fill:#dea584;
classDef erlang fill:#b83998;
classDef php fill:#4f5d95;
```

```mermaid
graph TD
subgraph Service Legend
javasvc(Java):::java
dotnetsvc(.NET):::dotnet
golangsvc(Go):::golang
cppsvc(C++):::cpp
rubysvc(Ruby):::ruby
pythonsvc(Python):::python
nodesvc(Node.JS):::nodejs
rustsvc(Rust):::rust
erlangsvc(Erlang/Elixir):::erlang
phpsvc(PHP):::php
end

classDef java fill:#b07219;
classDef dotnet fill:#178600;
classDef golang fill:#00add8;
classDef cpp fill:#f34b7d;
classDef ruby fill:#701516;
classDef python fill:#3572A5;
classDef nodejs fill:#f1e05a;
classDef rust fill:#dea584;
classDef erlang fill:#b83998;
classDef php fill:#4f5d95;
```