History¶
0.0.3 (2021-05-24)¶
renamed classes and removed Minos prefix
Integration of Command and CommandReply with Handler
0.0.4 (2021-05-31)¶
Documentation improvement
BugFixes
0.0.5 (2021-05-31)¶
BugFixes
0.0.6 (2021-06-02)¶
Added Retry functionality at Broker
Added Locked status at Broker
Bugfix
0.0.7 (2021-07-06)¶
Added basic approach for Circuit Braker ( Broker and Publisher)
SQL queries refactor ( added support for psycopg method for query building )
Migration of shapshot to Minos Common
Updated Test
BugFix
Added clients for Minos Discovery Service
Added support for Docker and Docker-Compose
0.0.8 (2021-07-12)¶
Add new version support for minos-common
BugFix
0.0.9 (2021-07-12)¶
BugFix
0.0.10 (2021-07-26)¶
Add
enroutedecorator.Add
ReplyHandlerPool.Fix bug related with
DiscoveryConnector.Add
WrappedRequest.
0.0.11 (2021-07-27)¶
Be compatible with
minos-microservice-common==0.1.7.Fix bug related with
EventConsumerService,CommandConsumerServiceandCommandReplyConsumerServiceand thestartmethod.Fix bug related with
get_host_ipfunction and some DNS systems.
0.0.12 (2021-08-03)¶
Small Improvements
Bugfixes
0.0.13 (2021-08-19)¶
Update
DiscoveryConnectorto support auto discoverable endpoint.Increase the concurrency degree of
Handler.dispatch.Rename
RestBuilderasRestHandler.Refactor
HandlerEntry
0.0.14 (2021-09-01)¶
Unify consumer queues into a single one
consumer_queue.Replace periodic checking (active waiting) by a
LISTEN/NOTIFYapproach (reactive) on consumer and producer queue.Use single reply topic based on microservice name to handle
CommandReplymessages of sagas paused on disk.Refactor
ReplyPoolandDynamicReplyHandlerasDynamicHandlerPoolandDynamicHandlerand integrate them into the consumer queue.Improve
Producerperformance keeping kafka connection open between publishing calls.Implement direct message transferring between
ProducerandConsumerfor messages send to the same microservice.
0.0.15 (2021-09-02)¶
Add support for
__get_enroute__method byEnrouteAnalyzer.
0.0.16 (2021-09-20)¶
Add support for
Kongdiscovery.Add support for
minos-microservice-common>=0.1.13.Fix bug related with database queues and plain dates (without timezones).
0.0.17 (2021-09-27)¶
Add support for multiple handling functions for events.
Fix troubles related with dependency injections.
0.0.18 (2021-10-04)¶
Add
PeriodicTask,PeriodicTaskSchedulerandPeriodicTaskSchedulerService.Add
@enroute.periodic.eventdecorator
0.0.19 (2021-11-03)¶
Add
"user"context variable to be accessible duringRequesthandling (same asRequest.user).Add support for
Request.userpropagation overCommandBroker.
0.1.0 (2021-11-08)¶
Add
minos-microservice-common>=0.2.0compatibility.
0.1.1 (2021-11-09)¶
Add
REPLY_TOPIC_CONTEXT_VARand integrate withDynamicHandlerPool.Add support for
post_fncallbacks following the same strategy as inpre_fncallbacks.
0.2.0 (2021-11-15)¶
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
0.3.0 (2021-11-22)¶
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,CommandReplyHandlerServiceandEventHandlerServiceintoBrokerHandlerServiceRename
DynamicHandlerandDynamicHandlerPoolasDynamicBrokerandDynamicBrokerPoolRename
ConsumerandConsumerServiceasBrokerConsumerandBrokerConsumerServicerespectively.Rename
ProducerandProducerServiceasBrokerProducerandBrokerProducerServicerespectively.Rename
HandlerRequest,HandlerResponseandHandlerResponseExceptionasBrokerRequest,BrokerResponseandBrokerResponseExceptionrespectively.
0.3.1 (2021-11-30)¶
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.
0.3.2 (2021-12-27)¶
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.