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
DanB
401625861d
Updated project README, COPYRIGHT information
2016-09-02 13:04:34 +02:00
rinor
6a51639de4
diameter_agent: remove "dialect"
2016-09-02 12:38:59 +02:00
DanB
db02afe33e
Update default configuration file
2016-08-29 19:15:54 +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
DanB
dda8fdd106
New configuration option: session_indexes for sm_generic
2016-08-24 08:41:53 +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
Radu Ioan Fericean
cac660d1ef
added cache config section
2016-08-15 17:53:26 +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
c8878f8b87
Adding ResourceLimiter configuration within SMFreeSWITCH
2016-08-07 17:39:28 +02:00
DanB
f8a998600b
Model converters, instantiate Usage on resourceLimit
2016-08-07 17:00:14 +02:00
DanB
e452dbc28c
CdrExporter.ExportFolder to CdrExporter ExportDirectory, fixed tutorial files with proper cdrexport field type
2016-08-06 13:02:22 +02:00