Skip to content

Commit

Permalink
Remove unused queue_uri from boefje settings (#4068)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Klopper <[email protected]>
  • Loading branch information
dekkers and underdarknl authored Feb 18, 2025
1 parent d540c9c commit 3624392
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions boefjes/boefjes/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Any, Literal

from pydantic import AmqpDsn, AnyHttpUrl, Field, FilePath, IPvAnyAddress, PostgresDsn, conint
from pydantic import AnyHttpUrl, Field, FilePath, IPvAnyAddress, PostgresDsn, conint
from pydantic_settings import BaseSettings, PydanticBaseSettingsSource, SettingsConfigDict
from pydantic_settings.sources import EnvSettingsSource

Expand Down Expand Up @@ -63,9 +63,6 @@ class Settings(BaseSettings):
examples=['{"kat_external_db_normalize": 3, "kat_dns_normalize": 1}'],
)

# Queue configuration
queue_uri: AmqpDsn = Field(..., description="KAT queue URI", examples=["amqp://"], validation_alias="QUEUE_URI")

katalogus_db_uri: PostgresDsn = Field(
...,
examples=["postgresql://xx:xx@host:5432/katalogus"],
Expand Down
2 changes: 0 additions & 2 deletions boefjes/packaging/deb/data/etc/kat/boefjes.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
QUEUE_URI=

# OCTOPOES_API=http://localhost:8001
# BYTES_API=http://localhost:8002
BYTES_USERNAME=bytes
Expand Down
1 change: 0 additions & 1 deletion boefjes/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ markers = ["slow: marks tests as slow"]
addopts = "-m 'not slow'"
env = [
"D:KATALOGUS_DB_URI=postgresql://postgres:postgres@ci_katalogus-db:5432/ci_katalogus",
"D:QUEUE_URI=amqp://placeholder",
"D:BOEFJES_API=http://placeholder:8006",
"D:KATALOGUS_API=http://placeholder:8000",
"D:OCTOPOES_API=http://placeholder:8001",
Expand Down

0 comments on commit 3624392

Please sign in to comment.