-
Notifications
You must be signed in to change notification settings - Fork 76
Лаб. 4 6413 Белов Алексей #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Replace InMemory storage with PostgreSQL database - Add EF Core migrations and DbContext configuration - Implement DataSeeder for test data - Fix DateTime UTC compatibility issues - Update DI container for PostgreSQL integration
DmitryKrakhmalev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я не засчитаю лабораторную пока не будут устранены замечания, и пока консьюмер не начнет нормально данные принимать и сохранять в базу данных.
| .RuleFor(r => r.Phone, f => f.Phone.PhoneNumber("+7##########")); | ||
|
|
||
| _rentFaker = new Faker<RentCreateUpdateDto>() | ||
| .RuleFor(r => r.BikeId, f => f.Random.Int(1, 1000)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вы серьезно уверены что у вас такой огромный парк? Сделайте хотя бы до 10. Я так и не дождался чтобы хотя бы одна запись пришла нормальная. Аналогично с другими идентификаторами
ФИО: Белов Алексей
Номер группы: 6413
Номер лабораторной: 4
Номер варианта: 58
Краткое описание предметной области: Пункт велопроката
Краткое описание добавленных фич: Добавлены два проекта: проект-генератор Bikes.Generator.Kafka с продюсером для Kafka и проект Bikes.Infrastructure.Kafka с консьюмером для Kafka. В каждом проекте есть Program.cs с необходимыми DI-регистрациями, оба проекта подключены в AppHost для оркестрации и запуска служб. Реализованы сериализаторы/десериализаторы, retry-логика и интеграция с основным API через контракты.