Commit Graph

802 Commits

Author SHA1 Message Date
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
DanB
8000887051 Config and code updates to properly handle CDRS and Mediator variations 2013-08-04 22:01:36 +02:00
DanB
a814b1cc17 Adding sanity checks for CDRS working with internal mediator 2013-08-04 21:48:25 +02:00
DanB
b04f276fb6 Removing configuration to enable cdr handlers since filtering is based on url and no extra resources are consumed by handlers 2013-08-04 21:29:51 +02:00
Radu Ioan Fericean
2156f05131 history flood/loop protection 2013-08-04 20:21:43 +03:00
Radu Ioan Fericean
882a567fe1 added history client for cgr-loader 2013-08-04 18:58:23 +03:00
Radu Ioan Fericean
88db48470d integrated hstory into cgr-engine command 2013-08-04 15:39:53 +03:00
Radu Ioan Fericean
9411759bc9 added history configuration options 2013-08-03 20:19:05 +03:00
Radu Ioan Fericean
6c5d73d41a more refactoring and added first test 2013-08-01 18:19:18 +03:00
DanB
c60b26c0c4 TPCSVImporter ActionTriggers 2013-07-30 17:03:16 +02:00
Radu Ioan Fericean
64c1cd67f0 implemented global rounding method and precision for get cost 2013-07-25 12:16:15 +03:00