ionutboangiu
2ccd6ca74d
Add context.Context in SetCDR func signature
2023-12-12 10:09:18 +01:00
ionutboangiu
560f42bf8d
Add store block back inside *CDRServer.processEvents
...
Added *store and *rerate dynamic opts for cdrs.
2023-12-12 10:09:18 +01:00
ionutboangiu
031cf1fe43
Add rpc caching for ProcessStoredEvents API
2023-11-29 16:22:58 +01:00
ionutboangiu
6826f13cc5
Update CDR processEvent to process multiple CGREvents
2023-11-16 15:38:18 +01:00
ionutboangiu
a817f30c2a
Rename PrepareFilters to GetFilters
2023-11-16 15:38:18 +01:00
ionutboangiu
f5d69cb41b
Implement ProcessStoredEvents API
2023-11-16 15:38:18 +01:00
ionutboangiu
e5ab21def5
Implement AdminSv1 Get/RemoveCDRs APIs for CDRs
...
Addition of storDB to AdminSv1 was required.
2023-11-09 20:50:36 +01:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02: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
adi
734776b113
Unified consts of opts
2022-10-03 18:29:24 +03:00
adi
1e51b6d73f
Unified constants for subsystem/removed big S
2022-09-25 12:16:25 +02:00
adi
67163a1ff5
Merge fixes
2022-09-22 20:22:34 +02:00
porosnicuadrian
7b763b56dd
Improved populateCost and *ddc + tests
2022-04-20 20:29:01 +02:00
porosnicuadrian
8e7c7d1c75
Improved chargers reply for attributes
2022-04-20 10:35:59 +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
03793c0082
Removed storDB from config
2022-03-09 14:14:30 +01:00
porosnicuadrian
c7092cc0df
Renamed AteredFields + updated uniqueALteredFields method
2022-03-01 15:51:07 +02:00
porosnicuadrian
93a5e66774
Renamed AlteredFields into Fields
2022-02-25 14:38:26 +01:00
andronache98
c79d0cb4bd
Moving *rateSCost and *accountSCost in APIOpts
2022-02-14 18:06:53 +02:00
porosnicuadrian
ccbb53be8f
Improved accountSRefundCharges
2022-01-20 21:03:47 +01:00
DanB
f2f63305b7
CDRs refund costs for AccountS
2022-01-17 20:20:43 +01:00
andronache98
ec7b1300b8
Removed CDRStorage
2022-01-12 20:14:20 +01:00
porosnicuadrian
c0590c77d8
UPdated ProcessEventWIthGet caching
2022-01-12 12:37:57 +01:00
porosnicuadrian
4b1f6ab11a
Updated ProcessEventWithGet for cdrs
2022-01-06 17:07:02 +01:00
ionutboangiu
034adf8a52
Make field names for CGRConfig and FilterS values consistent across all Service structs
2021-11-11 12:23:21 +02:00
andronache
7ab4167613
Corrected header in multiple files
2021-11-01 13:50:00 +02:00
porosnicuadrian
15e465098a
Fixed tarffplans for runID
2021-10-27 19:50:07 +03:00
andronache
4df0cf37cd
Removed useless case for threshold cdrs process event
2021-10-14 17:15:36 +03:00
porosnicuadrian
04889e855f
Fixed V1ProcessEventWithGet method
2021-10-13 20:33:19 +03:00
ionutboangiu
5490cf66bf
Fix all the compilation errors in non-test files
2021-10-13 20:32:43 +03:00
porosnicuadrian
3ee187c5a9
No more external in accounts apis
2021-10-11 17:41:34 +03:00
Trial97
c1ee04a794
Added *profileIgnoreFilters for stats and thresholds
2021-10-11 12:06:57 +03:00
Trial97
4e4ca41cd5
Updated cdrs
2021-10-08 11:12:50 +03:00
ionutboangiu
b92e64ee86
Use the newly implemented functions to retrieve the opts from APIOpts/config
2021-10-05 21:04:38 +02:00
porosnicuadrian
25ed4f63ea
Fixed session volume test
2021-10-05 08:31:39 +02:00
porosnicuadrian
287730b6cc
Finished session volume discount test
2021-10-04 17:38:49 +02:00
ionutboangiu
06961f22f6
Add opts struct for CDRS subsystem
2021-10-04 13:37:36 +02:00
porosnicuadrian
b311fede51
Updated accoutns code for cost increment + tests
2021-10-04 11:30:36 +02:00
Trial97
f801d747e2
Updated sessions and cdrs flag handling
2021-10-01 13:32:42 +02:00
andronache
323fa2389c
Changed opts for Sessions and CDRs
2021-09-26 11:15:57 +02:00
Trial97
7749fcd15b
Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent
2021-09-23 10:42:56 +02:00
andronache
ffcfc0bd3b
Resolved conflict
2021-09-23 08:58:09 +02:00
andronache
dc854d8459
Started test for CDRs.ProcessEvent with RateS and AccountS
2021-09-20 19:44:24 +02:00
Trial97
6a3f8ddc57
Updated config
2021-09-20 10:45:14 +02:00
DanB
c690667c75
Adding AccountS processing to CDRs
2021-09-19 15:14:16 +02:00
ionutboangiu
e819f10c76
Add AccountIDs and RateProfileIDs to Opts in cfg
2021-09-19 12:13:38 +02:00
Trial97
87ce843810
Updated services
2021-09-13 16:08:39 +02:00
ionutboangiu
a2829a3f1a
Add AttributeIDs to opts struct
2021-09-12 13:23:08 +02:00
ionutboangiu
9a51a3ea1c
Replace placeholder context with the one passed into the function in cdrs
2021-09-10 11:25:57 +02:00