Skip to content

Commit 7fddc3f

Browse files
author
Sergio García Prado
authored
Merge pull request #139 from Clariteia/issue-127-update-product
#127 (update `product` microservice)
2 parents 23100ff + 709ceb3 commit 7fddc3f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

microservices/product/poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

microservices/product/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ packages = [{ include = "src" }]
77

88
[tool.poetry.dependencies]
99
python = "^3.9"
10+
minos-microservice-common = "^0.1.7"
1011
minos-microservice-networks = ">=0.0.11<0.1"
1112
minos-microservice-saga = ">=0.0.9<0.1"
1213
minos-microservice-cqrs = ">=0.0.1<0.1"

microservices/product/src/queries/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_most_sold_products(self, request: Request) -> Response:
3939
"""
4040

4141
@staticmethod
42-
@enroute.broker.event("ProductAdded")
42+
@enroute.broker.event("ProductCreated")
4343
async def product_created(request: Request) -> NoReturn:
4444
"""Handle the product create events.
4545

0 commit comments

Comments
 (0)