Skip to content

Commit

Permalink
- Updated docker image version.
Browse files Browse the repository at this point in the history
- Updated to version 0.7.0.dev3.
- Updated config.

issue #?
  • Loading branch information
albamig committed Apr 28, 2022
1 parent 4121c33 commit 73f898d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/clariteia/minos-microservice:0.6.0 as development
FROM ghcr.io/clariteia/minos-microservice:0.7.0.dev3 as development

COPY ./pyproject.toml ./
RUN poetry install --no-root
Expand Down
19 changes: 11 additions & 8 deletions microservice/language/python/init/config.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@ injections:
- src.{{ aggregate }}QueryServiceRepository
databases:
default:
client: minos.plugins.aiopg.AiopgDatabaseClient
database: {{ name }}_db
user: minos
password: min0s
host: localhost
port: 5432
query:
client: minos.plugins.aiopg.AiopgDatabaseClient
database: {{ name }}_query_db
user: minos
password: min0s
host: localhost
port: 5432
saga:
client: minos.plugins.lmdb.LmdbDatabaseClient
path: ./{{ name }}.lmdb
interfaces:
broker:
Expand All @@ -28,11 +31,11 @@ interfaces:
retry: 2
publisher:
client: minos.plugins.kafka.KafkaBrokerPublisher
queue: minos.networks.PostgreSqlBrokerPublisherQueue
queue: minos.networks.DatabaseBrokerPublisherQueue
subscriber:
client: minos.plugins.kafka.KafkaBrokerSubscriber
queue: minos.networks.PostgreSqlBrokerSubscriberQueue
validator: minos.networks.PostgreSqlBrokerSubscriberDuplicateValidator
queue: minos.networks.DatabaseBrokerSubscriberQueue
validator: minos.networks.DatabaseBrokerSubscriberDuplicateValidator
http:
port: minos.networks.HttpPort
connector:
Expand All @@ -42,8 +45,8 @@ interfaces:
periodic:
port: minos.networks.PeriodicPort
pools:
lock: minos.common.PostgreSqlLockPool
database: minos.common.PostgreSqlPool
lock: minos.common.DatabaseLockPool
database: minos.common.DatabaseClientPool
broker: minos.networks.BrokerClientPool
discovery:
connector: minos.networks.DiscoveryConnector
Expand All @@ -56,9 +59,9 @@ aggregate:
entities:
- src.aggregates.{{ aggregate }}
repositories:
transaction: minos.aggregate.PostgreSqlTransactionRepository
event: minos.aggregate.PostgreSqlEventRepository
snapshot: minos.aggregate.PostgreSqlSnapshotRepository
transaction: minos.aggregate.DatabaseTransactionRepository
event: minos.aggregate.DatabaseEventRepository
snapshot: minos.aggregate.DatabaseSnapshotRepository
routers:
- minos.networks.BrokerRouter
- minos.networks.PeriodicRouter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ packages = [{ include = "src" }]

[tool.poetry.dependencies]
python = "^3.9"
minos-microservice-common = "^0.6"
minos-microservice-networks = "^0.6"
minos-microservice-aggregate = "^0.6"
minos-microservice-saga = "^0.6"
minos-microservice-cqrs = "^0.6"
minos-broker-kafka = "^0.6"
minos-discovery-minos = "^0.6"
minos-http-aiohttp = "^0.6"
minos-microservice-common = { version ="^0.7.0*", allow-prereleases = true }
minos-microservice-networks = { version ="^0.7.0*", allow-prereleases = true }
minos-microservice-aggregate = { version ="^0.7.0*", allow-prereleases = true }
minos-microservice-saga = { version ="^0.7.0*", allow-prereleases = true }
minos-microservice-cqrs = { version ="^0.7.0*", allow-prereleases = true }
minos-broker-kafka = { version ="^0.7.0*", allow-prereleases = true }
minos-discovery-minos = { version ="^0.7.0*", allow-prereleases = true }
minos-http-aiohttp = { version ="^0.7.0*", allow-prereleases = true }
minos-discovery-kong = { version ="^0.7.0*", allow-prereleases = true }
minos-database-aiopg = { version ="^0.7.0*", allow-prereleases = true }
minos-database-lmdb = { version ="^0.7.0*", allow-prereleases = true }
typer = "^0.3.2"
SQLAlchemy = "^1.4.0"

Expand Down

0 comments on commit 73f898d

Please sign in to comment.