Commit Graph

207 Commits

Author SHA1 Message Date
DanB
509f4a87cd Adding local csv loader tests 2013-11-19 15:44:17 +01:00
DanB
58e26a46ce Adding RemTPData SQL tests 2013-11-18 22:13:04 +01:00
DanB
34b577c74d Some more methods cleanup in storDb 2013-11-18 20:30:15 +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
d5c81818ee scriptPath in test storage 2013-11-18 20:00:42 +01:00
Radu Ioan Fericean
fb9483693f copy rating info on timespan split 2013-11-18 20:07:10 +02:00
Radu Ioan Fericean
b4f34a77cc added matched subject and matched prefix to timespan 2013-11-18 19:49:55 +02:00
Radu Ioan Fericean
a483d2304e tests for rating info activation times 2013-11-18 19:36:54 +02:00
DanB
352540ab04 Adding local tests, available via flag -local 2013-11-18 16:29:25 +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
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
6b5923f86f Merge branch 'master' of https://github.com/cgrates/cgrates 2013-11-15 22:43:24 +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
Radu Ioan Fericean
9df187dd8e better rating information finding 2013-11-15 20:26:15 +02: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
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
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
DanB
4c19a2078b Merge branch 'master' of https://github.com/cgrates/cgrates 2013-11-13 10:09:30 +01:00
DanB
86bcbac221 Adding dataDb checks for destinations and rating plans on csv loader 2013-11-13 10:04:51 +01:00
Radu Ioan Fericean
20ad7a8487 cleaned exists functions 2013-11-13 00:35:29 +02:00
Radu Ioan Fericean
c6752be776 started work on rating plan activation time handling 2013-11-13 00:08:19 +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
DanB
ce1c22f142 Activate precaching only for rater 2013-11-12 10:18:33 +01:00
DanB
25db02a6fb Shifting GetAllRatedCdrs into filtered GetRatedCdrs to prepare it for exporter 2013-11-10 09:01:35 +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
Radu Ioan Fericean
bb7b144f84 updated rating profile API 2013-11-06 17:06:58 +02:00
Radu Ioan Fericean
b87399c123 fixed build error 2013-11-05 20:38:39 +02:00
Radu Ioan Fericean
455ed9e547 no precaching for loader (precache parameter) 2013-11-05 20:16:39 +02:00
DanB
68a010a476 Minor variable corrections 2013-11-04 20:32:18 +01:00
Radu Ioan Fericean
3ae3cadfec fixed double prefix bug 2013-10-30 11:21:25 +02:00
Radu Ioan Fericean
70571e15d0 logged precaching error 2013-10-30 11:05:52 +02:00