4 Commits

Author SHA1 Message Date
Takashi Kajinami
b4872bf38b Remove support for amqp1 messaging driver
It was deprecated during the 2023.2 cycle[1], so can be removed now.

Also add validation about transport_url options to reject unsupported
drivers.

[1] e174113210699b433dbae4c2c5a68bc3d269b5c3

Depends-on: https://review.opendev.org/918774
Change-Id: I3c3b17b8109c84cc0cbfb4254cc969cc563265e4
2024-05-13 10:21:36 +09:00
Benedikt Trefzer
6ca03a90c4 remove legacy db connection check with proper types
- includes new type check for slave type

Change-Id: I170e46d65abe3399e69a33dabbe59b44adc90337
2023-07-25 22:52:20 +09:00
Takashi Kajinami
8e04fa6153 Remove leftover of MongoDB support
We already removed support for MongoDB a while ago[1]. This removes
the leftover in Oslo::DBConn type so that we use the single consistent
pattern.

[1] 2ad73a71c095bf534ed9f6a5d4356d1843a5d919

Change-Id: I341286bbf834e9ec90de3d79b95cb64c1ca8b847
2023-06-19 17:03:38 +09:00
Tobias Urdin
e1aeb88b38 Add Oslo::Dbconn data type
This a custom data type that moves the regular expression
pattern that we are using in oslo::db to a type so that
we can use it with validate_legacy and after that explicitly
as a data type for the parameters for database connection
strings.

Change-Id: Icbdd8f9dca5749eb9fadb8e3a5fba8dfd5f098d9
2019-02-14 23:15:32 +01:00