Commit Graph

205 Commits

Author SHA1 Message Date
DanB
487a1c5da6 Fix tariffplan data and sleep in tutfscsv_local_test 2014-03-02 09:43:27 +01:00
DanB
64711c6b87 Sleep in local tests to allow topup to happen 2014-03-02 09:29:41 +01:00
DanB
2646e8fa6e Local tests to capture toup 2014-02-28 10:46:28 +01:00
Radu Ioan Fericean
074313b0f8 first aliases implementation
tests pending
2014-02-26 18:29:49 +02:00
DanB
1a8e7f4631 Testing tutfscsv including maxDebit and unitsCounter for general usage 2014-02-25 20:52:11 +01:00
DanB
670b748b01 Renaming tag->id and old id->tbid in mysql tables 2014-02-25 13:53:13 +01:00
DanB
ddbd97ad20 Fix merge in tutfscsv_local 2014-02-24 12:47:23 +01:00
DanB
fe4506008f Local test TutFsCsv from config file 2014-02-24 12:41:24 +01: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
5f1923d694 Merge branch 'master' into shared_balances 2014-02-18 15:38:03 +02:00
Radu Ioan Fericean
c52b161b73 allow seetting rate subject and expiration with AddBalance api 2014-02-18 15:37:03 +02:00
DanB
d7a0446585 Fixup localtests 2014-02-18 11:06:09 +01:00
DanB
e60fc8cb96 Capturing the output of the engine in tests 2014-02-18 09:25:10 +01:00
Radu Ioan Fericean
fdc451244a fixed typo 2014-02-17 01:28:50 +02:00
Radu Ioan Fericean
098a1f6d3f fixed account actions ids 2014-02-17 01:22:55 +02:00
Radu Ioan Fericean
dec4ebf2f1 added distinct field parameter 2014-02-17 01:09:37 +02:00
Radu Ioan Fericean
540412033f used local addres in tests 2014-02-16 23:13:27 +02:00
DanB
4c894ee9de Adding original apier_local_test 2014-02-13 10:13:12 +01:00
Radu Ioan Fericean
361d75d8cf compressed all GetTP*Ids methods into one 2014-02-13 00:01:58 +02:00
Radu Ioan Fericean
c447fa49dc Merge branch 'master' into shared_balances 2014-02-12 14:18:03 +02:00
DanB
bd71dc9a4c Test fixups 2014-02-10 20:00:30 +01:00
DanB
944262ccff Adding local_test for mediator rpc method 2014-02-10 18:31:27 +01:00
Radu Ioan Fericean
fc1e7aed5a merged master 2014-02-10 15:12:01 +02:00
DanB
b91fc4ca21 Adding mediator_rpc 2014-02-10 14:08:24 +01:00
Radu Ioan Fericean
a9d698e029 Merge branch 'master' into shared_balances
Conflicts:
	engine/balances.go
	engine/userbalance.go
2014-02-07 10:57:29 +02:00
DanB
e6ef9f8155 DebitBalance console command, fix apier local_test for GetUserBalances 2014-02-05 17:59:49 +01:00
Radu Ioan Fericean
709594ffa9 get_balance console renamed to get_balances
returns json formatted userbalance object
2014-02-04 15:28:02 +02:00
DanB
4cbadb4158 Merge branch 'master' of https://github.com/cgrates/cgrates 2014-02-03 19:04:53 +01:00
DanB
caba3af732 Mediation RPC with rerate abilitites, rename RatedCDR -> StoredCdr, adding storage interface tests 2014-02-03 19:04:42 +01: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
20a0ae4449 removed direction and added destinationid to add_balance console command
th consoled is aimed to be used for simple and quick test actions
2014-02-03 17:34:37 +02:00
Radu Ioan Fericean
750260505c build fix 2014-01-31 17:22:32 +02:00
Radu Ioan Fericean
a239b8d760 bigger refactoring for next start date calculus 2014-01-31 16:37:48 +02:00
Radu Ioan Fericean
69cf1cc896 Merge branch 'master' into shared_balances
Conflicts:
	apier/v1/apier_local_test.go
	apier/v1/tutfscsv_local_test.go
	cmd/cgr-engine/cgr-engine.go
	engine/storage_map.go
	engine/storage_mongo.go
	engine/storage_redis.go
2014-01-27 11:18:25 +02:00
Radu Ioan Fericean
b735688fe5 Remaned to hasdata method 2014-01-27 11:04:25 +02:00
DanB
1bbe5a0a88 CDRc communicating over internal interface with the CDRs 2014-01-25 20:52:32 +01:00
DanB
9210b20924 Fmt on sources :( 2014-01-25 10:49:00 +01:00
Radu Ioan Fericean
c50c202fe6 Merge branch 'master' into shared_balances
Conflicts:
	apier/v1/apier_local_test.go
	apier/v1/tutfscsv_local_test.go
	cmd/cgr-engine/cgr-engine.go
2014-01-24 10:26:55 +02:00
DanB
5d857f1255 Fix local tests 2014-01-23 13:18:00 +01:00
Radu Ioan Fericean
21875f7ed7 compiation fixes 2014-01-23 11:13:29 +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
2896053199 Renaming ActionsTimings into ActionPlan so we avoid in the future redis store changes as much as possible 2014-01-19 20:14:46 +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
DanB
9f84950287 Localtest for tutfscsv, Monit config for cgrates 2014-01-15 15:24:09 +01:00
DanB
6c82f01a10 Tutorial rates fixup, apier reload cache after loading from file, init script creates rundir 2014-01-15 15:23:32 +01:00