Adding sharedGroup loading inside csv and db loaders, tariff plans for fs_json tutorial

This commit is contained in:
DanB
2014-03-17 19:10:21 +01:00
parent ccac8236f4
commit 2dbc80166e
3 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
#Id,Account,Strategy,RatingSubject
SHARED_A,*any,*lowest_first,
1 #Id Account Strategy RatingSubject
2 SHARED_A *any *lowest_first

View File

@@ -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
}

View File

@@ -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
}