Commit Graph

77 Commits

Author SHA1 Message Date
DanB
2a253892c5 Refactoring the code around derived charging to support integration with responder for internal requests, some of the copyright headers updated with new slogan 2014-04-23 20:48:43 +02:00
DanB
668352b860 Initial DerivedCharging loading 2014-04-18 14:39:59 +02:00
Radu Ioan Fericean
7313e64362 rename RateSubject to RatingSubject 2014-04-06 12:58:21 +03:00
Radu Ioan Fericean
87481ed520 rename ActionTimings Tag and Id 2014-03-25 18:17:17 +02:00
DanB
e8393b9bcc Modified sample tariffplan for fs_json tutorial 2014-03-18 08:43:07 +01:00
Radu Ioan Fericean
724ebdc039 split rating profile and account aliases 2014-03-17 21:28:25 +02:00
DanB
2dbc80166e Adding sharedGroup loading inside csv and db loaders, tariff plans for fs_json tutorial 2014-03-17 19:10:21 +01:00
DanB
2ef0f4f492 Adding regexp rules for shared groups csv file 2014-03-17 17:46:53 +01:00
Radu Ioan Fericean
fdeecafe37 make sure the aliases are up-to-date after load 2014-03-05 16:54:29 +02:00
Radu Ioan Fericean
8f47264248 check for duplicate account actions 2014-03-05 14:51:18 +02:00
DanB
b9d52c6401 Fix validation for Actions, now with shared balances 2014-02-27 17:38:42 +01:00
Radu Ioan Fericean
b3dee97bc4 fixses and tests for aliases 2014-02-26 20:17:59 +02:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +02:00
Radu Ioan Fericean
477af9467f added load test for shared groups 2014-02-26 11:14:13 +02:00
Radu Ioan Fericean
0aa5223f78 Merge branch 'master' into shared_balances
Conflicts:
	engine/account.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	engine/storage_map.go
	engine/storage_redis.go
2014-02-21 16:36:48 +02:00
Radu Ioan Fericean
a37dbf0734 renamed Account Type attribute
It's now AllowNegative and it's a boolean (was *prepaid/*postpaid)
2014-02-21 15:52:47 +02:00
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
f701a42948 renamed action's BalanceId to BalanceType
also added a topup test
2014-02-21 13:14:06 +02:00
Radu Ioan Fericean
0efb2f1094 load shared groups from csv 2014-02-17 00:42:41 +02:00
Radu Ioan Fericean
727337e617 start shared groups cvs loading
modified shared group structure
2014-02-03 18:50:26 +02:00
Radu Ioan Fericean
b735688fe5 Remaned to hasdata method 2014-01-27 11:04:25 +02:00
Radu Ioan Fericean
7697b74713 Merge branch 'master' into shared_balances
Conflicts:
	apier/v1/apier.go
	cmd/cgr-engine/cgr-engine.go
	engine/storage_redis.go
2014-01-23 10:26:29 +02:00
DanB
080395e7ea Adding async call_url action 2014-01-21 13:03:47 +01:00
DanB
0348be416c ActionTimings -> ActionPlan in APIs, storage tables and redis key 2014-01-19 20:02:32 +01:00
DanB
8ec403f151 Fixup reloading cache keys on csv/db load, removed automatic caching in db/set methods since it makes no sense/trouble in distributed environments 2014-01-18 19:45:23 +01:00
Radu Ioan Fericean
3c622d317a warning when duplicating timings 2014-01-15 17:45:39 +02:00
Radu Ioan Fericean
d765e0090b Merge branch 'master' into shared_balances
Conflicts:
	engine/loader_csv.go
2014-01-13 22:34:19 +02:00
DanB
9428ffa9c6 Fixups for loader to work with dry_run when destinations file not provided, config fixups, doc fixups 2014-01-13 20:24:36 +01:00
Radu Ioan Fericean
58ddae9b70 Started shared balances logic 2014-01-07 22:34:40 +02:00
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
18273a920e accounting stats 2013-12-18 15:31:20 +02:00
Radu Ioan Fericean
f136f1e67d more statistics 2013-12-18 15:27:46 +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
Radu Ioan Fericean
dbe8bde7bf optimized prefixes container 2013-12-16 19:09:56 +02:00
Radu Ioan Fericean
41dd86ca9a more optimizations for large destination keys 2013-12-16 15:17:20 +02:00
DanB
f1e4b57b2c Fixup loader_csv to load call_url actions 2013-12-03 11:24:50 +01:00
DanB
83eb650c97 Bug fixup in loader 2013-11-25 16:40:36 +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
f69af88bd6 Adding local tests for Load*Filtered methods in datadb 2013-11-21 17:59:50 +01:00
DanB
87ea266c4a Go fmt on sources 2013-11-19 20:06:53 +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
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
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
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