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

@@ -11,10 +11,11 @@
# data example to a cloud foundry enviroment. Expects existing CF CLI # data example to a cloud foundry enviroment. Expects existing CF CLI
# installation and login to be existing already. # installation and login to be existing already.
cf stop hawkbit-simulator
cd examples/hawkbit-example-app/target/ cd examples/hawkbit-example-app/target/
cf push cf push
cd ../.. cd ../..
java -jar hawkbit-mgmt-api-client/target/hawkbit-mgmt-api-client-0.2.0-SNAPSHOT.jar --hawkbit.url=hawkbit.eu-gb.mybluemix.net java -jar hawkbit-example-mgmt-simulator/target/hawkbit-example-mgmt-simulator-0.2.0-SNAPSHOT.jar --hawkbit.url=https://hawkbit.eu-gb.mybluemix.net
cd hawkbit-device-simulator/target/ cd hawkbit-device-simulator/target/
cf push cf push
cd ../../.. cd ../../..

View File

@@ -13,7 +13,7 @@ applications:
memory: 1024M memory: 1024M
instances: 1 instances: 1
buildpack: https://github.com/cloudfoundry/java-buildpack buildpack: https://github.com/cloudfoundry/java-buildpack
path: ${project.build.finalName}.jar path: @project.build.finalName@.jar
services: services:
- dmf-rabbit - dmf-rabbit
env: env:

View File

@@ -13,7 +13,7 @@ applications:
memory: 1024M memory: 1024M
instances: 1 instances: 1
buildpack: https://github.com/cloudfoundry/java-buildpack buildpack: https://github.com/cloudfoundry/java-buildpack
path: ${project.build.finalName}.jar path: @project.build.finalName@.jar
env: env:
SPRING_PROFILES_ACTIVE: cloudsandbox SPRING_PROFILES_ACTIVE: cloudsandbox
CF_STAGING_TIMEOUT: 15 CF_STAGING_TIMEOUT: 15

View File

@@ -13,7 +13,7 @@ applications:
memory: 1024M memory: 1024M
instances: 1 instances: 1
buildpack: https://github.com/cloudfoundry/java-buildpack buildpack: https://github.com/cloudfoundry/java-buildpack
path: ${project.build.finalName}.jar path: @project.build.finalName@.jar
services: services:
- dmf-rabbit - dmf-rabbit
env: env:

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 # 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 vaadin.servlet.productionMode=true
## Configuration for building download URLs - START ## Configuration for building download URLs - START

View File

@@ -22,3 +22,4 @@ hawkbit.scenarios.[0].distribution-sets=3
hawkbit.scenarios.[0].sm-fw-name=gettingstarted-example hawkbit.scenarios.[0].sm-fw-name=gettingstarted-example
hawkbit.scenarios.[0].sm-sw-name=gettingstarted-example hawkbit.scenarios.[0].sm-sw-name=gettingstarted-example
hawkbit.scenarios.[0].runRollouts=false hawkbit.scenarios.[0].runRollouts=false
hawkbit.scenarios.[0].artifactsPerSM=0

View File

@@ -86,7 +86,7 @@
} }
.view-header:after { .view-header:after {
background: $logo-image no-repeat right top; background: $logo-image no-repeat right top;
background-position: right 0 top 8px; background-position: $logo-position;
content: ""; content: "";
height: 80px; height: 80px;
position: absolute; position: absolute;

View File

@@ -10,6 +10,12 @@
$hawkbit-primary-color: #551f62; $hawkbit-primary-color: #551f62;
$hawkbit-primary-color-light: #551f62; $hawkbit-primary-color-light: #551f62;
//Logo image for the top right corner
$logo-image: url('images/hawkbit_logo.png');
//Logo image postion
$logo-position: right 8px top 8px;
//Application text font size.All widget text style are computed based on this //Application text font size.All widget text style are computed based on this
$app-text-font-size: 16px; $app-text-font-size: 16px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB