Skip to content

Commit

Permalink
Move pubsub module from GORT and add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 21, 2024
1 parent db95aa4 commit 14af558
Show file tree
Hide file tree
Showing 7 changed files with 880 additions and 323 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ dependencies = [
"httpx>=0.27.2",
"polars>=1.13.0",
"typing-extensions>=4.12.2",
"aio-pika>=9.5.3",
"pydantic>=2.10.3",
"numpy<2.2.1"
]

[project.optional-dependencies]
Expand Down Expand Up @@ -61,6 +64,7 @@ dev-dependencies = [
"sphinx-autobuild>=2021.3.14",
"sphinx-autodoc-typehints>=1.23.2",
"ruff>=0.6.1",
"pytest-rabbitmq>=3.1.1",
]

[tool.ruff]
Expand Down
5 changes: 5 additions & 0 deletions src/lvmopstools/data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ rabbitmq:

api: http://10.8.38.21:8090/api

pubsub:
connection_string: amqp://guest:guest@localhost:5672
exchange_name: lvmops
routing_key: data

devices:
thermistors:
host: 10.8.38.180
Expand Down
Loading

0 comments on commit 14af558

Please sign in to comment.