diff options
author | BharathS24 <BS00493532@techmahindra.com> | 2018-03-27 19:03:40 +0530 |
---|---|---|
committer | BharathS24 <BS00493532@techmahindra.com> | 2018-03-27 19:03:54 +0530 |
commit | a0cd2159e2dbfde7613ea7dda8db1eacced4ca69 (patch) | |
tree | f7c66341abe5f3ffbae1441ce23ebb170b9c6033 /snmpmapper/src/main/resources | |
parent | d4ee5e4e99611a20c091fca6782ded05b560504f (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.properties | 2 | ||||
-rw-r--r-- | snmpmapper/src/main/resources/templates/uploadForm.html | 19 |
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> |