Test - #42
Merged
Merged
Conversation
- Added `ContractTerminatedEvent` to represent contract termination details. - Implemented `deactivateHouseForUser` method in `HouseServiceImpl` to handle house deactivation logic for terminated contracts. - Updated Kafka listener in `EContractEventConsumer` to consume `contract.terminated` events and trigger house deactivation. - Enhanced `HouseService` interface with `deactivateHouseForUser` definition.
…re/createHouse Handle contract termination event and deactivate house for tenant
- Updated `HouseController` to include pagination parameters in `GetAllHouses` endpoint. - Modified `HouseService` and `HouseServiceImpl` to support paginated responses with `PageRequest` and `PageResponse`. - Integrated `CachedPageService` to enable caching for paginated house data. - Refactored `HouseRepository` to implement `JpaSpecificationExecutor` for dynamic filtering and querying. - Added `loadPage` method in `HouseServiceImpl` for fetching filtered and paginated house data.
…re/createHouse Feature/create house
- Added `AppAccessChangedEvent` DTO for representing access change events. - Implemented `PaymentEventListeners` to consume Kafka events related to payment restrictions. - Introduced `setTenantAccessRestriction` in `HouseService` and `HouseServiceImpl` to update access restrictions based on payment status. - Updated access status logic in `HouseServiceImpl` to include `PAYMENT_RESTRICTED` state. - Enhanced `House` entity with a `paymentRestricted` field to store restriction status.
…re/createHouse Handle app access restriction based on payment status
…re/createHouse add images to dto
…ymentRestricted` field to `HouseDto`.
…re/createHouse Feature/create house
…re/createHouse Feature/create house
…ervice methods, and exception handling. - Added `EContractEventConsumerTest` to validate event consumption for `MapUserToHouse` and `ContractTerminated` scenarios. - Introduced `FunctionalAreaControllerTest` to ensure CRUD operations are handled correctly in `FunctionalAreaController`. - Implemented `FunctionAreaServiceImplTest` to verify business logic for managing functional areas. - Created `HouseControllerTest` to validate endpoints for house management, including keycloak integration simulation. - Added `GlobalExceptionHandlerTest` to cover exception handling logic for various scenarios.
…re/createHouse Feature/create house
…, tests, and mappers - Introduced `numberOfFloors` property in `House` and `CreateHouseRequest` classes. - Updated service and gRPC logic to handle `numberOfFloors`. - Adjusted test cases and repositories accordingly.
Session: 16a9c5b4-aa2f-41fc-97cb-74db68561f08
Session: 50c32280-47f1-4d46-b00c-83a8b6e5adff
Session: 16a9c5b4-aa2f-41fc-97cb-74db68561f08
Session: 50c32280-47f1-4d46-b00c-83a8b6e5adff
Session: 16a9c5b4-aa2f-41fc-97cb-74db68561f08
Session: 16a9c5b4-aa2f-41fc-97cb-74db68561f08
- Introduced `assetCount` field in `FunctionalAreaDto`. - Updated mappers to ignore `assetCount` during mapping. - Adjusted test cases and DTO construction methods. - Enhanced gRPC logic to include manager ID in `GetRegionResponse`. - Added centralized JSON logging configuration with Logback.
Session: 39bd9cb8-6a77-42c8-9df8-7ba39f9090df
…ion enhancements - Introduced `HouseSubscription` entity, repository, and notification logic via Kafka. - Added `ContractReplacedEvent` and `HouseStructure` enum for improved domain coverage. - Introduced presigned URL generation for S3 file access. - Enhanced `House` entity with new fields (`areaM2`, `structure`, land certificate details). - Improved translation services with override support and auto-completion tests. - Updated test cases for new and existing functionality. - Adjusted scheduler and service logic to align with new changes.
- Introduced `ContractCancelledByTenantEvent` and `InspectionDoneNotifyEvent` classes. - Updated Kafka consumer to handle new `contract.cancelled-by-tenant` and `contract.inspection.done` topics. - Enhanced region-based house retrieval with staff inclusion and deduplication. - Added advanced caching strategies for house-related operations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.