Commit b9537264 authored by Noel Alonso's avatar Noel Alonso
Browse files

Elimina método del workflow

Ahora los postUpdate no se realizan vía streaming
parent e89178f0
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -75,9 +75,6 @@ public abstract class EventSourcingStreams extends BaseStreams {
		// Failed change
		processFailedChangeStream(events, snapshotEvents);

		// PostUpdate
		processPostUpdateStream(events);

		// extra process
		processExtraStreams(events, snapshotEvents);

@@ -252,12 +249,6 @@ public abstract class EventSourcingStreams extends BaseStreams {

	protected abstract Event getDeleteCancelledEvent(Event failedEvent, Event lastSuccessEvent);

	/*
	 * Función para procesar modificaciones de referencias
	 */

	protected abstract void processPostUpdateStream(KStream<String, Event> events);

	protected boolean isSameSession(Event a, Event b) {

		if (!(a.getSessionId().equals(b.getSessionId()))) {