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

Permite que lastSnapshotItem sea null

Para los casos en los que no haya snapshot (añadir)
parent 21d366fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public class CategoryRollbackEvent extends BaseRollbackEvent {
	public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{"
		+ "\"type\":\"record\",\"name\":\"CategoryRollbackEvent\","
				+ "\"namespace\":\"es.redmic.atlaslib.events.category.fail\",\"fields\":["
			+ "{\"name\":\"lastSnapshotItem\",\"type\":" + CategoryDTO.SCHEMA$.toString() + "},"
			+ "{\"name\":\"lastSnapshotItem\",\"type\":[\"null\"," + CategoryDTO.SCHEMA$.toString() + "]},"
			+ "{\"name\":\"failEventType\",\"type\": \"string\"},"
			+ getEventBaseSchema() + "]}");
	
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public class LayerRollbackEvent extends BaseRollbackEvent {
	public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{"
		+ "\"type\":\"record\",\"name\":\"LayerRollbackEvent\","
				+ "\"namespace\":\"es.redmic.atlaslib.events.layer.fail\",\"fields\":["
			+ "{\"name\":\"lastSnapshotItem\",\"type\":" + LayerDTO.SCHEMA$.toString() + "},"
			+ "{\"name\":\"lastSnapshotItem\",\"type\":[\"null\"," + LayerDTO.SCHEMA$.toString() + "]},"
			+ "{\"name\":\"failEventType\",\"type\": \"string\"},"
			+ getEventBaseSchema() + "]}");
	
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public class ThemeInspireRollbackEvent extends BaseRollbackEvent {
	public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{"
		+ "\"type\":\"record\",\"name\":\"ThemeInspireRollbackEvent\","
				+ "\"namespace\":\"es.redmic.atlaslib.events.themeinspire.fail\",\"fields\":["
			+ "{\"name\":\"lastSnapshotItem\",\"type\":" + ThemeInspireDTO.SCHEMA$.toString() + "},"
			+ "{\"name\":\"lastSnapshotItem\",\"type\":[\"null\"," + ThemeInspireDTO.SCHEMA$.toString() + "]},"
			+ "{\"name\":\"failEventType\",\"type\": \"string\"},"
			+ getEventBaseSchema() + "]}");