Removed history service

This commit is contained in:
edwardro22
2018-01-04 11:46:25 +02:00
committed by Dan Christian Bogos
parent a31dddfc72
commit 17b16a415a
44 changed files with 15 additions and 928 deletions

View File

@@ -29,9 +29,6 @@
"cdrstats_conns": [
{"address": "*internal"}
],
"historys_conns": [
{"address": "*internal"}
],
"pubsubs_conns": [
{"address": "*internal"}
],
@@ -142,12 +139,6 @@
},
"historys": {
"enabled": true, // starts History service: <true|false>.
"history_dir": "/tmp/cgr_osipsasync/cgrates/history", // location on disk where to store history files.
},
"pubsubs": {
"enabled": true, // starts PubSub service: <true|false>.
},

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=$TUTFOLDER/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
CDRCINDIR=$TMP_DIR/cdrc/in
CDRCOUTDIR=$TMP_DIR/cdrc/out
@@ -68,11 +67,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -15,4 +15,3 @@ Scenario:
- CGR-Mediator component attaching costs to the raw CDRs from FreeSWITCH_ inside CGR StorDB.
- CGR-CDRE exporting mediated CDRs from CGR StorDB (export path: */tmp*).
- CGR-CDRStats component building up stats in 5 different queues.
- CGR-History component keeping the archive of the rates modifications (path browsable with git client at */tmp/cgr_history*).

View File

@@ -12,9 +12,6 @@
"cdrstats_conns": [
{"address": "*internal"}
],
"historys_conns": [
{"address": "*internal"}
],
"pubsubs_conns": [
{"address": "*internal"}
],
@@ -132,12 +129,6 @@
},
"historys": {
"enabled": true, // starts History service: <true|false>.
"history_dir": "/tmp/cgr_fsevsock/cgrates/history", // location on disk where to store history files.
},
"pubsubs": {
"enabled": true, // starts PubSub service: <true|false>.
},

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=/usr/share/cgrates/tutorials/fs_evsock/cgrates/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=$TUTFOLDER/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
CDRCINDIR=$TMP_DIR/cdrc/in
CDRCOUTDIR=$TMP_DIR/cdrc/out
@@ -68,11 +67,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -19,9 +19,6 @@
"cdrstats_conns": [
{"address": "*internal"}
],
"historys_conns": [
{"address": "*internal"}
],
"pubsubs_conns": [
{"address": "*internal"}
],
@@ -121,12 +118,6 @@
},
"historys": {
"enabled": true,
"history_dir": "/tmp/cgr_kamevapi/cgrates/history",
},
"pubsubs": {
"enabled": true,
},

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=$TUTFOLDER/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -10,9 +10,6 @@
"cdrstats_conns": [
{"address": "*internal"}
],
"historys_conns": [
{"address": "*internal"}
],
"pubsubs_conns": [
{"address": "*internal"}
],
@@ -109,12 +106,6 @@
},
"historys": {
"enabled": true, // starts History service: <true|false>.
"history_dir": "/tmp/cgr_osipsasync/cgrates/history", // location on disk where to store history files.
},
"pubsubs": {
"enabled": true, // starts PubSub service: <true|false>.
},

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=/usr/share/cgrates/tutorials/fs_evsock/cgrates/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=$TUTFOLDER/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -17,9 +17,6 @@
"cdrstats_conns": [
{"address": "*internal"}
],
"historys_conns": [
{"address": "*internal"}
],
"pubsubs_conns": [
{"address": "*internal"}
],
@@ -113,12 +110,6 @@
},
"historys": {
"enabled": true, // starts History service: <true|false>.
"history_dir": "/tmp/cgr_osipsnative/cgrates/history", // location on disk where to store history files.
},
"pubsubs": {
"enabled": true, // starts PubSub service: <true|false>.
},

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=/usr/share/cgrates/tutorials/fs_evsock/cgrates/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service

View File

@@ -29,7 +29,6 @@ PIDFILE=$RUNDIR/cgr-engine.pid
STACKTRACE=$RUNDIR/$NAME.strace
ENABLE=true
DAEMON_OPTS="-config_dir=$TUTFOLDER/etc/cgrates"
HISTDIR=$TMP_DIR/history
CDREDIR=$TMP_DIR/cdre
# Exit if the package is not installed
@@ -59,11 +58,6 @@ if [ ! -d $CDREDIR ]; then
mkdir -p $CDREDIR
chown $USER:$GROUP $CDREDIR
fi
# Install the history folder
if [ ! -d $HISTDIR ]; then
mkdir -p $HISTDIR
chown $USER:$GROUP $HISTDIR
fi
#
# Function that starts the daemon/service