Skip to content
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

GRAD2-3315 : Changes to ignore school & district contact updates. #430

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

sumathi-thirumani
Copy link
Contributor

No description provided.

@sumathi-thirumani sumathi-thirumani changed the title Changes to ignore school & district contact updates. GRAD2-3315 - Changes to ignore school & district contact updates. Feb 28, 2025
@sumathi-thirumani sumathi-thirumani changed the title GRAD2-3315 - Changes to ignore school & district contact updates. GRAD2-3315 : Changes to ignore school & district contact updates. Feb 28, 2025
Copy link
Contributor

@cditcher cditcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hold up..... there's another way to do this. Each event type has it's own service that basically self determines if it should go into history table or not. For example DistrictContactUpdatedService/processEvent() calls this.updateEvent(eventEntity, true). Just changing the boolean to false will prevent it from being written to the history table. Reference: https://github.com/bcgov/EDUC-GRAD-TRAX-API/blob/main/api/src/main/java/ca/bc/gov/educ/api/trax/service/DistrictContactUpdatedService.java#L29

@cditcher cditcher merged commit abc3f9c into grad-release Mar 4, 2025
6 checks passed
@cditcher cditcher deleted the feature/GRAD2-3315 branch March 4, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants