Files
zitadel/backend/v3/doc.go

22 lines
1.1 KiB
Go
Raw Permalink Normal View History

2025-04-29 06:03:47 +02:00
// the test used the manly relies on the following patterns:
2025-05-08 19:01:55 +02:00
// - api:
// - some example stubs for the grpc api, it maps the calls and responses to the domain objects
//
2025-04-29 06:03:47 +02:00
// - domain:
// - hexagonal architecture, it defines its dependencies as interfaces and the dependencies must use the objects defined by this package
// - command pattern which implements the changes
2025-05-08 19:01:55 +02:00
// - the invoker decorates the commands by checking for events, tracing, logging, potentially caching, etc.
2025-04-29 06:03:47 +02:00
// - the database connections are manged in this package
// - the database connections are passed to the repositories
//
// - storage:
// - repository pattern, the repositories are defined as interfaces and the implementations are in the storage package
// - the repositories are used by the domain package to access the database
2025-05-08 19:01:55 +02:00
// - the eventstore to store events. At the beginning it writes to the same events table as the /internal package, afterwards it writes to a different table
//
// - telemetry:
// - logging for standard output
// - tracing for distributed tracing
// - metrics for monitoring
2025-04-29 06:03:47 +02:00
package v3