Commit Graph

6801 Commits

Author SHA1 Message Date
Anevo
4ff80bb2f2 Config sanity to accept loaderTypes, MetaComposed and MetaString 2018-03-29 17:39:45 +02:00
DanB
cbfeff169d Loader - move files on completion, API LoaderSv1.ProcessFolder -> LoaderSv1.Load 2018-03-29 09:50:46 +02:00
DanB
4900a70eaf Adding Loader service in cgr-engine 2018-03-29 09:50:46 +02:00
TeoV
d687c98b3a Update integration test 2018-03-28 16:54:46 +02:00
TeoV
0eb6b37785 Remove unnecesary files from tutorial2 and update stats 2018-03-28 13:46:19 +02:00
DanB
33f371b2ff SessionS MinCallDuration implementation, fixes #1016 2018-03-28 11:25:37 +02:00
Anevo
72b01dcfc1 Tested functions in utils/reflect.go 2018-03-27 18:47:38 +02:00
Anevo
e30d15ce36 Renamed console files 2018-03-27 18:47:38 +02:00
TeoV
a0221d38fb Remove logs 2018-03-27 18:46:33 +02:00
TeoV
aa0da215ae New folder (tutorial2) for call test 2018-03-27 18:46:33 +02:00
DanB
4a7a00e967 LoaderS NewLoader method 2018-03-26 20:19:53 +02:00
DanB
fe2afcd0a6 LoaderS test for multi files content processing 2018-03-26 18:50:15 +02:00
DanB
9da53d5fdb Loader TestProcessContent with single file, defaults to map[string]interface{} -> struct 2018-03-26 18:16:49 +02:00
Anevo
a2ca4ef7e3 Renamed console files and tested functions from utils/struct.go 2018-03-26 17:43:34 +02:00
TeoV
55bdff293d Update cgrates start script for freeswitch 2018-03-26 17:42:49 +02:00
TeoV
e1443b625c Update apier/v1 instegration test for stats and thresholds 2018-03-26 14:31:09 +02:00
DanB
c1badd578c Disable load history querying when starting aliases, precache integration tests operational 2018-03-24 09:03:11 +01:00
DanB
be89785ad6 LoaderS with storeLoadedData method, reflect.UpdateStructWithIfaceMap 2018-03-23 20:36:22 +01:00
Anevo
e81a3ae10b Added Status API all for each subsystem 2018-03-23 17:32:34 +01:00
TeoV
d4e4e6162b Update tutmysql cfg 2018-03-23 17:29:54 +01:00
TeoV
02057eecdb Update test calls with subtests 2018-03-23 17:29:54 +01:00
TeoV
71eef4f2f4 Add connection between cdrs and stats in config from test call 2018-03-23 17:29:54 +01:00
TeoV
1c57cb90bf Add Stats to call test 2018-03-23 17:29:54 +01:00
DanB
ae233df00b KamailioAgent: hash_id and hash_entry not longer reserved in events 2018-03-23 10:12:50 +01:00
DanB
71469f88b3 LoaderS with tests for both single and multiple files as data source 2018-03-22 19:36:46 +01:00
Anevo
8fd5a13391 Precache integration tests 2018-03-22 18:34:03 +01:00
DanB
b00f4ce95f SessionS.AuthorizeEventWithDigest protecting empty attributes reply 2018-03-22 18:29:10 +01:00
DanB
cff64048a3 Adding client protocol version in SessionS, thanks @razvancrainea 2018-03-22 17:47:48 +01:00
DanB
1e3608571e SessionSv1.AuthorizeEventWithDigest returning MaxUsage as float64 instead of duration, thanks @razvanc 2018-03-21 19:15:37 +01:00
DanB
0213825d3c LoaderData with UpdateFromCSV method 2018-03-21 19:15:37 +01:00
Anevo
60c48cf52b Added tests for Dataconverter methods and renamed *usage_seconds to *duration_seconds 2018-03-21 13:29:44 +01:00
TeoV
2a73e50a24 Update fnotify in glide lock 2018-03-21 12:05:29 +01:00
TeoV
3809083f7b Add test for Resources when call is on 2018-03-21 12:05:29 +01:00
TeoV
164ab7270a Add new test for call (freeswitch) 2018-03-21 12:05:29 +01:00
DanB
ae9ceb5169 Basic loaders skel 2018-03-20 18:35:29 +01:00
Anevo
524d9c1f66 Renamed "cgr.lock" to ".cgr.lock" and put both in and out dirs in the same for loop 2018-03-20 12:08:06 +01:00
DanB
b43ffcd7be Corrected help maxusage in console 2018-03-19 17:30:54 +01:00
Anevo
3f68c0b2a0 Added sanity check for Loaders in config.go and added parameters: Run_delay and Lock_filename 2018-03-19 17:25:51 +01:00
DanB
1feda9c504 RadAgent sample config updated with *usage_seconds converter, tests in rsrfield 2018-03-18 19:43:19 +01:00
DanB
76f722eef9 Only require DataDB and StorDB connections for some services, fixes #1008 2018-03-18 18:54:03 +01:00
DanB
f92ea30eee Cache commands using StringSliceWrapper 2018-03-18 18:01:05 +01:00
DanB
cd106660a5 RSRField.Parse method to include value parsing + conversion and filters checking 2018-03-18 13:24:47 +01:00
DanB
994c7c5a59 Parse method for RSRField 2018-03-16 19:18:11 +01:00
DanB
34334e24f5 NewRoundConverter properly populating params 2018-03-16 19:18:10 +01:00
DanB
59710083fe RSRTransformer -> DataConverter, RSRField with converters parsed 2018-03-16 19:18:10 +01:00
Anevo
391b904ecc Added Loaders to config.go 2018-03-16 18:53:05 +01:00
TeoV
65a1ed19bd Update errors for freeswitch 2018-03-16 18:17:20 +01:00
TeoV
3bab281fda Remove unnecessary parameters from utils/server.go ServeHTTP 2018-03-16 18:17:20 +01:00
TeoV
75cfe007a1 Remote cfg.HTTPCDRsURM and cfg.FreeswitchCDRsURl from cgr-engine.go(used in engine/cdrs.go as parameters for RegisterHTTPFunc) 2018-03-16 18:17:20 +01:00
TeoV
50e58fbcaf Add HTTP config option CDRsURL 2018-03-16 18:17:20 +01:00