Skip to content

Initial commit of bounded_contexts.yml file

Fabio Pitino requested to merge add-bounded-contexts-yml-file into master

What does this MR do and why?

Related to Categorize directories into bounded contexts (#438294 - closed)

This MR adds a file config/bounded_contexts.yml to the Rails monolith. This file captures all bounded contexts that compose the GitLab backend.

The list of contexts is generated manually from a study during the Bounded Contexts working group. It will be enforced with a Rubocop 👮 expecting all Ruby constants from domain files (app and lib) to have a top-level namespace from the list in this file.

TODO

  • Define owners for this file and modify CODEOWNERS accordingly.
  • Verify metadata fields for each entry in the file. Currently only description and owners.
  • Add specs to the file (e.g. ensure entries in domains and platform don't overlap, and that they have all required fields - e.g. domain must have owners)
  • Define and document process for adding/removing entries in this file.
Edited by Fabio Pitino

Merge request reports

Loading