Release/13.6#345
Merged
Merged
Conversation
* Release/13.2 (#332) * Update GrantMandatoryQuestionFundingLocation enum to replace 'OUTSIDE_UK' with 'INTERNATIONAL' * Update GrantMandatoryQuestionFundingLocation enum to replace 'INTERNATIONAL' with 'OUTSIDE_UK' * Release/13.3 (#334) * Add submission anonymisation feature - Introduced SubmissionAnonymisationConfigProperties for configuration settings. - Added EXPIRED status to SubmissionStatus enum. - Enhanced GrantAttachmentRepository and GrantMandatoryQuestionRepository with delete methods for submissions. - Updated SubmissionRepository with methods for anonymising submissions and deleting related data. - Implemented SubmissionAnonymisationScheduler to handle scheduled anonymisation of submissions. - Created SubmissionAnonymisationService to manage the anonymisation process, including S3 object deletion and database cleanup. - Added application properties for submission anonymisation configuration. - Created database migration to document the new EXPIRED status in the submission table. * Refactor SubmissionAnonymisationConfigProperties - Removed Lombok annotations: @builder, @AllArgsConstructor, and @NoArgsConstructor. - Simplified the class by retaining only @Getter and @Setter annotations. - Adjusted the default value for daysBeforeExpiry to 90, ensuring clarity in configuration settings. * Enhance S3Service to support deletion of attachments using S3 URI - Updated deleteAttachment method to accept an S3 URI instead of just the object key. - Extracted bucket name and key from the S3 URI for improved flexibility. - Added logging to indicate which bucket and object are being deleted. - Ensured deletion from both the specified bucket and the attachments bucket. * Refactor SubmissionAnonymisationService to improve S3 deletion handling - Updated the S3 deletion logic to abort anonymisation if any deletion fails, ensuring the submission remains in IN_PROGRESS for retry. - Enhanced logging to provide clearer context on failures during S3 object deletion, improving traceability and error handling. * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper (#340) - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`.
* Release/13.2 (#332) * Update GrantMandatoryQuestionFundingLocation enum to replace 'OUTSIDE_UK' with 'INTERNATIONAL' * Update GrantMandatoryQuestionFundingLocation enum to replace 'INTERNATIONAL' with 'OUTSIDE_UK' * Release/13.3 (#334) * Add submission anonymisation feature - Introduced SubmissionAnonymisationConfigProperties for configuration settings. - Added EXPIRED status to SubmissionStatus enum. - Enhanced GrantAttachmentRepository and GrantMandatoryQuestionRepository with delete methods for submissions. - Updated SubmissionRepository with methods for anonymising submissions and deleting related data. - Implemented SubmissionAnonymisationScheduler to handle scheduled anonymisation of submissions. - Created SubmissionAnonymisationService to manage the anonymisation process, including S3 object deletion and database cleanup. - Added application properties for submission anonymisation configuration. - Created database migration to document the new EXPIRED status in the submission table. * Refactor SubmissionAnonymisationConfigProperties - Removed Lombok annotations: @builder, @AllArgsConstructor, and @NoArgsConstructor. - Simplified the class by retaining only @Getter and @Setter annotations. - Adjusted the default value for daysBeforeExpiry to 90, ensuring clarity in configuration settings. * Enhance S3Service to support deletion of attachments using S3 URI - Updated deleteAttachment method to accept an S3 URI instead of just the object key. - Extracted bucket name and key from the S3 URI for improved flexibility. - Added logging to indicate which bucket and object are being deleted. - Ensured deletion from both the specified bucket and the attachments bucket. * Refactor SubmissionAnonymisationService to improve S3 deletion handling - Updated the S3 deletion logic to abort anonymisation if any deletion fails, ensuring the submission remains in IN_PROGRESS for retry. - Enhanced logging to provide clearer context on failures during S3 object deletion, improving traceability and error handling. * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper (#340) - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Release/13.4 (#342) * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Enhance GrantExport functionality with sorting and pagination support * Refactor GrantExportServiceTest to update repository method calls for improved clarity and consistency. Changed method names to reflect accurate parameters and enhance test readability. * Fix assertions in GrantExportServiceTest to correctly validate exported submissions. Updated expected values to ensure accurate test results and maintain consistency in test logic.
- Introduced a new BOOLEAN column `backfill_source` with a default value of FALSE to the `grant_mandatory_questions` table to enhance data tracking capabilities.
rmohammed-goaco
added a commit
that referenced
this pull request
Jul 9, 2026
* Release/13.2 (#332) * Update GrantMandatoryQuestionFundingLocation enum to replace 'OUTSIDE_UK' with 'INTERNATIONAL' * Update GrantMandatoryQuestionFundingLocation enum to replace 'INTERNATIONAL' with 'OUTSIDE_UK' * Release/13.3 (#334) * Add submission anonymisation feature - Introduced SubmissionAnonymisationConfigProperties for configuration settings. - Added EXPIRED status to SubmissionStatus enum. - Enhanced GrantAttachmentRepository and GrantMandatoryQuestionRepository with delete methods for submissions. - Updated SubmissionRepository with methods for anonymising submissions and deleting related data. - Implemented SubmissionAnonymisationScheduler to handle scheduled anonymisation of submissions. - Created SubmissionAnonymisationService to manage the anonymisation process, including S3 object deletion and database cleanup. - Added application properties for submission anonymisation configuration. - Created database migration to document the new EXPIRED status in the submission table. * Refactor SubmissionAnonymisationConfigProperties - Removed Lombok annotations: @builder, @AllArgsConstructor, and @NoArgsConstructor. - Simplified the class by retaining only @Getter and @Setter annotations. - Adjusted the default value for daysBeforeExpiry to 90, ensuring clarity in configuration settings. * Enhance S3Service to support deletion of attachments using S3 URI - Updated deleteAttachment method to accept an S3 URI instead of just the object key. - Extracted bucket name and key from the S3 URI for improved flexibility. - Added logging to indicate which bucket and object are being deleted. - Ensured deletion from both the specified bucket and the attachments bucket. * Refactor SubmissionAnonymisationService to improve S3 deletion handling - Updated the S3 deletion logic to abort anonymisation if any deletion fails, ensuring the submission remains in IN_PROGRESS for retry. - Enhanced logging to provide clearer context on failures during S3 object deletion, improving traceability and error handling. * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper (#340) - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Release/13.4 (#342) * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Enhance GrantExport functionality with sorting and pagination support * Refactor GrantExportServiceTest to update repository method calls for improved clarity and consistency. Changed method names to reflect accurate parameters and enhance test readability. * Fix assertions in GrantExportServiceTest to correctly validate exported submissions. Updated expected values to ensure accurate test results and maintain consistency in test logic. * Release/13.6 (#345) * Release/13.4 (#341) * Release/13.2 (#332) * Update GrantMandatoryQuestionFundingLocation enum to replace 'OUTSIDE_UK' with 'INTERNATIONAL' * Update GrantMandatoryQuestionFundingLocation enum to replace 'INTERNATIONAL' with 'OUTSIDE_UK' * Release/13.3 (#334) * Add submission anonymisation feature - Introduced SubmissionAnonymisationConfigProperties for configuration settings. - Added EXPIRED status to SubmissionStatus enum. - Enhanced GrantAttachmentRepository and GrantMandatoryQuestionRepository with delete methods for submissions. - Updated SubmissionRepository with methods for anonymising submissions and deleting related data. - Implemented SubmissionAnonymisationScheduler to handle scheduled anonymisation of submissions. - Created SubmissionAnonymisationService to manage the anonymisation process, including S3 object deletion and database cleanup. - Added application properties for submission anonymisation configuration. - Created database migration to document the new EXPIRED status in the submission table. * Refactor SubmissionAnonymisationConfigProperties - Removed Lombok annotations: @builder, @AllArgsConstructor, and @NoArgsConstructor. - Simplified the class by retaining only @Getter and @Setter annotations. - Adjusted the default value for daysBeforeExpiry to 90, ensuring clarity in configuration settings. * Enhance S3Service to support deletion of attachments using S3 URI - Updated deleteAttachment method to accept an S3 URI instead of just the object key. - Extracted bucket name and key from the S3 URI for improved flexibility. - Added logging to indicate which bucket and object are being deleted. - Ensured deletion from both the specified bucket and the attachments bucket. * Refactor SubmissionAnonymisationService to improve S3 deletion handling - Updated the S3 deletion logic to abort anonymisation if any deletion fails, ensuring the submission remains in IN_PROGRESS for retry. - Enhanced logging to provide clearer context on failures during S3 object deletion, improving traceability and error handling. * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper (#340) - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Release/13.4 (#344) * Release/13.2 (#332) * Update GrantMandatoryQuestionFundingLocation enum to replace 'OUTSIDE_UK' with 'INTERNATIONAL' * Update GrantMandatoryQuestionFundingLocation enum to replace 'INTERNATIONAL' with 'OUTSIDE_UK' * Release/13.3 (#334) * Add submission anonymisation feature - Introduced SubmissionAnonymisationConfigProperties for configuration settings. - Added EXPIRED status to SubmissionStatus enum. - Enhanced GrantAttachmentRepository and GrantMandatoryQuestionRepository with delete methods for submissions. - Updated SubmissionRepository with methods for anonymising submissions and deleting related data. - Implemented SubmissionAnonymisationScheduler to handle scheduled anonymisation of submissions. - Created SubmissionAnonymisationService to manage the anonymisation process, including S3 object deletion and database cleanup. - Added application properties for submission anonymisation configuration. - Created database migration to document the new EXPIRED status in the submission table. * Refactor SubmissionAnonymisationConfigProperties - Removed Lombok annotations: @builder, @AllArgsConstructor, and @NoArgsConstructor. - Simplified the class by retaining only @Getter and @Setter annotations. - Adjusted the default value for daysBeforeExpiry to 90, ensuring clarity in configuration settings. * Enhance S3Service to support deletion of attachments using S3 URI - Updated deleteAttachment method to accept an S3 URI instead of just the object key. - Extracted bucket name and key from the S3 URI for improved flexibility. - Added logging to indicate which bucket and object are being deleted. - Ensured deletion from both the specified bucket and the attachments bucket. * Refactor SubmissionAnonymisationService to improve S3 deletion handling - Updated the S3 deletion logic to abort anonymisation if any deletion fails, ensuring the submission remains in IN_PROGRESS for retry. - Enhanced logging to provide clearer context on failures during S3 object deletion, improving traceability and error handling. * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper (#340) - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Release/13.4 (#342) * Add gapId to ExportedSubmissionsDto and implement mapping in CustomGrantExportMapper - Added a new field `gapId` to the `ExportedSubmissionsDto` class. - Updated the `CustomGrantExportMapperImpl` to map the `gapId` from `GrantExportEntity`. - Enhanced the `GrantExportMapper` interface to include the new mapping method for `gapId`. * Enhance GrantExport functionality with sorting and pagination support * Refactor GrantExportServiceTest to update repository method calls for improved clarity and consistency. Changed method names to reflect accurate parameters and enhance test readability. * Fix assertions in GrantExportServiceTest to correctly validate exported submissions. Updated expected values to ensure accurate test results and maintain consistency in test logic. * Add backfill_source column to grant_mandatory_questions table - Introduced a new BOOLEAN column `backfill_source` with a default value of FALSE to the `grant_mandatory_questions` table to enhance data tracking capabilities.
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.