Commit Graph

418 Commits

Author SHA1 Message Date
DanB
50440f5490 CDRS using goroutines for rating to release the CDR faster, tests improvements 2017-02-16 10:50:08 +01:00
DanB
d27dc06e7d CDRExporter redesign, modified configuration parameters, CDRS replication -> online_cdr_exports 2017-02-14 17:41:30 +01:00
DanB
393c1acbd0 Adding FieldMultiplyFactor so we can clone it centralized 2017-02-12 19:19:47 +01:00
DanB
c6d07d6701 ApierV1.ReplayFailedPosts with support for *amqp, fix default replication teplate 2017-02-08 17:06:34 +01:00
DanB
32df69469c Testing file replication in case of *amqp_json_map transport 2017-02-03 18:05:58 +01:00
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
d429b9404e Adding utils/FallbackFileName with tests 2017-01-29 19:22:50 +01:00
DanB
0eb29c826b Adding account_action_plans in cache config 2017-01-05 17:24:05 +01:00
DanB
f8bbcfeb40 Tests for CDR exporting mask destination, CachedDestHasPrefix not skipping cache 2017-01-04 12:05:44 +01:00
DanB
03a9569190 Preload data on start, properly handle reloads when loadFromFolder or stor, ApierV1.PreloadCache method 2016-12-21 16:01:10 +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
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