2016-11-14 15:21:29 +01:00
---
2018-08-01 11:01:02 +02:00
title: Management UI
weight: 70
2016-11-14 15:21:29 +01:00
---
2018-08-01 11:01:02 +02:00
The hawkBit Management UI provides several views for the different use cases:
2016-11-14 15:21:29 +01:00
- _Deployment Management_ view for target administration and manual deployment.
- _Distribution Management_ view software repository metadata management.
- _Artifact Management_ view to manage the artifacts.
- _Target Filter Management_ view to manage target filters that can be used both in Deployment and Rollout Management views.
- _Rollout Management_ for large scale rollout orchestration.
2018-08-01 11:01:02 +02:00
## Deployment Management
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### Purpose
2016-11-14 15:21:29 +01:00
Target status overview, target management and manual deployments.
2018-08-01 11:01:02 +02:00
### Feature explained
2016-11-14 15:21:29 +01:00
- Target Status: check status of all targets.
- Target list allows filters based on:
- Assigned/installed _ DistributionSet _ (drag and drop a set on the filter icon on the top of the list)
- Target update status: click 1-X status to reduce the list of targets that have one of them.
- Target tag: click 1-X tags to reduce the list to targets that have one of them.
- Name, description: use search button on the top of the list.
- _DistributionSet_ list allows filters based on:
- _DistributionSet_ tag: click 1-X tags to reduce the list of sets that have one of them.
- Name, description: use search button on the top of the list.
- Start roll out by drag and drop targets on a DS.
- Target list supports CTRL-A for "select all".
- Delete sets, tags or targets by dragging them on delete icon.
- Select _ Target _ to see _ Action _ History.
- Bulk target upload: create bulk targets by upload.
Hints for bulk upload:
- Expected file type : csv.
- Expected file format : Each line with two values (ControllerID,Target Name). ControllerID is mandatory.
- Example:
```
Controller_id_1,targetName1
Controller_id_2,targetName2
```
2018-08-01 11:01:02 +02:00

2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
## Distribution Management
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### Purpose
2016-11-14 15:21:29 +01:00
Distribution Set view to manage software repository metadata, i.e. Distribution Sets, their Software Modules and the respective types.
2018-08-01 11:01:02 +02:00
### Features explained
2016-11-14 15:21:29 +01:00
- Browse, create, delete and update Distribution Sets.
- Browse, create, delete and update Distribution Set Types.
- Browse, create, delete and update Software Modules.
- Browse, create, delete and update Software Module Types.
- Assign Software Modules to Distribution Sets.
2018-08-01 11:01:02 +02:00

2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
## Artifact Management
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### Purpose
2016-11-14 15:21:29 +01:00
Software artifact management, both metadata (i.e. Software Modules) and artifacts themselves.
2018-08-01 11:01:02 +02:00
### Features explained
2016-11-14 15:21:29 +01:00
- Browse, create, delete and update Software Modules.
- Browse, create, delete and update Software Module Types.
- Upload and delete software artifacts for a module.
2018-08-01 11:01:02 +02:00

2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
## Rollout Management
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### Purpose
2016-11-14 15:21:29 +01:00
Software rollout in large scale, rollout status overview and rollout management.
2018-08-01 11:01:02 +02:00
### Features explained
2017-02-18 07:19:28 +01:00
- Create, update, copy and delete of rollouts.
- Start, pause and resume of rollouts.
2016-11-14 15:21:29 +01:00
- Progress monitoring for the entire rollout and the individual groups.
- Drill down to see the groups in a rollout and targets in each group.
- Rollout attributes:
- Selection of targets as input for the rollout based on _ target filter _
- Selection of _ distribution set _
- Auto-splitting of the input target list based on _ group number _ defined
- _Trigger threshold_ to define the percentage of installation to be completed , to trigger the start of next group
- _Error threshold_ defines the percentage of error tolerance of a group before calling for a emergency shutdown of a rollout
2018-08-01 11:01:02 +02:00

2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00

2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
{{% note %}}
Deletion of targets which are in a rollout, changes the rollout statistics.
{{% /note %}}
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
## Target Filter Management
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### Purpose
2016-11-14 15:21:29 +01:00
Custom target filter overview and filter management.
2018-08-01 11:01:02 +02:00
### Features explained
2016-11-14 15:21:29 +01:00
- Custom target filter allows user to filter targets by defining custom query.
- Displays custom target filter list and user can search any particular filter.
- Create, update and delete features are supported for target filters.
Feature soft autoassignment (#789)
* Repository layer and database migration
* Changed target filter management to update auto assignment action type together with distribution set, extended mgmt API, adapted auto assign checker/scheduler, changed auto assign distribution set select table to combobox, added filter functionality (needs refactoring)
* Refactored auto assignment dialog window, added soft/forced option group, restructured action type option group layout
* Added forced icon to target filter table autoassignment cell for the forced auto assign actions
* First working draft of distribution set select combobox for auto assignment window
* Optimised filtering queries, added alphabetical sorting on distribution set name and version
* Refactoring of distribution bean query for lazy loading
* Distribution set combobox refactoring and comments
* Added verification of auto assign distribution set validity (completed, not deleted), exdended target filter query fields with auto assign action type field, added rsql filter tests, added repository layer tests
* Added mgmt API tests
* Changed target filter rest docu tests to include auto-assignment type
* Updated hawkbit docs with auto-assignment description
* Added debouncing to key and value input fields of metadata popup layout to get rid of unnecessary value change events, removed redundant set value call in common dialog window, minimizing the repaint components calls
* Fixed sonar findings
* Reverted changes of common dialog window validaton, setting the value of the field explicitly as before, until we rethink the whole concept of validaton mechanism
* Fixed review findings
* Removed rsql filtering by filter auto-assign action type, due to missing conversion of disallowed timeforced action type
* Small fix regarding usage of page request
* Updated sql script version for flyway
* Extended tests for soft deleted distribution sets for auto-assignment and filter string within distribution set specification builder
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2019-03-13 13:35:22 +01:00
- Auto assignment of a distribution set to filtered targets.
2016-11-14 15:21:29 +01:00
2018-08-01 11:01:02 +02:00
### How to Filter
2016-11-14 15:21:29 +01:00
The basic syntax to filter is: `field<basic_operator>value <composite_operator> field<basic_operator>value <...>`
2018-08-23 13:29:08 +02:00
2016-11-14 15:21:29 +01:00
- `field` : is the name of the resource field.
- `value` : is the value of the target field
- `<basic_operator>` : Are operators to do simple queries. Supported basic operators are:
- `==` : equal
- `!=` : not equal
- Use `=IN=` for 'in' parameter.(Example: name=IN=(target1,target2).
- `<composite_operator>` : Are operators to join simple queries: Supported composite operators are:
- `and`
- `or`
- Use `=IN=` for 'in' parameter.(Example: name=IN=(target1,target2).
- Use `*` for wildcard matches.
2018-08-01 11:01:02 +02:00
### Examples
2016-11-14 15:21:29 +01:00
Custom query | Description
------------------------------------------------------------------------------------------ | -----------------------------------------------------------------------------------------------------------------------------------------------------
updatestatus==error | Gives all targets in ‘ error’ state.
2018-08-01 11:01:02 +02:00
controllerId!=192.168.2.42 | Gives all targets that do not have the controllerId 192.168.2.42.
2016-11-14 15:21:29 +01:00
name==\*CCU\* | Gives all targets which contain the term ‘ CCU’ in there name.
name==\*CCU\* or description==\*CCU\* | Gives all targets that either have the term ‘ CCU’ in their name or their description.
name==\*SHC\* and description==\*SHC\* | Gives all targets that have the term SHC in their name and their description.
name==CCU* and updatestatus==pending | Gives all targets with their name starting with ‘ CCU’ and which are in ‘ pending’ state.
(assignedds.name==‘ ECU-DS’ and description==test) or updatestatus!=error | Gives all targets which are either assigned to ‘ ECU-DS’ and have description equals to ‘ test’ or which are not in error status.
2018-08-01 11:01:02 +02:00
(updatestatus!=In\_sync or updatestatus!=error) and name==\*SHC1\* | Gives all targets that do not have the update status In\_sync or error and that contains the term SHC1 in their name.
2016-11-14 15:21:29 +01:00
(updatestatus!=error or updatestatus!=pending) and (name==\*CCU\* or description==\*CCU\*) | Gives all targets that either have the term ‘ CCU’ in their name or their description and that either have the _ update status _ not in state error or pending.
2018-08-01 11:01:02 +02:00

Feature soft autoassignment (#789)
* Repository layer and database migration
* Changed target filter management to update auto assignment action type together with distribution set, extended mgmt API, adapted auto assign checker/scheduler, changed auto assign distribution set select table to combobox, added filter functionality (needs refactoring)
* Refactored auto assignment dialog window, added soft/forced option group, restructured action type option group layout
* Added forced icon to target filter table autoassignment cell for the forced auto assign actions
* First working draft of distribution set select combobox for auto assignment window
* Optimised filtering queries, added alphabetical sorting on distribution set name and version
* Refactoring of distribution bean query for lazy loading
* Distribution set combobox refactoring and comments
* Added verification of auto assign distribution set validity (completed, not deleted), exdended target filter query fields with auto assign action type field, added rsql filter tests, added repository layer tests
* Added mgmt API tests
* Changed target filter rest docu tests to include auto-assignment type
* Updated hawkbit docs with auto-assignment description
* Added debouncing to key and value input fields of metadata popup layout to get rid of unnecessary value change events, removed redundant set value call in common dialog window, minimizing the repaint components calls
* Fixed sonar findings
* Reverted changes of common dialog window validaton, setting the value of the field explicitly as before, until we rethink the whole concept of validaton mechanism
* Fixed review findings
* Removed rsql filtering by filter auto-assign action type, due to missing conversion of disallowed timeforced action type
* Small fix regarding usage of page request
* Updated sql script version for flyway
* Extended tests for soft deleted distribution sets for auto-assignment and filter string within distribution set specification builder
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2019-03-13 13:35:22 +01:00
### Auto assignment
2019-04-17 12:27:23 +02:00
It is possible to assign some distribution set with different action types (_forced_, _ soft _ , or _ download only _ ) to all targets that belong to the corresponding custom target filter, including the ones, that are registered later on.
Feature soft autoassignment (#789)
* Repository layer and database migration
* Changed target filter management to update auto assignment action type together with distribution set, extended mgmt API, adapted auto assign checker/scheduler, changed auto assign distribution set select table to combobox, added filter functionality (needs refactoring)
* Refactored auto assignment dialog window, added soft/forced option group, restructured action type option group layout
* Added forced icon to target filter table autoassignment cell for the forced auto assign actions
* First working draft of distribution set select combobox for auto assignment window
* Optimised filtering queries, added alphabetical sorting on distribution set name and version
* Refactoring of distribution bean query for lazy loading
* Distribution set combobox refactoring and comments
* Added verification of auto assign distribution set validity (completed, not deleted), exdended target filter query fields with auto assign action type field, added rsql filter tests, added repository layer tests
* Added mgmt API tests
* Changed target filter rest docu tests to include auto-assignment type
* Updated hawkbit docs with auto-assignment description
* Added debouncing to key and value input fields of metadata popup layout to get rid of unnecessary value change events, removed redundant set value call in common dialog window, minimizing the repaint components calls
* Fixed sonar findings
* Reverted changes of common dialog window validaton, setting the value of the field explicitly as before, until we rethink the whole concept of validaton mechanism
* Fixed review findings
* Removed rsql filtering by filter auto-assign action type, due to missing conversion of disallowed timeforced action type
* Small fix regarding usage of page request
* Updated sql script version for flyway
* Extended tests for soft deleted distribution sets for auto-assignment and filter string within distribution set specification builder
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2019-03-13 13:35:22 +01:00
In order to activate the auto-assignment, one should first click on _ Auto assignment _ cell in Custom Filters table, and then check the corresponding checkbox. After that, the action type and distribution set for auto-assignment should be selected and confirmed.
As long as the auto-assignment stays active, the scheduler will try to assign selected distribution set to corresponding custom filter targets, that have never seen it before.
