Commit Graph

186 Commits

Author SHA1 Message Date
DanB
030d24c417 Common GetStoredCdrs for MySQL and Postgres, partially using Gorm 2014-11-17 14:21:31 +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
1e9f1131ba MySQL and PostgreSQL implementing now their own Flush() 2014-11-08 18:25:55 +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
DanB
99e3a74604 Completing TPExporter methods 2014-10-20 11:12:35 +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
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
Radu Ioan Fericean
788d3c37a4 load cdr stats and shared groups 2014-09-16 17:00:02 +03:00
DanB
f71aa8483c Load DerivedChargers 2014-09-09 19:11:25 +02:00
DanB
5a33e70793 TPImporter for SharedGroups and DerivedCharging 2014-09-02 18:37:11 +02:00
DanB
1e75bfed20 TP_ID_SEP -> CONCATENATED_KEY_SEP, apier_local_tests fixes for gorm 2014-09-02 16:58:16 +02:00
DanB
62f53af8c0 Modified TPImporter to cope with new storage_sql methods 2014-09-02 11:00:36 +02:00
Radu Ioan Fericean
97d2277642 remove query logging 2014-08-25 19:41:28 +03:00
Radu Ioan Fericean
c232640363 add pagination and search for resource ids 2014-08-25 19:31:28 +03:00
Radu Ioan Fericean
f30b3dc063 add rating profile tp and apier methods 2014-08-25 16:27:09 +03:00
Radu Ioan Fericean
7dc72725fc add account actions tp and apier methods 2014-08-25 14:49:09 +03:00
Radu Ioan Fericean
d0597921df add Category to ActionTriggers 2014-08-24 18:28:05 +03:00
Radu Ioan Fericean
1ea0341db0 add Category to Actions 2014-08-24 18:08:10 +03:00
Radu Ioan Fericean
fd045e8b38 add derived chargers tp and apier methods 2014-08-24 13:56:13 +03:00
Radu Ioan Fericean
46c059bdb7 add cdr stats tp methods 2014-08-22 16:29:45 +03:00
Radu Ioan Fericean
5df1c52246 add tp shared groups methods and apier 2014-08-22 13:00:20 +03:00
Radu Ioan Fericean
a38339aef6 fixed tp action triggers methods 2014-08-21 21:24:39 +03:00
Radu Ioan Fericean
21664d8864 fixed tp action plans methods 2014-08-21 20:52:29 +03:00
Radu Ioan Fericean
dad3c605e7 fixed tp methods for action 2014-08-21 20:24:18 +03:00
Radu Ioan Fericean
16ad41a7b6 fix more tp methods 2014-08-21 19:52:47 +03:00
Radu Ioan Fericean
6a19284589 start using gorm as ORM 2014-08-21 17:25:22 +03:00
DanB
33e3f3fd66 Sql Flush command implementation to be used in tests, local tests for tutorial data 2014-08-05 01:09:05 +02:00
Radu Ioan Fericean
5400b2f44b rating subject instead of rate subject 2014-07-30 19:59:41 +03:00
Radu Ioan Fericean
1ae632ba80 5d fix 2014-07-30 19:58:05 +03:00
Radu Ioan Fericean
bbb116b699 fix for set tp triggers 2014-07-30 19:54:39 +03:00
Radu Ioan Fericean
ee64e5a0df fixed Scan 2014-07-30 19:36:57 +03:00
Radu Ioan Fericean
b2100a354a removed duplicate column 2014-07-30 19:32:13 +03:00
Radu Ioan Fericean
9c2925894b renamed column 2014-07-30 19:29:58 +03:00
Radu Ioan Fericean
bd6ed7e66a sql syntax fix 2014-07-30 19:27:44 +03:00
Radu Ioan Fericean
f86ab09580 initialize dests map 2014-07-30 19:23:28 +03:00
Radu Ioan Fericean
91ac0fd3f2 more fixes for action trigger db load 2014-07-30 18:41:45 +03:00
Radu Ioan Fericean
4ea9d8f35a Merge branch 'master' into stats
Conflicts:
	apier/mediator.go
	cmd/cgr-engine/cgr-engine.go
	config/config.go
	config/config_test.go
	config/test_data.txt
	engine/cdrs.go
	engine/mediator.go
	general_tests/fsevcorelate_test.go
	test.sh
	utils/apitpdata.go
	utils/consts.go
2014-07-29 12:32:03 +03:00
Radu Ioan Fericean
1091f58297 cdr stats csv load (without tests) 2014-07-22 22:10:39 +03:00
DanB
5e75234ede Query filters for ratedAccount and ratedSubject 2014-07-17 20:29:13 +02:00