mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Adding sharedGroup loading inside csv and db loaders, tariff plans for fs_json tutorial
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#Id,Account,Strategy,RatingSubject
|
||||
SHARED_A,*any,*lowest_first,
|
||||
|
@@ -723,6 +723,9 @@ func (csvr *CSVReader) LoadAll() error {
|
||||
if err = csvr.LoadRatingProfiles(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = csvr.LoadSharedGroups(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = csvr.LoadActions(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -733,6 +733,9 @@ func (dbr *DbReader) LoadAll() error {
|
||||
if err = dbr.LoadRatingProfiles(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = dbr.LoadSharedGroups(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = dbr.LoadActions(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user