Commit Graph

897 Commits

Author SHA1 Message Date
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
DanB
12bf0667ef SMGeneric simplified active/passive table management, unified SMGenericV1.ActiveSessions and SMGenericV1.PassiveSessions logic 2016-11-10 13:32:30 +01:00
DanB
9784dc7c38 SMGeneric returning SESSSION_NOT_FOUND, unified RPC methods for SMG, rpcclient update to failover on SESSION_NOT_FOUND 2016-11-09 19:19:17 +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
955ada732f SMGeneric - faster session unindexing 2016-11-08 19:52:33 +01:00
DanB
d2afaba0a8 Fix for ApierV1.SetRatingProfile API which was reloading rating plan 2016-11-08 15:39:46 +01:00
DanB
1a946e1ce5 SMGenericV1.ActiveSessions returning NOT_FOUND for 0 active sessions, SMG one way session replication operational 2016-11-08 15:27:03 +01:00
DanB
ac56b0dc29 SMG.SetPassiveSessions using replication for all derived sessions in one message instead of individual ones for consistency, remove supported 2016-11-02 15:54:01 +01:00
DanB
b7445e5e99 Centralized replication/exports using field templates, CDRExporter with less parameters via API - moved to field templates 2016-10-14 18:35:07 +02:00
DanB
39b601780a Fix for setBalance not checking actionTriggers on default balance 2016-10-13 11:16:41 +02:00
DanB
6a0044b063 ApierV2.SetAccountActionTriggers, tests for APIerV2 2016-10-12 19:46:00 +02:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
6024cfff98 Remote locks implementation, fixes #525 2016-10-06 20:01:56 +02:00