From e55ceb5231a12b8365afe692c9618abdbbe14893 Mon Sep 17 00:00:00 2001 From: Gustavo Fuhr Date: Wed, 7 Dec 2022 15:51:22 -0300 Subject: [PATCH] tests performance --- .../wisemapping/webmvc/UsersController.java | 5 ++ .../main/webapp/WEB-INF/defs/definitions.xml | 1 + .../webapp/WEB-INF/wisemapping-security.xml | 1 + wise-webapp/src/main/webapp/jsp/emptyPage.jsp | 56 +++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 wise-webapp/src/main/webapp/jsp/emptyPage.jsp diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java index e760c017..b4cc9dae 100644 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java +++ b/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java @@ -44,6 +44,11 @@ public class UsersController { return new ModelAndView("registration-google"); } + @RequestMapping(value = "empty", method = RequestMethod.GET) + public ModelAndView showEmptyPage() { + return new ModelAndView("empty"); + } + @RequestMapping(value = "registration", method = RequestMethod.GET) public ModelAndView showRegistrationPage() { return new ModelAndView("registration"); diff --git a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml index 0277589b..fc3653c7 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml @@ -9,6 +9,7 @@ + diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml index 12e726f1..f2fe209a 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml @@ -50,6 +50,7 @@ + diff --git a/wise-webapp/src/main/webapp/jsp/emptyPage.jsp b/wise-webapp/src/main/webapp/jsp/emptyPage.jsp new file mode 100644 index 00000000..dc1dfb60 --- /dev/null +++ b/wise-webapp/src/main/webapp/jsp/emptyPage.jsp @@ -0,0 +1,56 @@ +<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + + + <%@ include file="/jsp/pageHeaders.jsf" %> + + Loading | WiseMapping + + + + + + + + + + +
+

+ Testing +

+
+ + + +