Commit Graph

778 Commits

Author SHA1 Message Date
DanB
5f4be49131 Get/Set AccountActions mapping in storage, renamed OnlineStor interface into DataDB, populate APIer cache methods with AcccountActionPlans 2017-01-06 20:12:07 +01:00
DanB
0eb29c826b Adding account_action_plans in cache config 2017-01-05 17:24:05 +01:00
DanB
0d70618754 Adding missing ActiveGoroutines var 2017-01-03 16:04:03 +01:00
DanB
d200708083 Adding git hash to version of the binaries 2017-01-02 14:41:31 +01:00
DanB
36bff4d663 ApierV1.GetCacheKeys implementation, precaching on start fixes #614 2016-12-28 13:06:00 +01:00
DanB
7111bf239c Apierv1.PreloadCache, ApierV1.FlushCache with options, remove Responder.FlushCache, fixes at CacheDataFromDB for all keys 2016-12-23 19:30:14 +01:00
DanB
da7e75e013 Cache load management improved, fixes #615, fixes #619 2016-12-19 19:07:59 +01:00
DanB
3380c918ba CacheDataFromDB with ReverseAliases 2016-12-16 19:08:51 +01:00
Dan Christian Bogos
c9762b36f4 Merge pull request #617 from rbarrabe/patch-2
Adding AccountSummary for CdrExporter
2016-12-15 16:15:33 +01:00
DanB
49924fc210 SMGeneric using cloning for replication to avoid concurrency 2016-12-15 12:54:41 +01:00
Regis
e71415908a Adding AccountSummary for CdrExporter 2016-12-14 17:44:51 +01:00
DanB
f789e181ba First operational version of *cost_details migrator 2016-12-08 15:45:18 +01:00
DanB
b2f1b07c8b Migrator in cgr-loader, *set_versions implementation 2016-12-08 13:48:59 +01:00
DanB
6bee1d387b New automated Migrator with partial *cost_details implementation 2016-12-08 12:03:25 +01:00
DanB
0bd2c32f5c Get/Set/Remove Versions in StorDB/MySQL; new MySQL table - versions 2016-12-06 19:02:28 +01:00
DanB
2f9f601db2 New ServiceManager handling dynamic service start/stop, *scheduler management through it, new CapitalizeMessage function in utils 2016-12-03 13:45:17 +01:00
DanB
72f4d53f7f Updating contributors file, update tutorial test with cleanup of the exported file 2016-12-01 17:24:56 +01:00
DanB
82a7b3806c CDRS auto-generating missing CGRID in processCDR, rejecting SMCosts when CGRID is missing, adding export tests to tutorial integration tests 2016-11-30 20:48:33 +01:00
DanB
2bc34cf7f1 ApierV1.SetActions - BalanceWeight as float 2016-11-30 16:02:02 +01:00
DanB
cd73bf7631 Adding test for parsing MatchedDestinationId 2016-11-30 13:26:30 +01:00
DanB
a9e4a35601 ApierV2.ExportCdrsToFile with RoundingDecimals option 2016-11-30 11:37:42 +01:00
DanB
061c13b0bf CDRExporterV1 ignoring *raw CDRs since they did not exist by the time API was created 2016-11-30 11:29:34 +01:00
DanB
7e49647ee4 Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-28 14:58:02 +01:00
DanB
b8529af350 Storage inteface CacheDataFromDB, implementation in redis with tests, fix for destination not being cached in redis 2016-11-28 14:57:58 +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
593fef9162 Adding InstanceID in logging, configurable instanceID in config/general section, fixes #584 2016-11-24 19:03:57 +01:00
DanB
6a7610ef21 Cache GetCloned method 2016-11-22 17:39:53 +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
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
Edwardro22
8c0112897a Merge branch 'master' of https://github.com/cgrates/cgrates 2016-11-17 14:14:14 +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
6e535f11af MongoDB driver does not longer handle indexing on each connection 2016-11-16 20:58:01 +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
12bf0667ef SMGeneric simplified active/passive table management, unified SMGenericV1.ActiveSessions and SMGenericV1.PassiveSessions logic 2016-11-10 13:32:30 +01:00
DanB
c8750261eb SMGeneric - improved session indexing considering runID, passive sessions with session prefix implementation 2016-11-09 16:53:06 +01:00
Dan Christian Bogos
453ef7940c Merge pull request #580 from Edwardro22/master
Sorted tests and added more tests for coreutils funcs
2016-10-30 09:54:03 +01:00
Edwardro22
7496b77b90 Testsfor Int64Slice funcs 2016-10-30 08:25:43 +01:00
Edwardro22
f2413c391d Tests from utils sorted 2016-10-29 17:46:26 +02:00
Edward
3f310237a8 Added more tests and sorted others 2016-10-29 17:45:11 +02:00
DanB
5b126804ca Better error reporting in case of RPC issues 2016-10-28 18:35:48 +02:00
DanB
7d4d600dca Merge branch 'master' of https://github.com/cgrates/cgrates 2016-10-27 19:23:13 +02:00
DanB
1f6ab1ba2f Error counting in RPC GOB and JSON 2016-10-27 19:22:44 +02:00