From e7f9a7082a8b5b9848484447f85b936ead1f411a Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Fri, 7 Jun 2024 07:28:37 +0200 Subject: [PATCH] architecture: update service module structure --- docs/develop/architecture/software.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/develop/architecture/software.md b/docs/develop/architecture/software.md index e958a4b0..6f50a8f4 100644 --- a/docs/develop/architecture/software.md +++ b/docs/develop/architecture/software.md @@ -197,12 +197,14 @@ The service layer contains the domain and business logic of the application and The service layer usually lives inside an Invenio module in a package named ``service``. It may consist of: + +- Service config (``config.py``) +- Service schema(s) (``schema/``) +- Service implementations (``service.py``) - Service components (``components/``) -- Service config (``components/``) -- Service schema (``components/``) -- Service results (``results``) +- Service results (``results.py``) - Domain errors (``errors.py``) -- Background tasks.py +- Background tasks (``tasks.py``) **Purpose**