Files
cgrates/engine
ionutboangiu 38578524da Upgrade MongoDB driver to v1.12
- Set (but comment) serverAPI options (currently distinct api and
create.size BSON field are deprecated + possible others that are untested)
- Remove the custom time decoder used for mongo BSON
datetime values. The custom decoder was only converting these values
into UTC and was not any different from the default time.Time
decoder in the MongoDB driver, which also handles BSON string, int64,
and document values.
- Implement 'buildURL' function to connect to mongo (can also be
used for mysql and postgres)
- Update function names, variable names, and comments for clarity
- Replace 'bsonx.Regex' with the Regex primitive for v1.12 compatibility
- Use simple concatenation instead of Sprintf
- Declare 'decimalType' locally, replace global 'decimalType'
- Simplify several functions without altering functionality
- Converting directly from a D to an M is deprecated. We are now decoding
  directly in a M.
- Used errors.As and errors.Is for proper error comparison and assertion
- Revised sloppy reassignments and added missing error checks
2023-10-27 18:51:01 +02:00
..
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-09-28 12:17:04 +02:00
2021-09-28 12:17:04 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-02-16 11:28:36 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-09-28 12:17:04 +02:00
2023-01-30 08:13:06 +01:00
2023-05-31 10:23:12 +02:00
2023-08-04 16:01:19 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-07-19 14:02:51 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2022-11-11 17:05:43 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-10-26 15:52:06 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-08-28 12:22:33 +02:00
2022-11-04 10:09:21 +01:00
2023-05-31 10:23:12 +02:00
2021-05-26 20:08:15 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-04-01 16:33:37 +02:00
2021-03-18 16:46:55 +01:00
2021-04-01 16:33:37 +02:00
2021-03-18 16:46:55 +01:00
2021-03-18 16:46:55 +01:00
2021-04-01 16:33:37 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2022-11-16 11:54:41 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2022-11-08 10:48:56 +01:00
2023-05-31 10:23:12 +02:00
2023-09-11 12:24:52 +02:00
2023-10-26 15:52:06 +02:00
2023-05-31 10:23:12 +02:00
2022-11-04 10:09:21 +01:00
2023-05-31 10:23:12 +02:00
2021-10-21 14:30:20 +03:00
2021-10-21 14:30:20 +03:00