ionutboangiu
a7c785d925
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)
- Rename and refactor 'TimeDecodeValue1' to 'decodeTimeValue', add
nil case handling
- 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 'timeType' locally, replace global 'tTime'
- Use 'RegisterTypeDecoder' to replace deprecated 'RegisterDecoder'
- Simplify several functions without altering functionality
- Remove redundant 'storageType' field in 'mongoStorage',
use 'isDataDB' instead
2023-07-04 13:19:31 +02:00
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
ionutboangiu
a748ab629e
Apply gofmt simplify code
2022-12-02 14:24:18 +02:00
Trial97
db3bf9f40d
Updated build tags
2021-08-30 17:55:51 +03:00
TeoV
b3f7769cb7
Add support for Mongo for different Marshaler
2020-03-01 17:28:31 +01:00
TeoV
0afe33e999
Update with consts in tests
2020-03-01 17:28:31 +01:00
adragusin
35e5fb2f9d
renamed dbType *sql to *mysql
2020-01-29 16:54:54 +01:00
adragusin
d7a5fc7ebf
Updated IT tests in engine
2020-01-15 03:05:02 -05:00
TeoV
35d19ab4b2
Add TTL option for DataDB/StorDB for type *internal
2020-01-14 08:42:10 -05:00
adragusin
076cdc48d2
Added test for duplicate key
2019-12-10 03:00:23 -05:00
Trial97
8d655d8b57
Added sslmode for storDB config. Fixes#1715
2019-10-28 18:00:32 +01:00
Trial97
61fc8c98a3
Added DataManager as Service
2019-10-28 12:17:15 +01:00
TeoV
d3e7867535
Add StorDBPrefixIndexedFields for customize cdr indexes for InternalDB
2019-10-04 20:17:40 +02:00
TeoV
d930e82886
Add tests for Offline TariffPlans
2019-10-04 20:17:40 +02:00
TeoV
67544007a4
Implement (partially)StorDb functionality for MapStorage ( internal database)
2019-10-04 20:17:40 +02:00
TeoV
11597c1119
Implemnt functionality for TPTimings in MapStorage
2019-10-04 20:17:40 +02:00
Trial97
db1ddeaa43
Updated and added tests for *remove_session_costs action
2019-03-25 19:11:44 +01:00
Trial97
a68c76c952
Updated config_path to accept url as path to file
2019-03-14 12:40:19 +01:00
TeoV
0f52fd610c
Finish update for Stats and update integration tests
2019-03-13 15:10:55 +01:00
TeoV
56b5532a3d
Update integration tests
2019-03-13 15:10:55 +01:00
Trial97
8022b4c99e
Updated mongodb driver timeout
2019-03-08 15:34:01 +01:00
TeoV
1cb3e3984a
Parameters from stats go in MetricID ( *sum#FieldName;*acd;*average#Fld2)
2019-03-06 14:20:50 +01:00
Trial97
b8ff4bdfd9
Removed DerivedChrgerS
2019-02-19 16:42:33 +01:00
Trial97
b87dbf650d
Removed UserS and modified some meta consts
2019-02-18 12:37:50 +02:00
Trial97
7442753ed3
Removed AliaseS
2019-02-15 18:01:22 +02:00
DanB
4c0c162c95
Integration tests update for Balances without Direction
2019-02-13 12:51:47 +01:00
DanB
529159cd0b
Updating integration tests with RatingProfiles.csv changes
2019-02-11 19:08:34 +01:00
TeoV
f42ba86f84
Update integration test for tp
2019-01-09 11:24:46 +01:00
Trial97
7446aea042
Separeted mongo storeDB and dataDB Versions
2018-12-17 13:42:10 +01:00
TeoV
8af148da1a
Remove CDRStats and LCR
2018-11-21 18:28:33 +01:00
Trial97
fefa4317bf
Added StroreDb config
2018-10-05 14:40:42 +03:00
TeoV
25e3cda1d7
Allow engine to connect to a redis sentinel(+test)
2018-10-03 14:06:22 +02:00
Anevo
01156be0c7
Updated integration tests after recent update
2018-05-30 20:05:18 +03:00
TeoV
858e337c39
Clean code
2018-04-27 17:26:23 +02:00
TeoV
a48dc072d9
Update integration test to work with new CallCost
2018-04-27 17:26:23 +02:00
DanB
037bb1f0d8
Skel for TPLoader and TPcsvReader, changed file perms in engine
2018-03-11 19:41:30 +01:00
TeoV
56cd0fd115
ResourceProfile.Thresholds -> ThresholdIDs
2018-01-31 11:32:45 +01:00
TeoV
d9261b21dd
StatQueueProfile.Thresholds -> ThresholdIDs
2018-01-31 11:32:45 +01:00
TeoV
09a5712c15
Update Mongo Driver
2018-01-22 18:30:40 +01:00
edwardro22
77b5a25d22
Updated SetThresholdProfile to work with indexes
2018-01-03 12:07:31 +01:00
TeoV
10a8d02d36
Update integration_tests
2017-10-31 12:00:28 +01:00
TeoV
313c7fc0ff
Update Model_helpers and tp_reader
2017-10-27 14:33:56 +02:00
TeoV
c16ce4ba29
Add FilterIDs in StatQueue and FilterS in StatS
2017-10-27 12:52:55 +02:00
TeoV
05a009c5e1
Add MinItems in Stat and update stats_it_test.go
2017-09-29 15:15:38 +03:00
edwardro22
7e3821bc94
Fixed the detection of new schema in versions,fixes #750
2017-09-28 10:43:14 +02:00
edwardro22
54133db99b
Formated code
2017-09-13 15:08:24 +00:00
edwardro22
40cd82dc26
Added Tenant field to TPstats
2017-09-12 08:45:53 +00:00
edwardro22
4cd54e9ab7
Refactored versions and added tests
2017-09-06 18:48:02 +00:00
TeoV
f8fecaa314
Add tpresources_it_test.go and refactoring tpstats_it_test.go with subtests
2017-09-04 06:31:20 -04:00
TeoV
10b66b75eb
Fix for rename ResourceLimit -> Resource and fix from storage_mongo_datadb.go GetKeysForPrefix
2017-09-01 07:39:29 -04:00