ionutboangiu
df1dc5e838
Add StorDB service
...
Add StorDB to config and services.
Put back the store_cdrs option under cdrs and update the CDRs
service to depend on StorDB.
Define the StorDB interface and add a constructor for it.
Add a constructor for postgres storage.
Add a config sanity check to validate SSL modes for postgres.
Update cgr-engine to consider StorDB on startup.
2023-05-03 10:05:28 +02:00
gezimbll
04d05c3a4f
replacing non-meta constants for storage types
2023-03-08 19:13:48 +01:00
ionutboangiu
d9f567b0a3
Rename RedisMaxAttempts to RedisConnectionAttempts
2022-07-14 14:59:28 +02:00
ionutboangiu
81793af5de
Make hardcoded options configurable for redis and solve compilation errors
2022-07-07 18:05:14 +02:00
ionutboangiu
924a91c749
Change SSLMode to PgSSLMode
2022-07-03 13:08:52 +02:00
ionutboangiu
523045cc12
Add timeout options for redis and solve compilation errors
2022-07-03 13:08:52 +02:00
andronache98
ecdf5e54ea
Changed headers
2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155
Changed headers
2022-03-09 14:14:30 +01:00
ionutboangiu
a927220fdb
Rename ItemOpt structs to ItemOpts and repair its diff function
2022-01-14 18:15:59 +01:00
porosnicuadrian
ff143cf5aa
Renamed sqlDSNParams into mysqlDSNParams
2022-01-12 12:37:57 +01:00
porosnicuadrian
5912e6aacf
Added DSNopts for stor_db
2022-01-12 12:37:57 +01:00
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
ionutboangiu
509b72b2fd
Make OutDataDBOpts and OutStorDBOpts into DBOpts structs
2021-10-08 18:24:16 +03:00
ionutboangiu
1c4866ae8a
Change name of OptsJson struct for databases
2021-10-08 18:24:16 +03:00
ionutboangiu
9f053c04e8
Add stordb opts to struct and adjust word order in SQLConnMaxLifetime constant
2021-10-08 18:24:16 +03:00
ionutboangiu
c48aa5d4ad
Change datadb cfg opts constant names
2021-10-08 18:24:16 +03:00
ionutboangiu
a69d3c5724
Add datadb opts to struct
2021-10-08 18:24:16 +03:00
Trial97
6a3f8ddc57
Updated config
2021-09-20 10:45:14 +02:00
nickolasdaniel
1c64f014b4
Added unit tests for config
2021-05-18 15:03:01 +02:00
Trial97
aef563ae17
Added more diff functions
2021-04-22 21:00:44 +02:00
Trial97
099ae99836
Added some diff functions
2021-04-21 16:38:30 +02:00
Trial97
53f9fded4c
Added config_db section
2021-04-19 19:49:39 +02:00
Trial97
c04c0a5adb
Added ConfigDB and option to read config from DB
2021-04-16 17:53:36 +02:00
porosnicuadrian
0f70d542f8
Fixed warnings in config package
2021-04-02 13:45:26 +02:00
Trial97
c13a5cf790
Finished implementing the DataNode as a replacement
2021-03-26 13:46:25 +01:00
Trial97
78cbb5932b
Added replication filtering
2021-03-09 17:37:59 +01:00
Trial97
5f0150b639
Updated dataDB config structure
2021-03-09 17:37:59 +01:00
Trial97
f6b6e62cf4
Updated unit tests
2021-03-09 17:37:59 +01:00
Trial97
7e90a42c1f
Added filtered replication for dataDB items
2021-03-09 17:37:59 +01:00
Trial97
0a7446bdad
Added Config in agent request as dataprovider
2021-02-09 15:16:20 +01:00
porosnicuadrian
d220ab88b9
Removed error from AsMapInterface function's signature
2020-12-02 17:07:35 +01:00
Trial97
f158b191f3
Added Clone functions for all config sections
2020-11-27 08:41:56 +01:00
porosnicuadrian
461a7003e5
Removed error from Items field
2020-11-09 09:41:26 +01:00
Trial97
6af358e55e
Updated GetConfig and ReloadConfig APIs
2020-11-05 17:07:50 +01:00
Trial97
568df81745
Added cores package and tests for caps
2020-11-05 17:07:50 +01:00
porosnicuadrian
9c8384b42e
Covered datadbcfg
2020-10-01 16:55:18 +02:00
porosnicuadrian
893c1af1d1
Updated datadbcfg AsMapInterface method
2020-09-16 19:35:55 +03:00
porosnicuadrian
34ce1addab
Updated diameter AsMapInterface method
2020-09-16 19:35:55 +03:00
porosnicuadrian
bebd8f8115
Updated configs AsMapInterface method
2020-09-16 19:35:55 +03:00
Trial97
841264a97a
Moved all specific DB options in opts
2020-08-28 14:35:42 +02:00
Trial97
c1a96d21a4
Added support for Redis cluster
2020-08-07 09:27:02 +02:00
Trial97
a381e3a670
Updated RouteID and APIKey options
2020-07-16 15:07:31 +02:00
adragusin
694b6c7173
Updated Event Opts
2020-07-14 10:11:27 +02:00
Dan Christian Bogos
4fe65238f3
Revert " Added tests for modelhelpers"
2020-07-09 16:10:50 +02:00
adragusin
9db3272962
Updated Event Opts
2020-07-08 11:00:29 -04:00
Trial97
f4fe295cd1
Updated internalDB integration tests
2020-06-29 18:11:20 +03:00
Trial97
c3cea2d52d
Updated *gob integration tests
2020-04-27 16:57:51 +02:00
adragusin
6c7270b454
Added tests for some AsMapInterface methods
2020-04-23 22:58:35 +02:00
adragusin
bd86c906a6
Added AsMapInterface method for some config fields
2020-04-10 09:58:04 +02:00
adragusin
1e6b59c7ee
Updated tests in apier and general_tests
2020-03-03 18:28:05 +01:00