* Visualization of action/button invalidate DistributionSet Signed-off-by: Markus Block <markus.block@bosch-si.com> * introduced two dialogs to confirm ds invalidation Signed-off-by: Markus Block <markus.block@bosch-si.com> * fixed dialog titles appear centered and added manamgement classes Signed-off-by: Markus Block <markus.block@bosch-si.com> * retrieving affected entities from repository Signed-off-by: Markus Block <markus.block@bosch-si.com> * considered multiselection for invalidating dist sets Signed-off-by: Markus Block <markus.block@bosch-si.com> * adapt style and tooltip of invalid distributions in grid Signed-off-by: Markus Block <markus.block@bosch-si.com> * showing errors for actions not allowed for invalidate DS Signed-off-by: Markus Block <markus.block@bosch-si.com> * enhanced error message with dist name and version Signed-off-by: Markus Block <markus.block@bosch-si.com> * added ids to the labels to be used in tests Signed-off-by: Markus Block <markus.block@bosch-si.com> * added support for overwriting entity specific edit behaviour Signed-off-by: Markus Block <markus.block@bosch-si.com> * Fixed incorrect label for cancelled action due to invalidation of ds in a rollout Signed-off-by: Markus Block <markus.block@bosch-si.com> * Fixed error notification to not show "please try again" for an invalid DS Signed-off-by: Markus Block <markus.block@bosch-si.com> * fixed typo Signed-off-by: Markus Block <markus.block@bosch-si.com> * fixed Sonar findings Signed-off-by: Markus Block <markus.block@bosch-si.com> * remove DS of a copied Rollout in case the DS is invalidated Signed-off-by: Markus Block <markus.block@bosch-si.com> * changed icon of RolloutActionStatus in case of stopped Rollout because of invalidation of DS and DS wasn't yet assigned to target. This is to distinguish from the case of not assigned DS because of duplicate DS assignemnt Signed-off-by: Markus Block <markus.block@bosch-si.com> * Prevent editing Metadata of invalid DS Signed-off-by: Markus Block <markus.block@bosch-si.com> * show DS as invalidated in Rollout view Signed-off-by: Markus Block <markus.block@bosch-si.com> * incorporated code review remarks Signed-off-by: Markus Block <markus.block@bosch-si.com> * invalidated DS should be removed from the list of DS to be invalidated Signed-off-by: Markus Block <markus.block@bosch-si.com> * fixed missing code due to merge Signed-off-by: Markus Block <markus.block@bosch-si.com> * Fixed compile error due to rebase Signed-off-by: Markus Block <markus.block@bosch-si.com>
hawkBit User Interface
The hawkBit user interface is based on the Vaadin and Vaadin-Spring framework and allows to manage software updates and large scale roll-outs via a user interface.
Debugging client-side code
Debug using SuperDevMode
The SuperDevMode can be used to debug client side code without any browser plugin.
Using SuperDevMode with chrome :
- Add required maven dependencies
- Add vaadin-client-compiler dependency
- Add jetty dependencies (version : 8.1x)
- Set redirect property in the AppWidgetSet.gwt.xml module descriptor as follows
- < set-configuration-property name="devModeRedirectEnabled" value="true" />
- Create launch configuration for the SuperDevMode
- The main class to execute should be com.google.gwt.dev.codeserver.CodeServer.
- Add fully-qualified class name of widgetset (org.eclipse.hawkbit.ui.AppWidgetSet) as parameter
- Enable debug in chrome
- Chrome inspector window ▸ Click on settings icon ▸ Scripts ▸ Enable source maps option
- Run the SuperDevMode Code Server with the launch configuration created above
- Open http://localhost:8080/UI/?debug .Click on "SuperDev" button in debug console (Alternatively can directly add ?superdevmode parameter to URL)
- Widgetset is compiled and you can see the java code files loaded in 'Chrome inspector window ▸ Source tab'
Using SuperDevMode with Eclipse :
- Install the plugin from http://sdbg.github.io/p2
- Start the server and Super Dev Mode as mentioned above
- Create a new launch configuration in Eclipse
- Type is "Launch Chrome"
- http://localhost:8080/UI/?superdevmode
- Launch the new configuration in debug mode
- Now breakpoints in eclipse can be set