Commit Graph

3 Commits

Author SHA1 Message Date
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] 2ad73a71c0

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