Skip to content

Create and Maintain Manage Service Code Documentation #175

Description

@gibahjoe

Summary

Create lower-level code documentation for the Manage service in the docs/ folder of the main repository.

The documentation should be organised into subfolders for each user process handled by the service.

Description

Document how the Manage service works at code level so developers can understand, maintain and extend it without needing to trace the entire codebase.

All documentation must be stored in the main repository under:

docs/

Within the docs/ folder, create a separate subfolder for each user process handled by the Manage service. This should include, at a minimum:

docs/
├── add-data/
└── assign-entities/

Additional subfolders should be added for any other user processes identified during the documentation work.

Each process folder should contain documentation covering:

  • The purpose of the process.
  • The user journey or trigger.
  • The main application components and entry points.
  • The end-to-end code flow.
  • Data inputs, transformations and outputs.
  • Error handling and validation.
  • Relevant configuration.
  • Internal and external dependencies.
  • Supporting services and repositories.
  • Important modules, classes and functions.
  • Testing and local development guidance.

The documentation should also explain how shared Digital Land dependencies, such as Digital Land Python and configuration repositories, are used by each process.

A top-level document should be added to docs/ to provide an overview of the Manage service and link to each user-process subfolder.

Suggested Structure

docs/
├── README.md
├── add-data/
│   ├── README.md
│   ├── code-flow.md
│   ├── dependencies.md
│   └── testing.md
├── assign-entities/
│   ├── README.md
│   ├── code-flow.md
│   ├── dependencies.md
│   └── testing.md
└── other-user-process/
    └── README.md

The exact file structure may be adjusted where necessary, but documentation must remain grouped by user process.

Acceptance Criteria

  • A docs/ folder exists in the main Manage service repository.
  • A top-level docs/README.md provides an overview of the service and links to all documented user processes.
  • Each user process handled by the service has its own subfolder under docs/.
  • At minimum, separate documentation exists for the add data and assign entities processes.
  • Each process documents its purpose, trigger and end-to-end code flow.
  • Main components, entry points, modules and functions are identified.
  • Data inputs, transformations and outputs are documented.
  • Error handling and validation are documented.
  • Internal and external dependencies are identified and explained.
  • The use of shared Digital Land Python packages and configuration repositories is documented.
  • Relevant source files, repositories and configuration files are linked.
  • Testing and local development guidance is included where applicable.
  • Additional user processes discovered during the work are documented in separate subfolders.
  • The documentation has been reviewed by a developer familiar with the Manage service.
  • All documentation is committed to the main repository.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Sprint Backlog ⏭️

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions