optimus
optimus copied to clipboard
Introduce tenant bounded context
Description All the code related to tenancy like project, namespace and secret will move to a module which contains all the code related to working with tenancy inside the application. Existing handlers and store etc will be deleted if they are not used by any existing code.
Out of Scope Changing store/repository layer for project, namespace and secret.
Acceptance Criteria
- [ ] All the code related to project, namespace and secret in a single domain
- [ ] Encapsulate the logic in a single place
- [ ] Provide abstraction for working with tenancy under
tenant
concept
Tech Details Post analysis Capture the details of the work needed to finish the task.
- [ ] Handlers should move to tenant domain
- [ ] Module should define consumer interfaces if dependent on other domains