Mercurial > lada > lada-server
comparison src/test/resources/datasets/dbUnit_import_merge.json @ 1050:28d2d5be7e03 schema-update
Added unit tests for importer update path.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 19 Sep 2016 12:14:46 +0200 |
parents | |
children | b21bb0b6c8f4 |
comparison
equal
deleted
inserted
replaced
1049:625b0adcba45 | 1050:28d2d5be7e03 |
---|---|
1 { | |
2 "land.messprogramm": [{ | |
3 "id": 1000, | |
4 "test": false, | |
5 "mst_id": "06010", | |
6 "labor_mst_id": "06010", | |
7 "datenbasis_id": 9, | |
8 "gem_id": "11000000", | |
9 "media_desk": "D: 50 90 01 06 02 05 00 00 00 00 00 00", | |
10 "umw_id": "L6", | |
11 "ort_id": 1000, | |
12 "probenart_id": 1, | |
13 "probenintervall": "M", | |
14 "gueltig_von": 1, | |
15 "gueltig_bis": 100, | |
16 "teilintervall_von": 1, | |
17 "teilintervall_bis": 30, | |
18 "letzte_aenderung": "2015-03-01 12:00:00" | |
19 }], | |
20 "land.probe": [{ | |
21 "id": 1000, | |
22 "id_alt": "T001", | |
23 "ba_id": "1", | |
24 "datenbasis_id": 9, | |
25 "letzte_aenderung": "2012-05-05 11:12:00", | |
26 "media": "Trinkwasser Zentralversorgung Oberflächenwasser aufbereitet", | |
27 "media_desk": "D: 59 04 01 00 05 05 01 02 00 00 00 00", | |
28 "mst_id": "06010", | |
29 "labor_mst_id": "06010", | |
30 "probeentnahme_beginn": "2012-05-03 13:07:00", | |
31 "probenart_id": 1, | |
32 "test": false, | |
33 "umw_id":"L6", | |
34 "hauptproben_nr": "120510002", | |
35 "mpr_id": 1000, | |
36 "probe_nehmer_id": 726, | |
37 "solldatum_beginn": "2013-05-01 16:00:00", | |
38 "solldatum_ende": "2013-05-05 16:00:00", | |
39 "tree_modified": "2012-05-08 10:00:00" | |
40 }], | |
41 "land.messung": [{ | |
42 "id": 1200, | |
43 "probe_id": 1000, | |
44 "nebenproben_nr": "06A0", | |
45 "id_alt": 1, | |
46 "mmt_id": "A3", | |
47 "messdauer": 3600, | |
48 "messzeitpunkt": "2012-05-06 14:00:00", | |
49 "fertig": false, | |
50 "letzte_aenderung": "2012-05-08 12:00:00", | |
51 "geplant": true, | |
52 "tree_modified": "2012-05-09 12:00:00" | |
53 }], | |
54 "land.zusatz_wert": [{ | |
55 "id": 1000, | |
56 "probe_id": 1000, | |
57 "pzs_id": "A74", | |
58 "messwert_pzs": 1.8, | |
59 "messfehler": 0.2, | |
60 "nwg_zu_messwert": 0.3, | |
61 "letzte_aenderung": "2012-05-08 12:00:00", | |
62 "tree_modified": "2012-05-09 12:00:00" | |
63 }], | |
64 "land.kommentar_p": [{ | |
65 "id": 1000, | |
66 "probe_id": 1000, | |
67 "datum": "2012-05-08 12:00:00", | |
68 "mst_id": "06010", | |
69 "text": "Testtext" | |
70 }], | |
71 "land.kommentar_m": [{ | |
72 "id": 1000, | |
73 "messungs_id": 1200, | |
74 "datum": "2012-05-08 12:00:00", | |
75 "mst_id": "06010", | |
76 "text": "Testtext" | |
77 }], | |
78 "land.messwert": [{ | |
79 "id": 1000, | |
80 "messungs_id": 1200, | |
81 "messgroesse_id": 56, | |
82 "messwert": 1000.8, | |
83 "meh_id": 207 | |
84 }, { | |
85 "id": 1001, | |
86 "messungs_id": 1200, | |
87 "messgroesse_id": 57, | |
88 "messwert": 1000.8, | |
89 "meh_id": 208 | |
90 }] | |
91 } |