Commit Graph

88 Commits

Author SHA1 Message Date
DanB
4f95f56284 Usage stored as decimal in MySQL, more tests and sample tariff plan data 2014-05-28 09:36:16 +02:00
DanB
4d33d7cf81 DestinationRates accepting * any as destination id, adding sample data plan to prepaid1centpsec sample tariff plan 2014-05-18 14:54:34 +02:00
DanB
da6f9cad6a ApierV1 methods for add, get, remove aliases, local tests attached 2014-05-12 19:03:07 +02:00
DanB
79d654c2a0 Aliases now with multi-tenant support, ApierV1.GetRatingSubjectAliases, ApierV1.GetAccountAliases RPC commands implementation 2014-05-11 21:48:51 +02:00
DanB
f466fcbb6a Proper ratingprofile order 2014-05-06 20:26:33 +02:00
Radu Ioan Fericean
9d0f252aad lcr load and torfield to categoryfield 2014-04-26 01:45:51 +03:00
Radu Ioan Fericean
f1731cccb7 lcr loading 2014-04-26 01:33:48 +03:00
Radu Ioan Fericean
1d7d0b8078 Merge branch 'data' into lcr
Conflicts:
	apier/apier.go
	cmd/cgr-loader/cgr-loader.go
	engine/calldesc.go
	engine/loader_csv.go
	engine/loader_csv_test.go
	engine/storage_interface.go
	general_tests/ddazmbl1_test.go
	utils/apitpdata.go
2014-04-25 22:10:55 +03:00
Radu Ioan Fericean
48de7f3c30 Merge branch 'master' into refactor
Conflicts:
	sessionmanager/fssessionmanager.go
	sessionmanager/session.go
2014-04-25 21:42:48 +03:00
Radu Ioan Fericean
25cb5be8c0 refactor CallDuration in DurationIndex and TOR in Category 2014-04-25 21:16:21 +03:00
Radu Ioan Fericean
4934daa6b9 modified loader for recurrent flag 2014-04-25 20:26:41 +03:00
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
d624af2e94 Merge branch 'master' into lcr 2014-04-07 13:33:09 +03:00
Radu Ioan Fericean
7313e64362 rename RateSubject to RatingSubject 2014-04-06 12:58:21 +03:00
Radu Ioan Fericean
d95d842ede Merge branch 'master' into lcr 2014-03-25 18:17:47 +02:00
Radu Ioan Fericean
87481ed520 rename ActionTimings Tag and Id 2014-03-25 18:17:17 +02:00
Radu Ioan Fericean
8987b11cbd added lcr storage methods 2014-03-25 18:01:49 +02: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
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
71a50dc78e duplicate check for db loader too 2014-03-05 14:56:54 +02: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
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
51ee4091bc shared group fixes 2014-02-17 00:39:15 +02:00
Radu Ioan Fericean
6ad5794bfc added db loader for shared balances 2014-02-12 16:23:03 +02:00
Radu Ioan Fericean
9e88719e05 fixed build problem 2014-02-07 12:24:52 +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
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
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