aboutsummaryrefslogtreecommitdiff
path: root/connector/src/test
diff options
context:
space:
mode:
authorChristian Kollmann <christian.kollmann@a-sit.at>2021-12-02 09:06:55 +0100
committerChristian Kollmann <christian.kollmann@a-sit.at>2021-12-02 16:13:48 +0100
commite5934d538aabcfc1f3b92472753de729d6ce1cce (patch)
treee806c33042b2762b67265515de2d6f1f09152fad /connector/src/test
parent401cd39689d73f1cc865bb3c7cfca40a3f5ac625 (diff)
downloadNational_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.tar.gz
National_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.tar.bz2
National_eIDAS_Gateway-e5934d538aabcfc1f3b92472753de729d6ce1cce.zip
Search with user provided input in ZMR for addresses
Diffstat (limited to 'connector/src/test')
-rw-r--r--connector/src/test/resources/config/properties/messages.properties6
-rw-r--r--connector/src/test/resources/config/properties/messages_de.properties6
-rw-r--r--connector/src/test/resources/config/templates/residency.html13
3 files changed, 19 insertions, 6 deletions
diff --git a/connector/src/test/resources/config/properties/messages.properties b/connector/src/test/resources/config/properties/messages.properties
index 8ffc5560..1e0f04d0 100644
--- a/connector/src/test/resources/config/properties/messages.properties
+++ b/connector/src/test/resources/config/properties/messages.properties
@@ -110,4 +110,8 @@ gui.residency.cancel=Cancel
gui.residency.search=Search
gui.residency.proceed=Proceed
gui.residency.updated=Updated your input
-gui.residency.error=Error on Backend Call \ No newline at end of file
+gui.residency.error=Error on Backend Call
+gui.residency.input.municipality=Municipality
+gui.residency.input.village=Village
+gui.residency.input.street=Street
+gui.residency.input.number=Number \ No newline at end of file
diff --git a/connector/src/test/resources/config/properties/messages_de.properties b/connector/src/test/resources/config/properties/messages_de.properties
index a79aa41a..e0eea9d1 100644
--- a/connector/src/test/resources/config/properties/messages_de.properties
+++ b/connector/src/test/resources/config/properties/messages_de.properties
@@ -111,4 +111,8 @@ gui.residency.cancel=Abbrechen
gui.residency.search=Suche
gui.residency.proceed=Weiter
gui.residency.updated=Eingabe aktualisiert
-gui.residency.error=Fehler bei Addresssuche \ No newline at end of file
+gui.residency.error=Fehler bei Addresssuche
+gui.residency.input.municipality=Gemeinde
+gui.residency.input.village=Ortschaft
+gui.residency.input.street=Straße
+gui.residency.input.number=Nummer \ No newline at end of file
diff --git a/connector/src/test/resources/config/templates/residency.html b/connector/src/test/resources/config/templates/residency.html
index 8845cba0..17e21044 100644
--- a/connector/src/test/resources/config/templates/residency.html
+++ b/connector/src/test/resources/config/templates/residency.html
@@ -20,7 +20,8 @@
url: "http://localhost:8080/ms_connector/residency/search",
data: $("#inputForm").serialize()
}).done(function (data, textStatus, jqXHR) {
- $("#inputCity").val(data["city"]);
+ $("#inputMunicipality").val(data["municipality"]);
+ $("#inputVillage").val(data["village"]);
$("#inputStreet").val(data["street"]);
$("#inputNumber").val(data["number"]);
$("#textInfo").text(updatedText);
@@ -43,11 +44,15 @@
<div>
<p><span id="textInfo">Infotext</span></p>
</div>
- <form id="inputForm" class="block" method="post" action="$contextPath$submitEndpoint"
+ <form id="inputForm" method="post" action="$contextPath$submitEndpoint"
th:attr="action=@{${submitEndpoint}}">
<div>
- <label for="inputCity">City</label>
- <input type="text" id="inputCity" name="city" value="City"/>
+ <label for="inputMunicipality">Municipality</label>
+ <input type="text" id="inputMunicipality" name="municipality" value="Municipality"/>
+ </div>
+ <div>
+ <label for="inputVillage">Village</label>
+ <input type="text" id="inputVillage" name="village" value="Village"/>
</div>
<div>
<label for="inputStreet">Street</label>