Merge branch 'master' into Wrong_Predicate_For_Boolean_Filter
This commit is contained in:
11
README.md
11
README.md
@@ -1,11 +1,14 @@
|
|||||||
# hawkbit-update-server
|
|
||||||
|
|
||||||
Build: [](https://circleci.com/gh/eclipse/hawkbit)
|
Build: [](https://circleci.com/gh/eclipse/hawkbit)
|
||||||
|
|
||||||
Want to chat with the team behind hawkBit? [](https://gitter.im/eclipse/hawkbit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
# Eclipse.IoT hawkBit - Update Server
|
||||||
|
|
||||||
[hawkBit](https://projects.eclipse.org/projects/iot.hawkbit) is an domain independent back end solution for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure.
|
[hawkBit](https://projects.eclipse.org/projects/iot.hawkbit) is an domain independent back end solution for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure.
|
||||||
|
|
||||||
|
# Contact us
|
||||||
|
|
||||||
|
* Want to chat with the team behind hawkBit? [](https://gitter.im/eclipse/hawkbit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
* You can also check out our [Project Homepage](https://projects.eclipse.org/projects/iot.hawkbit) for further contact options.
|
||||||
|
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
```
|
```
|
||||||
@@ -14,7 +17,7 @@ mvn install
|
|||||||
|
|
||||||
# Run and use
|
# Run and use
|
||||||
|
|
||||||
We are not providing an off the shelf production ready hawkBit server. However, we recommend to check out the [Example Application](examples/hawkbit-example-app) for a runtime ready Spring Boot based update server that is empowered by hawkBit.
|
We are not providing an off the shelf installation ready hawkBit update server. However, we recommend to check out the [Example Application](examples/hawkbit-example-app) for a runtime ready Spring Boot based update server that is empowered by hawkBit.
|
||||||
|
|
||||||
# Releases and Roadmap
|
# Releases and Roadmap
|
||||||
|
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ public class HawkbitUI extends DefaultHawkbitUI implements DetachListener {
|
|||||||
navigator.addView(EMPTY_VIEW, new Navigator.EmptyView());
|
navigator.addView(EMPTY_VIEW, new Navigator.EmptyView());
|
||||||
// set locale is required for I18N class also, to get the locale from
|
// set locale is required for I18N class also, to get the locale from
|
||||||
// cookie
|
// cookie
|
||||||
final String locale = getLocaleId(SPUIDefinitions.AVAILABLE_LOCALES);
|
final String locale = getLocaleId(SPUIDefinitions.getAvailableLocales());
|
||||||
setLocale(new Locale(locale));
|
setLocale(new Locale(locale));
|
||||||
|
|
||||||
UI.getCurrent().setErrorHandler(new SPUIErrorHandler());
|
UI.getCurrent().setErrorHandler(new SPUIErrorHandler());
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public final class SPUIDefinitions {
|
|||||||
/**
|
/**
|
||||||
* Available locales.
|
* Available locales.
|
||||||
*/
|
*/
|
||||||
public static final Set<String> AVAILABLE_LOCALES = Stream.of("en", "de").collect(Collectors.toSet());
|
private static final Set<String> AVAILABLE_LOCALES = Stream.of("en", "de").collect(Collectors.toSet());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default locale.
|
* Default locale.
|
||||||
@@ -953,4 +953,13 @@ public final class SPUIDefinitions {
|
|||||||
private SPUIDefinitions() {
|
private SPUIDefinitions() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the locales
|
||||||
|
*
|
||||||
|
* @return the availableLocales
|
||||||
|
*/
|
||||||
|
public static Set<String> getAvailableLocales() {
|
||||||
|
return AVAILABLE_LOCALES;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,19 +11,19 @@ echo $CI_PULL_REQUEST pull request
|
|||||||
# regular sonar on master
|
# regular sonar on master
|
||||||
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
||||||
mvn verify license:check sonar:sonar -Dsonar.login=$SONAR_SERVER_USER -Dsonar.password=$SONAR_SERVER_PASSWD
|
mvn verify license:check sonar:sonar -Dsonar.login=$SONAR_SERVER_USER -Dsonar.password=$SONAR_SERVER_PASSWD
|
||||||
# preview in case of pull request
|
# preview in case of pull request - disabled as circle does not fill those with pull reuqests from different directories
|
||||||
else
|
else
|
||||||
if [ -n "$CI_PULL_REQUEST" ]; then
|
#if [ -n "$CI_PULL_REQUEST" ]; then
|
||||||
mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify license:check sonar:sonar -B -e -V \
|
# mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify license:check sonar:sonar -B -e -V \
|
||||||
-Dclirr=true \
|
# -Dclirr=true \
|
||||||
-Dsonar.analysis.mode=issues \
|
# -Dsonar.analysis.mode=issues \
|
||||||
-Dsonar.github.pullRequest=`echo $CI_PULL_REQUEST| awk -F'/' '{print $7}'` \
|
# -Dsonar.github.pullRequest=`echo $CI_PULL_REQUEST| awk -F'/' '{print $7}'` \
|
||||||
-Dsonar.github.login=$SONAR_GITHUB_LOGIN \
|
# -Dsonar.github.login=$SONAR_GITHUB_LOGIN \
|
||||||
-Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \
|
# -Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \
|
||||||
-Dsonar.login=$SONAR_SERVER_USER \
|
# -Dsonar.login=$SONAR_SERVER_USER \
|
||||||
-Dsonar.password=$SONAR_SERVER_PASSWD
|
# -Dsonar.password=$SONAR_SERVER_PASSWD
|
||||||
else
|
#else
|
||||||
mvn verify license:check
|
mvn verify license:check
|
||||||
fi
|
#fi
|
||||||
fi
|
fi
|
||||||
# but noting in case of other branches
|
# but noting in case of other branches
|
||||||
|
|||||||
Reference in New Issue
Block a user