Commit Graph

407 Commits

Author SHA1 Message Date
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
44c09ab949 Remove HistoryServer option out of configuration, fixes #583 2016-11-24 19:11:14 +01:00
DanB
46152f8297 Remove cache_dump_dir from config_defaults, fixes #582 2016-11-24 19:07:40 +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
3644d2d288 Remove reconnects from opensips config_defaults, fixes #589 2016-11-24 15:45:38 +01:00
DanB
596f19c8bc CDRC - allow RunID value on import 2016-11-24 15:39:56 +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
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
ce23852583 Small config fix 2016-11-12 11:27:44 +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
543fe0fb23 Small fix to only load defaults once in tests 2016-11-10 18:40:36 +01:00
DanB
65ee8a1131 Fix Diameter config loading which was doubling processor, thanks @Edwardro22 2016-11-10 18:30:12 +01:00
Dan Christian Bogos
15602c1365 Merge pull request #590 from Edwardro22/master
Added tests for config_defaults.go
2016-11-10 17:21:06 +01:00
Edwardro22
753c9bd325 Refactoring config defaults tests 2016-11-10 16:39:20 +01:00
Edwardro22
915b6ae9da Added test for DefaultsDiameterAgentCfg 2016-11-10 15:45:37 +01:00
Edwardro22
570b3bdd82 Added tests for cdre 2016-11-09 22:13:26 +01:00
Edwardro22
d7811124e7 Tests for SureTax default 2016-11-09 06:28:06 +01:00
Edwardro22
c722f23c40 Debugging tests 2016-11-08 12:20:36 +01:00
DanB
d253be03ac SMGeneric using CGRID instead of OriginID for session indexing 2016-11-07 17:22:54 +01:00
Edwardro22
a7133b4c3f Refactoring 2016-11-04 13:40:06 +01:00
Edwardro22
c276253ad3 Merge branch 'master' of https://github.com/Edwardro22/cgrates
Conflicts:
	config/config_test.go
2016-11-04 13:33:59 +01:00
Edwardro22
d6bc012a21 Modifying some tests 2016-11-04 13:29:05 +01:00
Edwardro22
bd888f6d38 Modified tests for config_defaults 2016-11-03 08:14:32 +01:00
Edwardro22
4bf076ac8f Added tests for config_defaults 2016-11-02 20:34:15 +01:00
Edwardro22
67e5dd5a5b Merge remote-tracking branch 'Fetch/master' 2016-11-02 20:05:20 +01:00
Edwardro22
5f3b0d5abc Added some tests for config_default 2016-11-02 19:59:51 +01:00
DanB
39c1511167 Fix SmGenericConfig for SMGReplicationConns 2016-11-02 19:19:24 +01:00
DanB
b0b58de0ff Started JSON defaults testing in main CGRConfig struct 2016-11-01 19:17:37 +01:00
DanB
d8eeddd348 SMGeneric smg_replication_conns configuration 2016-10-27 19:23:03 +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
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
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
f261cbddec Configuration - remove smg_conns option in sm_asterisk section, updating default cgrates.json config 2016-09-23 14:10:17 +02:00
DanB
59a083bc4c SMAsterisk - configuration cleanup, processCDR option introduced 2016-09-18 15:47:40 +02:00
DanB
cef071533b Adding CDRs sm_cost_retries configuration option 2016-09-16 16:27:01 +02:00
DanB
d65897c2d0 SM-Asterisk - connection and listening mechanism implementation 2016-09-09 17:34:28 +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
7ce4f65f02 DiameterAgent, cdr_requires_session config option 2016-09-02 14:42:01 +02:00
DanB
25c61b7d65 Merge fixes 2016-09-02 13:07:00 +02:00