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
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
andronache98
917e8045a5
Removed set and get for cdrs
2022-01-12 08:44:36 +01:00
nickolasdaniel
11d267b3d5
Fixed DispatcherHost related struct fields, added/fixed some tests and redesigned some functions in model_helpers.go
2021-07-15 18:40:12 +02:00
Trial97
421c193f6a
Removed unused RemoveKeysForPrefix
2021-06-08 12:04:47 +02:00
andronache
53474406e3
Started removing timing
2021-05-18 15:01:27 +02:00
andronache
0579fc2b52
Continue removing destinations
2021-05-13 16:12:15 +02:00
andronache
c3e7337cdf
Continue removing destination
2021-05-13 16:12:15 +02:00
Trial97
2da495af19
Starting adding back AttributesSv1 APIs
2021-04-13 13:35:03 +02:00
porosnicuadrian
5d8e04821a
Removed profile from all accounts in all packages
2021-04-09 14:38:42 +02:00
porosnicuadrian
850a43433b
Renamed AccountProfile in Accounts from all packages
2021-04-07 19:25:42 +02:00
Trial97
9324789ac7
updated integration tests
2021-04-05 20:54:48 +02:00
ionutboangiu
a19093e95b
Remove unused variables and functions in engine
2021-04-02 14:57:32 +02:00
Trial97
b028a99050
Removed rals config
2021-04-01 16:36:51 +02:00
Trial97
48205d689d
Removed until build
2021-03-30 20:49:53 +02:00
Trial97
c0b66f42aa
Starting removing RALs
2021-03-30 20:49:53 +02:00
Trial97
c13a5cf790
Finished implementing the DataNode as a replacement
2021-03-26 13:46:25 +01:00
Trial97
5353b95e43
Updated go version and replaced ioutil package
2021-03-18 16:46:55 +01:00
Trial97
f2c9ca3530
Fixed typo in license header
2021-03-10 16:22:37 +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
1d0a814e42
Changed consts in utils
2021-01-11 10:57:44 +01:00
andronache
36da1a6309
Consts in utils
2021-01-11 10:57:44 +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
TeoV
806d932fe0
Update TPAccountProfile struct
2021-01-06 13:56:03 +01:00
TeoV
41d9599d87
Add infrastructure for Account in StorDB
2020-12-21 17:51:02 +01:00
andronache
86e9e742c8
Finished tests for model helpers
2020-12-09 12:12:22 +01:00
Trial97
e56d86de98
Updated all Destinations caching to datamanager
2020-12-04 18:44:27 +01:00
andronache
3162462d47
Modified models.go structs to be more intuitive
2020-12-03 20:36:52 +01:00
andronache
e3d825c1cc
Renamed in models.go
2020-12-03 20:36:52 +01:00
TeoV
b8f0f894a5
Add infrastructure for ActionProfile for databases
2020-12-03 20:36:21 +01:00
andronache
3665961546
Modified struct names in engines/models.go
2020-12-02 17:12:22 +01:00
Trial97
9acf0582d2
Updated DispatcherHost structure
2020-11-23 16:14:01 +01:00
Trial97
a9f0a9429b
Added tests for GetCDRs with internalDB
2020-08-13 11:34:53 +02:00
TeoV
21773a185d
Update RateProfile to use map[string]*Rate instead of slice
2020-06-15 15:13:16 +02:00
TeoV
7d1b0a5e03
Add API's for RateProfiles
2020-06-11 16:49:21 +02:00
TeoV
75406ceaf2
Add skel ( incomplete ) for RateProfiles
2020-06-11 16:49:21 +02:00
TeoV
5ebd347612
Correctly naming TBLTPRatingProfile constant
2020-06-11 16:49:21 +02:00
TeoV
944e87acd2
Rename from SupplierS to RouteS ( part2 )
2020-04-30 15:54:49 +02:00
Trial97
8e5ea6884e
Updated TP APIs
2020-04-02 17:49:55 +02:00
Trial97
ffef415e8c
Added cache for EventCost.FieldAsInterface
2020-02-05 18:05:53 +01:00
adragusin
3eaf3232a1
Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2
2020-01-30 14:06:48 +01:00
adragusin
4cf69dd552
uniformed the error for duplicate key
2019-12-10 03:00:23 -05:00
TeoV
d94d0011b7
Include TBLTPDispatchers when checking if DB is empty
2019-12-04 09:28:59 -05:00
TeoV
d930e82886
Add tests for Offline TariffPlans
2019-10-04 20:17:40 +02:00
Trial97
294314d06c
Updated SQL SetCDR
2019-08-15 15:49:23 +02:00
TeoV
a246124cc9
For GetCDRs(MySQL) prioritize AnswerTime in query
2019-07-02 10:05:21 -10:00