Commit Graph

2684 Commits

Author SHA1 Message Date
edwardro22
b7a477bb45 Added tests for CGREvent 2017-12-01 18:27:13 +01:00
edwardro22
7e44416946 Added test for NewRequestFilter 2017-12-01 18:27:13 +01:00
DanB
2ab6efc355 Test fix 2017-12-01 15:53:31 +01:00
DanB
f5d028aeba Adding CGREvent 2017-12-01 15:41:24 +01:00
edwardro22
920e29f053 Added tests for suppliers and libsuppliers 2017-12-01 13:55:10 +01:00
DanB
52215c74d9 Usage and FieldAsString methods on SupplierEvent 2017-12-01 11:00:11 +01:00
DanB
4a4f88857d SortedSuppliers.SortCost with test 2017-11-30 19:31:24 +01:00
DanB
720e8d4929 Suppliers sorting moved to SortedSuppliers, initial skel of LeaCostSorting 2017-11-30 18:57:42 +01:00
TeoV
c6947dbb28 Add migrate TPSuppliers from one db to another 2017-11-30 15:41:19 +01:00
TeoV
46223299a8 Migrate SupplierProfile and TPSupplier from db to another 2017-11-30 15:41:19 +01:00
TeoV
901f4c4d77 Update load_csv_test.go 2017-11-30 15:41:19 +01:00
TeoV
dbb96886c1 Optimize loaded data for suppliers(filterIDs) 2017-11-30 15:41:19 +01:00
DanB
013ab42cde Supplier entry filters for same event, integration test 2017-11-28 19:29:46 +01:00
DanB
567d4d95db SupplierS started by engine, adding additional configuration options, enablind suppliers in tutorial configurations 2017-11-28 18:29:49 +01:00
TeoV
96da0f02a1 Add AccountIDs in Suppliers 2017-11-28 15:16:28 +01:00
TeoV
a3822fe643 Compact SupplierProfile.Suppliers and update test in engine/loader_csv_test.go 2017-11-28 10:53:56 +01:00
TeoV
215146ea14 Update integration test with SupplierProfile 2017-11-28 09:58:08 +01:00
DanB
a295b3474b SuplierSv1 in apier/v1 package 2017-11-27 18:39:22 +01:00
DanB
b27a326ce9 suppliersForEvent -> sortedSuppliersForEvent 2017-11-27 17:25:57 +01:00
DanB
ad1b4d7d98 SuppliersSorting -> SuppliersSorter interface 2017-11-27 17:25:57 +01:00
TeoV
3fad468940 Update unique_key , and rename methods in ApierV1 for SupplierProfile 2017-11-27 17:19:34 +01:00
TeoV
158c57e7ee Rename LCRProfile -> SupplierProfile 2017-11-27 16:13:22 +01:00
DanB
31b1f2bcc1 Suppliers SortSuppliers with own structure 2017-11-27 11:14:34 +01:00
DanB
5cceb477f9 Suppliers sortDispatcher.SortSuppliers -> SortedSupplierIDs 2017-11-26 19:27:30 +01:00
DanB
e1ac556b3d Suppliers Static sorting -> Weight sorting 2017-11-26 18:36:03 +01:00
DanB
4dcd47577e Supplier.Strategy -> Sorting 2017-11-26 18:33:44 +01:00
DanB
e3a74dc46e Initial LCRService with SupplierStrategy as interface 2017-11-26 18:13:57 +01:00
TeoV
905d88cedb Accout nill pointer error 2017-11-24 12:08:05 +01:00
TeoV
91c6ef6f52 Update loader_csv_test.go 2017-11-23 18:14:02 +01:00
TeoV
2193b620ff Update LCRProfile struct 2017-11-23 18:14:02 +01:00
edwardro22
5c6c9c900c Updated account migration to match the latest version of account 2017-11-23 15:33:41 +01:00
TeoV
411d453ded Methods from service with utils (utils.StatSv1ProcessEvent,utils.ResourceSv1.ProcessEvent,...) 2017-11-23 14:44:24 +01:00
TeoV
59eae814c6 Update name and add Lcr.csv to TPExporter 2017-11-22 15:49:27 +01:00
edwardro22
8fe93e9249 Fixed merge issues 2017-11-22 11:28:17 +01:00
edwardro22
dfa00d726d Updating structures version and fixed typo 2017-11-22 11:28:17 +01:00
DanB
3cebd29e52 Merge fixes 2017-11-21 19:27:55 +01:00
DanB
16d477ccd9 Merge test fixes 2017-11-21 15:14:52 +01:00
DanB
d5b60261c0 Merge fixes 2017-11-21 14:37:05 +01:00
DanB
f51fec1c31 Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates 2017-11-21 14:05:25 +01:00
TeoV
300ac101ce LCRProfile(3) 2017-11-21 13:41:02 +01:00
DanB
143e8b3db8 Engine tests fixes 2017-11-20 19:42:29 +01:00
DanB
6042f45d5e CacheS in engine, config cache exporting update 2017-11-20 19:41:19 +01:00
DanB
99911a077e Removing Direction, PDD, DisconnectCause, Supplier from main fields of CDR; MySQL/Postgres storing nanoseconds instead of seconds for usage, tests update 2017-11-20 19:38:01 +01:00
TeoV
916b997125 LCRProfile(2) 2017-11-20 19:33:26 +01:00
TeoV
47ec619a44 LCRProfile (1) 2017-11-20 19:28:26 +01:00
DanB
8bca0a2d64 Missing import 2017-11-20 18:51:04 +01:00
edwardro22
b8215b814c Updated cgr-migrator params and refactored GetTpIds 2017-11-20 18:51:04 +01:00
TeoV
332c489d0f AsStoredCdr -> AsCDR 2017-11-20 18:51:04 +01:00
TeoV
a028c64922 Add test for FilterToTPFilter 2017-11-20 18:41:56 +01:00
edwardro22
bb691b372a Refactored GetTpids and updated cgr-migrator 2017-11-20 18:41:56 +01:00