diff --git a/src/main/java/fr/sixthemes/beans/CTCreationRequest.java b/src/main/java/fr/sixthemes/beans/CTCreationRequest.java index 5c5791d..44e28b9 100644 --- a/src/main/java/fr/sixthemes/beans/CTCreationRequest.java +++ b/src/main/java/fr/sixthemes/beans/CTCreationRequest.java @@ -16,7 +16,9 @@ public class CTCreationRequest { public CTCreationRequest() { // TODO : Get default credentials from user session or docker env - this.targetClusterURL = "https://example.com"; + this.targetClusterURL = ""; + this.apiID = ""; + this.apiKey = ""; } public CTCreationRequest(String targetClusterURL, String apiID, String apiKey) { diff --git a/src/main/java/fr/sixthemes/servlets/RequestProcessor.java b/src/main/java/fr/sixthemes/servlets/RequestProcessor.java index dd2fe62..20447a6 100644 --- a/src/main/java/fr/sixthemes/servlets/RequestProcessor.java +++ b/src/main/java/fr/sixthemes/servlets/RequestProcessor.java @@ -17,7 +17,7 @@ public class RequestProcessor extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { - + resp.sendRedirect("/"); } @Override @@ -35,6 +35,5 @@ public class RequestProcessor extends HttpServlet { PrintWriter out = resp.getWriter(); out.println(response); - // out.println(request.getPostDataFor(conf)); } }