ionutboangiu
8443af3a89
Relicense from GPLv3 to AGPLv3
2025-10-29 19:42:40 +01:00
ionutboangiu
43cdd396ba
add implementation for new ips module
2025-05-29 15:40:20 +02:00
arberkatellari
a168f262e2
Add dump and restore functionality for internal DBs
2025-04-06 12:08:40 +02:00
gezimbll
18644c7f0b
added option to compress CostDetails before stored in db
2025-03-20 19:37:43 +01:00
gezimbll
85bd7a50e7
updated sags service name to ranking
2024-07-14 13:39:20 +02:00
gezimbll
4d4392d196
revised comments && renamed sars to trends
2024-07-14 13:39:20 +02:00
gezimbll
6c2fbbec28
added sars model,tp,api
2024-07-14 13:39:20 +02:00
gezimbll
0012477d52
added stat aggregator profile,models,tps and apis
2024-06-30 17:45:06 +02:00
ionutboangiu
38578524da
Upgrade MongoDB driver to v1.12
...
- Set (but comment) serverAPI options (currently distinct api and
create.size BSON field are deprecated + possible others that are untested)
- Remove the custom time decoder used for mongo BSON
datetime values. The custom decoder was only converting these values
into UTC and was not any different from the default time.Time
decoder in the MongoDB driver, which also handles BSON string, int64,
and document values.
- Implement 'buildURL' function to connect to mongo (can also be
used for mysql and postgres)
- Update function names, variable names, and comments for clarity
- Replace 'bsonx.Regex' with the Regex primitive for v1.12 compatibility
- Use simple concatenation instead of Sprintf
- Declare 'decimalType' locally, replace global 'decimalType'
- Simplify several functions without altering functionality
- Converting directly from a D to an M is deprecated. We are now decoding
directly in a M.
- Used errors.As and errors.Is for proper error comparison and assertion
- Revised sloppy reassignments and added missing error checks
2023-10-27 18:51:01 +02:00
arberkatellari
f6a3af57dd
Add error handler for Mongo GetCDrs remove
2023-05-31 10:19:13 +02:00
gezimbll
5c4bf0e538
changing db type constants with leading *
2023-03-08 19:15:23 +01:00
ionutboangiu
7771de5e07
Apply go fmt project wide
2022-11-11 13:43:51 +01:00
andronache
bcb564240e
Corrected header in multiple files
2021-11-01 13:49:33 +02:00
nickolasdaniel
ce915c77a6
Removing ActionS
2021-04-01 16:33:37 +02:00
ionutboangiu
3197b3a458
Remove RateS
2021-04-01 16:33:37 +02:00
andronache
51c201e50e
Removing accounts (build.sh runs)
2021-04-01 16:33:37 +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
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
41d9599d87
Add infrastructure for Account in StorDB
2020-12-21 17:51:02 +01:00
porosnicuadrian
4fa97786ae
Integration tests for TPRateProfile + updated RateProfile Struct + tests
2020-12-10 10:18:33 +01:00
Trial97
1c9bd9d4f2
Replaced map[string]struct{} with utils.StringSet
2020-12-04 18:44:27 +01:00
TeoV
b8f0f894a5
Add infrastructure for ActionProfile for databases
2020-12-03 20:36:21 +01: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
TeoV
944e87acd2
Rename from SupplierS to RouteS ( part2 )
2020-04-30 15:54:49 +02:00
TeoV
fbc30d600e
Use regexp.QuoteMeta to escape destination when having "+" in front of it
2020-02-06 09:58:37 +01:00
TeoV
bb0803bd96
Correctly send destination with "+" when GetCDR for mongo
2020-02-06 09:58:37 +01:00
Trial97
ffef415e8c
Added cache for EventCost.FieldAsInterface
2020-02-05 18:05:53 +01:00
Trial97
9941551826
Updated apier tests
2020-01-15 16:22:47 +02:00
adragusin
076cdc48d2
Added test for duplicate key
2019-12-10 03:00:23 -05:00
adragusin
4cf69dd552
uniformed the error for duplicate key
2019-12-10 03:00:23 -05:00
TeoV
59652ed5df
Complete rest of cdr filter for internalDB
2019-10-09 16:11:37 +02:00
TeoV
a575a8b497
Check error before checking deleteCount fixes #1699
2019-10-07 11:00:56 +02:00
Trial97
e923babcee
Updated mongo storage
2019-07-18 02:54:19 -10:00
Trial97
ab77aaebc8
Downgraded mongo library
2019-07-17 04:59:52 -10:00
Trial97
c1f49a6e73
Updated glide.yaml
2019-07-16 22:42:42 -10:00
Tripon Alexandru-Ionut
a21e82e642
Added EnsureIndexes per migration for mongoDB
2019-05-02 21:27:15 +02:00
TeoV
f779dc5084
Take out SearchTerm from Paginator and add to a top level
2019-04-18 12:24:20 +03:00
Tripon Alexandru-Ionut
022ad003d6
Renamed DispatcherS CSV file to DispatcherProfiles.csv
2019-03-28 09:35:50 +01:00
Tripon Alexandru-Ionut
ad54df15f7
Added Dispatcher Hosts
2019-03-26 19:46:42 +01:00
Trial97
db1ddeaa43
Updated and added tests for *remove_session_costs action
2019-03-25 19:11:44 +01:00
Trial97
fa591c50a7
Added *remove_session_costs action. fixes#1423
2019-03-25 19:11:44 +01:00
TeoV
f1a6a5b21a
Fix merge conflict
2019-03-13 15:10:55 +01:00
TeoV
d1957d1871
Resolve merge problems and update tests from model_helpers
2019-03-13 15:10:55 +01:00