Commit Graph

99 Commits

Author SHA1 Message Date
TeoV
b58390f8c7 Remove fmt.Printf from migrator_it_test 2018-02-20 17:11:09 +01:00
TeoV
f0206c33dd Update migrator for sessions costs 2018-02-20 17:11:09 +01:00
TeoV
296ef1bf97 Avoid panic error for Attributes (Substitute:*none) and update test with new modify 2018-02-15 14:42:54 +01:00
TeoV
65e1b409b0 Refactoring code and Update struct for Suppliers ( SoringParams -> SoringParameters) 2018-02-11 18:27:56 +01:00
TeoV
7d597caf3b Indexing empty FilterIDs ( *default:*any:*any) 2018-02-06 13:53:47 +01:00
TeoV
b6f34d8c57 Version compare in migrator for Sessions_Costs 2018-02-06 10:58:32 +01:00
TeoV
9cab867f73 Take version for sessions_costs from storDB 2018-02-06 10:58:32 +01:00
TeoV
465f0635eb Add SessionsCosts in migrator and versions 2018-02-01 12:30:05 +01:00
TeoV
67b621e456 Renaming RequesFilter -> FilterRule and ReqFilterIndexer -> FilterIndexer 2018-01-31 18:31:07 +01:00
TeoV
a12d80d415 Remove Blocker from SupplierProfile and add to Supplier 2018-01-31 11:32:45 +01:00
TeoV
56cd0fd115 ResourceProfile.Thresholds -> ThresholdIDs 2018-01-31 11:32:45 +01:00
TeoV
d9261b21dd StatQueueProfile.Thresholds -> ThresholdIDs 2018-01-31 11:32:45 +01:00
TeoV
16ca77bad9 Add AttributeProfiles to migrator 2018-01-26 18:40:02 +01:00
DanB
76a53102fd Filter type *stringprefix -> *prefix, config options prefix_indexed_fields, defaults for string_indexed_fields pointing to nil 2018-01-23 18:10:47 +01:00
TeoV
98d1879ab4 Update MongoDriver and glide 2018-01-22 18:30:40 +01:00
TeoV
09a5712c15 Update Mongo Driver 2018-01-22 18:30:40 +01:00
TeoV
bd9e262d76 Rename *rsr_fields to *rsr 2018-01-17 19:01:57 +01:00
edwardro22
d0a0250e0f Removed TpLCR from migrator and version 2018-01-16 14:34:59 +01:00
edwardro22
170e70281d Added tests for RemoveSupplierProfile,RemoveAttributesProfile,RemoveStatQueueProfile,RemoveThresholdProfile,RemoveResourceProfile 2018-01-07 10:58:34 +01:00
edwardro22
b09ad09e25 fixed migrator it test 2018-01-07 10:58:34 +01:00
edwardro22
9ad0e2cefe Prepared code for pull request, commented not fully integrated code 2018-01-03 12:07:31 +01:00
edwardro22
67a039c0bd Fixed migrator integration test 2018-01-03 12:07:31 +01:00
edwardro22
5ad2a1753d Added compile indexes for threshold with test 2018-01-03 12:07:31 +01:00
edwardro22
5cf3cd59ec Refactored and optimized code 2017-12-27 12:16:40 +01:00
edwardro22
bd8ba22ca7 Added StatSum and StatAverage to stats service 2017-12-27 12:16:40 +01:00
TeoV
8a42c224dd Update methods for FilterIndexer 2017-12-19 17:26:56 +01:00
edwardro22
5a8430aabc Updated migrator integration test 2017-12-19 12:00:15 +01:00
TeoV
55872d572a IndexFilter Ready for mongo and redis 2017-12-19 09:01:36 +01:00
edwardro22
501cbbc73a Removed commented test and updated migrator action names 2017-12-12 11:30:07 +01:00
edwardro22
607df07ebc fixed reverse destinations 2017-12-08 10:30:20 +01:00
edwardro22
9b1e10472b added tests for migrator 2017-12-08 10:30:20 +01:00
TeoV
a5f9dff089 Active test in migrator 2017-12-05 10:34:04 +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
edwardro22
8f7834f247 Updated migrator logs 2017-11-27 16:49:58 +01:00
edwardro22
6b84c2adb7 queryable versions from both cgr-migrator and cgr-console 2017-11-25 17:40:52 +01:00
edwardro22
0ad4595921 Corrected all values to properly reflect direction 2017-11-24 12:09:23 +01:00
edwardro22
eedb9786bd Added more explicit errors 2017-11-23 15:33:41 +01:00
edwardro22
d6095d39ae Fixing cgr-migrator params 2017-11-23 15:33:41 +01:00
edwardro22
2f68e7477b migrator converting voice balances 2017-11-23 15:33:41 +01:00
edwardro22
5c6c9c900c Updated account migration to match the latest version of account 2017-11-23 15:33:41 +01:00
edwardro22
42513b92af Added move feature(to migrate data from one db to another) and updated GetTPIds , IsDBempty and the versioning accordingly 2017-11-14 13:16:02 +00:00
edwardro22
5972212788 Added migration from action triggers to thresholds and cdrstats to stats 2017-11-07 12:24:33 +00:00
TeoV
1546720116 Add SetActions in DataManager 2017-10-20 21:06:38 +02:00
TeoV
37eaec1b6c Add SetSharedGroup in DataManager 2017-10-20 21:06:38 +02:00
TeoV
7b1eb4d46d Add SetActionTriggers in DataManager 2017-10-20 21:06:38 +02:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
edwardro22
7e3821bc94 Fixed the detection of new schema in versions,fixes #750 2017-09-28 10:43:14 +02:00
edwardro22
ba96c5cb9c Small fix 2017-09-17 23:53:15 +00:00
edwardro22
a22f1b797f Added dryRun , stats and multiple variable migration 2017-09-17 23:44:12 +00:00