Adding cgr-tester tool

This commit is contained in:
DanB
2013-12-29 17:20:11 +01:00
parent 5024944a2b
commit 4092baea56
9 changed files with 205 additions and 223 deletions

View File

@@ -1,9 +1,9 @@
Rates history
=============
Rating history
==============
Enhances CGRateS with ability to archive rates modifications.
Ability to scale by using server-agents approach.
Large scaling posibility using server-agents approach.
In a distributed environment, there will be a single server (which can be backed up using technologies such as Linux-HA) and more agents sending the modifications to be archived.
History-Server
@@ -13,12 +13,12 @@ Part of the *cgr-engine*.
Controlled within *history_server* section of the configuration file.
Stores rates archive in a .git folder, hence making the rating changes available for analysis via any git browser tool (eg: gitg in linux).
Stores rating archive in a .git folder, hence making the changes available for analysis via any git browser tool (eg: gitg in linux).
Functionality:
- On startup reads the rates archive out of .git folder and caches the data.
- When receiving rates information from the agents it will recompile the rates cache.
- On startup reads the rating archive out of .git folder and caches the data.
- When receiving rating information from the agents it will recompile the cache.
- Based on configured save interval it will dump the rating cache (if changed) into the .git archive.
- Archives the following rating data:
- Destinations inside *destinations.json* file.
@@ -28,7 +28,7 @@ Functionality:
History-Agent
-------------
Integrated in the rates loader components.
Integrated in the rating loader components.
Part of *cgr-engine* and *cgr-loader*.