Commit Graph

5049 Commits

Author SHA1 Message Date
Dan Christian Bogos
b2f643be36 Merge pull request #599 from rbarrabe/patch-4
GetClone for actions
2016-11-25 14:38:12 +01:00
DanB
1d0011b6dc SMGeneric fix compute mechanism in getSessionIDsForPrefix 2016-11-25 14:23:32 +01:00
Regis
d3f71279c4 GetClone for actions 2016-11-25 13:56:16 +01:00
rbarrabe
73d8147a56 Update storage_mongo_datadb.go 2016-11-25 10:18:26 +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
b5dd2fee1a Merge branch 'shaneneuerburg-debitusage-respect-negative-bal' 2016-11-24 14:43:21 +01:00
DanB
22038034cc CallDescriptor.AllowNegative -> DenyNegativeAccount, ApierV1.DebitUsageWithOptions modifications 2016-11-24 14:42:20 +01:00
DanB
99750d6098 Merge branch 'debitusage-respect-negative-bal' of git://github.com/shaneneuerburg/cgrates into shaneneuerburg-debitusage-respect-negative-bal 2016-11-24 13:12:27 +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
DanB
9966f2bf19 TestCDRAsExportMap 2016-11-23 11:35:51 +01:00
DanB
ef50f8bd83 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-22 18:13:49 +01:00
DanB
e657fb3ca8 GetActionPlan from cache with GetCloned 2016-11-22 18:13:35 +01:00
DanB
6a7610ef21 Cache GetCloned method 2016-11-22 17:39:53 +01:00
Dan Christian Bogos
a90d5f853c Merge pull request #596 from rbarrabe/patch-3
Delete accountID only if it exist
2016-11-22 14:22:18 +01:00
Regis
337cc09abb adding test for action remvove_account 2016-11-22 14:11:51 +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
rbarrabe
20d2cee425 Delete accountID only if it exist 2016-11-22 10:54:44 +01:00
DanB
9b34f98521 SMGeneric - use pointer for locking 2016-11-18 17:06:24 +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
DanB
443c594edc StorageMongo creating indexes based on storDBType 2016-11-17 13:18:43 +01:00
DanB
6e535f11af MongoDB driver does not longer handle indexing on each connection 2016-11-16 20:58:01 +01:00
DanB
0dd2ca8917 ApierV2 tests redesign, use build tags and subtests for code compressing and good readability 2016-11-16 14:57:31 +01:00
DanB
de5bb9abc1 Test fix 2016-11-15 20:20:29 +01:00
DanB
8ac919058a Integration tests in general_tests package redesign using build tags 2016-11-15 18:03:19 +01:00
DanB
9fb41b690b Better failover/failback testing for RPC-Client 2016-11-15 12:55:12 +01:00
DanB
37ca876db4 Small cleanups SMGeneric 2016-11-14 21:04:26 +01:00
DanB
a5b7177f39 Account.setBalanceAction - balanceType not longer mandatory if balance exists 2016-11-14 12:55:09 +01:00
DanB
f393840156 SMGeneric - fix for unprotected session terminators 2016-11-14 11:37:03 +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
DanB
ed87edac4c Adding ApierV1.AddTriggeredAction, ApierV1.SetActions with float64 as units for backwards compatibility 2016-11-12 10:00:10 +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
DanB
3ba572cb4c Backwards compatible APierV1.SetActions 2016-11-11 11:20:17 +01: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
DanB
a44cb0ad17 SMGeneric - make sure we return SessionNotFound for both update and terminate without init 2016-11-10 16:39:21 +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
DanB
e6a27764a3 SMGeneric - replicate only on changes 2016-11-10 15:11:20 +01:00
DanB
f5e6c95a6c SMGeneric common index configuration for active/passive sessions 2016-11-10 14:15:15 +01:00