Commit Graph

359 Commits

Author SHA1 Message Date
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
d10366457a added extra uniqueid for action triggers 2015-02-06 15:34:24 +02:00
DanB
95b1420bf8 Index answer_time and deleted_at columns for faster CDR queries/exports 2015-01-21 11:21:27 +01:00
DanB
180d54391d Fix regex rules for BalanceTimingTags csv parsing 2014-12-26 13:01:49 +01:00
Radu Ioan Fericean
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
DanB
18d173d0fb Small correction Apier test 2014-12-07 12:27:17 +01:00
DanB
0dab19aa12 Merging with master 2014-12-07 12:08:37 +01:00
Radu Ioan Fericean
660e57f085 changed column names in sql scripts as well 2014-12-07 12:56:21 +02:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +01:00
DanB
799d924776 Increase min_sleep in TP tables from int to bigint since otherwise gets trucated 2014-12-05 19:24:56 +01:00
Radu Ioan Fericean
524e2cc94d added balance tag for action 2014-12-04 20:13:19 +02:00
DanB
cbd3e57397 Different GetCallCost for MySQL and Postgres 2014-11-13 12:01:42 +01:00
DanB
da21ffd32c CRUD Timestamps with no defaults 2014-11-12 10:58:30 +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
8517b9b8c8 PostgreSQL schema and user creation 2014-11-08 18:23:48 +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
f71aa8483c Load DerivedChargers 2014-09-09 19:11:25 +02:00
DanB
8e0e888c29 TpImporter for CdrStats 2014-09-02 20:12:04 +02:00
DanB
5a33e70793 TPImporter for SharedGroups and DerivedCharging 2014-09-02 18:37:11 +02: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
46c059bdb7 add cdr stats tp methods 2014-08-22 16:29:45 +03:00
Radu Ioan Fericean
91ac0fd3f2 more fixes for action trigger db load 2014-07-30 18:41:45 +03:00
DanB
5430490ec5 Adding RatedAccount and RatedSubject inside StoredCdr 2014-07-17 14:27:06 +02:00
DanB
62d1a31290 Removing unique key in cdrs_extra since it only slows down INSERTs 2014-07-16 11:50:43 +02:00
DanB
31b421c755 Loader for derived charging filters, using derived chargers filters within mediator and session manager, filter implementation inside StoredCdr 2014-07-07 11:34:23 +02:00
DanB
4f95f56284 Usage stored as decimal in MySQL, more tests and sample tariff plan data 2014-05-28 09:36:16 +02:00
DanB
d0d49481a2 ApierV1.GetCdrs method, CDR fields now exported from rated_cdrs table to reflect derived charging, duration layout, added upgrade script for mysql schema 2014-05-15 12:13:03 +02:00
DanB
ed3ef16c09 DBCdrs: duration -> usage to cope with the *sms and *data TORs 2014-05-08 20:08:11 +02:00
DanB
a4c556a484 Removing stale .sql file 2014-05-08 10:23:27 +02:00
DanB
e893862f26 MySQL data structures refactoring, fixups rounding methods migration 2014-05-08 10:20:46 +02:00
Radu Ioan Fericean
7a70b50bf4 loader db updates for rounding stuf movement 2014-05-07 15:31:54 +03:00
DanB
f466fcbb6a Proper ratingprofile order 2014-05-06 20:26:33 +02:00
DanB
f7abbacfe5 Refactoring CDRs to support RSRFields 2014-05-05 20:14:40 +02:00
Radu Ioan Fericean
f1731cccb7 lcr loading 2014-04-26 01:33:48 +03:00
Radu Ioan Fericean
48de7f3c30 Merge branch 'master' into refactor
Conflicts:
	sessionmanager/fssessionmanager.go
	sessionmanager/session.go
2014-04-25 21:42:48 +03:00
Radu Ioan Fericean
6526e52603 rating profile order + fix general tests 2014-04-25 20:49:44 +03:00
DanB
bba4a878f0 Refactoring configuration for DerivedCharging 2014-04-22 13:13:39 +02:00
DanB
668352b860 Initial DerivedCharging loading 2014-04-18 14:39:59 +02:00
DanB
5ae7a18283 Adding setupTime to CDRs for later stats calculation 2014-03-06 15:47:39 +01:00
DanB
670b748b01 Renaming tag->id and old id->tbid in mysql tables 2014-02-25 13:53:13 +01:00
Radu Ioan Fericean
51ee4091bc shared group fixes 2014-02-17 00:39:15 +02:00
Radu Ioan Fericean
6ad5794bfc added db loader for shared balances 2014-02-12 16:23:03 +02:00
Radu Ioan Fericean
3bf3f04cc6 removed connect fee as a separte field in call cost 2014-02-06 01:34:38 +02:00
DanB
caba3af732 Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests 2014-02-03 19:04:42 +01:00