Commit Graph

2099 Commits

Author SHA1 Message Date
Jeroen Laverman
e2dcb2bb08 Remove redundant configuration
Signed-off-by: Jeroen Laverman jeroen.laverman@bosch-si.com
2018-09-24 14:42:16 +02:00
Jeroen Laverman
db05a0e164 Update path
Signed-off-by: Jeroen Laverman jeroen.laverman@bosch-si.com
2018-09-21 17:01:24 +02:00
Jeroen Laverman
3de88ee397 Decrease timeout
Signed-off-by: Jeroen Laverman jeroen.laverman@bosch-si.com
2018-09-21 17:00:40 +02:00
Jeroen Laverman
74009cfed5 Do not require SSL for cloud sandbox
SSL is handled by reverse proxy.

Signed-off-by: Jeroen Laverman jeroen.laverman@bosch-si.com
2018-09-21 17:00:05 +02:00
Jeroen Laverman
9fb2e7f3be Add new sandbox (#741)
* Add new sandbox files and remove temporary unavailable notice
* remove old deployment script
* adapt application properties
* restructure hawkbit-runtime
* move sandbox description.
* adapt license checks
* Introduce review findings and add new docker files
* Remove redundant profile and attribute
* Update website
* redirect to sandbox
* getting started
* Add description for docker folder and renew favicon
2018-09-21 14:12:47 +02:00
Jeroen Laverman
5fe86954b0 Fix handle invalid controller attributes (#740)
* Move controller attribute validation from DMF to Repository

Rational: Constraint validation on key & value of a map is currently not
supported by EclipseLink Maven Plugin. Therefore, this check has to be
done by hawkBit. The check is required for both APIs (DMF + DDI).

* add tests for attribute validation
* update tests

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Review findings

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* * Add custom exception for invalid target attributes
* Add integration tests for DDI and DMF

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* * rename exception

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* * rename test steps

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix value size

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Ensure constraints are validated correctly

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Introduce review findings

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* fix sonar finding

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-09-21 13:21:01 +02:00
Dominic Schabel
cab2a6f774 Superfluous exception removed from method signature
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-09-17 10:43:25 +02:00
Stefan Schake
29ebed9b80 Make HttpControllerPreAuthenticatedSecurityHeaderFilter a bean (#722)
This makes it possible to overwrite the security header filter in an
extensions, which is desirable since the current default hawkBit
implementation relies on custom HTTP headers.

Signed-off-by: Stefan Schake <stefan.schake@devolo.de>
2018-09-17 09:33:19 +02:00
Matthias Nemeth
095af0541c Set minimum value for JVM memory allocation. (#738)
Signed-off-by: Matthias Nemeth <manedev79@gmail.com>
2018-09-17 09:17:39 +02:00
Jeroen Laverman
16ce2503df Introduce log statement, to log stacktrace for MultipartExceptions with root cause without a message (#733)
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-09-13 15:52:47 +02:00
Jeroen Laverman
3eafb29064 Fix rollout approval caption (#734)
* Fix caption of approval pop-up

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix spelling, delete duplicates

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Remove unused messages

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-09-11 16:47:44 +02:00
Kai Zimmermann
90d07d6e77 Fix native query for SQL_Server. (#732) 2018-08-24 17:09:24 +02:00
Jeroen Laverman
ff2389f519 Fix links to fit new website structure (#730)
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-24 16:30:31 +02:00
Subhadip Pramanik
9bec200a7a Set offline DS action inactive on creation (#728)
* fix: set offline DS action inactive on creation
* test: assert that all offline actions are inactive

Signed-off-by: Subhadip Pramanik <pramaniksubhadip@gmail.com>
2018-08-24 15:43:08 +02:00
Jeroen Laverman
086c5ca0cf Add notice that the sandbox is currently unavailable. (#731)
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-24 09:36:56 +02:00
Jeroen Laverman
ea7d85a15c Fix Typos and remove unchanged theme files (#719)
* Fix Typos and remove unchanged theme files

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Add Sandbox to getting started section
* fix glitch in UI description

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-23 13:29:08 +02:00
Subhadip Pramanik
4dcda462b0 Fix documentation links in readme (#726)
Fix documentation links in readme
2018-08-22 08:45:37 +02:00
Jeroen Laverman
b2558233b5 Fix javaDoc comment (#720)
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-15 09:30:31 +02:00
Jeroen Laverman
31c6102759 Support displaying a privacy notice (#717)
* Support displaying a privacy notice on the log-in UI to implement GDPR measures in the sandbox
* add new property to contain notice
* change login-button text
* Remove demo-login
* pre-fill credentials for demo
* show notice
* introduce `isDemo` variable

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-15 09:20:04 +02:00
Jeroen Laverman
260a11c80d Add news article statically (#718)
* Add article also statically, since it is linked in many places (and link changed with new website)

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix self link

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-09 15:27:00 +02:00
Jeroen Laverman
aa25f39267 Management API supports sorting distributionset by "createdAt" and "lastModifiedAt" #687 (#715)
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-07 15:52:28 +02:00
Bondar Bogdan
1aee32999f Feature update target attributes ui (#711)
* Added update attributes button with label for status description to target attributes details tab
* Positioned the request attributes update button to the upper right corner using absolute positioning
* DDIFinalResult enum typo fix
* PR review findings

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com>
2018-08-02 15:15:14 +02:00
Jeroen Laverman
f96876afe0 Introduce new, Hugo templates based, website (#713)
* Add new hugo-based website for hawkBit

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix broken links + wordings
- , i.e. -> i.e,
- , e.g. -> e.g.,
- hawkbit -> hawkBit
- don't -> do not
- isn't -> is not

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Remove old documentation and add maven integration

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Add Intellij files to ignore

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Update README

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Update Copyright header
* exclude website artifacts

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Harmonize usage of i.e. and e.g.

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Add remark for windows user

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix indention

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Introduce review findings

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Change image in 'run hawkbit' guide

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-08-01 11:01:02 +02:00
Stefan Behl
fa751c397b Target attributes update: Allow null values
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2018-08-01 09:14:00 +02:00
Stefan Behl
6a0aa34c43 Target attributes update: Allow null values
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2018-08-01 09:12:21 +02:00
Stefan Behl
cd79b918b4 Target attributes update: Allow null values
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2018-08-01 09:10:03 +02:00
Stefan Behl
7ae941e290 Hotfix for DMF UPDATE_ATTRIBUTES message 2018-07-31 12:01:14 +02:00
Stefan Behl
13d8c6461c Hotfix for DMF UPDATE_ATTRIBUTES message 2018-07-31 11:14:41 +02:00
Stefan Behl
cc1cc38c38 Hotfix for DMF UPDATE_ATTRIBUTES handling 2018-07-31 10:57:44 +02:00
Jeroen Laverman
95f98e9aaa Add CircleCi 2.0 config file #663 (#714)
* Add CircleCi 2.0 config file

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix JVM options and use Maven batch-mode to reduce output

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Add RabbitMQ

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Store test-dependencies also in cache

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* remove old cricleCi config

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* remove redundant comments

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Add line break

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-30 13:35:50 +02:00
Dominic Schabel
f541dab3a7 Update list of developers
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-07-27 09:39:28 +02:00
Jeroen Laverman
55e92316c1 Change sonarqube configuration (#712)
* Remove Sonar-Batch

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Remove sonar scan from circlci configuration
* move sonar script to .circleci folder for CircleCi 2.0 preparation

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-25 16:51:42 +02:00
Jeroen Laverman
c2daf650c4 Fix typos
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-25 14:38:47 +02:00
Jeroen Laverman
8b5a7f7bb6 Fix typo
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-25 10:31:01 +02:00
Jeroen Laverman
0963b164b3 Fix typo
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-25 10:29:47 +02:00
Dominic Schabel
1003aaeb99 Resized too big images for newsletter
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-07-25 10:13:42 +02:00
Jeroen Laverman
4e339ba98d Newsletter update (#710)
* First draft for newsletter update added

Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>

* Initial version

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Fix (easy) findings of Dominic

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* Change UI demo account setting does not work #457

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* minor change

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-25 09:58:29 +02:00
Melanie Retter
2540847fef Display link to distribution set in canceled action (#709)
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-20 15:29:15 +02:00
Stefan Behl
19caff6e46 Feature action cleanup (#704)
* Initial commit
* Tenant configuration enhancements
* Update REST documentation
* Enhance System Configuration view in UI
* Add unit tests
* Fix delete query for H2
* Improve test coverage
* Fix Sonar findings
* Fix Hawkbit bot findings
* Fix PR review findings
* Fix peer review findings

Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com>
2018-07-19 15:23:14 +02:00
Melanie Retter
5e9b0fb884 The Rollout groups legend shows max 7 groups (#705)
* Fix Rollouts Groups legend
* Fix totalTargetAmount display when editing a rollout
* Fix code glitches
* Fix PR review findings

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-19 08:37:06 +02:00
Melanie Retter
7bd6b41b72 Remove hard-coded Strings to allow internationalization (#706)
* Use i18n and add text in messages.properties for all hardcoded strings

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

* Fix sonar issues

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

* Provide constants for message keys

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

* Remove hard-coded Strings of HawkbitCommonUtil

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

* Fix PR findings

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

* Add Java Doc

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-18 18:55:52 +02:00
Melanie Retter
b4fc7c8929 Feature insert tooltips for icons (#702)
* Insert tooltips
* Insert constants for message keys
* Display caption for ActionHistoryTable when no target is selected
* Improve JavaDocs
* Fix PR review findings

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-13 08:37:43 +02:00
Jeroen Laverman
3077f4e86d Upgrade hawkBit image version to 0.2.1-mysql
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-07-09 16:59:58 +02:00
Dominic Schabel
a6676850e4 Docker badges updated to 0.2.1
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-07-09 09:53:26 +02:00
Dominic Schabel
d1d5d1ba62 Dockerfiles for hakwBit 0.2.1 added
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-07-09 09:14:39 +02:00
Melanie Retter
f5f51bfc2c Remove footer, expand layout and move functions to other elements (#689)
* Remove process and discard upload buttons; change upload process to only have one upload status window that is displayed immediately when an upload is triggered.
* Separation of FileTransferHandler: FileTransferHandler was split into 3 parts. One common part remains in the abstract super class. The other pieces were moved to the upload-specific and the streaming-specific subclasses.
* Fix upload process: Fix status visualization in progress window. Move repository transfer to the file upload handler so it can report if the complete upload process succeeded or failed.
* Prevent file upload if no software module or more than one is selected.
* Added Unit Tests and fixed Sonar findings.
* Move upload button from the buttom to the right side of the drag and drop area.
* Remove minimize and resize buttons in progress dialog. Remove unused code.
* Code cleanup and layout adaptions: Remove unnecessary code and fix layout problems when showing the upload button on the right side of the drag and drop area.
* Removed abort functionality for user because of Vaadin bug https://github.com/vaadin/framework/issues/10545
* Fixed Vaadin upload bug by subclassing Upload and overriding necessary methods.
* Disable drag-and-drop area in case no OR more than one software module selected.
* Enhance /adapt unit tests
* Enhance /adapt UI tests

Signed-off-by: Markus Block <markus.block@bosch-si.com>

* First draw, insert delete button in entity tables
* Add shortcuts to cancel/confirm buttons in confirmation dialog
* First draw, target/distribution assignment
* Entity assignments for tables
* Fix table row mark correctly when assigning entities
* Mark the right entity in table when deleting an entity
* Refactor code for distribution tags on deployment view
* Target Tags can be managed with Menu Bar
* Refactor classes for managing tags and types for all entities
* Disable fields correctly when updating/deleting tags and types
* Remove delete and action buttons in the bottom
* Delete Metadata column in tables
* Redesign tables for tags and types. Show action icon for update/delete
* Correct CSS for menubar for tag/type actions
* Add confirmation window when deleting tag or type
* Remove unused code. Fix style for target tag config menu bar
* New abstract classes for target/ds tags
* Reorganize package structure tags, set ids for tags
* Add total targets count in target table, add close icon for menubar
* Add total target label and remove footer styles
* MenuBar is displayed when update/delete action is cancelled, finished, or update/delete modus is left
* Insert EventHandling for show menuBar/CancelButton
* Delete drag & drop criteria where not needed anymore
* Fix mandatory field check in DistributionTypeLayout
* Fix notification message
* Move upload button into drop area
* Enhance /adapt unit tests
* Enhance /adapt UI tests

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-07-02 09:09:13 +02:00
Melanie Retter
bafce18db6 Change length of createdBy and lastModifiedBy property to 64 characters (#699)
* Change length of createdBy and lastModifiedBy property to 64 characters
* Change length of approval_decided_by property to 64 characters
* Use one update statement for one DB table for MySQL
* Fix migration skript for rollout approval

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-06-29 10:34:26 +02:00
Melanie Retter
d982bb9a5f Add only eventbus subscription where a method listens to it. (#698)
* Add only eventbus subscription where a method listens to it.

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

* Fix PR findings

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2018-06-28 12:42:51 +02:00
Jeroen Laverman
9774f8303b Fix path of output files
Signed-off-by: Jeroen Jan Laverman <jeroen.laverman@bosch-si.com>
2018-06-22 14:29:35 +02:00
Jeroen Laverman
113a328e2b Fix directory name
Signed-off-by: Jeroen Jan Laverman <jeroen.laverman@bosch-si.com>
2018-06-22 14:08:36 +02:00