Commit Graph

812 Commits

Author SHA1 Message Date
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
23a676da95 got engine from master 2014-01-27 11:46:59 +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
DanB
1bbe5a0a88 CDRc communicating over internal interface with the CDRs 2014-01-25 20:52:32 +01:00
DanB
8733b5219e Mediator and SessionManager wait for cache to come up before starting over internal interface 2014-01-25 14:28:03 +01:00
DanB
9210b20924 Fmt on sources :( 2014-01-25 10:49:00 +01:00
DanB
5b424d0e70 Engine components sync via chans 2014-01-25 10:46:21 +01:00
Radu Ioan Fericean
b6dde967f2 samll engine fix 2014-01-24 17:35:57 +02: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
Radu Ioan Fericean
5f9d18fe0f removed extra log 2014-01-24 09:37:30 +02:00
Radu Ioan Fericean
a31231de09 merge 2014-01-24 09:33:32 +02:00
DanB
ddeb13bcc4 Engine start order, improved logging, default config listening fix 2014-01-23 18:19:03 +01:00
Radu Ioan Fericean
70d0e0171c better historyy agent starting 2014-01-23 18:22:50 +02:00
DanB
ba3cabb7bb Extra log in engine for history 2014-01-23 17:03:43 +01:00
DanB
5d857f1255 Fix local tests 2014-01-23 13:18:00 +01:00
DanB
4f3e91d8ca Default client-server over internal connections, small fixup order of service start 2014-01-23 12:45:13 +01:00
Radu Ioan Fericean
81cc68e0c5 removed exit after cdrs 2014-01-23 11:59:05 +02:00
Radu Ioan Fericean
ea75cd3aa2 cgr-engine main is async again 2014-01-23 11:25:32 +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
Radu Ioan Fericean
ac60a39852 removed the async stuff from main and fixed method Lock has wrong number
of ins: 1 issue
2014-01-22 20:55:37 +02:00
Radu Ioan Fericean
0005ba2f68 RPC server changes
rpc server now serves both json and gob, refactored server code into
it's own type
2014-01-22 19:53:30 +02:00
Radu Ioan Fericean
ea6337d9fa updated engine command 2014-01-14 19:23:05 +02:00
DanB
77fa996a7d Fixup cgr-engine 2014-01-14 11:16:02 +01:00
DanB
845ecc8fd9 Bug fixup in reloading cache on startup(actions ignored) 2014-01-14 10:18:41 +01:00
DanB
12e896576c Adding Apier tests for cdrserver, newly added commands for account triggers and account timings 2014-01-09 13:32:52 +01:00
Radu Ioan Fericean
3bc4823e1d handled term signals 2014-01-03 20:34:46 +02:00
Radu Ioan Fericean
fa2ded95bc changed pid argument o string (path to file) 2014-01-03 14:00:02 +02:00
Radu Ioan Fericean
eb3bed151d write pid file from cgr-engine 2014-01-02 22:37:58 +02:00
DanB
9f45635de0 CdrE config, documentation fixup 2013-12-31 11:57:19 +01:00
DanB
5024944a2b History basic documentation, FsCgr tests fixup for localtime compliance, SaveInterval config on history server parsed as time.Duration 2013-12-29 14:17:38 +01:00
DanB
8064491481 Adding share config methods and tests 2013-12-28 10:34:06 +01:00
DanB
8e95225b99 Completing the implementation of the CDR client with tests 2013-12-22 18:35:16 +01:00
DanB
c38179c01a Cdrc further refactoring 2013-12-22 13:06:40 +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
022c426a20 further caching and optimizations 2013-12-14 16:51:28 +02:00
Radu Ioan Fericean
237508e590 performance enhancements 2013-12-14 12:44:42 +02:00
Radu Ioan Fericean
b122090421 added save period for history server 2013-12-09 12:49:56 +02:00
DanB
6138a12974 Improved logging for the cache system, better help message for console get_cost 2013-11-28 15:42:29 +01:00
DanB
c380fcb118 Adding -scheduler parameter on cgr-engine, adding local tests for Apier reload scheduler, reload cache and getCost 2013-11-25 19:19:50 +01:00
DanB
c7c4aefe0d Apier local tests, added -rater parameter to cgr-engine command to be able to enforce starting of the rater/apier out of command line, useful mostly for test units 2013-11-20 14:42:15 +01:00
DanB
ce1c22f142 Activate precaching only for rater 2013-11-12 10:18:33 +01:00
DanB
84fbf30376 Implementation of ApierV1.ExportCsvCdrs 2013-11-10 14:37:20 +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
455ed9e547 no precaching for loader (precache parameter) 2013-11-05 20:16:39 +02:00
DanB
9c6de26fa5 DBData encoding configuration 2013-10-09 10:41:51 +02:00
Radu Ioan Fericean
ed6c1fc151 logdb, cdrdb and loaddb are all stordb 2013-08-27 16:01:44 +03:00
Radu Ioan Fericean
411af6ba74 splited storage interface in multiple interfaces 2013-08-27 14:48:01 +03:00
Radu Ioan Fericean
e27bcaabf3 fix on extra pointer and added tests for missing fields checker 2013-08-14 17:53:40 +03:00
DanB
a67e410ed8 History server reconnects 2013-08-12 14:08:47 +02:00
Radu Ioan Fericean
52afbd376e added versioning for api and two new console commands: get_destination and add_balance (also improved set_balance) 2013-08-05 16:33:47 +03:00