Commit Graph

71 Commits

Author SHA1 Message Date
arberkatellari
dcdf55e5d4 Make StatQueues and StatQueueProfiles storable in MySQL and Postgres 2025-11-12 15:34:59 +01:00
arberkatellari
1657f015fc make accounts storable in mysql 2025-11-05 17:52:03 +01:00
arberkatellari
7273384828 make accounts storable in postgres 2025-10-29 19:45:33 +01:00
arberkatellari
5f2b1f67df Add multiple DB connections functionality 2025-10-19 13:15:57 +02:00
arberkatellari
119481b3d1 Update ERs SQL functionalities 2025-10-13 09:58:45 +02:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
arberkatellari
7872d2f33b Improve valueQry function and filters validation 2025-07-02 21:45:29 +02:00
gezimbll
8fd871b304 added log level field on stordb opts for controlling sql verbosity 2025-02-25 19:42:11 +01:00
ionutboangiu
d5039b3ce8 Add CDRs CRUD queries back and remove TP functions 2023-11-09 20:50:36 +01:00
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
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
928dbd9e42 Removing StorDB 2022-03-09 14:14:30 +01:00
porosnicuadrian
5912e6aacf Added DSNopts for stor_db 2022-01-12 12:37:57 +01:00
ionutboangiu
e340c43ccd Fix compilation errors (incomplete) 2021-10-08 18:24:16 +03:00
ionutboangiu
a19093e95b Remove unused variables and functions in engine 2021-04-02 14:57:32 +02:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
6aa28fc9f5 Added MySQL Location as an option for storDB 2021-02-26 17:23:53 +01:00
Trial97
ca13e8d364 Updated tariffplans gorm statements 2021-01-12 20:01:16 +01:00
Trial97
13f2449376 Started updating to new gorm library 2021-01-12 20:01:16 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
dbb9216b6e Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
a8309d5b50 Removed NO_AUTO_CREATE_USER parameter. fixes#1470 2019-03-18 11:49:16 +01:00
TeoV
3bc1cd511a Add new infrastructure for migrator 2018-05-09 17:36:05 +02:00
TeoV
abe21fa9cf Update connectString for MySql to be compatible with 5.7 2018-02-14 15:51:49 +01:00
edwardro22
939fca39d5 Recovered failing tests and repaired bad bugfix 2017-09-29 11:45:50 +00:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
edwardro22
2c7d27745c Versioning fix 2017-09-07 15:00:18 +00:00
DanB
6dc3289772 StorDB config conn_max_lifetime, fixes #684 2017-07-02 15:25:30 +02:00
alin104n
fc8d55d27a SetVersions Fix 2017-04-09 20:40:03 +03:00
alin104n
06ec114ad6 SQL Interface 2017-03-23 14:35:39 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
Radu Ioan Fericean
65b2e0b11f using Find instead of Scan 2015-11-05 20:37:55 +02:00
Radu Ioan Fericean
21ac196222 tables unified, normal tests passing 2015-11-04 17:20:19 +02:00
Radu Ioan Fericean
17603c4c51 added mongo local tests 2015-10-13 16:29:59 +03:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
95a091f936 started using glide for vendor packages 2015-09-17 13:25:30 +03:00
Radu Ioan Fericean
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
Radu Ioan Fericean
2312bedfe7 Merge branch 'master' into load 2015-06-06 09:49:57 +03:00
DanB
b27daa074b Adding PDD to storDb, renaming CdrsFilter.FilterOnDerived -> CdrsFilter.FilterOnRated, added storDb store-restore CDR tests 2015-06-05 18:56:55 +02:00
Radu Ioan Fericean
7330061c1f refactored LoadWriter, tpexporter and tpimporter 2015-06-01 23:21:00 +03:00
DanB
3bc9f0e4cd DisconnecCause in StoredCdr and DerivedCharging 2015-05-13 23:42:29 +02:00
DanB
c281916089 Adding responder GetLCR static sample 2015-04-10 08:39:09 +02:00
DanB
1ec59ad794 Adding supplier field in StoredCdr and related, rename IgnoreDerived-> FilterOnDerived in getCdrs function, fixed postgres load from tp_rates 2015-04-04 16:35:59 +02:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
c5fcc7cd31 Fix created_at and updated_at inside cost details, config defaults has now reconnect as 5 instead of invalid -1 2015-03-09 17:00:14 +01:00