Commit Graph

909 Commits

Author SHA1 Message Date
DanB
2b121bfba7 ApierV2.SetAccount fixes, integration tests 2017-01-15 20:25:18 +01:00
DanB
c94e698982 ApierV2.SetAccount modifications - optimize action plan queries using AccountActionPlan indexes 2017-01-14 19:07:06 +01:00
DanB
78b7a4b659 ApierV1 - Fix re-cache of AccountActionPlans in case of removing of ActinPlan from Account 2017-01-14 11:55:29 +01:00
DanB
852e377cc7 ApierV1.ComputeAccountActionPlans 2017-01-14 11:42:22 +01:00
DanB
e4de4a2e6c ApierV1.SetAccount and APierV1.GetAccountActionPlan using AccountActionPlans for indexing 2017-01-13 19:36:18 +01:00
DanB
5847e7fff9 SMGeneric API changes to include verb in get APIs - ActiveSessions -> GetActiveSessions, PassiveSessions -> GetPassiveSessions, MaxDuration -> GetMaxDuration, LCRSupplier -> GetLCRSuppliers 2017-01-13 13:36:29 +01:00
DanB
ce44372b0e SMGenericV1.ReplicateActiveSessions 2017-01-12 11:07:21 +01:00
DanB
3ba64f365d AccountActionPlans processed in TPReader 2017-01-11 16:09:52 +01:00
DanB
2c076c1abb Moving Guardian into it's own package so we can use it from other independent packages 2017-01-09 20:36:23 +01:00
DanB
305d13971d AccountActionPlans in stordb, cache/precache populating account action plans, tp_reader populating account action plans, tests related 2017-01-08 21:30:54 +01:00
DanB
5f4be49131 Get/Set AccountActions mapping in storage, renamed OnlineStor interface into DataDB, populate APIer cache methods with AcccountActionPlans 2017-01-06 20:12:07 +01:00
DanB
5881639473 Test new APIs 2017-01-04 20:15:50 +01:00
DanB
4da0f5dd07 Add reverse destinations and aliases to TpReader reload 2017-01-04 18:13:09 +01:00
DanB
0c2389e1aa ApierV1.ComputeReverseAliases 2017-01-04 13:48:11 +01:00
DanB
dc7cf25610 Fix for ComputeReverseDestinations 2017-01-04 12:51:53 +01:00
DanB
37e4246281 ApierV1.ComputeReverseDestinations 2017-01-04 12:32:25 +01:00
DanB
089ab3f44f ApierV1.GetReverseDestination 2017-01-04 12:16:15 +01:00
DanB
54500e38dd Fix ApierV2.GetActions querying wrong database 2017-01-02 14:41:02 +01:00
DanB
f6a1b11a3c GetCacheKeys with non shared slice 2016-12-30 12:34:22 +01:00
DanB
36bff4d663 ApierV1.GetCacheKeys implementation, precaching on start fixes #614 2016-12-28 13:06:00 +01:00
DanB
a9b10b7f65 PreloadCache -> LoadCache 2016-12-27 18:22:11 +01:00
DanB
e5f8a4147b Fix SMGV1 tests 2016-12-27 15:31:16 +01:00
DanB
4a46ca0781 Fix for reverse aliases keys 2016-12-27 14:54:40 +01:00
DanB
226fec7300 Test fixes 2016-12-23 19:56:10 +01:00
DanB
7111bf239c Apierv1.PreloadCache, ApierV1.FlushCache with options, remove Responder.FlushCache, fixes at CacheDataFromDB for all keys 2016-12-23 19:30:14 +01:00
DanB
a2955efd83 Storage CacheDataFromDB fixes for nil ids 2016-12-21 20:33:31 +01:00
DanB
03a9569190 Preload data on start, properly handle reloads when loadFromFolder or stor, ApierV1.PreloadCache method 2016-12-21 16:01:10 +01:00
DanB
da7e75e013 Cache load management improved, fixes #615, fixes #619 2016-12-19 19:07:59 +01:00
DanB
3b52f0df6d ApierV1.StartService, ApierV1.StopService, ApierV1.ServiceStatus implementation with tests 2016-12-03 14:21:12 +01:00
DanB
2f9f601db2 New ServiceManager handling dynamic service start/stop, *scheduler management through it, new CapitalizeMessage function in utils 2016-12-03 13:45:17 +01:00
DanB
2bc34cf7f1 ApierV1.SetActions - BalanceWeight as float 2016-11-30 16:02:02 +01:00
DanB
a9e4a35601 ApierV2.ExportCdrsToFile with RoundingDecimals option 2016-11-30 11:37:42 +01:00
DanB
061c13b0bf CDRExporterV1 ignoring *raw CDRs since they did not exist by the time API was created 2016-11-30 11:29:34 +01:00
Edwardro22
048203a19e Refactoring of IT Tests 2016-11-28 14:17:56 +01:00
Edwardro22
58a71d2d0b Small Fix 2016-11-28 12:52:57 +01:00
Edwardro22
916624f8b1 Small fix 2016-11-28 12:42:11 +01:00
Edwardro22
f742970ddd Merge branch 'master' of https://github.com/Edwardro22/cgrates 2016-11-28 02:04:22 +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
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
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
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
Edwardro22
1a1d15d322 Refactoring for Apier V1 2016-11-16 17:45:31 +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
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
DanB
3ba572cb4c Backwards compatible APierV1.SetActions 2016-11-11 11:20:17 +01:00