Пример #1
0
        public AppendEntriesEvent OnGetFullLog()
        {
            var appendEntriesEvent = new AppendEntriesEvent();

            appendEntriesEvent.Entries = new List <Entry>();

            var services      = _servicesService.Get();
            var kvProperties  = _kvPropertyService.Get();
            var serviceHealth = _serviceHealthService.Get();

            AppendItems(appendEntriesEvent, services);
            AppendItems(appendEntriesEvent, kvProperties);
            AppendItems(appendEntriesEvent, serviceHealth);

            return(appendEntriesEvent);
        }
        public IEnumerable <KvProperty> Get()
        {
            var services = _kvPropertyService.Get();

            return(services);
        }