Adapted sandbox setup to current master (#327)

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2016-10-27 08:24:26 +02:00
committed by GitHub
parent 1033587078
commit e97ed04c94
10 changed files with 58 additions and 15 deletions

View File

@@ -0,0 +1,30 @@
/**
* Copyright (c) 2015 Bosch Software Innovations GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse.hawkbit.app;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
* Redirects for convenience of the example apps users. hawkBit's management UI
* is by default not listening on / but on /UI.
*
*/
@Controller
public class RedirectController {
/**
* @return redirect to the Management UI
*/
@RequestMapping("/")
public ModelAndView home() {
return new ModelAndView("redirect:/UI/");
}
}

View File

@@ -7,6 +7,11 @@
# http://www.eclipse.org/legal/epl-v10.html
#
security.require-ssl=true
server.tomcat.protocol-header=X-Forwarded-Proto
# IBM Adresses unpredictable
server.tomcat.internal-proxies=.*
vaadin.servlet.productionMode=true
## Configuration for building download URLs - START