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
TeoV
b3f7769cb7
Add support for Mongo for different Marshaler
2020-03-01 17:28:31 +01:00
TeoV
35d19ab4b2
Add TTL option for DataDB/StorDB for type *internal
2020-01-14 08:42:10 -05:00
Trial97
28cc543389
Updated NewInternalDB
2019-12-02 11:07:48 +02:00
DanB
33483edc93
Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON
2019-11-29 20:54:32 +01:00
Trial97
f6bbccb213
Remove redundant functions
2019-11-09 15:55:49 +01:00
TeoV
722f74f652
Update integration tests
2019-10-30 14:43:10 +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
cf7a397c4c
Implement a model for get/set CDRs 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
a27a03b7f6
Implement more methods for InternalDB
2019-10-04 20:17:40 +02:00
TeoV
a6eb92d448
Start Adding InternalStorage instead of MapStorage
2019-10-04 20:17:40 +02:00
TeoV
22250fe9cc
Add Wrapper for CDR and ExternalCDR and use it in methods
2019-04-08 17:59:57 +02:00
TeoV
870637077f
Finish adding CDRS in DispatcherS and update methods from CDRs to other subsystems
2019-04-08 17:59:57 +02:00
Trial97
7446aea042
Separeted mongo storeDB and dataDB Versions
2018-12-17 13:42:10 +01:00
Trial97
c23476c358
Added separate config structures for: HTTP config, Listen config, RalS config.
2018-10-31 11:02:30 +01:00
TeoV
83f21c17fe
Update redis sentinel to accept multiple sentinels and failover
2018-10-05 13:38:29 +02:00
TeoV
25e3cda1d7
Allow engine to connect to a redis sentinel(+test)
2018-10-03 14:06:22 +02:00
TeoV
739edadea8
Fixes #1185
2018-08-30 12:55:13 +02:00
TeoV
ba71e7f234
Update config for internal dataDB
2018-07-03 16:58:07 +02:00
TeoV
85f73f2773
Add support for *internal as dataDB and storDB
2018-07-03 16:58:07 +02:00
TeoV
3bc1cd511a
Add new infrastructure for migrator
2018-05-09 17:36:05 +02:00
DanB
e48319c709
Migrator SessionSCosts v2->v3, incremental updates
2018-04-27 15:44:41 +02:00
DanB
cb7d471fd0
CDR with EventCost instead of CallCost as CostDetails
2018-04-27 11:56:46 +02:00
DanB
037bb1f0d8
Skel for TPLoader and TPcsvReader, changed file perms in engine
2018-03-11 19:41:30 +01:00
DanB
0cb9dca9a2
Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates
2017-11-09 18:27:09 +01:00
TeoV
88839537ac
DataDB -> DataManager
2017-10-09 14:59:27 +03:00
edwardro22
b651b06826
Removed copyright from go doc
2017-09-10 15:02:46 +00:00
edwardro22
2c7d27745c
Versioning fix
2017-09-07 15:00:18 +00:00
Edwardro22
548d84dac3
added tests
2017-07-29 11:19:29 +03:00
DanB
49674ada90
Config precache: false, using the ltcache
2017-07-24 17:49:08 +02:00
DanB
6dc3289772
StorDB config conn_max_lifetime, fixes #684
2017-07-02 15:25:30 +02:00
DanB
2341ea95aa
EventCost Clone and initial Trim methods
2017-05-23 19:08:54 +02:00
DanB
f4a665d185
Small optimization ApierV1.SetTPDerivedChargers
2017-05-22 11:08:27 +02:00
alin104n
d788452933
Accounting, Rating DBs merge, TPModels in StorDB
2017-04-03 21:17:12 +03:00
DanB
6e535f11af
MongoDB driver does not longer handle indexing on each connection
2016-11-16 20:58:01 +01:00
DanB
401625861d
Updated project README, COPYRIGHT information
2016-09-02 13:04:34 +02:00
rbarrabe
14c85a90ea
Update storage_utils.go
2016-08-30 11:29:13 +02:00
Radu Ioan Fericean
747af43f8d
initialize cache with config object
2016-08-15 23:05:55 +03:00
Radu Ioan Fericean
8e4573cc66
replaced logdb with pubsub
2016-07-18 21:40:25 +03:00
Radu Ioan Fericean
58e9acae74
manual tests ok
2016-06-30 18:07:40 +03:00
Radu Ioan Fericean
817b37b72b
optimized cache dump
2016-06-14 23:27:44 +03:00
Radu Ioan Fericean
ec3375d73a
test for wrong gob
2016-03-31 21:34:51 +03:00
DanB
608f430db7
Storage - SetSMCost and GetSMCost deprecating LogCallCost and GetLogCallCost, CDRS.StoreSMCost method, adding sm_costs indexes for cgrid+runid and originhost+originid in all dbs supported
2016-03-26 22:17:10 +01:00
Radu Ioan Fericean
4ff66e0883
populate cdr Usage
2016-03-24 17:39:47 +02:00
Eloy Coto
ceb6760cd4
Added error details on connections
2016-02-05 10:48:18 +00:00
DanB
140e6f2da8
MongoDb configurable indexes in cgrates.json, fixes #340
2016-01-01 16:22:47 +01:00