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
ionutboangiu
62619ba3a5
Replace interface{} with any
2023-06-05 10:55:32 +02:00
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
ionutboangiu
1436bac61c
Remove unnecessary paranthesis
2022-12-02 14:24:18 +02: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
Trial97
a2a340f251
Updated ApierV1.SetRatingProfile and ApierV1.RemoveRatingProfile. Fixes #3186
2021-08-19 17:47:23 +02:00
Trial97
ca50dd2f73
Updated actionplan cache tests
2021-06-08 12:05:51 +02:00
Trial97
a6aa435a8d
Updated AcionPlans
2021-06-08 12:05:51 +02:00
TeoV
3461db493d
[CacheS] CacheDataFromDB only if limit for items is different than 0
2020-05-11 17:10:25 +02:00
TeoV
b3f7769cb7
Add support for Mongo for different Marshaler
2020-03-01 17:28:31 +01:00
adragusin
35e5fb2f9d
renamed dbType *sql to *mysql
2020-01-29 16:54:54 +01:00
Trial97
999aabdf9f
Updated FieldName for attributes
2020-01-20 14:44:36 +02:00
Trial97
6764260be4
Added *req as requirement fro attributes FieldName
2020-01-17 08:28:52 +02: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
TeoV
7b72c943a0
Add connections from remote and replicate throuh ConnManager
2020-01-06 09:27:34 -05:00
TeoV
7b9de8fd73
Remove prefix when setting items in InternalDB
2019-12-04 02:31:39 -05:00
Trial97
23da9b52c7
Updated engine.GetFilter and DataDB service
2019-12-02 17:52:01 +02:00
TeoV
11fa04f3d0
Implement rest of methods from StorageInterface in DataManager
2019-11-21 12:58:27 +01:00
TeoV
af1cfc64c8
Implement Replication for all Set Methods
2019-11-20 19:48:14 +01:00
TeoV
0f0c05633e
Add Destination/ReverseDestination methods in DataManager
2019-11-20 10:54:31 +01:00
TeoV
4000890138
Implement GetAccountActionPlans in DataManager
2019-11-12 11:45:59 +01:00
TeoV
65113f2739
Clean logs and update AccountAction method when remoteDMs are set
2019-11-12 11:45:59 +01:00
TeoV
4edda324e0
Add more tests
2019-11-12 11:45:59 +01:00
TeoV
cc0855ce83
Rename GetAccount with GetAccountDrv and add GetAccount in DataManager
2019-11-07 17:52:59 +01:00
TeoV
714e37fa63
Populate in data manager rmtDataDbConns and rplDataDBConns
2019-11-03 12:59:10 +01:00
Trial97
c718f90b89
Updated engine integration tests
2019-10-30 12:19:31 +01: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
2c8d717007
Finishing implemented datadb methods for InternalDB
2019-10-04 20:17:40 +02:00
TeoV
53018880b8
Move Constants from engine/action.go to utils
2019-08-07 21:37:58 +02:00
Tripon Alexandru-Ionut
33a243d3f4
Added tests for CompressFactor
2019-04-05 16:14:53 +02:00
Tripon Alexandru-Ionut
19d3cf4fd9
Updated stat metrics with CompressFactor
2019-04-05 16:14:53 +02:00
Tripon Alexandru-Ionut
7b6674e4b5
Added CompressFactor to StatMetric
2019-04-05 16:14:53 +02:00
TeoV
6e9187754f
Rename Substitute with Value for AttributeS
2019-04-05 13:11:06 +02:00
TeoV
23a8062b58
Moving Cache for Dispatcher
2019-03-25 17:40:51 +01:00
TeoV
ecdfda51ae
Moving cache for Filter and update cgr-console
2019-03-25 17:40:51 +01:00
TeoV
3ac9852e2f
Move Caching for Resource
2019-03-25 17:40:51 +01:00
TeoV
8718b21f52
Move caching for ChargerProfile
2019-03-25 17:40:51 +01:00
TeoV
950907c366
Update Set/Remove ThresoldProfile
2019-03-25 17:40:51 +01:00
TeoV
6f25a4a779
Update Apier Set/Remove StatQueues
2019-03-25 17:40:51 +01:00
TeoV
06e8b9ea85
Move defaultCaching in general config
2019-03-25 17:40:51 +01:00
TeoV
dac77f99ea
Start Updating integration tests
2019-03-25 17:40:51 +01:00
Trial97
a68c76c952
Updated config_path to accept url as path to file
2019-03-14 12:40:19 +01:00
TeoV
56b5532a3d
Update integration tests
2019-03-13 15:10:55 +01:00
TeoV
9214301de3
Finish integration test for Attribute V3
2019-03-06 14:20:50 +01:00
TeoV
a5ee8e8398
New AttributeProfile structure ( version3)
2019-03-06 14:20:50 +01:00