annotate src/main/resources/messprogrammquery.json @ 1059:a435b9fd1d85

Set default in data model instead of on generation of Probe objects.
author Tom Gottfried <tom@intevation.de>
date Fri, 23 Sep 2016 19:13:40 +0200
parents 9ed60af6e61e
children
rev   line source
636
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 [
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 { "id": "1",
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 "name": "Kein Filter",
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 "description": "Abfrage der Messprogramme ohne Filter",
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 "sql": "select m.id as id, m.name as name, m.mst_id as mstId, m.umw_id as umwId from land.messprogramm m",
812
9ed60af6e61e Added attribute 'type' to query configs.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 636
diff changeset
6 "type": "messprogramm",
636
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 "result": [
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 {"dataIndex": "name", "header": "Name", "width": 100},
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 {"dataIndex": "mstId", "header": "MST", "width": 100},
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 ],
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 "filters": [
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 ]
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 }
cdcb7a141529 Added new query config for messprogramme and serve it via QueryService.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 ]
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)