-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
35 lines (24 loc) · 1.36 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
A distributed system designed to manage and execute parallel requests to the Chemist service.
Run the project:
$> docker compose -f docker-compose.yml up --build
Project Structure
- `api`: Handles HTTP endpoints and routing logic for the service.
- `app`: Manages application-level resources and initialisation.
- `core`: Implements domain logic, repositories, and services.
- `infrastructure`: Provides low-level utilities, like HTTP clients.
- `resource`: Stores configuration files (`application.conf`, `logback.xml`).
- `test`: Contains unit and integration tests for all components.
Flow vs Preprocessor
- Flow: Represents operations involving distributed or parallel processing of reactions and mechanisms
- Preprocessor: Handles tasks to prepare and clean up input data for use in the flow or other services.
It obtains reactions and mechanisms from the Preprocessor service converts to the corresponding JSON
representation
Contribution Guidelines
- Follow the project structure when adding new features:
- Use `core/domain` for domain classes.
- Place new APIs under `api/endpoints`.
- Keep tests in `test` mirroring the `main` folder structure.
Git Hooks Setup
To enable custom Git hooks for this repository, configure Git to use the `.githooks` directory:
$> chmod +x .githooks/pre-push
$> git config --local core.hooksPath .githooks