Commit Graph

117 Commits

Author SHA1 Message Date
TeoV
1a5815acde Rename table (tp_lcrs -> tp_lcr) 2017-11-21 13:41:02 +01:00
TeoV
ffcee28567 LCRProfile(2) 2017-11-20 17:05:10 +01: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
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
d01f8b58dc Added Tenant to resources 2017-09-13 09:08:09 +00:00
edwardro22
40cd82dc26 Added Tenant field to TPstats 2017-09-12 08:45:53 +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
22c47cf61b StorDB fixes and additions 2017-02-27 00:49:11 +02:00
alin104n
b1a5c57a7e SQL fields length increase 2017-02-14 06:48:31 +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
Errol Samuels
5fa03755c7 Update pg_cdr_migration.sql 2016-07-05 19:46:10 +01:00
Errol Samuels
233426bb7a pg_cdr_migration.sql
CDR migration script for Postgres.  Migrates CDRs from the old cdrs_primary, rated_cdrs, cdrs_extra and cost_details tables into the single cdrs table.
2016-07-05 08:28:06 +01:00
Razvan Crainea
5bf1ce8992 Merge remote-tracking branch 'upstream/master' 2016-06-01 12:15:13 +03:00
Radu Ioan Fericean
90381b7366 extended units column in tp tables 2016-04-27 16:08:40 +03:00
DanB
a307dc3ce0 Support for latest gorm 2016-04-04 13:02:06 +02:00
DanB
3ac526a05e CDRS forking rated CDRs depending on smg_costs, smg_costs indexing update to include origin_id also 2016-03-29 19:55:29 +02:00
DanB
608f430db7 Storage - SetSMCost and GetSMCost deprecating LogCallCost and GetLogCallCost, CDRS.StoreSMCost method, adding sm_costs indexes for cgrid+runid and originhost+originid in all dbs supported 2016-03-26 22:17:10 +01:00
Radu Ioan Fericean
4ff66e0883 populate cdr Usage 2016-03-24 17:39:47 +02:00
Radu Ioan Fericean
79fa62a1c8 fixed missing cdrs_primary 2016-03-11 21:50:13 +02:00
Radu Ioan Fericean
9f614f42a8 sql data types fixes 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2a39ed867 action triggers expiration and activation times 2016-02-04 18:46:06 +02:00
Radu Ioan Fericean
862795ef06 all actons can be conditional with Filter field 2016-01-21 17:00:25 +02:00
Radu Ioan Fericean
51f33d2283 blocker flag in tariffplans and sql scripts 2016-01-12 23:15:21 +02:00
DanB
f58a07a029 Adding TBLSMCosts model 2015-12-27 11:38:59 +01:00
DanB
eb2e8f6876 Unified storage SetCdr and SetRatedCdr into SetCDR, engine/storage_cdrs_it_test should automate testing for the supported StoredDb drivers 2015-12-13 17:28:55 +01:00
DanB
c268d08393 Postgres table structure fixes 2015-12-06 11:12:00 +01:00
DanB
35b6a5087c Engine tbl_cdrs refactoring, CDR.ReqType -> RequestType 2015-12-06 10:18:17 +01:00
Radu Ioan Fericean
6dd613e526 Merge branch 'master' into cdrmerge 2015-11-16 10:09:50 +02:00