Commit Graph

2006 Commits

Author SHA1 Message Date
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
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +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
DanB
8002675a5f Fix RatingProfile caching for LCR rules, fixes #546 2016-10-26 19:26:38 +02:00
DanB
23693c2df2 SMGeneric - different tables for active and passive sessions, storage_mongo to avoid dropping system namespace on flushdb 2016-10-26 12:27:26 +02:00
DanB
77bdb0f795 Fix panic for reader when no action plan found 2016-10-21 20:23:14 +02:00
DanB
ae9f6f0c3b Adding support for *http_json_map for CDR replication with dynamic fields, fixes #563 2016-10-14 21:12:58 +02: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
3c5c41d542 Adding content_fields to CDRS replication config 2016-10-14 12:51:48 +02:00
DanB
3425a8da53 CDR.formatField implementation 2016-10-14 09:18:13 +02:00
DanB
4c56ea6f6c Slightly increase guardian timeout tests so travis can finish it's tests 2016-10-13 17:59:25 +02:00
DanB
7f44dcba69 HTTPPoster with reply timeout and connection caching for CDR replication 2016-10-13 17:54:24 +02:00
DanB
39b601780a Fix for setBalance not checking actionTriggers on default balance 2016-10-13 11:16:41 +02:00
DanB
992543872a Guardian - avoid using defer to speed up a bit 2016-10-13 10:32:58 +02:00
DanB
36bc00ae77 Mongo MatchReqFilterIndex fix, added mongo integration tests for RequestFilterIndexes 2016-10-11 15:32:08 +02:00
DanB
b167aa00e4 ResourceLimit and ReqFilterIndexes implementation in mongo driver 2016-10-10 21:01:27 +02:00
DanB
70a7d2ae75 ResourceLimiter with limits matched via db driver, MapStorage implementing RL methods 2016-10-09 13:41:56 +02:00
DanB
f6ac392439 ReqFilterIndexes in storage_interface and implemented in redis driver 2016-10-08 21:42:00 +02:00
DanB
d9c62783f8 New ReqFilterIndexer, indexes moved to standard cache 2016-10-08 19:06:35 +02:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
5eff7d9ed4 Improved Guardian, GuardIDs and UnguardIDs methods 2016-10-06 19:54:16 +02:00
DanB
d427aecde5 Simplified failover for redis, should hanle also timeouts 2016-10-04 18:24:30 +02:00
DanB
ed4a14805b Redis pool - Lock on close 2016-10-04 17:40:48 +02:00
DanB
db61fb7b67 Redis close connections on pool reinit, thanks @eloycoto 2016-10-04 17:39:20 +02:00
DanB
fd0cc1717e Improved redis reconnects 2016-10-04 17:16:20 +02:00
Dan Christian Bogos
e2030470e2 Merge pull request #551 from eloycoto/redis-client
Redis: Added method to reconnect on redis if any IOErr reply. Fix #543
2016-10-04 13:39:37 +02:00
DanB
a14e1c5d7b AsteriskARI tutorial files 2016-10-03 20:53:18 +02:00
rbarrabe
b6b683f03e Adding ExtraFields when we fork cdr
We must add the extrafields in forked cdr because this is used to create the final cdr
2016-09-28 15:42:16 +02:00
Eloy Coto
814e8bd27d Redis: Added method to reconnect on redis if any IOErr reply. Fix #543 2016-09-24 15:22:08 +01:00
DanB
da53e555b9 SMAsterisk with support for SMGClientV1.DisconnectSession 2016-09-21 12:13:04 +02:00
DanB
2c8cf6fbc0 SMGeneric with storeSMCost separately and goroutine only for large timespans 2016-09-20 18:26:15 +02:00
DanB
379f537200 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-09-20 17:35:50 +02:00