Commit Graph

51 Commits

Author SHA1 Message Date
DanB
17af9c312a Merge branch 'master' of https://github.com/cgrates/cgrates 2013-12-18 20:05:58 +01:00
DanB
f3d0c49803 Finishing implementation of different database handles for rating vs accounting subsystems 2013-12-18 20:02:47 +01:00
Radu Ioan Fericean
f7d7a34c17 typo 2013-12-18 15:38:04 +02:00
Radu Ioan Fericean
6d543f5d86 db loader stats 2013-12-18 15:37:19 +02:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
3e4067b4b0 started statistics 2013-12-17 16:42:16 +02:00
DanB
fc4696cdaf Some more debug messages removal 2013-11-28 18:15:48 +01:00
DanB
fd12134596 Same bug fix also in loader_db 2013-11-25 16:50:37 +01:00
DanB
472d036d15 Reverting to individual TPRatePlan load 2013-11-25 16:32:24 +01:00
DanB
d3ddffd55e Various bug fixups, LoadRatingProfileFiltered loads now also RatingPlan if defined 2013-11-25 13:22:53 +01:00
DanB
ade79936b5 Adding ApierV1.LoadTariffPlanFromFolder API together with it's local tests 2013-11-24 20:21:03 +01:00
DanB
5ff600fe18 Adding LoadAll method to loader so we can compress the code from Apier 2013-11-24 19:20:35 +01:00
DanB
fcb98adcf7 Buffer writter for multiple values in sql queries, finished storage interface cleanup 2013-11-24 16:31:42 +01:00
DanB
6e65376bec LoadAccountActionsFiltered fixed to load more than one acccountActions profile, added test_local.sh script 2013-11-22 14:14:54 +01:00
DanB
3d523128e2 LoadRatingProfileFiltered can now load more than one ratingProfile 2013-11-21 19:21:43 +01:00
DanB
f69af88bd6 Adding local tests for Load*Filtered methods in datadb 2013-11-21 17:59:50 +01:00
DanB
5d0a4cf470 Changing GetRatingProfileByTag into GetRatingProfileFiltered; local tests for ApierV1.SetRatingPlan and ApierV1.SetRatingProfile 2013-11-21 11:52:49 +01:00
DanB
87ea266c4a Go fmt on sources 2013-11-19 20:06:53 +01:00
DanB
38f6b69193 Removing Exists methods on storDb since they are no longer in use 2013-11-18 20:16:49 +01:00
DanB
4e0ccbfa19 Unifying fallback subjects key between csv and db, first match between loaded data from csv and from stordb 2013-11-18 10:28:27 +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
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
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
8b29a35b96 Adding reload_cache command to cgr-console, reload_scheduler fixup 2013-11-14 17:32:47 +01:00
DanB
65d828a2c7 Adding destination and rating plans filtering for automated cache reload from loader 2013-11-14 13:31:30 +01:00
DanB
26bb99bd64 Replacing DESTINATION and RATING_PLAN consts with their prefix versions for compressing code 2013-11-14 13:03:15 +01:00
DanB
408047dd1c Resyncing structs from apis to the ones in storage 2013-11-14 12:58:13 +01:00
Radu Ioan Fericean
c075d8182a fixed field names 2013-11-14 09:41:52 +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
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
13ce865b6f Destinations considered from dataDb in case of missing from storDb on load 2013-11-12 19:30:49 +01: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
Radu Ioan Fericean
bb7b144f84 updated rating profile API 2013-11-06 17:06:58 +02:00
Radu Ioan Fericean
a4559a68ea rating plan optimization 2013-10-24 19:22:55 +03:00
Radu Ioan Fericean
3466fa103b refactored rating plans structure 2013-10-21 19:18:56 +03:00
DanB
6f8e318bfc TP API docs updated 2013-10-10 13:33:57 +02:00
Radu Ioan Fericean
54ab6074a6 more loading fixes and more tests 2013-10-09 20:02:13 +03:00
Radu Ioan Fericean
eec68807ba db loading hopefully the same as csv 2013-09-26 18:47:29 +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
411af6ba74 splited storage interface in multiple interfaces 2013-08-27 14:48:01 +03:00
Radu Ioan Fericean
1bfaa3a52f simplified code and corrected rating profile id 2013-08-26 17:06:30 +03:00
Radu Ioan Fericean
9cce7c6449 checking destination ids exist on setting rating profile api call 2013-08-26 14:13:27 +03:00
Radu Ioan Fericean
1d3ce69c5d added activation time with + and * stuff 2013-07-30 23:06:31 +03:00
DanB
ddc2240c67 TPCSVImporter RatingProfiles, changed RateProfile into RatingProfile in APIs for consistency 2013-07-29 18:21:13 +02:00