Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Releases: Clariteia/minos_microservice_networks

v0.3.2

27 Dec 14:33
Compare
Choose a tag to compare

Changelog

  • Add CheckDecorator (accessible from EnrouteDecorator.check(...): CheckDecorator attribute) allowing to set check functions with the (request: Request) -> bool prototype to the service handling functions.
  • Add support for more Content-Type values. Currently: application/json, application/x-www-form-encoded, avro/binary, text/plain and application/octet-stream.
  • Remove url params and query params injection from the RestRequest.content(..) method.
  • Add Request.params(...) method allowing to access to the request's params.
  • Add Request.has_content: bool and Request.has_params: bool to check for the existence of content and params respectively.
  • Add InMemoryRequest class that allows to create requests for testing or calling service handling functions directly.

v0.3.1

30 Nov 08:38
ca4c525
Compare
Choose a tag to compare

Changelog

  • Add identifier: UUID and headers: dict[str, str] attributes to BrokerMessage.
  • Remove saga: Optional[UUID] and service_name: str attributes from BrokerMessage.
  • Now BrokerPublisher.send returns the BrokerMessage identifier instead of the entry identifier on the Producer's queue.
  • Add REQUEST_HEADERS_CONTEXT_VAR.
  • Rename USER_CONTEXT_VAR and REPLY_TOPIC_CONTEXT_VAR as REQUEST_USER_CONTEXT_VAR and REQUEST_REPLY_TOPIC_CONTEXT_VAR respectively.

v0.3.0

22 Nov 15:43
64c9b16
Compare
Choose a tag to compare

Changelog

  • Improve BrokerHandler dispatching strategy to be more concurrent (using asyncio.PriorityQueue and multiple consumers).
  • Add send(...) method to DynamicBroker in order to simplify the execution of request-response messages.
  • Merge minos.networks.brokers and minos.networks.handlers modules into minos.networks.brokers (divided into handlers and subscribers).
  • Merge Command, CommandReply and Event into BrokerMessage.
  • Rename CommandStatus as BrokerMessageStatus.
  • Merge CommandBroker, CommandReplyBroker and EventBroker into BrokerPublisher.
  • Merge CommandHandler, CommandReplyHandler and EventHandler into BrokerHandler.
  • Merge CommandHandlerService, CommandReplyHandlerService and EventHandlerService into BrokerHandlerService
  • Rename DynamicHandler and DynamicHandlerPool as DynamicBroker and DynamicBrokerPool
  • Rename Consumer and ConsumerService as BrokerConsumer and BrokerConsumerService respectively.
  • Rename Producer and ProducerService as BrokerProducer and BrokerProducerService respectively.
  • Rename HandlerRequest, HandlerResponse and HandlerResponseException as BrokerRequest, BrokerResponse and BrokerResponseException respectively.

v0.2.0

15 Nov 15:29
b01b1a7
Compare
Choose a tag to compare

Changelog

  • Remove dependency to minos-microservice-aggregate (now minos.aggregate package will require minos.networks).
  • Add support for middleware functions.
  • Add support variable number of services (previously only CommandService and QueryService were allowed).
  • Migrate Command, CommandReply, CommandStatus and Event from minos.common to minos.networks.
  • Add support for minos-microservice-common=^0.3.0

v0.1.1

09 Nov 16:52
e3ede6e
Compare
Choose a tag to compare
Merge pull request #433 from Clariteia/0.1.1

0.1.1

v0.1.0

08 Nov 11:08
ec60b58
Compare
Choose a tag to compare
Merge pull request #426 from Clariteia/0.1.0

0.1.0

v0.0.19: Merge pull request #420 from Clariteia/0.0.19

03 Nov 11:33
1b504ca
Compare
Choose a tag to compare

v0.0.18: Merge pull request #403 from Clariteia/0.0.18

04 Oct 11:03
642a769
Compare
Choose a tag to compare

v0.0.17: Merge pull request #397 from Clariteia/0.0.17

27 Sep 09:58
0adf307
Compare
Choose a tag to compare

v0.0.16: Merge pull request #392 from Clariteia/0.0.16

20 Sep 11:15
810fd13
Compare
Choose a tag to compare