Commit Graph

758 Commits

Author SHA1 Message Date
DanB
a9e4a35601 ApierV2.ExportCdrsToFile with RoundingDecimals option 2016-11-30 11:37:42 +01:00
DanB
061c13b0bf CDRExporterV1 ignoring *raw CDRs since they did not exist by the time API was created 2016-11-30 11:29:34 +01:00
DanB
7e49647ee4 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-28 14:58:02 +01:00
DanB
b8529af350 Storage inteface CacheDataFromDB, implementation in redis with tests, fix for destination not being cached in redis 2016-11-28 14:57:58 +01:00
Edwardro22
916624f8b1 Small fix 2016-11-28 12:42:11 +01:00
Edwardro22
f742970ddd Merge branch 'master' of https://github.com/Edwardro22/cgrates 2016-11-28 02:04:22 +01:00
DanB
593fef9162 Adding InstanceID in logging, configurable instanceID in config/general section, fixes #584 2016-11-24 19:03:57 +01:00
DanB
6a7610ef21 Cache GetCloned method 2016-11-22 17:39:53 +01:00
DanB
8f2379ed5c Mongo storage TPDestination format change, APierV2.SetTPDestination and GetTPDestination using Tag instead of DestinationId to have a common format before TP data 2016-11-22 12:55:43 +01:00
DanB
3ace5d459c APIErrorHandler 2016-11-18 14:14:22 +01:00
DanB
c30a7cb87e CGRError type 2016-11-17 19:29:50 +01:00
DanB
6170f8cbf4 TPDestination.DestinationId -> DestinationID 2016-11-17 17:03:01 +01:00
Edwardro22
8c0112897a Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-17 14:14:14 +01:00
Edwardro22
667c180f30 Renamed integration tests 2016-11-16 23:55:03 +01:00
Edwardro22
561ca44d4a integration tests redesign 2016-11-16 23:50:50 +01:00
DanB
6e535f11af MongoDB driver does not longer handle indexing on each connection 2016-11-16 20:58:01 +01:00
DanB
5281b7c051 Updating default cgrates.json config, small logs modifications in http server 2016-11-12 11:17:52 +01:00
Dan Christian Bogos
8259d85a07 Merge pull request #592 from shaneneuerburg/basic-auth
Add basic authentication to HTTP API
2016-11-12 10:07:58 +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
12bf0667ef SMGeneric simplified active/passive table management, unified SMGenericV1.ActiveSessions and SMGenericV1.PassiveSessions logic 2016-11-10 13:32:30 +01:00
DanB
c8750261eb SMGeneric - improved session indexing considering runID, passive sessions with session prefix implementation 2016-11-09 16:53:06 +01:00
Dan Christian Bogos
453ef7940c Merge pull request #580 from Edwardro22/master
Sorted tests and added more tests for coreutils funcs
2016-10-30 09:54:03 +01:00
Edwardro22
7496b77b90 Testsfor Int64Slice funcs 2016-10-30 08:25:43 +01:00
Edwardro22
f2413c391d Tests from utils sorted 2016-10-29 17:46:26 +02:00
Edward
3f310237a8 Added more tests and sorted others 2016-10-29 17:45:11 +02:00
DanB
5b126804ca Better error reporting in case of RPC issues 2016-10-28 18:35:48 +02:00
DanB
7d4d600dca Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-27 19:23:13 +02:00
DanB
1f6ab1ba2f Error counting in RPC GOB and JSON 2016-10-27 19:22:44 +02:00
Edward
291f30475c Test for func TimeIs0h 2016-10-27 18:03:08 +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
ae9f6f0c3b Adding support for *http_json_map for CDR replication with dynamic fields, fixes #563 2016-10-14 21:12:58 +02:00
DanB
b7445e5e99 Centralized replication/exports using field templates, CDRExporter with less parameters via API - moved to field templates 2016-10-14 18:35:07 +02:00
DanB
7f44dcba69 HTTPPoster with reply timeout and connection caching for CDR replication 2016-10-13 17:54:24 +02:00
DanB
f6ac392439 ReqFilterIndexes in storage_interface and implemented in redis driver 2016-10-08 21:42:00 +02:00
DanB
836994c30b RSRFilter test for non empty value 2016-10-04 12:39:46 +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
da53e555b9 SMAsterisk with support for SMGClientV1.DisconnectSession 2016-09-21 12:13:04 +02:00
DanB
444a8efc16 Refactoring bidirectional connnections in SMGeneric for session disconnects 2016-09-21 11:33:27 +02:00
DanB
3c84afc162 SMGeneric saveOperations with async support 2016-09-19 15:02:57 +02:00
DanB
49696b89dd SMAsterisk send init to SMGeneric and process answer 2016-09-14 20:27:22 +02:00
DanB
b3b05a710c SM-Asterisk - continue method for channel entering stasis 2016-09-11 12:26:06 +02:00
DanB
db5267d919 SMAsterisk config concurrency protection 2016-09-08 16:45:34 +02:00
rinor
e929f93b6f rpc2 - github.com/cenkalti to github.com/cenk 2016-09-07 16:58:14 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
69c51866ce NO_ACTIVE_SESSION error in SMG, integration tests improvements 2016-09-01 19:36:43 +02:00
DanB
3c4a112552 ApierV1.ReloadCache using pointers to detect reloadAll 2016-09-01 14:52:25 +02:00