diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/test/resources/datasets/dbUnit_import_merge.json	Mon Sep 19 12:14:46 2016 +0200
@@ -0,0 +1,91 @@
+{
+    "land.messprogramm": [{
+        "id": 1000,
+        "test": false,
+        "mst_id": "06010",
+        "labor_mst_id": "06010",
+        "datenbasis_id": 9,
+        "gem_id": "11000000",
+        "media_desk": "D: 50 90 01 06 02 05 00 00 00 00 00 00",
+        "umw_id": "L6",
+        "ort_id": 1000,
+        "probenart_id": 1,
+        "probenintervall": "M",
+        "gueltig_von": 1,
+        "gueltig_bis": 100,
+        "teilintervall_von": 1,
+        "teilintervall_bis": 30,
+        "letzte_aenderung": "2015-03-01 12:00:00"
+    }],
+    "land.probe": [{
+        "id": 1000,
+        "id_alt": "T001",
+        "ba_id": "1",
+        "datenbasis_id": 9,
+        "letzte_aenderung": "2012-05-05 11:12:00",
+        "media": "Trinkwasser Zentralversorgung Oberflächenwasser aufbereitet",
+        "media_desk": "D: 59 04 01 00 05 05 01 02 00 00 00 00",
+        "mst_id": "06010",
+        "labor_mst_id": "06010",
+        "probeentnahme_beginn": "2012-05-03 13:07:00",
+        "probenart_id": 1,
+        "test": false,
+        "umw_id":"L6",
+        "hauptproben_nr": "120510002",
+        "mpr_id": 1000,
+        "probe_nehmer_id": 726,
+        "solldatum_beginn": "2013-05-01 16:00:00",
+        "solldatum_ende": "2013-05-05 16:00:00",
+        "tree_modified": "2012-05-08 10:00:00"
+    }],
+    "land.messung": [{
+        "id": 1200,
+        "probe_id": 1000,
+        "nebenproben_nr": "06A0",
+        "id_alt": 1,
+        "mmt_id": "A3",
+        "messdauer": 3600,
+        "messzeitpunkt": "2012-05-06 14:00:00",
+        "fertig": false,
+        "letzte_aenderung": "2012-05-08 12:00:00",
+        "geplant": true,
+        "tree_modified": "2012-05-09 12:00:00"
+    }],
+    "land.zusatz_wert": [{
+        "id": 1000,
+        "probe_id": 1000,
+        "pzs_id": "A74",
+        "messwert_pzs": 1.8,
+        "messfehler": 0.2,
+        "nwg_zu_messwert": 0.3,
+        "letzte_aenderung": "2012-05-08 12:00:00",
+        "tree_modified": "2012-05-09 12:00:00"
+    }],
+    "land.kommentar_p": [{
+        "id": 1000,
+        "probe_id": 1000,
+        "datum": "2012-05-08 12:00:00",
+        "mst_id": "06010",
+        "text": "Testtext"
+    }],
+    "land.kommentar_m": [{
+        "id": 1000,
+        "messungs_id": 1200,
+        "datum": "2012-05-08 12:00:00",
+        "mst_id": "06010",
+        "text": "Testtext"
+    }],
+    "land.messwert": [{
+        "id": 1000,
+        "messungs_id": 1200,
+        "messgroesse_id": 56,
+        "messwert": 1000.8,
+        "meh_id": 207
+    }, {
+        "id": 1001,
+        "messungs_id": 1200,
+        "messgroesse_id": 57,
+        "messwert": 1000.8,
+        "meh_id": 208
+    }]
+}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)