Loading atlas-commands/src/test/resources/data/layers/layer.json +1 −8 Original line number Diff line number Diff line Loading @@ -95,13 +95,6 @@ "address": "Edf. Puerto-Ciudad, of. 1b, S/C de Tenerife 38001 Spain ", "email": "gis@oag-fundacion.org" }, "activities": [ { "id": "817", "name": null, "path": null } ], "timeDimension": { "name": "time", "units": "ISO8601", Loading atlas-commands/src/test/resources/data/layers/layerDTO.json +12 −3 Original line number Diff line number Diff line Loading @@ -96,9 +96,9 @@ }, "activities": [ { "id": "817", "name": null, "path": null "activity": { "id": "817" } } ], "timeDimension": { Loading Loading @@ -143,6 +143,15 @@ "type": "WMS", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "downloads": [{ "name": "geoserver", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "timeDefinition": { "startDate": "2017-05-23T12:35:12.052+00:00", "endDate": "2019-05-23T12:35:12.052+00:00", "interval": "1h" }, "description": "Batimetrías de costera de las Islas Canarias (DGC)", "alias": "Batimetrías by operator", "atlas": true, Loading atlas-commands/src/test/resources/data/layers/layerInfoDTO.json +12 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,10 @@ }, "activities": [ { "activity": { "id": "817" } } ], "themeInspire": { "id": "themeInspire-el", Loading @@ -18,6 +20,15 @@ "type": "WMS", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "downloads": [{ "name": "geoserver", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "timeDefinition": { "startDate": "2017-05-23T12:35:12.052+00:00", "endDate": "2019-05-23T12:35:12.052+00:00", "interval": "1h" }, "latLonBoundsImage": { "maxX": -15.826663970947266, "maxY": 27.962779998779297, Loading atlas-commands/src/test/resources/data/schemas/layerschema.json +42 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,17 @@ "$ref": "#/definitions/ProtocolDTO" } }, "downloads": { "type": ["array", "null"], "uniqueItemsByRequiredProperties": true, "uniqueItems": true, "items": { "$ref": "#/definitions/DownloadDTO" } }, "timeDefinition": { "$ref": "#/definitions/TimeDefinitionDTO" }, "description": { "type": ["string", "null"], "maxLength": 1500 Loading @@ -57,6 +68,9 @@ "parent": { "type": "string", "url": "/api/atlas/view/category" }, "styles": { "type": ["string","null"] } }, "required": ["name", "protocols", "atlas", "refresh", "urlSource", "parent"], Loading Loading @@ -100,6 +114,34 @@ } }, "required": ["type", "url"] }, "DownloadDTO": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string", "format": "url" } }, "required": ["name", "url"] }, "TimeDefinitionDTO": { "type": ["object", "null"], "properties": { "startDate": { "type": "string" }, "endDate": { "type": ["string", "null"] }, "interval": { "type": ["string", "null"] } }, "required": ["startDate"] } } } Loading
atlas-commands/src/test/resources/data/layers/layer.json +1 −8 Original line number Diff line number Diff line Loading @@ -95,13 +95,6 @@ "address": "Edf. Puerto-Ciudad, of. 1b, S/C de Tenerife 38001 Spain ", "email": "gis@oag-fundacion.org" }, "activities": [ { "id": "817", "name": null, "path": null } ], "timeDimension": { "name": "time", "units": "ISO8601", Loading
atlas-commands/src/test/resources/data/layers/layerDTO.json +12 −3 Original line number Diff line number Diff line Loading @@ -96,9 +96,9 @@ }, "activities": [ { "id": "817", "name": null, "path": null "activity": { "id": "817" } } ], "timeDimension": { Loading Loading @@ -143,6 +143,15 @@ "type": "WMS", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "downloads": [{ "name": "geoserver", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "timeDefinition": { "startDate": "2017-05-23T12:35:12.052+00:00", "endDate": "2019-05-23T12:35:12.052+00:00", "interval": "1h" }, "description": "Batimetrías de costera de las Islas Canarias (DGC)", "alias": "Batimetrías by operator", "atlas": true, Loading
atlas-commands/src/test/resources/data/layers/layerInfoDTO.json +12 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,10 @@ }, "activities": [ { "activity": { "id": "817" } } ], "themeInspire": { "id": "themeInspire-el", Loading @@ -18,6 +20,15 @@ "type": "WMS", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "downloads": [{ "name": "geoserver", "url" :"https://atlas.redmic.es/geoserver/tn/wms" }], "timeDefinition": { "startDate": "2017-05-23T12:35:12.052+00:00", "endDate": "2019-05-23T12:35:12.052+00:00", "interval": "1h" }, "latLonBoundsImage": { "maxX": -15.826663970947266, "maxY": 27.962779998779297, Loading
atlas-commands/src/test/resources/data/schemas/layerschema.json +42 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,17 @@ "$ref": "#/definitions/ProtocolDTO" } }, "downloads": { "type": ["array", "null"], "uniqueItemsByRequiredProperties": true, "uniqueItems": true, "items": { "$ref": "#/definitions/DownloadDTO" } }, "timeDefinition": { "$ref": "#/definitions/TimeDefinitionDTO" }, "description": { "type": ["string", "null"], "maxLength": 1500 Loading @@ -57,6 +68,9 @@ "parent": { "type": "string", "url": "/api/atlas/view/category" }, "styles": { "type": ["string","null"] } }, "required": ["name", "protocols", "atlas", "refresh", "urlSource", "parent"], Loading Loading @@ -100,6 +114,34 @@ } }, "required": ["type", "url"] }, "DownloadDTO": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string", "format": "url" } }, "required": ["name", "url"] }, "TimeDefinitionDTO": { "type": ["object", "null"], "properties": { "startDate": { "type": "string" }, "endDate": { "type": ["string", "null"] }, "interval": { "type": ["string", "null"] } }, "required": ["startDate"] } } }