This commit is contained in:
2018-08-30 19:22:13 +00:00
parent 3221aa3c82
commit b016795875
3 changed files with 11 additions and 15 deletions

View File

@@ -25,6 +25,7 @@ Overall plan for now: anything standing in the way of making the initial client
- User route and controller and biz object
- Check biz rules in v7 for anything that might be missed in RAVEN biz rules
- v7import once have users imported then proper attribution in eventlog of creator,modifier, created,modified
- NEED a document with checklist to go over to ensure that a v7 object ported to RAVEN is "DONE" i.e. not missing any biz rules or properties or something
- Tag groups (modify tags already coded)
- Localized text
- Search and search text indexing

View File

@@ -95,12 +95,7 @@ namespace AyaNova.Biz
//Now can do event log entries
await DoImport("GZTW.AyaNova.BLL.User-eventlog", AyaType.User, job.GId, importMap, importFileName, zipEntries);
//LOCALE HERE
//await DoImport .... blah blah for locale, then:
//Now can do user locale settings properly
//await DoImport("GZTW.AyaNova.BLL.User-locale", AyaType.User, job.GId, importMap, importFileName, zipEntries);
//IMPORT UNIT MODEL CATEGORIES AS TAGS
await DoImport("GZTW.AyaNova.BLL.UnitModelCategory", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
@@ -126,8 +121,7 @@ namespace AyaNova.Biz
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
//Now can set users to correct tag for scheduleable user group
await DoImport("GZTW.AyaNova.BLL.User-scheduleableusergrouptags", AyaType.User, job.GId, importMap, importFileName, zipEntries);
//IMPORT REGIONS AS TAGS
@@ -135,7 +129,8 @@ namespace AyaNova.Biz
//IMPORT LOCALES
await DoImport("GZTW.AyaNova.BLL.Locale", AyaType.Locale, job.GId, importMap, importFileName, zipEntries);
//Now can do user locale settings properly
await DoImport("GZTW.AyaNova.BLL.User-locale", AyaType.User, job.GId, importMap, importFileName, zipEntries);
//TODO: second pass now that all objects are in the db, need to go through again and set properties based on all imported data, e.g. scheduleableUserGroups are tags that must now be set on users

View File

@@ -451,21 +451,21 @@ namespace AyaNova.Biz
//EventLogProcessor.AddEntry(new Event(userId, o.Id, AyaType.User, AyaEvent.Created), ct);
//MODIFIED HERE
// await ct.SaveChangesAsync();
throw new System.NotImplementedException();
}
break;
//break;
case "GZTW.AyaNova.BLL.User-locale":
{
//handle locale entries for users now that we have the locales created
throw new System.NotImplementedException();
}
break;
// break;
case "GZTW.AyaNova.BLL.User-scheduleableusergrouptags":
{
//handle tag entries for users now that we have the SUG tags created
throw new System.NotImplementedException();
}
break;
//break;
}
//just to hide compiler warning for now