Commit Graph

296 Commits

Author SHA1 Message Date
DanB
593fef9162 Adding InstanceID in logging, configurable instanceID in config/general section, fixes #584 2016-11-24 19:03:57 +01:00
Shane Neuerburg
7acfa6acbc Set up JSON RPC and WebSocket URLs to be configurable
This also allows the two URLs to be disabled entirely. Also in this commit is rudimentary basic auth support for WebSockets
2016-11-11 16:17:54 -07:00
Shane Neuerburg
0cfd025a0d Add basic authentication without dependencies
This adds a rudimentary basic auth scheme without including dependencies.
2016-11-10 16:35:08 -07:00
Shane Neuerburg
a88a1e75ed Add basic authentication to HTTP API
This adds support for basic authentication for the HTTP API with new configuration values to control if basic auth is used, the basic auth realm URL, and the location to a basic .htpasswd file.

github.com/abbot/go-http-auth is added as a dependency as it efficiently implements basic auth, as well as .htpasswd file monitoring.
2016-11-10 10:57:55 -07:00
DanB
b5279062ed Diameter using POOL_FIRST for SMG connection instead of POOL_BROADCAST 2016-11-09 17:30:09 +01:00
DanB
37c853cb91 RPCClient with lazyConnect 2016-11-08 16:03:30 +01:00
DanB
864450809d SMGeneric SessionReplication with connection establishment 2016-10-28 17:28:06 +02:00
DanB
bd0a902005 Adding log_level in cgrates.json, not longer starting services from cgr-engine command arguments 2016-10-25 19:10:47 +02:00
Shane Neuerburg
6c05c42c44 Add command line flag to cgr-engine for logging levels
This adds a new -log_level flag to cgr-engine, defaulting to 5 (INFO). The logger has been extended to drop log messages that do not meet or exceed the log level requested.
2016-10-21 19:31:24 -06:00
DanB
aad88d2973 Renamed cache2go into cache for simplicity 2016-10-07 18:35:48 +02:00
DanB
d14976a2de SMGeneric with Call method, cgr-engine passing concrete SMGeneric object instead of interface as internalSMGChan 2016-09-23 13:13:02 +02:00
DanB
0f2a6ede59 BiRPCInternalClient, modifying SMGeneric to work as BiRPCServer interface 2016-09-22 21:21:29 +02:00
DanB
444a8efc16 Refactoring bidirectional connnections in SMGeneric for session disconnects 2016-09-21 11:33:27 +02:00
DanB
b74151bb17 SM-Asterisk using aringo to connect to Asterisk 2016-09-08 21:28:35 +02:00
DanB
c922ea0bfe SMAsterisk - Start empty skel service 2016-09-07 21:37:24 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
f7edd20174 Cache redesign, fixing transactions mechanism 2016-08-31 11:43:33 +02:00
DanB
3831ad3d74 CDRS - injecting AccountDigest information in CDRS based on cdr_account_digest parameter 2016-08-27 12:23:54 +02:00
DanB
91f152f756 Enable RPC service for SMG alone 2016-08-26 13:06:43 +02:00
Radu Ioan Fericean
ccf0f273a8 Merge branch 'master' into newcache 2016-08-16 18:12:30 +03:00
Radu Ioan Fericean
747af43f8d initialize cache with config object 2016-08-15 23:05:55 +03:00
Eloy Coto
956d15803d CDRC: Fix issue with disabled cdrc clients
t
2016-08-15 10:09:18 +01:00
Radu Ioan Fericean
f76ba01671 all local test passing 2016-08-12 14:24:48 +03:00
DanB
fe27ee6430 Adding ResourceLimiter within SMFreeSWITCH code 2016-08-07 23:21:23 +02:00
DanB
8369c3829d Adding RLsConns into SMFreeSWITCH 2016-08-07 17:58:12 +02:00
DanB
69930adb10 Activating ResourceLimiterS within cmd/cgr-engine 2016-08-02 21:33:18 +02:00
DanB
502aaaf173 Disabling automatic reload of ResourceLimits in cache 2016-08-02 15:46:42 +02:00
DanB
fccfaf918e Automatic load of the ResourceLimits in cache 2016-08-02 14:21:14 +02:00
DanB
c7eaa9988e PartialCDRRecordsCache inside CDRC 2016-07-31 13:43:53 +02:00
Radu Ioan Fericean
8e4573cc66 replaced logdb with pubsub 2016-07-18 21:40:25 +03:00
Radu Ioan Fericean
ed65235587 added loadid to load history instances 2016-07-08 15:47:47 +03:00
Radu Ioan Fericean
58e9acae74 manual tests ok 2016-06-30 18:07:40 +03:00
Radu Ioan Fericean
ce0896d15a add load history for every cash save operation 2016-06-29 12:29:32 +03:00
Radu Ioan Fericean
07479dcce0 Merge branch 'master' into faststart 2016-06-20 11:25:24 +03:00
DanB
38487d4ba2 Adding Transport option for RPC connections, support for both *json and *gob 2016-06-18 14:25:03 +02:00
DanB
1d437e28b4 Scheduled shutdown for the engine 2016-06-16 11:47:31 +02:00
Radu Ioan Fericean
817b37b72b optimized cache dump 2016-06-14 23:27:44 +03:00
Radu Ioan Fericean
e84e28faae cache refactoring for save and load 2016-06-07 22:43:02 +03:00
Radu Ioan Fericean
eb071e49f2 initial cache files mechanism 2016-06-02 20:59:30 +03:00
DanB
de7b4811f6 Test fixes for multiple cdrc, CheckVersion taking now db as input, InitDataDb saving also version 2016-06-01 18:42:45 +02:00
DanB
7777430816 DiameterAgent connecting via Pool with BROADCAST strategy to SMG 2016-05-31 21:11:31 +02:00
DanB
d7f2330c6b New config options: httpposter_attempts, connect_timeout, reply_timeout, locking_timeout, fix connection drop detection in case of HA 2016-05-30 21:13:42 +02:00
DanB
8384f763a5 Connection pool update, allowed errors per connection if at least one connection up, updated tests and glide.lock 2016-05-15 21:12:44 +02:00
DanB
578fd87325 SM - Fix StoreSMCost, OpenSIPS integration fixes and update tutorial to 2.2 version 2016-05-09 20:06:14 +02:00
Radu Ioan Fericean
e96f5e34b0 fixed test and removed pprof 2016-04-30 14:03:49 +03:00
DanB
b303ff980e Merge branch 'master' of https://github.com/cgrates/cgrates 2016-04-28 15:40:25 +02:00
DanB
f819912a0f CDRC configuration change to increase flexibility, list now 2016-04-28 15:40:14 +02:00
Radu Ioan Fericean
0c9ab06a65 migration for value formula in balance filter 2016-04-26 20:23:43 +03:00
Radu Ioan Fericean
b16cc28389 started value formula 2016-04-26 20:23:43 +03:00
DanB
d4ac5548cb Default request caching disabled 2016-04-26 13:42:34 +02:00