Commit Graph

61 Commits

Author SHA1 Message Date
arberkatellari
5b66678313 Add offline internal DB functionality for dataDB,storDB & configDB 2025-05-13 17:07:17 +02:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
fee2712a23 chore: replace interface{} with any 2024-09-05 20:46:40 +02:00
ionutboangiu
555a143b79 Take out cdrID from SetCDR parameters 2023-12-12 10:09:18 +01:00
ionutboangiu
d29f84169c Move cdrs to its own package
Moved engine/cdr.go to utils/cdr.go.
Moved engine/cdrs.go and engine/cdrs_test.go to cdrs package.
Moved api functions from cdrs/cdrs.go to cdrs/apis.go. Same for the
tests.
Deleted CDRsV1 type and its methods.
2023-12-12 10:09:18 +01:00
ionutboangiu
1cec3751e4 Update SetCDR signature to include the cdrID
Updated mongo indexing for cdrs to take into consideration only the
opts.*cdrID field.

Fixed cdrs_it_test.go test.

Before storing CDRs in CDR processEvents, we are now temporarily generating
the *cdrID in APIOpts (until we decide where this should happen).
2023-12-12 10:09:18 +01:00
ionutboangiu
2ccd6ca74d Add context.Context in SetCDR func signature 2023-12-12 10:09:18 +01:00
ionutboangiu
d5039b3ce8 Add CDRs CRUD queries back and remove TP functions 2023-11-09 20:50:36 +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
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
53474406e3 Started removing timing 2021-05-18 15:01:27 +02:00
andronache
c3e7337cdf Continue removing destination 2021-05-13 16:12:15 +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
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
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +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
TeoV
41d9599d87 Add infrastructure for Account in StorDB 2020-12-21 17:51:02 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
TeoV
b8f0f894a5 Add infrastructure for ActionProfile for databases 2020-12-03 20:36:21 +01:00
Trial97
fbc2af6845 Updated EventCost FieldAsInterface. Fixes #2375 2020-12-02 17:05:01 +01:00
Trial97
8486697829 Updated integration tests 2020-11-27 08:41:56 +01:00
Trial97
7bf4c2ddb8 Updated GetCDRs filtering for internalDB 2020-08-14 12:11:26 +02:00
Trial97
c85e0389bc Updated GetCDRs for internalDB 2020-08-13 17:05:22 +02:00
Trial97
a9f0a9429b Added tests for GetCDRs with internalDB 2020-08-13 11:34:53 +02:00
Trial97
f4fe295cd1 Updated internalDB integration tests 2020-06-29 18:11:20 +03:00
Trial97
2e38389381 Updated unit tests 2020-06-29 18:07:53 +03:00
Trial97
1c11b4f785 Added cache instead of internalDB 2020-06-29 18:07:53 +03:00
TeoV
21773a185d Update RateProfile to use map[string]*Rate instead of slice 2020-06-15 15:13:16 +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
Trial97
3b9b2895e0 Added OrderedNavigableMap implementation 2020-05-07 11:17:41 +02:00
TeoV
944e87acd2 Rename from SupplierS to RouteS ( part2 ) 2020-04-30 15:54:49 +02:00
Trial97
963c2a278e Optimized GetTpTableIds in internal stordb 2020-04-03 11:54:51 +02:00
Trial97
228a128ad4 Updated GetTpTableIds for internal stordb 2020-04-03 10:30:26 +02:00
TeoV
d7e421911d Implement GetTpIds method for InternalDB as StorDB 2020-03-02 10:10:57 +01:00
adragusin
3eaf3232a1 Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2 2020-01-30 14:06:48 +01:00
Trial97
9285d5ba2e Updated internal stordb GetCDRsCount 2020-01-28 10:07:34 +01:00
Trial97
a3c5c1fa25 Updated internalDB.GetCDRs for *exist case 2020-01-21 17:07:52 +02:00
Trial97
c3445c93bd Updated internalDB.GetCDRs 2020-01-21 16:25:50 +02:00
Trial97
9a7561c4de Updated versions integration tests 2020-01-21 16:25:50 +02:00
TeoV
0d796fd416 Finish implementing partial CDR in ERs 2020-01-21 11:31:59 +02:00
Trial97
9941551826 Updated apier tests 2020-01-15 16:22:47 +02:00
Trial97
712a1fd2da Updated services reload 2020-01-06 17:43:54 +02:00
DanB
5fc2dc9092 CDRsV1.ProcessEvent with refund for AccountableRequestTypes 2019-12-08 19:44:42 +01:00