Commit Graph

205 Commits

Author SHA1 Message Date
DanB
c7c4aefe0d Apier local tests, added -rater parameter to cgr-engine command to be able to enforce starting of the rater/apier out of command line, useful mostly for test units 2013-11-20 14:42:15 +01:00
DanB
87ea266c4a Go fmt on sources 2013-11-19 20:06:53 +01:00
DanB
f38f04f6c5 Various loader and apier fixes 2013-11-17 23:06:20 +01:00
DanB
f5257b46a5 Completing TP Apis with SetTPAccountActions with duplications and remove 2013-11-16 20:51:35 +01:00
DanB
b50f950474 ApierV1 TPActionTriggers set and remove implementation 2013-11-16 17:02:27 +01:00
DanB
198b604407 ApierV1 TPActionTimings set with duplicated and remove 2013-11-16 16:39:32 +01:00
DanB
210c52f041 ApierV1 TPActions - remove checking for existing, allow duplicates 2013-11-16 16:21:03 +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
9cf1aed058 ApierV1 SetTPRate and RemTPRate implementation 2013-11-15 17:50:53 +01:00
DanB
adf015af5c Merge branch 'master' of https://github.com/cgrates/cgrates 2013-11-15 14:12:50 +01:00
DanB
b95d21fa4e RatingPlan.Timing going private to hide it from jsonrpc 2013-11-15 14:12:38 +01:00
Radu Ioan Fericean
d05cd92a8d added RemKey method for cache 2013-11-15 14:28:57 +02:00
DanB
719ed3ef51 Set on TPDestinations with update on duplicates, remove api for TPDestinations 2013-11-15 12:48:14 +01:00
DanB
751ec1e4c3 Adding remove method on tptimings, modified SetTPTiming to update on exists 2013-11-15 12:00:52 +01:00
DanB
c2af82e8b0 Console command to reload cache, documentation for apier on cache and scheduler, various small fixes 2013-11-14 19:35:26 +01:00
DanB
408047dd1c Resyncing structs from apis to the ones in storage 2013-11-14 12:58:13 +01:00
DanB
ef9f5fe612 ExistsData method on dataDb, ApierV1.ReloadCache method, cgr-loader calling ReloadCache if configured 2013-11-13 19:27:44 +01:00
Radu Ioan Fericean
20ad7a8487 cleaned exists functions 2013-11-13 00:35:29 +02:00
Radu Ioan Fericean
5e7f7f6663 added get rating plan API method 2013-11-13 00:08:19 +02:00
DanB
0b1d9c2da4 Reusing of predefined rating plans in rating profiles 2013-11-12 13:43:00 +01:00
DanB
41d0bb80ac Changing DestRateTimings into RatingPlans 2013-11-12 12:25:02 +01:00
DanB
7bf11a216d Changing DestRateTimings into RatingPlans 2013-11-12 12:24:53 +01:00
DanB
6f00f9b4c2 Adding ApierV1.ExportCsvCdrs documentation 2013-11-10 18:40:29 +01:00
DanB
84fbf30376 Implementation of ApierV1.ExportCsvCdrs 2013-11-10 14:37:20 +01:00
DanB
6f8e318bfc TP API docs updated 2013-10-10 13:33:57 +02:00
DanB
afe0dbc5cb Cleaning up weight from mysql and sample data files 2013-10-09 11:42:33 +02:00
Radu Ioan Fericean
c0accc3d5e better loading (hopefully :) 2013-10-08 21:57:32 +03:00
Radu Ioan Fericean
7632a8f14e tests passing on get max session time 2013-10-04 16:18:28 +03:00
Radu Ioan Fericean
6c35f6e340 improved csv loading 2013-09-25 21:52:06 +03:00
Radu Ioan Fericean
a35f5ed480 interval and activation profile refactoring 2013-09-12 16:24:57 +03:00
Radu Ioan Fericean
2f6b1f3f84 tests passing with new balance struct 2013-09-05 23:28:04 +03:00
Radu Ioan Fericean
411af6ba74 splited storage interface in multiple interfaces 2013-08-27 14:48:01 +03:00
Radu Ioan Fericean
08c4386e65 added reload scheduler to console commands 2013-08-23 17:09:37 +03:00
DanB
30d731d4c5 Removing ExpiryTime from mandatory Actions parameters since there are specific Actions who do not define it 2013-08-21 14:57:50 +02:00
DanB
54704b8cdd Renaming api param RateProfileId into RatingProfileId, bug fixup in sql query related to SetRatingProfile API 2013-08-18 19:55:23 +02: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
Radu Ioan Fericean
5dcbb28dd6 added more console commands 2013-08-05 17:58:42 +03:00
Radu Ioan Fericean
9a0dc72d0d added execute action 2013-08-05 17:02:05 +03:00
Radu Ioan Fericean
52afbd376e added versioning for api and two new console commands: get_destination and add_balance (also improved set_balance) 2013-08-05 16:33:47 +03:00
DanB
5f730090fc Adding some formatting 2013-08-04 21:06:43 +02:00
Radu Ioan Fericean
78d2ee4e28 fixed tests 2013-07-30 22:15:35 +03:00
DanB
c60b26c0c4 TPCSVImporter ActionTriggers 2013-07-30 17:03:16 +02:00
DanB
d483a6669f TPCSVImporter ActionTimings 2013-07-30 12:52:58 +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
9887799492 TPCSVImporter DestRateTiming, store refactoring 2013-07-29 15:32:07 +02:00
DanB
f1d94aebaf TPCSVImporter - DestinationRates implementation 2013-07-29 14:18:50 +02:00