Commit Graph

669 Commits

Author SHA1 Message Date
DanB
54f4bdee05 Config changes: httpposter_attempts -> poster_attempts, failed_requests_dir -> failed_posts_dir 2017-01-31 12:48:01 +01:00
DanB
55980e0536 Configuration change - http_failed_dir -> failed_requests_dir 2017-01-29 20:53:11 +01:00
DanB
44c09ab949 Remove HistoryServer option out of configuration, fixes #583 2016-11-24 19:11:14 +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
ea17c83172 CDRS - require content_fields only for *http_json_map and *http_post replication 2016-11-23 13:06:22 +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
bd0a902005 Adding log_level in cgrates.json, not longer starting services from cgr-engine command arguments 2016-10-25 19:10:47 +02: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
3c5c41d542 Adding content_fields to CDRS replication config 2016-10-14 12:51:48 +02:00
DanB
a706ca09ff Configuration helper message for errors on parsing files, renamed tutorials/asterisk_events into tutorials/asterisk_ari 2016-10-03 15:57:03 +02:00
DanB
e07c02ce6e Configuration checks for SMG in case of SMAsterisk is started, small modifications on tutorial_astevents_calls 2016-09-24 18:56:28 +02:00
DanB
cef071533b Adding CDRs sm_cost_retries configuration option 2016-09-16 16:27:01 +02:00
DanB
db5267d919 SMAsterisk config concurrency protection 2016-09-08 16:45:34 +02:00
DanB
c922ea0bfe SMAsterisk - Start empty skel service 2016-09-07 21:37:24 +02:00
DanB
75f56f9618 SMAsterisk configuration, initial structures 2016-09-07 19:26:04 +02:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
90069ab05d AccountDigest - AccountSummary for better readability 2016-08-29 12:57:24 +02:00
DanB
3831ad3d74 CDRS - injecting AccountDigest information in CDRS based on cdr_account_digest parameter 2016-08-27 12:23:54 +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
DanB
2da11236c4 CDRC config inheritance fix 2016-08-15 14:52:59 +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
73a99f3fd9 Adding ResourceLimiter default json configuration 2016-08-02 19:29:07 +02:00
Radu Ioan Fericean
a68df14ce7 added cache_dump_dir conf and moved stuf from log 2016-06-14 19:42:56 +03: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
27d5a7ba2f CDRs refactoring, adding versioning for internal RPC methods 2016-05-02 17:23:51 +02:00
DanB
4fb9a641ee Refactored CDRs internal functions, better CDRC .csv testing 2016-05-01 17:06:25 +02:00
DanB
f819912a0f CDRC configuration change to increase flexibility, list now 2016-04-28 15:40:14 +02:00
DanB
671f35bbca Refactored configuration file to include cluster connections everywhere, renamed old rater into RALs, fixes #389 2016-04-20 13:24:09 +02:00
DanB
318ceed9c9 Adding InstanceID to status command, rpcclient integration tests with strategy first 2016-04-11 08:48:13 +02:00
DanB
8f1a3b61be Merge master 2016-04-10 11:47:00 +02:00
Radu Ioan Fericean
f49c1f694c LCR subject prefix matching
fixes #388, fixes #394
2016-04-01 13:29:19 +03:00
DanB
31456e2a9c Fix merge conflicts, improving creation of new rpc pool 2016-03-24 09:18:38 +01:00
Radu Ioan Fericean
9fbd39ae6d Config for prefix matching for rating subject
config for #388
2016-03-08 11:49:08 +02:00
Radu Ioan Fericean
4e8049a124 Merge branch 'master' into hapool 2016-01-04 14:56:31 +02:00
DanB
140e6f2da8 MongoDb configurable indexes in cgrates.json, fixes #340 2016-01-01 16:22:47 +01:00
DanB
58d033484f Fix on starting CDRS in cmd/cgr-engine, config parsing optimization for multiple connections in hapool 2015-12-23 14:21:09 +01:00
Radu Ioan Fericean
d6713343b4 use rpc pool for cdrs rater connection 2015-12-22 19:59:39 +02:00
Radu Ioan Fericean
44d893c17b ha for diameter agent
renamed ha_rater/ha_cdrs to rater_conns/cdrs_conns
2015-12-04 17:05:09 +02:00
DanB
8af6f61bb5 New agents package, ListenAndServe for DiameterAgent, integration tests, adding fiorix/go-diameter in the list of dependencies 2015-11-14 18:56:14 +01:00
DanB
72a51fe1d9 DiameterAgent SMGeneric connection configuration 2015-11-14 13:19:41 +01:00
DanB
04c8c10877 DiameterAgent config skel 2015-11-13 19:11:38 +01:00
DanB
7d909ae577 Adding SM-Generic configuration to cgrates.json 2015-10-28 14:32:11 +01:00
DanB
5d56411b5b Improved SureTax configuration with defaults, modified NewSureTaxRequest method 2015-10-18 14:24:15 +02:00
DanB
af1d8e3cc5 Small modifications on CDR rplication, http_text does not make much sense 2015-10-13 12:34:33 +02:00
Eloy Coto
140ef92928 Issue #234:
Added http_post and http_text on Cdrs Replication
    Added as default 1 attemps in cdrs_replication (Old json version
    doesn't have this option)
    Added url scape on servername when file fallback is created. If not
    can't be created
2015-10-09 15:15:02 +01:00
DanB
5a614711f2 SureTax data structures with tests for NewSureTaxRequest 2015-10-04 18:23:32 +02:00