Commit Graph

698 Commits

Author SHA1 Message Date
Melanie Retter
113e528616 Event notification window closes if focus is lost
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2017-01-09 08:45:56 +01:00
Kai Zimmermann
feb3369858 Custom Tenant configuration. (#395)
* Tenant configuration configurable.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-12-23 07:19:46 +01:00
Dennis Melzer
4d35413f71 Add missing field and checkbox id (#401)
* Add missing field and checkbox id
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-22 12:53:13 +01:00
Melanie Retter
6aaade8698 Change HorizontalLayout of HawkbitUI to Panel and beautify Panel (#400)
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-12-22 09:36:26 +01:00
Dennis Melzer
e6f702c882 Feature configure delay time out (#391)
* Create a new property (hawkbit.server.ui.event.push.delay),that the
event delay forwarding is configurable.

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Add javadoc

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Change delay to a long

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-20 11:18:26 +01:00
Michael Hirsch
55a21d2633 remove getEntity call on event (#396)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-12-19 16:33:09 +01:00
Melanie Retter
2dec35915c New event strategy (#380)
* Add notfication overview for remote events

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Refactor css for notification button

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Remove todo

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* - Style notfication button (css) 
- Add i18n message keys
- Add switch slider for auto refresh event

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Insert Label in MenuItem for displaying occurred events

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* - Style notfication button (css) 
- Add i18n message keys
- Add switch slider for auto refresh event
- Insert Label in MenuItem for displaying occurred events

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Solve merge conflicts and add menu item counter

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* CSS refactor

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Adapt JUnit test for events, because constructor is changed

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Skip delete event

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* - Insert Id for notification menu

- Enable push mechanism for target and ds tag and add notfications

- Fix several typos

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Add update ui events for tags and add different id's for menue item

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Insert push for SoftwareModule

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Set button enablement

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Add Software module update push event
Add unit test software module push events
Adapt test for software push event

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Close window and set pop id
Update the target table to set the new icon

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* - several code improvements
- Correct license header

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Update vaadin version
Rename the base entity and redefine constructors
unread counter was not correct

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Closebox of notificationButton is invisible: 
Insert height for HorizontalLayout of NotificationUnreadButton

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Add software modules to the new event types

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>

* Introduce animation in unreadNotificationButton

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix close  on safari

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Add publish events direct to the tag entities.


Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-12-19 16:05:23 +01:00
Kai Zimmermann
92dd6a1a0e Modular hawkBit (#378)
* Cleaned up component scan
* More flexibility for hawkBit micro services
* Introduce spring boot starters
* Eclipse Jetty as hawkBit default
* Fixed links as prep for wiki removal

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-12-13 12:29:21 +01:00
Michael Hirsch
7a7e52de47 call getEntity only on visible item (#387)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-12-09 14:42:50 +01:00
Marcel Mager
11fa4469dd Replace server-side dnd validation with client-side validation: (#368)
* Replace server-side dnd validation with client-side validation:

Client-side validation means:
* Custom widgetset is used to introduce the client-side validation
* Accept-calculation is performed on client-side
* Drop-hints are calculated on client-side (show/hide)
* Row count decoration is calculated on client-side (multi-selection)
* Notification box is triggered from client-side

Beside the migration from server-side validation to client-side
validation there are few improvements:
* Improvement1: If drag is aborted outside the components by releasing
the mouse or the drag aborts by pressing the ESC key) -> drop area hints
are removed
* Improvement2: If multiple rows are selected in table, but drag is
performed on a non-selected single element from table -> the single
drag-element is not decorated with the row selection count
* Improvement3: Upload View: Component 'Drop files to upload' only
accepts files (and no drags from filter and software module component)

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Improve code quality

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Fix formatting of license headers

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Fix scopes and modifiers

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Externalize key-strings used for dnd-data transfer from server to client

Minor issues:
* improve naming schema of control variables (no more i-s)
* add final modifier

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Add license header

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-12-06 19:56:10 +01:00
Michael Hirsch
a3a1f036ca add NPE check on item in DistributionSetTable
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-30 10:34:09 +01:00
kaizimmerm
94dc7bab45 Merged with master
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-30 08:37:35 +01:00
kaizimmerm
8d9f2d7dfa Fixed sonar issues
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 15:42:45 +01:00
kaizimmerm
0138a7abb9 Remoce further usage of the helper
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 15:23:58 +01:00
kaizimmerm
20934d5d93 Removed usage of spring context helper
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 15:09:20 +01:00
kaizimmerm
b689a6ae9a Removed usage of spring context helper
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 15:09:01 +01:00
kaizimmerm
aaac045501 Fixed final sonar issues.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 12:10:10 +01:00
kaizimmerm
03c5ce1329 Fix sompile error
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 11:42:31 +01:00
kaizimmerm
dff41ef38f Fix sonar findings
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 11:41:35 +01:00
kaizimmerm
789dd8ffdc Fix transient dependencies
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 11:15:20 +01:00
kaizimmerm
5f34cbcd92 Fix transient references
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 10:56:33 +01:00
kaizimmerm
032230bdcf Fix visibility and unused properties
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 09:35:09 +01:00
kaizimmerm
8fbacd44a2 EventBus transient
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-29 09:04:06 +01:00
kaizimmerm
370abc13c7 Fixed scopes. Updated vaadin spring.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-28 18:46:20 +01:00
Jonathan Knoblauch
b30f2bdb1f Fix constraint violation exception when creating target with whitespaces (#363)
* Added a function to validate if controller id is empty

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>

* Changed how the controller id gets past to other methods

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>

* Changed the way controllderId gets validated in UI and repro

- added junit test

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>

* Fixed sonar issue

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>

* Switched to use the RegexpValidator 

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-11-28 17:58:52 +01:00
kaizimmerm
0292addaaa Removed unnecessary scopes
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-28 17:32:34 +01:00
kaizimmerm
7a469d8da0 Removed dependency injection where not necessary
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-28 15:52:06 +01:00
kaizimmerm
01bab2984d Switch to Ui Scope
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-23 22:47:06 +01:00
kaizimmerm
a951137d4f Remove unnecessary DB calls from UI
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-23 22:34:37 +01:00
Kai Zimmermann
a57165686e Fixed broken rollout management API concerning target status map. (#365)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-23 20:57:29 +01:00
Michael Hirsch
acb23f4938 prevent NPE on unknown state of rollout group. (#357)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-18 12:45:49 +01:00
Michael Hirsch
69f43e714b fix sonar quality. (#356)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-18 11:51:43 +01:00
Michael Hirsch
d7abddd305 prevent NPE on unknown state of rollout group. (#355)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-18 11:24:07 +01:00
Michael Hirsch
803bdbf1de delete file quietly (#351)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-18 11:17:09 +01:00
Michael Hirsch
c221f82ba4 use ID property for sorting because its indexed on DB (#350)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-11-17 20:11:16 +01:00
Kai Zimmermann
ca63106d5c Make entities immutable and create proper update methods that state by signature what can be updated. (#342)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-17 20:07:23 +01:00
Dominik Herbst
b6834e9ee2 Semi automatic Rollouts with fine groups definition (#337)
* Rollout Mgmt API accepts now extended Group definition. Filling Reollout Groups with Targets is now a scheduled task.

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Fire RolloutGroupCreated event and fix db migration.

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Fill groups now excludes targets in own group

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Starting of Rollouts as scheduled task

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Finished implementation of new Rollout starting proccess

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Reset last check on status change and fixed unused imports

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Code quality improvements

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>

* Reworked start of scheduled Actions. Improved code quality.

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2016-11-16 09:26:50 +01:00
Kai Zimmermann
c1e5689f6a Fix mayors squid:S1604 and squid:S1151 (#344)
* Fixed Last Mayor issues

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Disable lambda for Java GWT client code

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>

* Remove lambda

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-10 15:00:57 +01:00
Marcel Mager
23eb0c3c73 Upgrade vaadin from 7.6.8 -> 7.7.3: (#339)
* Upgrade vaadin from 7.6.8 -> 7.7.3:

upgrade vaadin.spring       from 1.0.0 -> 1.0.2
upgrade flexibleoptiongroup from 2.2.0 -> 2.3.0
upgrade dbar-addon          from 1.2.0 -> 2.0.0
exclude gwt-elemental for example app

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Change Maven scope for javax.servlet-api to provided

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>

* Fix problem with locale for formatting distribution-bar width value

- Set fix locale to Locale.ENGLISH

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-11-10 14:10:33 +01:00
Dennis Melzer
866bc72114 Feature horizontal scalability (#305)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-11-03 15:53:53 +01:00
Kai Zimmermann
b7f5bf3d79 Merge pull request #322 from bsinno/fix_optimize_repository
Removed external artifact from repository.
2016-10-27 15:29:58 +02:00
Michael Hirsch
3bd1c93189 fix add and update tags and type color change details
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-10-27 10:00:11 +02:00
Michael Hirsch
39712b90a3 fix NPE on color picking on dist and software types
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-10-27 08:25:22 +02:00
Kai Zimmermann
e97ed04c94 Adapted sandbox setup to current master (#327)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-27 08:24:26 +02:00
kaizimmerm
14f07c1f82 Fixed potential orderByDistId null problem
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-22 07:12:19 +02:00
Kai Zimmermann
3f49567cdc Optimize rollout group start (#318)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-20 16:27:33 +02:00
kaizimmerm
5d9436d312 Fix sonar issues
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-20 15:26:06 +02:00
kaizimmerm
e2281ac67b Removed further unnedded repo methods.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-20 14:57:07 +02:00
Kai Zimmermann
84ddb340d7 Download gravatar if email is known. (#320)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-20 12:49:08 +02:00
kaizimmerm
0332d31146 Removed external artifact from repository.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-20 12:03:17 +02:00