Questions tagged [minos]

This tag must be used to reference questions related with the `minos` framework.

5 questions
1
vote
1 answer

The docker compose take long time to build, how to speed up

The Minos Docker compose take long time to compile and fire up, the problem is more relevant if i have to purge the docker and reinstall from scratch. have a way to reduce that time? this is the docker compose code: ... microservice-project: …
Andrea Mucci
  • 747
  • 2
  • 9
  • 25
1
vote
1 answer

How can I publish custom broker messages in minos?

I want to send a message to notify about something in one of my microservices, but I don't want to do that through a domain event, which requires to create, update or delete one of the entities of the microservice. Is there another way to send a…
garciparedes
  • 1,749
  • 2
  • 18
  • 34
1
vote
1 answer

How can I access the aiohttp's Request from a RestRequest in minos

I have a handling function decorated with the @enroute.rest.command decorator, so that my function receives a RestRequest instance, but I want to directly access the aiohttp.web.Request to directly access to the rel_url attribute. How can I do…
garciparedes
  • 1,749
  • 2
  • 18
  • 34
1
vote
1 answer

How to add a periodic task to a Service in minos?

I want to add a method to my minos.cqrs.Service to be executed every day at 9:00 AM. How can I do that? Here is my current code: from minos.cqrs import Service class MyService(Service): async def task(self) -> None: print("Running…
garciparedes
  • 1,749
  • 2
  • 18
  • 34
0
votes
0 answers

Error trying to create a microservice using mino-cli

I'm trying to run this command minos new microservice wallet, and I get this error: How can I resolve this?