Commit Graph

771 Commits

Author SHA1 Message Date
Radu Ioan Fericean
29821162a2 eliminated engine test race 2014-11-27 19:52:32 +02: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
3e03b328b0 added destinations cache threshold 2014-11-27 14:44:20 +02:00
Radu Ioan Fericean
dac0248c15 load all destination in cache if more than 0.5 2014-11-27 12:06:47 +02:00
Radu Ioan Fericean
680985200f Using map[interface{}]struct{} instead of []interface{} in cache 2014-11-26 18:28:07 +02:00
Radu Ioan Fericean
728354331b sort only once for slice 2014-11-26 17:44:32 +02: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
030d24c417 Common GetStoredCdrs for MySQL and Postgres, partially using Gorm 2014-11-17 14:21:31 +01:00
DanB
f31ea16099 Enabling postgres config within storage_utils 2014-11-14 20:01:38 +01:00
DanB
edd8d5540f Initial Postgres support 2014-11-13 19:41:15 +01:00
DanB
d3bce53d40 SQL GetCallCostLog using gorm 2014-11-13 14:27:32 +01:00
DanB
cbd3e57397 Different GetCallCost for MySQL and Postgres 2014-11-13 12:01:42 +01:00
DanB
afb4a7e39f Update CreatedAt when working on TP inserts 2014-11-12 18:59:02 +01:00
DanB
dd132805ec Adding automatic timestamp columns to SQL 2014-11-12 10:19:29 +01:00
DanB
94317ec4f8 TP data management with PostgreSQL support 2014-11-11 11:04:39 +01:00
DanB
c773c82567 Diferential SQL testing for MySQL and PostgreSQL 2014-11-08 20:13:23 +01:00
DanB
1e9f1131ba MySQL and PostgreSQL implementing now their own Flush() 2014-11-08 18:25:55 +01:00
DanB
a05f110383 Adding Cdr table models for gorm 2014-11-04 17:25:02 +01:00
DanB
5f05a2270f SQL table.*_id into table.*_tag to finish migration towards tags instead of ids 2014-11-03 16:51:16 +01:00
DanB
d7dd56035f id->tag, tbid->id for more SQL best practices 2014-11-03 16:18:09 +01:00
Radu Ioan Fericean
63e73df8d3 failed attempt to make the test pass 2014-10-30 17:39:17 +02:00
DanB
63117baf6d TPExporter - Init the cache buffer before operating it 2014-10-21 10:33:24 +02:00
DanB
d6c97eec98 TPExporter considering fileFormat 2014-10-21 10:30:54 +02:00
DanB
771e0c49dc Fix TPExporter not properly closing the zipWriter 2014-10-20 20:06:43 +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
8a0011eda2 More methods on TPExporter 2014-10-19 20:40:55 +02:00
DanB
a1bce1f234 Adding missing tpexporter.go file 2014-10-17 19:51:26 +02:00
DanB
b7b22a39e0 Partial implementation of TPExporter, adding CgrRecordWriter interface 2014-10-17 19:49:04 +02:00
Radu Ioan Fericean
f5cf570fd3 better transaction handling 2014-10-10 14:19:53 +03:00
DanB
0ea14cb4b8 storage_sql.RemTPData completed with gorm 2014-10-09 16:21:03 +02:00
DanB
cfa42ac692 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-10-09 14:12:07 +02:00
DanB
6c02605cfd ApierV2.RemTP 2014-10-09 14:11:58 +02:00
Radu Ioan Fericean
4033a7075e start using paginator embeded object 2014-10-08 21:33:50 +03:00
Radu Ioan Fericean
4092490a3d fix test 2014-10-07 11:45:41 +03:00
Radu Ioan Fericean
c0b4a13257 more logging 2014-10-07 11:30:36 +03:00
Radu Ioan Fericean
1b7f3861c1 log time on test server 2014-10-07 11:26:28 +03:00
Radu Ioan Fericean
4b3c405dda fix account setting checks 2014-10-07 11:01:49 +03:00
Radu Ioan Fericean
578453c766 nu more empty balance map checking 2014-10-07 10:16:26 +03:00
Radu Ioan Fericean
ea57ce1384 more specifc error messages 2014-10-06 15:45:26 +03:00
DanB
b087baf068 CDRC cdr_type-> cdr_format, csv_separator->field_separator for better generics 2014-10-05 17:26:15 +02:00
DanB
47bc77d8e3 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-10-03 20:36:09 +02:00
DanB
da5652c7c0 ActionTiming should execute EnableAccount always when requested 2014-10-03 20:34:36 +02: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
Radu Ioan Fericean
8dbec8e60e fix failing test 2014-10-03 14:04:24 +03:00