Commit Graph

403 Commits

Author SHA1 Message Date
DanB
97e2bc9a22 Local tests fixups 2015-01-18 18:09:07 +01:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
DanB
b51b42025b Limiting destination reloads for ApierV1.LoadDestination and adding PreventCacheReload parameter to API 2015-01-05 20:34:46 +01:00
DanB
6808f41414 Following changes in gorm, fix tests, removed count CDRs 2014-12-26 11:43:08 +01:00
DanB
9c7b8bd5b9 Outdated localtest fix balances 2014-12-07 13:30:18 +01:00
DanB
18d173d0fb Small correction Apier test 2014-12-07 12:27:17 +01:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +01:00
DanB
328bb416b2 Tests fixup using the new functions in libtests 2014-12-05 18:55:25 +01:00
DanB
91ff8f5147 Engine to initialize database only when needed, improved db.Flush(), more CdrsV2 local tests 2014-12-05 18:43:30 +01:00
Radu Ioan Fericean
9b40c20915 topup/debit reset only reseting matched balances 2014-12-05 13:26:38 +02:00
Radu Ioan Fericean
524e2cc94d added balance tag for action 2014-12-04 20:13:19 +02:00
Radu Ioan Fericean
2dd3f6527d added balance tag for action triggers
also chenged the names of direction and destination params (prefixxed
with balance)
2014-12-04 20:13:19 +02:00
DanB
dd5cf17d7b Initial tests for CdrsV2 for both mysql and postgres 2014-12-04 14:31:26 +01:00
DanB
42a71347e8 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 20:31:36 +01:00
DanB
24866c8460 ApierV2.CountCdrs method 2014-11-27 20:30:46 +01:00
DanB
bb3f677f50 Adding count parameter to GetStoredCdrs 2014-11-27 20:27:36 +01:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
DanB
fdfb90a16d Adding ApierV2.GetCdrs method 2014-11-27 19:34:31 +01:00
DanB
b53f18381e Merge branch 'master' of https://github.com/cgrates/cgrates 2014-11-27 18:01:53 +01:00
DanB
93a7e59744 GetStoredCdrs taking now a struct as filter to simplify code testing it 2014-11-27 18:01:41 +01:00
Radu Ioan Fericean
72c3d1ac29 another optimization for stale dest ids 2014-11-26 16:39:33 +02:00
Radu Ioan Fericean
5f7fac2f64 restructuring and optimizations
- moved misc and pkg to data/scripts
- started recover procedure
- optimized clean stale ids
2014-11-26 15:07:14 +02:00
DanB
489c17c561 Refactored GetStoredCdrs method to increase the number of items being queried 2014-11-26 13:48:07 +01:00
DanB
ad4d86ab6f Small test fixup apier 2014-11-14 20:07:07 +01:00
DanB
d7dd56035f id->tag, tbid->id for more SQL best practices 2014-11-03 16:18:09 +01:00
Radu Ioan Fericean
8df256fb8d converted string param to struct 2014-10-21 14:14:43 +03:00
DanB
d6c97eec98 TPExporter considering fileFormat 2014-10-21 10:30:54 +02:00
DanB
c9f2d5d5a2 TPExporter with compress function, ApierV2.ExportTPToZipString method 2014-10-20 19:21:52 +02:00
DanB
bdf354afeb ApierV2.ExportTPToFolder 2014-10-20 12:46:47 +02:00
DanB
99e3a74604 Completing TPExporter methods 2014-10-20 11:12:35 +02:00
DanB
b7b22a39e0 Partial implementation of TPExporter, adding CgrRecordWriter interface 2014-10-17 19:49:04 +02:00
DanB
f1927bcd39 Adding RemTP api file 2014-10-12 13:57:29 +02:00
DanB
c744cd5ef2 Small local test fixup following AttrGetTPRatingPlan modifications 2014-10-09 14:22:30 +02:00
Radu Ioan Fericean
4033a7075e start using paginator embeded object 2014-10-08 21:33:50 +03:00
Radu Ioan Fericean
732cd57538 filters for SearchTerm 2014-10-03 19:15:39 +03:00
DanB
3756919342 Adding maximumConnections and maximumIdleConnections on database side 2014-10-03 16:30:50 +02:00
DanB
cd5a44f545 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-10-02 19:04:54 +02:00
DanB
e4c9cf561a Refactoring CDRE and CDRC configurations and functionality 2014-10-02 19:02:23 +02:00
Radu Ioan Fericean
88791968ef pagination for cdrs and more api for cache and accounts 2014-10-01 18:28:38 +03:00
Radu Ioan Fericean
b4d743b73b saner hoepfully better GetNextTime
also improved status response
2014-09-30 00:21:51 +03:00
DanB
f609acd335 ExportCdrsToZipString keeping original file name and generating now metadata file 2014-09-23 14:07:53 +02:00
DanB
134f0ead17 FieldSeparator as string instead of rune inside ExportCdrs API 2014-09-23 12:21:02 +02:00
DanB
bfcb317501 ExportCdrsToZipString API when there are no records to be exported 2014-09-22 18:41:24 +02:00
DanB
7454bc14f4 CdrExporter API should ignore empty fields 2014-09-22 17:36:17 +02:00
DanB
09c392dfa5 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-09-19 16:40:07 +02:00
Radu Ioan Fericean
f79a173aa6 refactor for v1 and v2 api
added Load api for multiple id resources
2014-09-18 19:58:50 +03:00
Radu Ioan Fericean
788d3c37a4 load cdr stats and shared groups 2014-09-16 17:00:02 +03:00
Radu Ioan Fericean
59bb827dd8 load derived chargers apier method 2014-09-15 19:57:12 +03:00
DanB
340300f2db Sleep after pkill in local tests so the sockets are freed 2014-09-10 18:25:21 +02:00
Radu Ioan Fericean
4d2ff245ad small load destination fix 2014-09-10 18:07:43 +03:00