-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
refactoringTechnical refactoring of an existing featureTechnical refactoring of an existing featuretaskSomething to be done that does not directly affect the softwareSomething to be done that does not directly affect the software
Description
Problem Description
Part of Epic: [Epic] PathogenClassification: Replace GenoTypeResult & SeroGroupSpecification enums
Blocked by: Phases 10 & 11
Remove the now-unused GenoTypeResult and SeroGroupSpecification enums and any remaining
usages in exports, reports, or other mapping code.
Proposed Solution
Tasks
- Delete
sormas-api/.../sample/GenoTypeResult.java - Delete
sormas-api/.../sample/SeroGroupSpecification.java - Search all export/report code for usages of
genoTypeResult/seroGroupSpecificationfield names — update topathogenClassification - Search
ExternalMessageMapperand any import/export mappers forseroTypingMethod/serotypingmethod— verify still intact (should be unaffected) - Search for any remaining usages of the deleted enums across the codebase — compile will catch most
-
mvn compilefull project — zero errors - Run affected tests
Additional Information
Verification
- API responses: old
genoTypeResult/seroGroupSpecificationfields absent;pathogenClassificationpresent - Exports/reports updated to use new field captions
- Backward compatibility check for any API consumers documented
Acceptance Criteria
- Full project compiles cleanly
- No references to
GenoTypeResultorSeroGroupSpecificationremain in production code - All affected tests pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
refactoringTechnical refactoring of an existing featureTechnical refactoring of an existing featuretaskSomething to be done that does not directly affect the softwareSomething to be done that does not directly affect the software