aboutsummaryrefslogtreecommitdiffstats
path: root/snmpmapper/src/main/resources
diff options
context:
space:
mode:
authorBharathS24 <BS00493532@techmahindra.com>2018-03-27 19:03:40 +0530
committerBharathS24 <BS00493532@techmahindra.com>2018-03-27 19:03:54 +0530
commita0cd2159e2dbfde7613ea7dda8db1eacced4ca69 (patch)
treef7c66341abe5f3ffbae1441ce23ebb170b9c6033 /snmpmapper/src/main/resources
parentd4ee5e4e99611a20c091fca6782ded05b560504f (diff)
Added snmpmapper in Mapper
Commiting new Module in Mapper Change-Id: I6fe49f5bf980bfc68abca89a7494f640942fe474 Issue-ID: DCAEGEN2-338 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
Diffstat (limited to 'snmpmapper/src/main/resources')
-rw-r--r--snmpmapper/src/main/resources/application.properties2
-rw-r--r--snmpmapper/src/main/resources/templates/uploadForm.html19
2 files changed, 21 insertions, 0 deletions
diff --git a/snmpmapper/src/main/resources/application.properties b/snmpmapper/src/main/resources/application.properties
new file mode 100644
index 0000000..bee02d9
--- /dev/null
+++ b/snmpmapper/src/main/resources/application.properties
@@ -0,0 +1,2 @@
+fileService.rootPath=D:/configFiles
+server.port=8888 \ No newline at end of file
diff --git a/snmpmapper/src/main/resources/templates/uploadForm.html b/snmpmapper/src/main/resources/templates/uploadForm.html
new file mode 100644
index 0000000..22ffc68
--- /dev/null
+++ b/snmpmapper/src/main/resources/templates/uploadForm.html
@@ -0,0 +1,19 @@
+<html xmlns:th="http://www.thymeleaf.org">
+<body>
+
+ <div th:if="${message}">
+ <h2 th:text="${message}"/>
+ </div>
+
+ <div>
+ <form method="POST" enctype="multipart/form-data" action="/">
+ <table>
+ <tr><td>File to upload:</td><td><input type="file" name="file" /></td></tr>
+ <tr><td></td><td><input type="submit" value="Upload" /></td></tr>
+ </table>
+ </form>
+ </div>
+
+
+</body>
+</html>