polyneme / fair-enabling-services

FAIR-Enabling Services
Other
0 stars 0 forks source link

spike minter service #1

Open dwinston opened 1 year ago

dwinston commented 1 year ago

minimal spike / "steel thread" through docs/service_architecture_flow_diagram.md

flowchart

classDef user fill:#ffa;,stroke:#bbb

s_minter[minter]
s_tracker[tracker]
b_object_store[("object store")]
s_authnz["authnz middleware\n(authentication and authorization)"]
o_request[/request/]:::user
s_entrypoint[entrypoint]
s_router[router]

%%  edge routing (incl. authnz)
o_request-->s_entrypoint
s_entrypoint--->s_router
s_router-->s_authnz

%% minting
s_router--->s_minter  
s_minter-->s_tracker
s_tracker-->b_object_store
dwinston commented 1 year ago

the request-->entrypoint-->router-->service flow, with authnz as router middleware, is based on https://doc.traefik.io/traefik/routing/overview/. I plan to implement this using traefik proxy. I plan to use the docker swarm mode provider for traefik.

dwinston commented 1 year ago

upgraded mongo:4.4-bionic to mongo:6.0-focal (739dca702e0366f6813c97445a3725bb85bf0f0c)