Move config/rsrparser.go to utils package

This commit is contained in:
ionutboangiu
2025-02-17 10:50:56 +02:00
committed by Dan Christian Bogos
parent 36a7d174ab
commit b1a5874215
81 changed files with 1511 additions and 1524 deletions

View File

@@ -32,7 +32,7 @@ func TestDiffReqProcessorJsnCfg(t *testing.T) {
v1 := &RequestProcessor{
ID: "req_proc_id1",
Filters: []string{"filter1"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "cgrates.org",
},
@@ -60,7 +60,7 @@ func TestDiffReqProcessorJsnCfg(t *testing.T) {
v2 := &RequestProcessor{
ID: "req_proc_id2",
Filters: []string{"filter2"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "itsyscom.com",
},
@@ -156,7 +156,7 @@ func TestDiffReqProcessorsJsnCfg(t *testing.T) {
{
ID: "req_proc_id1",
Filters: []string{"filter1"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "cgrates.org",
},
@@ -186,7 +186,7 @@ func TestDiffReqProcessorsJsnCfg(t *testing.T) {
{
ID: "req_proc_id2",
Filters: []string{"filter2"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "itsyscom.com",
},
@@ -311,7 +311,7 @@ func TestEqualsRequestProcessors(t *testing.T) {
{
ID: "req_proc_id1",
Filters: []string{"filter1"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "cgrates.org",
},
@@ -341,7 +341,7 @@ func TestEqualsRequestProcessors(t *testing.T) {
{
ID: "req_proc_id2",
Filters: []string{"filter2"},
Tenant: RSRParsers{
Tenant: utils.RSRParsers{
{
Rules: "itsyscom.com",
},