This repository was archived by the owner on Jan 28, 2022. It is now read-only.
Releases: Clariteia/minos_microservice_networks
Releases · Clariteia/minos_microservice_networks
v0.3.2
Changelog
- Add
CheckDecorator(accessible fromEnrouteDecorator.check(...): CheckDecoratorattribute) allowing to set check functions with the(request: Request) -> boolprototype to the service handling functions. - Add support for more
Content-Typevalues. Currently:application/json,application/x-www-form-encoded,avro/binary,text/plainandapplication/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: boolandRequest.has_params: boolto check for the existence ofcontentandparamsrespectively. - Add
InMemoryRequestclass that allows to create requests for testing or calling service handling functions directly.
v0.3.1
Changelog
- Add
identifier: UUIDandheaders: dict[str, str]attributes toBrokerMessage. - Remove
saga: Optional[UUID]andservice_name: strattributes fromBrokerMessage. - Now
BrokerPublisher.sendreturns theBrokerMessageidentifier instead of the entry identifier on theProducer's queue. - Add
REQUEST_HEADERS_CONTEXT_VAR. - Rename
USER_CONTEXT_VARandREPLY_TOPIC_CONTEXT_VARasREQUEST_USER_CONTEXT_VARandREQUEST_REPLY_TOPIC_CONTEXT_VARrespectively.
v0.3.0
Changelog
- Improve
BrokerHandlerdispatching strategy to be more concurrent (usingasyncio.PriorityQueueand multiple consumers). - Add
send(...)method toDynamicBrokerin order to simplify the execution of request-response messages. - Merge
minos.networks.brokersandminos.networks.handlersmodules intominos.networks.brokers(divided intohandlersandsubscribers). - Merge
Command,CommandReplyandEventintoBrokerMessage. - Rename
CommandStatusasBrokerMessageStatus. - Merge
CommandBroker,CommandReplyBrokerandEventBrokerintoBrokerPublisher. - Merge
CommandHandler,CommandReplyHandlerandEventHandlerintoBrokerHandler. - Merge
CommandHandlerService,CommandReplyHandlerServiceandEventHandlerServiceintoBrokerHandlerService - Rename
DynamicHandlerandDynamicHandlerPoolasDynamicBrokerandDynamicBrokerPool - Rename
ConsumerandConsumerServiceasBrokerConsumerandBrokerConsumerServicerespectively. - Rename
ProducerandProducerServiceasBrokerProducerandBrokerProducerServicerespectively. - Rename
HandlerRequest,HandlerResponseandHandlerResponseExceptionasBrokerRequest,BrokerResponseandBrokerResponseExceptionrespectively.
v0.2.0
Changelog
- Remove dependency to
minos-microservice-aggregate(nowminos.aggregatepackage will requireminos.networks). - Add support for middleware functions.
- Add support variable number of services (previously only
CommandServiceandQueryServicewere allowed). - Migrate
Command,CommandReply,CommandStatusandEventfromminos.commontominos.networks. - Add support for
minos-microservice-common=^0.3.0
v0.1.1
Merge pull request #433 from Clariteia/0.1.1 0.1.1
v0.1.0
Merge pull request #426 from Clariteia/0.1.0 0.1.0