Commit Graph

222 Commits

Author SHA1 Message Date
DanB
a62098cf64 Adding supplier in CdrStats filters 2015-04-17 11:31:11 +02:00
Radu Ioan Fericean
25a1858eac fixes and tests for lcr 2015-04-06 18:30:40 +03:00
DanB
f5803b8e9c Adding supplier in derived charging 2015-04-04 17:47:42 +02:00
DanB
1ec59ad794 Adding supplier field in StoredCdr and related, rename IgnoreDerived-> FilterOnDerived in getCdrs function, fixed postgres load from tp_rates 2015-04-04 16:35:59 +02:00
Radu Ioan Fericean
c100e171d4 added CdrStatQueueIds to rating profiles 2015-04-02 21:10:21 +03:00
Radu Ioan Fericean
66abb755cb new lcr structure 2015-03-31 18:25:06 +03:00
DanB
7677a5ff89 Merged CDRS with Mediator for more code robusness and improve replication mechanism; adding CdrFilters inside CdrReplication 2015-03-27 18:29:28 +01:00
DanB
6c765fbe7f Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-23 17:40:35 +01:00
DanB
5645579fe7 Adding CostDetails to both StoredCdr and CgrExtCdr objects 2015-03-23 17:40:21 +01:00
Radu Ioan Fericean
643636872e moved max cost and strategy at destination rate level 2015-03-23 14:41:25 +02:00
Radu Ioan Fericean
581648a04f max cost and strategy at rate level 2015-03-23 11:39:49 +02:00
DanB
44fa456eb5 Moving Cdr* from utils to engine package so we can attach CostDetails to StoredCdr 2015-03-22 18:04:38 +01:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
DanB
d3b3794770 Gorm fixes, send pointer to value instead of value itself to Save method, Count method natively handled in SQL now 2015-03-02 18:33:40 +01:00
DanB
720a333ed7 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-02 13:20:04 +01:00
DanB
f3e97e3392 Paginator parameters rename 2015-03-02 13:19:42 +01:00
Radu Ioan Fericean
ee4a358a78 use cgrates/gorm for stability 2015-03-02 14:18:36 +02:00
DanB
a4bbad4001 TPActionTriggers-MinSleep from int to string 2015-02-24 09:50:14 +01:00
DanB
461b715c3b Adding indexes to postgres tp tables, ApierV1.AddBalance using BalanceId, ApierV1.AddTriggeredAction using ActionTriggersId 2015-02-20 16:44:08 +01:00
Radu Ioan Fericean
dc5111eedb preserve tag 2015-02-09 13:26:58 +02:00
Radu Ioan Fericean
dbcc21c4d5 fix for tp actiontrigger id 2015-02-09 13:17:25 +02:00
DanB
c3b885d79d Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-06 13:25:03 +01:00
DanB
ff68023ca5 ApierV2.GetAccounts 2015-02-06 13:24:51 +01:00
Radu Ioan Fericean
4ff96becee human readable action and action trigger id 2015-02-05 23:20:50 +02:00
Radu Ioan Fericean
39a85a76de cleanned all vet's warnings 2015-02-05 23:20:50 +02:00
DanB
211f980329 Default RunId changed to *default for consistency, StoredCdr.Rated property so we can import already calculated CDRs, fixes for SkipErrors and SkipRated API filters for CDRs, created_time fix on MySQL, fix injected Cost when importing from external file and .Rated is false 2015-02-05 17:01:45 +01:00
DanB
afb8aae211 GetStoredCdrs.Count temporary fix until gorm analyses our reported issue 2015-02-04 13:56:33 +01:00
Radu Ioan Fericean
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +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
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
5f88e621f4 Fix CountCdrs and adding tests for it 2014-11-28 11:48:05 +01:00
DanB
bb3f677f50 Adding count parameter to GetStoredCdrs 2014-11-27 20:27:36 +01:00
DanB
93a7e59744 GetStoredCdrs taking now a struct as filter to simplify code testing it 2014-11-27 18:01:41 +01: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
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