Exemplo n.º 1
0
        public ActionResult EndToEndStatus()
        {
            var status = _configStatusService.GetConfigStatusSummary();
            var isRecurringEndToEndActive = _recurringJobService.IsEndToEndSyncActive();
            var settings          = _settingsRepository.RetrieveSettings();
            var recurringSchedule =
                RecurringSchedule.Options.First(x => x.Id == settings.LastRecurringSchedule).Desc;

            var output = new
            {
                status.IsStartingOrderReady,
                status.IsConfigReady,
                status.CanStartEndToEnd,
                IsRecurringEndToEndActive = isRecurringEndToEndActive,
                RecurringSchedule         = recurringSchedule,
            };

            return(new JsonNetResult(output));
        }
Exemplo n.º 2
0
        public ActionResult ConfigDiagnosis()
        {
            var output = _statusService.GetConfigStatusSummary();

            return(new JsonNetResult(output));
        }