Commit Graph

237 Commits

Author SHA1 Message Date
edwardro22
9b1846d765 Fixed merge fail
Conflicts:
	data/storage/migrator/usage_float_to_int.sql
	engine/version.go
	migrator/migrator.go
	migrator/migrator_it_test.go
	migrator/stats.go
	migrator/thresholds.go
	utils/consts.go
2017-11-14 13:47:43 +00: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
4fb9d9ea63 Added migration from action triggers to thresholds and cdrstats to stats 2017-11-07 14:10:32 +01:00
edwardro22
5972212788 Added migration from action triggers to thresholds and cdrstats to stats 2017-11-07 12:24:33 +00:00
TeoV
38a0217930 Update create table in data/storage 2017-10-27 14:33:56 +02:00
TeoV
c16ce4ba29 Add FilterIDs in StatQueue and FilterS in StatS 2017-10-27 12:52:55 +02:00
TeoV
ab7b060c64 Replace Filter with FilterIDs in Thresholds 2017-10-23 18:13:54 +02:00
TeoV
70fbd6d71d Add MinHits in Threshold 2017-10-23 18:13:54 +02:00
TeoV
073a353049 Add ActivationInterval to filter and updated test 2017-10-13 14:19:01 +02:00
TeoV
68ca42c4c0 Add Async to Thresholds 2017-10-13 14:19:01 +02:00
TeoV
a93522d8a1 Add FilterProfile + test for it 2017-10-02 16:12:12 +03:00
TeoV
3a2269f1e7 Rename Tag with ID for TPStats and TPThresholds and set pk new primary key 2017-09-29 17:38:04 +03:00
TeoV
05a009c5e1 Add MinItems in Stat and update stats_it_test.go 2017-09-29 15:15:38 +03:00
TeoV
7b0f535d65 Remove MinItems from ThresholdProfiles and add/remote time.Sleep from resourcesv1_it_test.go and tp_it_test.go 2017-09-29 09:32:27 +03: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
edwardro22
daff6d7f93 Merge branch 'master' of https://github.com/cgrates/cgrates 2017-09-17 02:14:45 +00:00
edwardro22
8d3d6b8692 Fixed the automatic migration script 2017-09-17 02:13:58 +00:00
edwardro22
9c1cdf7496 small fix 2017-09-15 15:36:30 +00:00
edwardro22
9851444f48 Fixed broken postgres script 2017-09-15 15:29:53 +00:00
TeoV
9188aad445 Small fix on data/storage/mysql and data/sorage/postgres 2017-09-15 18:01:51 +03:00
TeoV
0f288af170 Add a new fild in models TPResource ID and replace primary key with PK and set tenant after ID 2017-09-15 16:21:32 +03:00
edwardro22
d9b4bbb604 Small fixes 2017-09-13 14:27:42 +00:00
edwardro22
d01f8b58dc Added Tenant to resources 2017-09-13 09:08:09 +00:00
edwardro22
2abe6b69c4 Fixed the script 2017-09-12 15:24:27 +00:00
edwardro22
40cd82dc26 Added Tenant field to TPstats 2017-09-12 08:45:53 +00:00
edwardro22
df31455316 Added script to migrate 2017-09-11 12:17:14 +00:00
edwardro22
df7c96f7c0 repaired cost detail and fixed so small typos 2017-08-29 11:39:36 +00:00
DanB
e42c46b90f StorDB tp_resource_limits -> tp_resources 2017-08-15 18:48:38 +02:00
Edwardro22
c474816a0b small rename 2017-08-03 18:19:21 +03:00
Edwardro22
71ef085e12 small fix 2017-08-03 13:49:37 +03:00
Edwardro22
ca43ea4b9c added thresholdCfg stordb|datadb methods and csv read 2017-08-03 01:45:48 +03:00
Edwardro22
6de1f132d8 modified ResLimiter 2017-08-01 19:58:50 +03:00
Edwardro22
85000b4ca3 added new fields 2017-08-01 16:24:38 +03:00
Edwardro22
548d84dac3 added tests 2017-07-29 11:19:29 +03:00
DanB
4d41c6552c ResourceLimit with AllocationMessage 2017-05-11 21:20:56 +02:00
DanB
41dba91b7a Adding UsageTTL, ActivationInterval to ResourceLimits 2017-05-08 22:54:43 +02:00
DanB
2c38d4ffac ResourceLimits with standalone RPC object, renaming of RPC methods 2017-05-06 21:28:43 +02:00
alin104n
815d25959e RunID,OriginID SMCosts index 2017-03-15 00:42:27 +02:00
alin104n
10a2e553de Mongo setup - Create user for cgrates instead of admin db 2017-02-27 15:54:49 +02:00
alin104n
359fbc7224 Merge branch 'master' of https://github.com/cgrates/cgrates 2017-02-27 00:50:25 +02:00
alin104n
22c47cf61b StorDB fixes and additions 2017-02-27 00:49:11 +02:00
mrgab
dc5468e2b3 working mysql migration stored procedure 2017-02-20 18:19:18 +01:00
alin104n
b1a5c57a7e SQL fields length increase 2017-02-14 06:48:31 +02:00
DanB
0bd2c32f5c Get/Set/Remove Versions in StorDB/MySQL; new MySQL table - versions 2016-12-06 19:02:28 +01:00
Dobby16
0a4d3329bb Create mysql_cdr_migration.sql
Migration script for Mysql from old (cdrs_primary, cost_details, cdrs_extra and rated_cdrs) to new (cdrs)  table structure.
2016-11-30 12:26:34 +01:00
DanB
3ae6466c79 Remove unique index on tp_cdrstats, thanks @rinor 2016-08-31 15:25:21 +02:00
DanB
fece61093e AccountSummary inside CDR object, decoupling it from CallCost for error cases 2016-08-29 14:28:14 +02:00
Eloy Coto
e3e33d85f4 Storage: Accounts fields length consistency 2016-08-15 16:17:14 +01:00
DanB
3fae8058a0 ResourceLimits TP tables 2016-07-16 15:27:24 +02:00