Commit Graph

940 Commits

Author SHA1 Message Date
DanB
2fd0c9a4d7 SMGenericV2 GetMaxUsage, InitiateSession, UpdateSession API methods returning time.Duration, improvements on RadiusAgent 2017-06-06 13:24:24 +02:00
DanB
2341ea95aa EventCost Clone and initial Trim methods 2017-05-23 19:08:54 +02:00
DanB
4479eef14d Adding SMGenericV1.SetGZIPpedPassiveSessions using GZIP compressed arguments 2017-05-14 14:08:58 +02:00
DanB
5378c511b6 SMKamailio replacing cdrstats with rls in config, resource limit APIs in auth and call end, ResourceAllowed in auth reply 2017-05-07 21:13:49 +02:00
DanB
2c38d4ffac ResourceLimits with standalone RPC object, renaming of RPC methods 2017-05-06 21:28:43 +02:00
DanB
2398543c94 Storage mongo - convert tag into id for generic get functions 2017-04-14 19:26:51 +02:00
DanB
8995246ac0 Empty default password for stordb to avoid mongo issues, tests fixups 2017-04-13 21:51:16 +02:00
alin104n
c854d00868 TP Renames 2017-04-04 11:07:09 +03:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
afabe6fe14 Configurable number of accounts in concurrent A1it tests 2017-03-12 18:44:35 +01:00
DanB
fee86d2d28 Small fixes build 2017-03-08 14:43:27 +01:00
DanB
8435a0d676 Protect GetAccountActionPlan 2017-03-08 14:40:57 +01:00
DanB
9a37c384cf Various improvements for the new StorDB code to work 2017-03-02 18:56:57 +01:00
DanB
dc1e774676 ApierV1.SetActionPlan, improved caching for AccountActionPlans 2017-02-19 10:06:50 +01:00
DanB
aef3022900 ApierV1.SetActionPlan should also modify AccountActionPlans index 2017-02-19 09:33:52 +01:00
DanB
dd8ba0087f Apier SetAccount reloading always scheduler for repetitive scenarios using same actionPlan 2017-02-17 21:10:54 +01:00
DanB
00fc841e43 Adding ApierV2.ExportCdrsToFile API for backwards compatibility 2017-02-17 16:02:47 +01:00
DanB
dcbe8b1882 ApierV1.ExportCDRs API 2017-02-17 15:28:39 +01:00
DanB
50440f5490 CDRS using goroutines for rating to release the CDR faster, tests improvements 2017-02-16 10:50:08 +01:00
DanB
d27dc06e7d CDRExporter redesign, modified configuration parameters, CDRS replication -> online_cdr_exports 2017-02-14 17:41:30 +01:00
DanB
56fb801b4a Fix ApierV1.GetScheduledActions, unify SetAccount logic between v1 and v2 apis 2017-02-10 20:18:23 +01:00
DanB
c6d07d6701 ApierV1.ReplayFailedPosts with support for *amqp, fix default replication teplate 2017-02-08 17:06:34 +01:00
DanB
6e9781f57f Tests for SMG PassiveSessionsReplication, small typo fix in API 2017-01-31 18:44:28 +01:00
DanB
0624782b91 SMGenericV1.ReplicatePassiveSessions API 2017-01-31 17:58:11 +01:00
DanB
93f8076e21 Support for *none as fallback file path for Poster 2017-01-31 16:58:27 +01:00
DanB
66f4f9a46e Tests for ApierV1.ReplayFailedPosts, various fixes 2017-01-31 16:22:03 +01:00
DanB
54f4bdee05 Config changes: httpposter_attempts -> poster_attempts, failed_requests_dir -> failed_posts_dir 2017-01-31 12:48:01 +01:00
DanB
0fd4ae8b36 ApierV1.ReplayFailedPosts 2017-01-30 20:40:39 +01:00
DanB
839a754a43 Enabling Bidirectional RPC in SMGeneric 2017-01-24 20:45:10 +01:00
DanB
2aafea27df Fix ApierV1.RemActionTiming for reverse indexing accountsActionPlans 2017-01-24 16:48:20 +01:00
DanB
f5314bb83e Scheduler actSuccessStats, actFailedStats with update mechanism and tests 2017-01-22 20:31:07 +01:00
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