Commit Graph

2035 Commits

Author SHA1 Message Date
DanB
b1bdbfc5a7 CacheDataFromDB for RatingProfiles, various redis/mongo fixes 2016-11-29 21:22:45 +01:00
DanB
c1e4d46c9c Adding ReverseDestinations and RatingPlan to CacheDataFromDB, remove automatic caching for SetRatingPlan 2016-11-29 18:33:21 +01:00
DanB
9ed59f99cd Fix caching for empty RL in redis driver, tests 2016-11-29 13:13:43 +01:00
DanB
7919e3c253 New OnlineStorage interface for unifying rating and accounting database, unifying storage tests into onstor_it_test via subtests 2016-11-28 20:13:44 +01:00
DanB
18e920c43f CacheDataFromDB method for mongo 2016-11-28 18:50:35 +01:00
DanB
ba7e60c3fe PartialCDR integration test fix 2016-11-28 18:35:51 +01:00
DanB
7e49647ee4 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-28 14:58:02 +01:00
DanB
b8529af350 Storage inteface CacheDataFromDB, implementation in redis with tests, fix for destination not being cached in redis 2016-11-28 14:57:58 +01:00
Edwardro22
048203a19e Refactoring of IT Tests 2016-11-28 14:17:56 +01:00
Edwardro22
916624f8b1 Small fix 2016-11-28 12:42:11 +01:00
Edwardro22
46c240bc8e Reformated integration tests 2016-11-28 03:49:53 +01:00
Edwardro22
f742970ddd Merge branch 'master' of https://github.com/Edwardro22/cgrates 2016-11-28 02:04:22 +01:00
DanB
62f4f14d55 Storage.GetActions using GetCloned 2016-11-25 20:24:00 +01:00
DanB
309878d418 Fix Actions.Clone(), activate test 2016-11-25 19:43:39 +01:00
DanB
f29def2577 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-25 19:28:18 +01:00
DanB
9364546080 Small cleanups 2016-11-25 19:28:11 +01:00
Regis
d66fee8403 TestCacheGetClonedActions 2016-11-25 17:55:14 +01:00
Regis
0e306e59b8 Cloned actions 2016-11-25 17:31:44 +01:00
rbarrabe
21575ef782 Update action.go 2016-11-25 16:43:47 +01:00
DanB
493bd89625 Storage revert GetActions without clone 2016-11-25 15:23:20 +01:00
DanB
99827c51ff Redis and mongo driver using getCloned to retrieve actions 2016-11-25 15:07:08 +01:00
DanB
ece5e0309c Fix cache key for GetActionPlan in mongo driver 2016-11-25 14:52:26 +01:00
Dan Christian Bogos
b2f643be36 Merge pull request #599 from rbarrabe/patch-4
GetClone for actions
2016-11-25 14:38:12 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
Regis
d3f71279c4 GetClone for actions 2016-11-25 13:56:16 +01:00
rbarrabe
73d8147a56 Update storage_mongo_datadb.go 2016-11-25 10:18:26 +01:00
DanB
596f19c8bc CDRC - allow RunID value on import 2016-11-24 15:39:56 +01:00
DanB
22038034cc CallDescriptor.AllowNegative -> DenyNegativeAccount, ApierV1.DebitUsageWithOptions modifications 2016-11-24 14:42:20 +01:00
DanB
99750d6098 Merge branch 'debitusage-respect-negative-bal' of git://github.com/shaneneuerburg/cgrates into shaneneuerburg-debitusage-respect-negative-bal 2016-11-24 13:12:27 +01:00
DanB
ea17c83172 CDRS - require content_fields only for *http_json_map and *http_post replication 2016-11-23 13:06:22 +01:00
DanB
9966f2bf19 TestCDRAsExportMap 2016-11-23 11:35:51 +01:00
DanB
ef50f8bd83 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-22 18:13:49 +01:00
DanB
e657fb3ca8 GetActionPlan from cache with GetCloned 2016-11-22 18:13:35 +01:00
DanB
6a7610ef21 Cache GetCloned method 2016-11-22 17:39:53 +01:00
Dan Christian Bogos
a90d5f853c Merge pull request #596 from rbarrabe/patch-3
Delete accountID only if it exist
2016-11-22 14:22:18 +01:00
Regis
337cc09abb adding test for action remvove_account 2016-11-22 14:11:51 +01:00
DanB
8f2379ed5c Mongo storage TPDestination format change, APierV2.SetTPDestination and GetTPDestination using Tag instead of DestinationId to have a common format before TP data 2016-11-22 12:55:43 +01:00
rbarrabe
20d2cee425 Delete accountID only if it exist 2016-11-22 10:54:44 +01:00
DanB
6170f8cbf4 TPDestination.DestinationId -> DestinationID 2016-11-17 17:03:01 +01:00
Edwardro22
8c0112897a Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-17 14:14:14 +01:00
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +01:00
Edwardro22
667c180f30 Renamed integration tests 2016-11-16 23:55:03 +01:00
Edwardro22
561ca44d4a integration tests redesign 2016-11-16 23:50:50 +01:00
DanB
6e535f11af MongoDB driver does not longer handle indexing on each connection 2016-11-16 20:58:01 +01:00
DanB
0dd2ca8917 ApierV2 tests redesign, use build tags and subtests for code compressing and good readability 2016-11-16 14:57:31 +01:00
DanB
37ca876db4 Small cleanups SMGeneric 2016-11-14 21:04:26 +01:00
DanB
a5b7177f39 Account.setBalanceAction - balanceType not longer mandatory if balance exists 2016-11-14 12:55:09 +01:00
DanB
ed87edac4c Adding ApierV1.AddTriggeredAction, ApierV1.SetActions with float64 as units for backwards compatibility 2016-11-12 10:00:10 +01:00
Shane Neuerburg
ccb8be59b2 Add DebitUsageWithOptions endpoint
This endpoint allows the caller to determine if the account should be allowed to go negative.
2016-11-08 13:24:59 -07:00
DanB
37c853cb91 RPCClient with lazyConnect 2016-11-08 16:03:30 +01:00