diff --git a/apier/v1/sessions_thresholds_it_test.go b/apier/v1/sessions_thresholds_it_test.go index 8760ce446..c8987cf4b 100755 --- a/apier/v1/sessions_thresholds_it_test.go +++ b/apier/v1/sessions_thresholds_it_test.go @@ -172,7 +172,7 @@ func TestSessionSv1ItGetThreshold(t *testing.T) { func TestSessionSv1ItAuth(t *testing.T) { args := &sessions.V1AuthorizeArgs{ AuthorizeResources: true, - ProcessThresholds: utils.BoolPointer(true), + ProcessThresholds: true, CGREvent: utils.CGREvent{ Tenant: "cgrates.org", ID: "TestSSv1ItAuth", @@ -236,7 +236,7 @@ func TestSessionSv1ItInitiateSession(t *testing.T) { args := &sessions.V1InitSessionArgs{ InitSession: true, AllocateResources: true, - ProcessThresholds: utils.BoolPointer(true), + ProcessThresholds: true, CGREvent: utils.CGREvent{ Tenant: "cgrates.org", ID: "TestSSv1ItInitiateSession", @@ -301,7 +301,7 @@ func TestSessionSv1ItTerminateSession(t *testing.T) { args := &sessions.V1TerminateSessionArgs{ TerminateSession: true, ReleaseResources: true, - ProcessThresholds: utils.BoolPointer(true), + ProcessThresholds: true, CGREvent: utils.CGREvent{ Tenant: "cgrates.org", ID: "TestSSv1ItTerminateSession", diff --git a/data/storage/postgres/create_tariffplan_tables.sql b/data/storage/postgres/create_tariffplan_tables.sql index 0631b87bc..269db7171 100644 --- a/data/storage/postgres/create_tariffplan_tables.sql +++ b/data/storage/postgres/create_tariffplan_tables.sql @@ -426,8 +426,8 @@ CREATE TABLE tp_stats ( "activation_interval" varchar(64) NOT NULL, "queue_length" INTEGER NOT NULL, "ttl" varchar(32) NOT NULL, - "metrics" varchar(64) NOT NULL, - "parameters" varchar(64) NOT NULL, + "metrics" VARCHAR(128) NOT NULL, + "parameters" VARCHAR(128) NOT NULL, "blocker" BOOLEAN NOT NULL, "stored" BOOLEAN NOT NULL, "weight" decimal(8,2) NOT NULL, diff --git a/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json b/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json index 77013e107..0467b59bc 100644 --- a/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json +++ b/data/tutorials/osips_native/cgrates/etc/cgrates/cgrates.json @@ -76,6 +76,7 @@ {"address": "127.0.0.1:2012", "transport": "*json"} ], "debit_interval": "10s", + "channel_sync_interval":"7s", },