Skip to content

Commit

Permalink
chore: update demo.md
Browse files Browse the repository at this point in the history
  • Loading branch information
umbertogriffo committed Aug 17, 2024
1 parent a425463 commit 1a6c3c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ def delete_folders_older_than_x_days(path: Path, days: int):
Given the contex and the template write a Jira ticket (including the title):

CONTEXT:
Currently the business logic of the endopoints is entirely implemented in the definition of the endpoints. This lead to have a lot of duplicate code and no separation of concerns. To improve the maintanability of the application endpoints we should separe the business logic to `services` functions that are gonna be used by the endpoints. We will have common service functions that can be reused by every endpoint and specific funtions for the endpoint.
Currently the business logic of the endopoints is entirely implemented in the definition of the endpoints.
This lead to have a lot of duplicate code and no separation of concerns.
To improve the maintanability of the application endpoints we should separe the business logic to `services` functions
that are gonna be used by the endpoints. We will have common service functions that can be reused by every endpoint and
specific funtions for the endpoint.
THis way would be also easir to manage multiple versions of the same endpoint in the future.


TEMPLATE:
**Problem**
Define the problem (what has happened and how does is it different from what you expected)
Expand Down

0 comments on commit 1a6c3c2

Please sign in to comment.