Commit 20887b4f authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade default a nuevos campos en avro

parent f96b517a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -80,11 +80,11 @@ public class LayerDTO extends LayerInfoDTO {
			+ "{\"name\":\"updated\",\"type\":[\"null\",{\"type\":\"long\",\"logicalType\":\"timestamp-millis\"}],"
				+ "\"default\": null},"
			+ "{\"name\":\"parent\",\"type\":" + CategoryDTO.SCHEMA$ + "},"
			+ "{\"name\":\"activities\",\"type\": [{\"type\": \"array\",\"items\": "+ LayerActivityDTO.SCHEMA$ +"},\"null\"]},"
			+ "{\"name\":\"activities\",\"type\": [\"null\", {\"type\": \"array\",\"items\": "+ LayerActivityDTO.SCHEMA$ +"}],\"default\":null},"
			+ "{\"name\":\"themeInspire\",\"type\":["+ ThemeInspireDTO.SCHEMA$ +", \"null\"]},"
			+ "{\"name\":\"latLonBoundsImage\",\"type\":[" + LatLonBoundingBoxDTO.SCHEMA$ + ", \"null\"]},"
			+ "{\"name\":\"protocols\",\"type\": [{\"type\": \"array\",\"items\":" + ProtocolDTO.SCHEMA$ + "},\"null\"]},"
			+ "{\"name\":\"downloads\",\"type\": [{\"type\": \"array\",\"items\":" + DownloadDTO.SCHEMA$ + "},\"null\"]},"
			+ "{\"name\":\"protocols\",\"type\": [{\"type\": \"array\",\"items\":" + ProtocolDTO.SCHEMA$ + "}]},"
			+ "{\"name\":\"downloads\",\"type\": [\"null\", {\"type\": \"array\",\"items\":" + DownloadDTO.SCHEMA$ + "}],\"default\":null},"
			+ "{\"name\":\"timeDefinition\",\"type\":[" + TimeDefinitionDTO.SCHEMA$ + ", \"null\"]},"
			+ "{\"name\":\"description\",\"type\":[\"string\", \"null\"]},"
			+ "{\"name\":\"alias\",\"type\":[\"string\", \"null\"]},"
+3 −3
Original line number Diff line number Diff line
@@ -54,11 +54,11 @@ public class LayerInfoDTO extends LayerCompactDTO {
	public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse(
		"{\"type\":\"record\",\"name\":\"LayerDTO\",\"namespace\":\"es.redmic.atlaslib.dto.layerinfo\",\"fields\":["
			+ "{\"name\":\"parent\",\"type\":" + CategoryDTO.SCHEMA$ + "},"
			+ "{\"name\":\"activities\",\"type\": [{\"type\": \"array\",\"items\":" + LayerActivityDTO.SCHEMA$ + "},\"null\"]},"
			+ "{\"name\":\"activities\",\"type\": [\"null\", {\"type\": \"array\",\"items\": "+ LayerActivityDTO.SCHEMA$ +"}],\"default\":null},"
			+ "{\"name\":\"themeInspire\",\"type\":[" + ThemeInspireDTO.SCHEMA$ + ", \"null\"]},"
			+ "{\"name\":\"latLonBoundsImage\",\"type\":[" + LatLonBoundingBoxDTO.SCHEMA$ + ", \"null\"]},"
			+ "{\"name\":\"protocols\",\"type\": [{\"type\": \"array\",\"items\":" + ProtocolDTO.SCHEMA$ + "},\"null\"]},"
			+ "{\"name\":\"downloads\",\"type\": [{\"type\": \"array\",\"items\":" + DownloadDTO.SCHEMA$ + "},\"null\"]},"
			+ "{\"name\":\"protocols\",\"type\": [{\"type\": \"array\",\"items\":" + ProtocolDTO.SCHEMA$ + "}]},"
			+ "{\"name\":\"downloads\",\"type\": [\"null\", {\"type\": \"array\",\"items\":" + DownloadDTO.SCHEMA$ + "}],\"default\":null},"
			+ "{\"name\":\"timeDefinition\",\"type\":[" + TimeDefinitionDTO.SCHEMA$ + ", \"null\"]},"
			+ "{\"name\":\"description\",\"type\":[\"string\", \"null\"]},"
			+ "{\"name\":\"alias\",\"type\":[\"string\", \"null\"]},"