Adapted sandbox setup to current master (#327)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
# data example to a cloud foundry enviroment. Expects existing CF CLI
|
||||
# installation and login to be existing already.
|
||||
|
||||
cf stop hawkbit-simulator
|
||||
cd examples/hawkbit-example-app/target/
|
||||
cf push
|
||||
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/
|
||||
cf push
|
||||
cd ../../..
|
||||
|
||||
@@ -13,7 +13,7 @@ applications:
|
||||
memory: 1024M
|
||||
instances: 1
|
||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
||||
path: ${project.build.finalName}.jar
|
||||
path: @project.build.finalName@.jar
|
||||
services:
|
||||
- dmf-rabbit
|
||||
env:
|
||||
|
||||
@@ -13,7 +13,7 @@ applications:
|
||||
memory: 1024M
|
||||
instances: 1
|
||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
||||
path: ${project.build.finalName}.jar
|
||||
path: @project.build.finalName@.jar
|
||||
env:
|
||||
SPRING_PROFILES_ACTIVE: cloudsandbox
|
||||
CF_STAGING_TIMEOUT: 15
|
||||
|
||||
@@ -13,7 +13,7 @@ applications:
|
||||
memory: 1024M
|
||||
instances: 1
|
||||
buildpack: https://github.com/cloudfoundry/java-buildpack
|
||||
path: ${project.build.finalName}.jar
|
||||
path: @project.build.finalName@.jar
|
||||
services:
|
||||
- dmf-rabbit
|
||||
env:
|
||||
|
||||
@@ -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/");
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -21,4 +21,5 @@ hawkbit.scenarios.[0].ds-name=gettingstarted-example
|
||||
hawkbit.scenarios.[0].distribution-sets=3
|
||||
hawkbit.scenarios.[0].sm-fw-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
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
}
|
||||
.view-header:after {
|
||||
background: $logo-image no-repeat right top;
|
||||
background-position: right 0 top 8px;
|
||||
background-position: $logo-position;
|
||||
content: "";
|
||||
height: 80px;
|
||||
position: absolute;
|
||||
@@ -143,15 +143,15 @@
|
||||
.valo-menu-title {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
|
||||
.v-menubar-user-menu:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.v-menubar-menuitem-user-menuitem {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.v-menubar-user-menu > .v-menubar-menuitem {
|
||||
white-space: normal !important;
|
||||
.v-icon {
|
||||
@@ -282,15 +282,15 @@
|
||||
.links {
|
||||
padding-left: 22px;
|
||||
}
|
||||
|
||||
|
||||
.font-icon{
|
||||
font-family:FontAwesome;
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
|
||||
.form-lastrow {
|
||||
padding-bottom: 12px !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -10,6 +10,12 @@
|
||||
$hawkbit-primary-color: #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
|
||||
$app-text-font-size: 16px;
|
||||
|
||||
@@ -76,7 +82,7 @@ $accordion-action-history-title-color: #551f62;
|
||||
//Success icon color on valid target filter query
|
||||
$success-icon-color: #ff0000;
|
||||
|
||||
//Error icon color on invalid target filter query
|
||||
//Error icon color on invalid target filter query
|
||||
$error-icon-color: #008000;
|
||||
|
||||
|
||||
@@ -133,8 +139,8 @@ $twin-table-border-grey:#888;
|
||||
|
||||
|
||||
$progress-bar-scheduled-part: $blue-color;
|
||||
$progress-bar-running-part: $signal-yellow-color;
|
||||
$progress-bar-running-part: $signal-yellow-color;
|
||||
$progress-bar-error-part: $signal-red-color;
|
||||
$progress-bar-finished-part: $signal-green-color;
|
||||
$progress-bar-cancelled-part: $grey-light;
|
||||
$progress-bar-notstarted-part: $grey-color;
|
||||
$progress-bar-notstarted-part: $grey-color;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
Reference in New Issue
Block a user