Skip to content

Горшенин Дмитрий Лаб. 1 Группа 6511#2

Closed
dmgorshenin wants to merge 12 commits intoitsecd:mainfrom
dmgorshenin:main
Closed

Горшенин Дмитрий Лаб. 1 Группа 6511#2
dmgorshenin wants to merge 12 commits intoitsecd:mainfrom
dmgorshenin:main

Conversation

@dmgorshenin
Copy link

ФИО: Горшенин Дмитрий
Номер группы: 6511
Номер лабораторной: 1
Номер варианта: 4
Краткое описание предметной области: Генератор кредитной заявки
Краткое описание добавленных фич: Добавлен сервис генерации и кэширования кредитных заявок

dmgorshenin and others added 4 commits February 13, 2026 18:27
…аб. роботы

В решение добавлены проекты CreditApplication.AppHost (Aspire-хост), CreditApplication.Generator (API генерации кредитных заявок с кэшированием в Redis) и CreditApplication.ServiceDefaults (общие настройки сервисов: логирование, OpenTelemetry, resilience, health checks).
Реализована модель заявки, генератор на Bogus, сервис с кэшированием, API-эндпоинт /credit-application.
Copilot AI review requested due to automatic review settings February 13, 2026 14:54
@github-actions github-actions bot added In progress Код в процессе проверки Lab 1 Лабораторная №1. Кэширование labels Feb 13, 2026
@github-actions github-actions bot requested a review from danlla February 13, 2026 14:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements Lab 1 for a student assignment, creating a microservices-based credit application generator with caching functionality. The solution demonstrates modern .NET 8 development practices including Bogus for data generation, Redis for distributed caching, Serilog for structured logging, OpenTelemetry for observability, and .NET Aspire for orchestration.

Changes:

  • Implemented a credit application generator service using Bogus to create synthetic credit application data with Russian localization
  • Added Redis-based distributed caching to improve performance and reduce redundant data generation
  • Configured .NET Aspire orchestration to manage the generator service, Redis cache, and Blazor WebAssembly client
  • Set up comprehensive logging and telemetry infrastructure using Serilog and OpenTelemetry

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Replaced generic lab instructions with project-specific documentation including architecture diagrams and screenshots
CreditApplication.ServiceDefaults/Extensions.cs Implemented shared service configuration for logging, OpenTelemetry, health checks, and service discovery
CreditApplication.ServiceDefaults/CreditApplication.ServiceDefaults.csproj Defined dependencies for Serilog, OpenTelemetry, and Aspire service discovery
CreditApplication.Generator/Services/CreditApplicationGenerator.cs Core generator using Bogus to create credit applications with locale-specific data
CreditApplication.Generator/Services/CreditApplicationService.cs Service layer implementing caching logic with IDistributedCache
CreditApplication.Generator/Models/CreditApplicationModel.cs Data model for credit applications with XML documentation
CreditApplication.Generator/Program.cs API endpoint configuration with validation, error handling, and CORS
CreditApplication.Generator/CreditApplication.Generator.csproj Project dependencies including Bogus and Aspire Redis integration
CreditApplication.Generator/appsettings.json Logging configuration for the generator service
CreditApplication.Generator/appsettings.Development.json Development-specific logging configuration
CreditApplication.Generator/Properties/launchSettings.json Launch profiles for local development
CreditApplication.AppHost/Program.cs Aspire orchestration configuration for Redis and microservices
CreditApplication.AppHost/CreditApplication.AppHost.csproj Aspire hosting dependencies
CreditApplication.AppHost/appsettings.json AppHost logging configuration
CreditApplication.AppHost/appsettings.Development.json Development-specific AppHost configuration
CreditApplication.AppHost/Properties/launchSettings.json AppHost launch profiles with Aspire dashboard endpoints
CloudDevelopment.sln Added three new projects to the solution
Client.Wasm/wwwroot/appsettings.json Updated API endpoint URL to credit application service
Client.Wasm/Properties/launchSettings.json Updated client port configuration
Client.Wasm/Components/StudentCard.razor Updated student information and lab details

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment on lines 15 to 17
private readonly CreditApplicationGenerator _generator = generator;
private readonly IDistributedCache _cache = cache;
private readonly ILogger<CreditApplicationService> _logger = logger;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогично

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dmgorshenin dmgorshenin requested a review from danlla February 18, 2026 11:18
@danlla danlla added Approved Лабораторная зачтена and removed In progress Код в процессе проверки labels Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Лабораторная зачтена Lab 1 Лабораторная №1. Кэширование

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments