Commit Graph

51 Commits

Author SHA1 Message Date
DanB
352540ab04 Adding local tests, available via flag -local 2013-11-18 16:29:25 +01:00
DanB
f38f04f6c5 Various loader and apier fixes 2013-11-17 23:06:20 +01:00
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
f904973d25 Adding SetDuration method in RatingSlot 2013-11-15 17:31:17 +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
131bc22609 Renaming default sample tariff plans to reflect latest code changes 2013-11-04 19:42:05 +01:00
DanB
01005b06f3 Updating storage tables to reflect latest code 2013-10-31 13:42:52 +01:00
DanB
afe0dbc5cb Cleaning up weight from mysql and sample data files 2013-10-09 11:42:33 +02:00
DanB
b7a87d1e59 Action bug fixup, fix cost field in stor db 2013-10-08 11:57:06 +02:00
DanB
f1d2bc6164 Renaming RateSubject into RatingSubject to better reflect it's purpose 2013-10-06 19:18:41 +02:00
DanB
dbdad3e3ce Fixing default import files, SQL correction in tp_actions tables 2013-10-06 17:34:24 +02:00
Radu Ioan Fericean
5a6df95133 updated msgpack codec 2013-10-02 22:09:21 +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
DanB
d31536c249 Fixup create_tariffplan_tables 2013-08-07 17:47:07 +02:00
Radu Ioan Fericean
305dca0fc9 some name refactoring 2013-08-07 15:37:17 +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
f07a0cc885 Fixing mediator and related for postpaid rating into storDb 2013-08-07 06:20:56 +02:00
DanB
58c16a5f47 Errors fixup in sql queries 2013-08-04 16:45:43 +02:00
Radu Ioan Fericean
1d3ce69c5d added activation time with + and * stuff 2013-07-30 23:06:31 +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
72fd2984ad Unique keys for actiontriggers and account actions 2013-07-18 12:30:30 +02:00
DanB
d75d1475fc Adding mysql unique key for actions 2013-07-18 12:01:43 +02:00
DanB
0a3adf326e Adding SetTPAction api method 2013-07-17 19:37:48 +02:00
DanB
2be2bc97a0 Adding API support for rounding functions at rate level 2013-07-12 16:09:41 +02:00
DanB
7b1b278c87 Adding SetRatingProfile api method 2013-07-11 21:34:31 +02:00
DanB
aa1c2021d3 Adding TPDestRateTiming APIs and attached documentation 2013-07-11 14:44:54 +02:00
DanB
89af3fa82e Adding TPDestinationRates API documentation 2013-07-10 17:31:44 +02:00
DanB
f3dbbf77fc Adding TPDestinationRate APIs 2013-07-10 16:58:57 +02:00
DanB
d3e16d3712 Apier.SetTPRates with RateSlots 2013-07-10 10:36:51 +02:00
DanB
60bd0c0a08 Implemented Apier.SetTPRate method 2013-07-10 08:13:09 +02:00
DanB
2b025a3fc9 Adding TP APIs 2013-07-09 15:48:49 +02:00
DanB
8ecf706086 Adding TPTiming APIs together with documentation attached 2013-07-09 13:15:02 +02:00
DanB
db62f2cc85 Finishing Get and Set for TPDestinations 2013-07-04 19:20:55 +02:00
DanB
7e308dca52 Adding Apier.SetTPDestination 2013-07-03 23:01:37 +02:00
Radu Ioan Fericean
52616d09e6 loading from database code complete, needs testing 2013-06-14 15:39:02 +03:00
DanB
dd14b7e210 Modifying int into float for tp_tables 2013-06-11 16:21:33 +02:00
DanB
a75c2e7324 Mediator refactoring to support CDR as imput instead of csv row - adding separation of names and indexes, StartTime->AnswerTime, adding reqtype=rated 2013-06-06 12:37:36 +02:00
Radu Ioan Fericean
dca4cd0038 added db loader 2013-06-01 16:45:37 +03:00
DanB
6966a85e68 Refactoring transactions into costdetails table, due to internal concepts 2013-05-30 13:29:28 +02:00
DanB
c06b1e3c59 Adding renaming callcosts into transactions table 2013-05-30 13:00:24 +02:00
DanB
72e054a9b3 Adding tariffplan tables 2013-05-29 15:05:28 +02:00
DanB
ef6b1cc9f8 Adding some more tables on mysql side 2013-05-28 16:29:33 +02:00
Radu Ioan Fericean
cd8509084b cdrs before testing 2013-05-26 21:16:00 +03:00
DanB
147aef6dc5 Adding mediation tables, modified cdrs_primary to include source host of the CDR 2013-05-23 14:23:52 +02:00