File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed
packages/core/minos-microservice-common Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -308,4 +308,38 @@ History
308308* Add ` Object ` base class with the purpose to avoid issues related with multi-inheritance and mixins.
309309* Add ` Port ` base class as the base class for ports.
310310* Add ` CircuitBreakerMixin ` class to provide circuit breaker functionalities.
311- * Add ` SetupMixin ` class as a replacement of the ` MinosSetup ` class.
311+ * Add ` SetupMixin ` class as a replacement of the ` MinosSetup ` class.
312+
313+ ### Update Guide (from 0.5.x to 0.6.0)
314+ * Add ` @Injectable ` decorator to classes that injections:
315+ ``` python
316+ @Injectable (" THE_INJECTION_NAME" )
317+ class MyInjectableClass :
318+ ...
319+ ```
320+ * Add ` minos-http-aiohttp ` package:
321+ ``` shell
322+ poetry add minos-http-aiohttp@^0.6
323+ ```
324+ * Update ` config.yml ` file:
325+ * Add ``:
326+ ``` yaml
327+ ...
328+ service :
329+ injections :
330+ http_connector : minos.plugins.aiohttp.AioHttpConnector
331+ ...
332+ ...
333+ ...
334+ ```
335+ * Add ` routers ` section:
336+ ``` yaml
337+ ...
338+ routers :
339+ - minos.networks.BrokerRouter
340+ - minos.networks.PeriodicRouter
341+ - minos.networks.RestHttpRouter
342+ ...
343+ ```
344+ * Update ` Config ` usages according to the new provided API:
345+ * Most common issues come from calls like ` config.query_repository._asdict() ` , that must be transformed to ` config.get_database_by_name("query") `
You can’t perform that action at this time.
0 commit comments