Commit Graph

292 Commits

Author SHA1 Message Date
DanB
a75c2e7324 Mediator refactoring to support CDR as imput instead of csv row - adding separation of names and indexes, StartTime->AnswerTime, adding reqtype=rated 2013-06-06 12:37:36 +02:00
Radu Ioan Fericean
fbbb26fab3 Merge branch 'master' of github.com:cgrates/cgrates 2013-06-03 10:42:57 +03:00
DanB
81e2c8bd4e Initial modifications towards a new Mediator structure. Tests and compilation will fail until Mediator fixed 2013-06-02 15:07:03 +02:00
Radu Ioan Fericean
dca4cd0038 added db loader 2013-06-01 16:45:37 +03:00
DanB
6875f11c35 Replacing GetEndTime with GetDuration, support for MySQL as LogDB 2013-05-28 16:30:29 +02:00
DanB
f0e82ba4af Refactoring startCDRS to be in trend with the rest of start functions 2013-05-28 14:38:23 +02:00
DanB
a2afe0794a Fixup timestamps source in cdrs, modified cmd/cgr-rater to support disabling mediator as service in configuration 2013-05-28 14:06:08 +02:00
Radu Ioan Fericean
6345b78a44 cdr server capturing events 2013-05-26 18:24:05 +03:00
DanB
eaf432e3ad Merge branch 'master' of https://github.com/cgrates/cgrates 2013-05-23 14:23:59 +02:00
DanB
e3154f5824 Adding new parameters to config, improved testing of config 2013-05-23 13:43:33 +02:00
Radu Ioan Fericean
62511ee9e3 removed name from cdr and it should compile on go1.0.x now 2013-05-23 11:36:09 +03:00
DanB
83ef5b6d6f Adding CDRS configuration, better handling and testing of the defaults 2013-05-22 12:32:30 +02:00
Radu Ioan Fericean
aa3e3941ed added cdr server to cdr-rater tool 2013-05-19 20:27:25 +03:00
Radu Ioan Fericean
28bca0efcc fixed mongo storage 2013-05-17 14:46:33 +03:00
DanB
8473840446 Adding reconnect to both Mediator and SessionManager 2013-05-10 13:07:20 +02:00
DanB
25cbad0a90 <cmd/cgr-rater> Introducing synchronicity for config phase to avoid concurrency issues 2013-05-10 12:16:41 +02:00
Radu Ioan Fericean
e5ad2bd09b avoid var hiding 2013-05-09 16:02:02 +03:00
DanB
491641c28e Fixup regexp of Rates, allowing decimal connectFee 2013-04-21 19:05:10 +02:00
DanB
9b9ec3e5d6 Documentation refactoring to provide better structure for later 2013-04-13 18:24:16 +02:00
DanB
1f7f79def8 Mediator modify to support db only rates, bug fixup on passing references to indexes, config modification with default indexes pointing to -1/db logs, mongodb as default logdb storage 2013-04-12 19:01:09 +02:00
DanB
4e6d72fb69 Adding default configuration to data/conf folder, small config tweaks for increased usability 2013-04-11 19:39:52 +02:00
DanB
f70cecaa17 Go fmt on sources 2013-04-07 12:13:26 +02:00
DanB
e95939e4ea Moving config into it's own package, renaming config parameters to be exported by the package 2013-04-07 11:31:55 +02:00
DanB
b9f6f97b49 Refactoring the configuration into it's own struct 2013-04-06 15:29:49 +02:00
DanB
cbff5d5e90 Refactored config parser to avoid overwriting defaults if options not in configuration file, added reconnects config parameter to session manager 2013-03-31 15:03:29 +02:00
DanB
9713b14b89 BUG fixup for shutdown request when fs is not connected, improving syslog usability, restructured data folder to fit other type of data inside 2013-03-30 13:24:54 +01:00
DanB
b054bab7cb Adding shutdown message to syslog 2013-03-28 15:28:23 +01:00
Radu Ioan Fericean
659d1d5d9e copyright ITsysCOM 2013-03-25 12:54:06 +02:00
Radu Ioan Fericean
470bd0d030 changed configuration file default 2012-11-12 17:02:06 +02:00
Radu Ioan Fericean
71e8b9a2ae redeploy for goci to pass 2012-11-06 10:32:39 +02:00
Radu Ioan Fericean
79cb4bb6cc better shutdown 2012-10-10 16:12:42 +03:00
Radu Ioan Fericean
67afda7db2 sending disconnect messages to fs 2012-10-09 18:05:27 +03:00
Radu Ioan Fericean
75e5bd3b98 shutdown session manager and close all sessions on cgr-rater exit 2012-10-08 18:13:28 +03:00
Radu Ioan Fericean
233aa80c4f small bug correction and added fsock to test suite 2012-10-06 14:33:31 +03:00
Radu Ioan Fericean
0c23c3b7c9 hidden fsock inside package 2012-10-06 12:58:43 +03:00
Radu Ioan Fericean
2925f4b54c spanstress connecting to redis 2012-10-02 10:30:03 +03:00
Radu Ioan Fericean
0ed72bea3a renamed timespans package to rater 2012-10-01 15:23:10 +03:00
Radu Ioan Fericean
9349c27f76 no more reflection 2012-10-01 13:07:07 +03:00
Radu Ioan Fericean
7dd14f9038 cleaned go vet stuff 2012-09-30 14:05:55 +03:00
Radu Ioan Fericean
394033e5d2 added pseudo_prepaid option form ediator 2012-09-26 15:08:09 +03:00
Radu Ioan Fericean
e7618e5d9a more tests and better checking 2012-09-26 12:59:58 +03:00
Radu Ioan Fericean
2b974655f4 refactored mediator index parsing 2012-09-26 12:06:02 +03:00
root
3ba5c28125 Mediator bug fixup 2012-09-25 15:21:54 +02:00
DanB
e51177a77d Adding multiple run for mediated cdr row 2012-09-25 13:36:58 +02:00
Radu Ioan Fericean
aea3a158c3 logging for user balance restore 2012-09-21 15:06:18 +03:00
Radu Ioan Fericean
9cad38d8f3 added uuid index 2012-09-21 14:28:11 +03:00
Radu Ioan Fericean
72afe99437 initaializated call cost and more logging 2012-09-21 13:59:59 +03:00
Radu Ioan Fericean
ef7a7a7ac4 added libraries back to main repo 2012-09-20 11:33:06 +03:00
Radu Ioan Fericean
153f5d1da5 calculate time end from duration 2012-09-19 16:40:53 +03:00
Radu Ioan Fericean
54835279d7 removed another binary 2012-09-14 16:34:47 +03:00