add entity relationship diagram
This commit is contained in:
		
							parent
							
								
									5803f0bd1e
								
							
						
					
					
						commit
						2f3e1222b8
					
				
					 4 changed files with 61 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								architecture-docs/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								architecture-docs/.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| *.err | ||||
| *.odt | ||||
| .~lock* | ||||
							
								
								
									
										28
									
								
								architecture-docs/data-model.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								architecture-docs/data-model.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| <!-- usage: `nix-shell -p pandoc -p mermaid-filter --command 'pandoc data-model.md -o data-model.html -F mermaid-filter'` --> | ||||
| 
 | ||||
| # fediversity entity relations | ||||
| 
 | ||||
| ```mermaid | ||||
| --- | ||||
| title: Fediversity entity relations | ||||
| --- | ||||
| erDiagram | ||||
|     setup["Fediversity setup"] | ||||
|     env["run-time environment"] | ||||
|     deployed["deployed configuration"] | ||||
|     staged["staged configuration"] | ||||
|     token["deployment token"] | ||||
| 
 | ||||
|     setup }o--o{ env : offers | ||||
|     setup ||--o{ operator : serves | ||||
|     operator ||--o{ domain : owns | ||||
|     deployment }|--|| domain : uses | ||||
|     operator ||--o{ deployment : has | ||||
|     deployment ||--|{ token : generates | ||||
|     deployment ||--o| deployed : has | ||||
|     deployment ||--|| staged : has | ||||
|     deployed |o--|| staged : compares | ||||
|     deployed ||--|{ application : describes | ||||
|     application ||--o{ version : follows | ||||
|     deployed }|--o{ version : follows | ||||
| ``` | ||||
							
								
								
									
										4
									
								
								architecture-docs/entity-relations.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								architecture-docs/entity-relations.html
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										26
									
								
								architecture-docs/entity-relations.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								architecture-docs/entity-relations.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,26 @@ | |||
| # fediversity entity relations | ||||
| 
 | ||||
| ```mermaid | ||||
| --- | ||||
| title: Fediversity entity relations | ||||
| --- | ||||
| erDiagram | ||||
|     setup["Fediversity setup"] | ||||
|     env["run-time environment"] | ||||
|     deployed["deployed configuration"] | ||||
|     staged["staged configuration"] | ||||
|     token["deployment token"] | ||||
| 
 | ||||
|     setup }o--o{ env : offers | ||||
|     setup ||--o{ operator : serves | ||||
|     operator ||--o{ domain : owns | ||||
|     deployment }|--|| domain : uses | ||||
|     operator ||--o{ deployment : has | ||||
|     deployment ||--|{ token : generates | ||||
|     deployment ||--o| deployed : has | ||||
|     deployment ||--|| staged : has | ||||
|     deployed |o--|| staged : compares | ||||
|     deployed ||--|{ application : describes | ||||
|     application ||--o{ version : follows | ||||
|     deployed }|--o{ version : follows | ||||
| ``` | ||||
		Loading…
	
	Add table
		
		Reference in a new issue