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

add rollback mechanism. #17

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

alexsilaghi
Copy link
Contributor

Added rollback mechanism for updates from API. Had to add changeRequestId to backend-service, postcoordination-service , linearization-service.

@JsonProperty("entityIri") String entityIri,
@JsonProperty("changeRequestId")ChangeRequestId changeRequestId) implements ProjectEvent {

public static String CHANNEL = "webprotege.api.EntityUpdateFailed";
Copy link
Contributor

Choose a reason for hiding this comment

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

[question]: this event from rabbit can be handled multiple times by multiple services? basically everyone who subscribed to the channel will receive the notification right?

…case-of-api-fail

# Conflicts:
#	src/main/java/edu/stanford/protege/webprotegeeventshistory/uiHistoryConcern/events/RevisionsEvent.java
@alexsilaghi alexsilaghi merged commit 54c5dec into main-who Dec 18, 2024
1 check passed
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.

2 participants