From 5dc634d5c134a51968267f0392f4b3111aba0b04 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 28 Aug 2018 00:06:00 +0000 Subject: [PATCH] --- server/AyaNova/biz/AyaEvent.cs | 2 ++ server/AyaNova/biz/EventLogProcessor.cs | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/server/AyaNova/biz/AyaEvent.cs b/server/AyaNova/biz/AyaEvent.cs index efc17f64..05ce08d6 100644 --- a/server/AyaNova/biz/AyaEvent.cs +++ b/server/AyaNova/biz/AyaEvent.cs @@ -23,6 +23,8 @@ namespace AyaNova.Biz ServerStateChange=9, SeedDatabase=10 + //NEW ITEMS REQUIRE LOCALE KEYS AND UPDATE EventLogProcessor code that prefetches required keys + } diff --git a/server/AyaNova/biz/EventLogProcessor.cs b/server/AyaNova/biz/EventLogProcessor.cs index 24781a12..55e65b0b 100644 --- a/server/AyaNova/biz/EventLogProcessor.cs +++ b/server/AyaNova/biz/EventLogProcessor.cs @@ -60,9 +60,14 @@ namespace AyaNova.Biz AyaNova.Api.Controllers.LocaleController.LocaleSubsetParam param = new Api.Controllers.LocaleController.LocaleSubsetParam(); param.LocaleId = userLocaleId; param.Keys.AddRange(new string[] { "CommonCreated", "Delete","Modified","Retrieved" }); + + //TODO: add all the keys from all the events in AyaEvent + //Attachment, Created instead of AttachmentCreate, or is it attached? + var LT = LocaleBiz.GetSubsetStatic(param); - //Have list of locales + //Have list of locales and list of ops, now make it into a readable text display and return it + return null;