Commit Graph

181 Commits

Author SHA1 Message Date
TeoV
2c9fb56821 Add HasData in DataManager 2017-10-30 18:26:23 +01:00
TeoV
ff92d3f5a4 Add Filter in Cache 2017-10-25 19:38:22 +02:00
TeoV
1546720116 Add SetActions in DataManager 2017-10-20 21:06:38 +02:00
TeoV
9f68b27b27 Add GetActions in DataManager 2017-10-20 21:06:38 +02:00
TeoV
7d98b96816 Add GetActionTriggers in DataManager 2017-10-20 21:06:38 +02:00
TeoV
6f13e7f9a1 Add CacheDataFromDB in DataManager 2017-10-20 21:06:38 +02:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
TeoV
a93522d8a1 Add FilterProfile + test for it 2017-10-02 16:12:12 +03:00
TeoV
1312932ce2 Moved ExportTPToFolder to ApierV1 and add test for it 2017-09-20 11:52:31 +03:00
TeoV
43c713f3a5 Fix on apier/v2/tp.go ExportTPToFolder 2017-09-15 18:29:24 +03:00
TeoV
da0746b9aa New check for TPid in apier/v2/tp.go 2017-09-15 18:16:28 +03:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
TeoV
c5c030d561 Rename ResourceConfig -> ResourceProfile 2017-09-06 10:44:33 -04:00
DanB
1c2825e136 Completing Resource -> ResourceConfig 2017-09-01 21:28:37 +02:00
TeoV
d0be12cc0a Fix for rename from ResourceLimit -> Resource 2017-08-30 05:33:34 -04:00
DanB
273a4c32eb config resource_limits -> resources; ResourceLimits.csv -> Resources.csv 2017-08-15 17:53:11 +02:00
Edwardro22
fae33969ea Merge branch 'master' of https://github.com/cgrates/cgrates 2017-08-03 01:47:21 +03:00
Edwardro22
ca43ea4b9c added thresholdCfg stordb|datadb methods and csv read 2017-08-03 01:45:48 +03:00
DanB
1b822d6d34 SMG - lock session before altering CGRID on relocate to avoid concurrency 2017-08-02 08:19:01 +02:00
DanB
42b69f2862 Remove killEngineTest so we can have proper help messages 2017-08-01 18:14:42 +02:00
Edwardro22
fbacb250b6 Added stats csv read methods and test 2017-07-24 02:27:03 +03:00
DanB
6dc3289772 StorDB config conn_max_lifetime, fixes #684 2017-07-02 15:25:30 +02:00
DanB
2fd0c9a4d7 SMGenericV2 GetMaxUsage, InitiateSession, UpdateSession API methods returning time.Duration, improvements on RadiusAgent 2017-06-06 13:24:24 +02:00
DanB
2341ea95aa EventCost Clone and initial Trim methods 2017-05-23 19:08:54 +02:00
DanB
2398543c94 Storage mongo - convert tag into id for generic get functions 2017-04-14 19:26:51 +02:00
DanB
8995246ac0 Empty default password for stordb to avoid mongo issues, tests fixups 2017-04-13 21:51:16 +02:00
alin104n
d788452933 Accounting, Rating DBs merge, TPModels in StorDB 2017-04-03 21:17:12 +03:00
DanB
9a37c384cf Various improvements for the new StorDB code to work 2017-03-02 18:56:57 +01:00
DanB
aef3022900 ApierV1.SetActionPlan should also modify AccountActionPlans index 2017-02-19 09:33:52 +01:00
DanB
dd8ba0087f Apier SetAccount reloading always scheduler for repetitive scenarios using same actionPlan 2017-02-17 21:10:54 +01:00
DanB
00fc841e43 Adding ApierV2.ExportCdrsToFile API for backwards compatibility 2017-02-17 16:02:47 +01:00
DanB
dcbe8b1882 ApierV1.ExportCDRs API 2017-02-17 15:28:39 +01:00
DanB
d27dc06e7d CDRExporter redesign, modified configuration parameters, CDRS replication -> online_cdr_exports 2017-02-14 17:41:30 +01:00
DanB
2b121bfba7 ApierV2.SetAccount fixes, integration tests 2017-01-15 20:25:18 +01:00
DanB
c94e698982 ApierV2.SetAccount modifications - optimize action plan queries using AccountActionPlan indexes 2017-01-14 19:07:06 +01:00
DanB
3ba64f365d AccountActionPlans processed in TPReader 2017-01-11 16:09:52 +01:00
DanB
2c076c1abb Moving Guardian into it's own package so we can use it from other independent packages 2017-01-09 20:36:23 +01:00
DanB
305d13971d AccountActionPlans in stordb, cache/precache populating account action plans, tp_reader populating account action plans, tests related 2017-01-08 21:30:54 +01:00
DanB
4da0f5dd07 Add reverse destinations and aliases to TpReader reload 2017-01-04 18:13:09 +01:00
DanB
54500e38dd Fix ApierV2.GetActions querying wrong database 2017-01-02 14:41:02 +01:00
DanB
a2955efd83 Storage CacheDataFromDB fixes for nil ids 2016-12-21 20:33:31 +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
DanB
da7e75e013 Cache load management improved, fixes #615, fixes #619 2016-12-19 19:07:59 +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
a9e4a35601 ApierV2.ExportCdrsToFile with RoundingDecimals option 2016-11-30 11:37:42 +01:00
Edwardro22
916624f8b1 Small fix 2016-11-28 12:42:11 +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
6170f8cbf4 TPDestination.DestinationId -> DestinationID 2016-11-17 17:03:01 +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