DMP-3816: ARM RPO - Update the RPO CSV & Replay Time Range #2277
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.
Links
Change description
Summary of Git Diff
This Git diff introduces several modifications primarily to the
AdminPatchAutomatedTaskTest
and related classes. The changes include new methods to handle ARM automated tasks, updates to existing entities and services, and the introduction of error handling for incorrect task types. Additionally, new tests have been added to ensure the functionality of the updated features.Highlights
New Test Cases:
AdminPatchAutomatedTaskTest
to verify:Entity Updates:
ArmAutomatedTaskEntity
to use@OneToOne
relationship withAutomatedTaskEntity
, changing the fetch type toFetchType.LAZY
.AutomatedTaskEntity
to include a@OneToOne
relationship back toArmAutomatedTaskEntity
with@NotAudited
.Service Implementation Changes:
AdminAutomatedTasksServiceImpl
, added transactional support for updates to ARM automated tasks.updateAutomatedTask
method to handle ARM-specific fields and throw an exception if a non-ARM task attempts to update ARM fields.Error Handling:
INCORRECT_AUTOMATED_TASK_TYPE
inAutomatedTaskApiError
for improved error reporting.OpenAPI Specification:
tasks.yaml
to include new fields for ARM automated tasks, ensuring API documentation reflects recent changes.Unit Test Enhancements:
AdminAutomatedTasksServiceImplTest
, added tests to verify:Does this PR introduce a breaking change? (check one with "x")