Skip to content

Why are some service registration controls in RegistrationParams and others in Registration #802

Discussion options

You must be logged in to vote

The lifecycle of a service looks like this

flowchart TD

	subgraph otdf [OpenTDF]
	S --> REG
	REG --> O_BOOT_S1
    O_BOOT_S1 -- read service registrations --> O_BOOT_S1
	O_BOOT_S1 ----> O_BOOT_S2
	O_BOOT_S2 -- load config --> O_BOOT_S2
    O_BOOT_S2 -- for each service --> IF_ENABLED{Is enabled in config?}

	IF_ENABLED -->|Yes| IF_DB{Req DB?}
	IF_ENABLED -->|No| SKIP

	IF_DB -->|Yes| IF_DB_AUTOMIG{Config runMigration?}
	IF_DB -->|No| O_WK

	O_WK --> O_REDI
	O_REDI --> E

	subgraph db
		direction LR

		IF_DB_AUTOMIG -->|Yes| O_DB_MIG
		IF_DB_AUTOMIG -->|No| O_WK
	end

	O_DB --> O_WK
	

	end

	subgraph user [User Setup]
	U --> DFN
	U --> REG
	end
	

	DFN[Define New Registration]
	REG[Re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jrschumacher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant