This repository has been 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(...): 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
andapplication/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
andRequest.has_params: bool
to check for the existence ofcontent
andparams
respectively. - Add
InMemoryRequest
class that allows to create requests for testing or calling service handling functions directly.
v0.3.1
Changelog
- Add
identifier: UUID
andheaders: dict[str, str]
attributes toBrokerMessage
. - Remove
saga: Optional[UUID]
andservice_name: str
attributes fromBrokerMessage
. - Now
BrokerPublisher.send
returns theBrokerMessage
identifier instead of the entry identifier on theProducer
's queue. - Add
REQUEST_HEADERS_CONTEXT_VAR
. - Rename
USER_CONTEXT_VAR
andREPLY_TOPIC_CONTEXT_VAR
asREQUEST_USER_CONTEXT_VAR
andREQUEST_REPLY_TOPIC_CONTEXT_VAR
respectively.
v0.3.0
Changelog
- Improve
BrokerHandler
dispatching strategy to be more concurrent (usingasyncio.PriorityQueue
and multiple consumers). - Add
send(...)
method toDynamicBroker
in order to simplify the execution of request-response messages. - Merge
minos.networks.brokers
andminos.networks.handlers
modules intominos.networks.brokers
(divided intohandlers
andsubscribers
). - Merge
Command
,CommandReply
andEvent
intoBrokerMessage
. - Rename
CommandStatus
asBrokerMessageStatus
. - Merge
CommandBroker
,CommandReplyBroker
andEventBroker
intoBrokerPublisher
. - Merge
CommandHandler
,CommandReplyHandler
andEventHandler
intoBrokerHandler
. - Merge
CommandHandlerService
,CommandReplyHandlerService
andEventHandlerService
intoBrokerHandlerService
- Rename
DynamicHandler
andDynamicHandlerPool
asDynamicBroker
andDynamicBrokerPool
- Rename
Consumer
andConsumerService
asBrokerConsumer
andBrokerConsumerService
respectively. - Rename
Producer
andProducerService
asBrokerProducer
andBrokerProducerService
respectively. - Rename
HandlerRequest
,HandlerResponse
andHandlerResponseException
asBrokerRequest
,BrokerResponse
andBrokerResponseException
respectively.
v0.2.0
Changelog
- Remove dependency to
minos-microservice-aggregate
(nowminos.aggregate
package will requireminos.networks
). - Add support for middleware functions.
- Add support variable number of services (previously only
CommandService
andQueryService
were allowed). - Migrate
Command
,CommandReply
,CommandStatus
andEvent
fromminos.common
tominos.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