2778 Commits

Author SHA1 Message Date
DanB
3a26ba86ea TPRatingProfile data remodeling, apis with remove and set without duplication checking: TPDestinationRates, TPRatingPlans, TPRatingProfiles 2013-11-15 22:42:45 +01:00
DanB
9cf1aed058 ApierV1 SetTPRate and RemTPRate implementation 2013-11-15 17:50:53 +01:00
DanB
f904973d25 Adding SetDuration method in RatingSlot 2013-11-15 17:31:17 +01:00
DanB
b95d21fa4e RatingPlan.Timing going private to hide it from jsonrpc 2013-11-15 14:12:38 +01:00
DanB
751ec1e4c3 Adding remove method on tptimings, modified SetTPTiming to update on exists 2013-11-15 12:00:52 +01:00
DanB
408047dd1c Resyncing structs from apis to the ones in storage 2013-11-14 12:58:13 +01:00
Radu Ioan Fericean
d6238ba5f7 moved dataseries to utils 2013-11-14 09:39:00 +02:00
Radu Ioan Fericean
8189bbbf36 using utils types to load data 2013-11-14 09:39:00 +02:00
DanB
ef9f5fe612 ExistsData method on dataDb, ApierV1.ReloadCache method, cgr-loader calling ReloadCache if configured 2013-11-13 19:27:44 +01:00
DanB
41d0bb80ac Changing DestRateTimings into RatingPlans 2013-11-12 12:25:02 +01:00
DanB
ec6de7e901 Implemented GetAllRatedCdr in store, renamed StorCDR into RatedCDR, changed time_answer into answer_timestamp in cdr_primary table for better go compatibility 2013-11-09 10:22:49 +01:00
DanB
4a5d228d81 Adding files containing the storCdr 2013-11-08 18:45:20 +01:00
DanB
092853d571 Adding StorCdr type, removing unused CDR interface methods 2013-11-08 18:37:07 +01:00
DanB
3eda5495ea Adding CGR-CDR handler 2013-11-07 12:35:30 +01:00
DanB
68a010a476 Minor variable corrections 2013-11-04 20:32:18 +01:00
Radu Ioan Fericean
a4559a68ea rating plan optimization 2013-10-24 19:22:55 +03:00
Radu Ioan Fericean
824302a8f5 Merge branch 'master' of github.com:cgrates/cgrates 2013-10-11 20:18:51 +03:00
Radu Ioan Fericean
d608c6fe07 improved long timespans splitting 2013-10-11 20:15:47 +03:00
DanB
6f8e318bfc TP API docs updated 2013-10-10 13:33:57 +02:00
DanB
f22f5a1bd9 Merge branch 'master' of https://github.com/cgrates/cgrates 2013-10-09 20:34:43 +02:00
Radu Ioan Fericean
5b4e7a1234 quick fix 2013-10-09 20:05:51 +03:00
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
DanB
afe0dbc5cb Cleaning up weight from mysql and sample data files 2013-10-09 11:42:33 +02:00
DanB
9c6de26fa5 DBData encoding configuration 2013-10-09 10:41:51 +02:00
Radu Ioan Fericean
c0accc3d5e better loading (hopefully :) 2013-10-08 21:57:32 +03:00
DanB
dbdad3e3ce Fixing default import files, SQL correction in tp_actions tables 2013-10-06 17:34:24 +02:00
Radu Ioan Fericean
7632a8f14e tests passing on get max session time 2013-10-04 16:18:28 +03:00
Radu Ioan Fericean
cd98141fbb still working on balance subject debit 2013-09-23 19:26:40 +03:00
Radu Ioan Fericean
f90b9e7aa3 destinations are now stored in sets 2013-09-18 17:55:07 +03:00
Radu Ioan Fericean
a35f5ed480 interval and activation profile refactoring 2013-09-12 16:24:57 +03:00
Radu Ioan Fericean
372fbe0e10 started destination hash storage and colapsed debit actions 2013-09-09 20:45:46 +03:00
Radu Ioan Fericean
7edcb9fd6e added round to minute util function and reverted to debit only available credit for prepaid 2013-08-29 15:51:03 +03:00
DanB
edd2c704de TP APIs are now accepting string as time.Duration values, modified mysql table structures to increase *id fields to 64 2013-08-18 17:06:03 +02:00
Radu Ioan Fericean
e27bcaabf3 fix on extra pointer and added tests for missing fields checker 2013-08-14 17:53:40 +03:00
Radu Ioan Fericean
cb20ae167f moved rated units in rate group and transformed it in duration 2013-08-07 15:11:05 +03:00
Radu Ioan Fericean
c209dbfb9f using time.Duration for rateincrements and groupinterval 2013-08-07 13:37:25 +03:00
DanB
5f730090fc Adding some formatting 2013-08-04 21:06:43 +02:00
DanB
58c16a5f47 Errors fixup in sql queries 2013-08-04 16:45:43 +02:00
Radu Ioan Fericean
8c8f003239 added rating profile history handler 2013-08-02 18:57:54 +03:00
Radu Ioan Fericean
606d053844 better parse date 2013-07-31 14:45:46 +03:00
Radu Ioan Fericean
1d3ce69c5d added activation time with + and * stuff 2013-07-30 23:06:31 +03:00
Radu Ioan Fericean
11e7eed149 added +duration and *monthly for expiration time 2013-07-30 22:42:51 +03:00
Radu Ioan Fericean
67d9c6f64d merge Dan's work 2013-07-30 21:54:27 +03:00
Radu Ioan Fericean
d112b53dda working on duration expire time 2013-07-30 21:47:17 +03:00
DanB
c60b26c0c4 TPCSVImporter ActionTriggers 2013-07-30 17:03:16 +02:00
DanB
d4017890ec TPCSVImporter Actions, store refactoring, small API params changes 2013-07-29 21:18:02 +02:00
DanB
ddc2240c67 TPCSVImporter RatingProfiles, changed RateProfile into RatingProfile in APIs for consistency 2013-07-29 18:21:13 +02:00
DanB
1a1403ace1 Few more methods on TPCSVImporter, API TPRates modifications to include GroupInterval 2013-07-29 12:40:23 +02:00
DanB
9f28fa0d24 Partial TPCSVImporter, TPCSVFileParser 2013-07-25 20:29:47 +02:00
DanB
2c7eb3593e New config parameters - RaterRoundingMethod and RaterRoundingDecimals, renaming logDb into storDb in config 2013-07-23 13:59:17 +02:00