Commit Graph

2564 Commits

Author SHA1 Message Date
Denislav Prinov
2fe73ee40c Filter Distribution Sets by assigned Software Modules (#1386)
* Filter Distribution Sets by assigned Software Modules

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

* Fixed tests

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>

---------

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2023-07-10 15:19:08 +03:00
Stanislav Trailov
5edd9fdf76 Target type unnasign when updating target (#1385)
* Add main logic

Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>

* Add unit test and fix docu tests

Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>

* Remove unused imports

Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>

---------

Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-07-10 15:10:19 +03:00
Stanislav Trailov
a8d5a15a1c Fix some sonar findings
Fix some sonar findings
2023-06-30 09:52:54 +03:00
Marinov Avgustin
ad3404c93d Fix some sonar findings
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
2023-06-30 09:29:13 +03:00
Stanislav Trailov
150de47983 Switch to Tomcat
[#1378] Switch to Tomcat
2023-06-29 15:31:53 +03:00
Stanislav Trailov
909aa14629 Additional tag filtering by target ID and Distribution Set ID
Additional tag filtering by target ID and Distribution Set ID
2023-06-29 15:23:57 +03:00
Stanislav Trailov
99a0da1c2f Apply changes from review
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 14:38:12 +03:00
Stanislav Trailov
407ff7a3e5 More refactoring
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 13:09:32 +03:00
Stanislav Trailov
8bbe6df72a Add comment in test for specific query parameter usage
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 12:41:49 +03:00
Stanislav Trailov
52d671bdc5 Add some useful comments
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 12:31:25 +03:00
Stanislav Trailov
0d4f67e345 Small refactoring + additional classes
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 12:29:40 +03:00
Stanislav Trailov
e7226e3933 Additional target filtering by target and DS ids
Signed-off-by: Stanislav Trailov <Stanislav.Trailov@bosch.io>
2023-06-29 12:24:18 +03:00
Stanislav Trailov
e81c68e9b0 Extend the Rollout filtration fields with status and Distribution set
Extend the Rollout filtration fields with status and Distribution set
2023-06-29 11:13:39 +03:00
Denislav Prinov
9bf2612c7d Extend the Rollout filtration fields with status and Distribution set
Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2023-06-29 08:40:22 +03:00
Marinov Avgustin
649c714006 [#1378] Switch to Tomcat
switch hawkBit web server to Tomcat (was Jetty)

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
2023-06-28 16:23:39 +03:00
Stanislav Trailov
db542497ea Update misc dependencies versions
Update misc dependencies versions 
remove org.bsc.maven:maven-processor-plugin
awaitility removal of awaitility Duration class fixed
2023-06-28 14:07:48 +03:00
Marinov Avgustin
8047ceac03 Update misc dependencies versions
+ remove org.bsc.maven:maven-processor-plugin
+ awaitility removal of awaitility Duration class fixed

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
2023-06-28 13:06:48 +03:00
Stanislav Trailov
5a5c615cac Added support for cdn download url for mgmt API and tests
Added support for cdn download url for mgmt API and tests
2023-06-22 15:50:13 +03:00
Sebastian Firsching
450bfda31e Adapt rest docs tests
Signed-off-by: Sebastian Firsching <sebastian.firsching@bosch-si.com>
2023-06-21 16:20:34 +02:00
Sebastian Firsching
bdcb361ae5 Introduce useArtifactUrlHandler parameter
Signed-off-by: Sebastian Firsching <sebastian.firsching@bosch-si.com>
2023-06-20 12:42:50 +02:00
Sebastian Firsching
41922bfa0c Adapt rel value in properties files
Signed-off-by: Sebastian Firsching <sebastian.firsching@bosch-si.com>
2023-06-20 09:08:05 +02:00
Sebastian Firsching
154875818c Add all artifactUrls to the Mgmt API response
Signed-off-by: Sebastian Firsching <sebastian.firsching@bosch-si.com>
2023-06-20 07:58:04 +02:00
Shruthi Manavalli Ramanna
80c471cf80 Added documentation test changes as well
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com>
2023-06-06 10:42:39 +02:00
Avgustin Marinov
eb8d559780 Docker version upgrated to java 17 (#1371)
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
2023-06-06 10:25:46 +02:00
Stanislav Trailov
3c815ed2d0 openjdk 11 to 17 (#1368)
* openjdk 11 to 17
spring-security-core from 5.7.7 to 5.7.8

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Bump spring boot to 2.7.12

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* deprecated circleci image to cimg

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Migrate spring boot parent to 2.7.12
Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

---------

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-06-06 09:23:17 +02:00
Shruthi Manavalli Ramanna
0759fd80b0 Added support for cdn download url for mgmt API and tests
Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com>
2023-06-02 19:09:31 +02:00
Stanislav Trailov
f0db69473c Enforce decoding in authentication check (#1362)
* Enforce decoding in authentication check
+Enforce decoding of controllerId when authentication is performed for the reverse proxy use case
* Remove unused imports

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Switch approach to decode retrieved values from map

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Remove unused imports

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Style improve

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Move logic to separate class

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Remove TODO comment

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

* Hide public constructor in Util class

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>

---------

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-06-01 09:11:39 +02:00
Stefan Behl
43b54b4c36 Fixed Dockerfile for 0.3.0M8-mysql (#1357) 2023-04-26 09:38:20 +02:00
Jeroen Laverman
e6b9d5e77f add zephyr-rtos and chirp stack to clients (#1356) 2023-04-25 14:28:22 +02:00
Jeroen Laverman
85df6127d3 Update website for 0.3.0M8 (#1355)
* update release notes
* change Bosch.IO to Bosch Digital
* Remove IoT Permissions integration
* Add features from 0.3.0M8
2023-04-25 09:34:46 +02:00
Stefan Behl
a097638d2b Adding Dockerfiles for 0.3.0M8 (#1353) 2023-04-20 17:21:47 +02:00
Stefan Behl
328ded7406 Fix RSQLUtilityTest (#1351) 2023-04-20 08:48:39 +02:00
Stefan Behl
5d0a9c0f1d Remove dependency net._01001111:jlorem (#1350)
* Remove dependency jlorem
* Minor optimization
* Minor optimization
2023-04-19 15:22:06 +02:00
Stefan Behl
d0882fd87d Prepare milestone 0.3.0M8 (#1349)
* Added new script to determine dependencies and check their licenses

* Added new script to determine dependencies and check their licenses

* Updated check-dependencies script

* Updated dependencies

* Update README.md

* Updated 3rd-party dependencies

* Updated 3rd-party dependencies

* Updated 3rd-party dependencies

* Fix copyright statement

* Fix copyright statement

* Add pinentry-mode config option for Maven GPG plugin
2023-04-19 13:19:41 +02:00
Stanislav Trailov
1b342001a2 Fix CANCEL_REJECTED dmf behaviour (#1346)
* Fix CANCEL_REJECTED dmf behaviour
* Proper formatting
* Remove unused imports

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-04-13 11:13:33 +02:00
Stanislav Trailov
771ef8e83d Add validation for deployment groups and rollouts (#1341)
* Add validation for deployment groups and rollouts
* NOT_FOUND status code instead of BAD_REQUEST
* NOT_FOUND status code instead of BAD_REQUEST
* Change the returned message

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-04-13 09:32:23 +02:00
Stefan Behl
a2fd46c732 Initial commit (#1345) 2023-04-06 16:47:45 +02:00
Diego Rondini
fccc9871e6 README: update Hara section (#1343)
Update Hara section to better explain what it provides and to mention
release 2.x.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2023-04-06 13:17:51 +02:00
Michael Herdt
fbda9764b1 Fix circular rollout dependencies (#1337)
* Do some refactoring to fix dependencies between rollout management, executor and evaluator beans.
* Move rollout retrieving in same transaction as execution.
* Do some refactoring. Extend logging and exception handling.
* Remove unnecessary transactional and validation annotations.
* remove catching never thrown bean
* Fix new rollout handling API
2023-04-03 09:13:00 +02:00
Michael Herdt
17bf633df9 Scan only latest image. Do only scan library vulnerabilities. (#1339) 2023-03-28 16:24:54 +02:00
Michael Herdt
6f854afdae Introduce GitHub action to execute vulnerability scan using Trivy (#1333)
* Introduce docker maven plugin for hawkbit update server
* Introduce GitHub action to execute vulnerability scan using trivy
2023-03-28 07:42:04 +02:00
Stefan Behl
4a3a79aa6b Migration to Spring Boot 2.7.10 (#1320)
* Initial commit
* Fix compile breaks
* Fix hibernate config
* Fix hibernate config
* Fix failing tests
* Improve logging
* Improve logging
* Fix Sonar issues
* Remove BusProperties
* Add BusProperties bean back in
* Fix JPA workaround
* Fix CVE-2021-22044
* Fix test failures
* Fix PR review findings
* Fix CVEs
* Remove H2 version downgrade, fix schema migration, enable legacy mode
* Downgrade Vaadin back to 8.14.3
* Fix EventPublisherHolder
* Fix RemoteTenantAwareEvent
* Fixed EventPublisherAutoConfiguration
* New version of spring-hateoas requires links to be expanded (Mgmt API)
* New version of spring-hateoas requires links to be expanded (Mgmt API)
* Fix PR review findings
* Fix PR review findings
* Fix PR review findings
* Update README.md
* MariaDB Java Client downgrade to maintain compatibility with AWS Aurora
* Temporarily disable RSQL test that depends on DB collation type
* Upgrade to boot 2.7.10
* Upgrade snakeyaml to 1.33
* Upgrade Spring Security OAuth2 to version 5.7.7
* Remove obsolete exclusion of junit-vintage-engine
* Upgrade jackson-bom to 2.14.2
2023-03-28 07:16:25 +02:00
Arnold
f21925d59b Fix typo in permission docs (#1338) 2023-03-27 14:12:23 +02:00
Stanislav Trailov
85feeba681 Management API: Expose forceTime and startAt fields in rollout representation (#1336)
* Expose forceTime and startAt fields in rollout representation in Mgmt API
* Change "forceTime" to "forcetime"
* Add checks when making a POST request in the tests
* Change forced to timeforced in tests and extend validity check
* Pass aforcetime and startat arguments as test checks
* remove unused import

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-03-27 10:52:55 +02:00
Bondar Bogdan
5baf65c1f0 Added assignment quota error UI extractor (#1278)
* added assignment quota error UI extractor
* Verify amount of effected assignments instead of overall result count.

Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
Co-authored-by: Michael Herdt <Michael.Herdt@bosch.com>
2023-03-23 11:43:20 +01:00
Stanislav Trailov
5af1fa1e1c Feature/handle soft deleted type creation (#1335)
* Handle creation of entities from already marked as deleted types
* Remove unused comment
* Remove wildcard imports
* Changes after comments

Signed-off-by: Stanislav Trailov <stanislav.trailov@bosch.io>
2023-03-20 15:40:46 +01:00
Michael Herdt
d567b32280 Fix issues in rollout creation dialog (#1329)
* Introduce text input converter and validator to prevent problems with rollout group definitions.
* Add 2023 bosch.io license
* add new header to pom
* Extend usage of new TrimmingStringConverter.
* fixed compile error
2023-03-17 15:41:27 +01:00
Stefan Behl
e80bef6156 Management API: Rollout collection to correctly expose totalTargetsPerStatus property (#1332)
* Initial commit
* Add unit test
2023-03-14 15:22:19 +01:00
Ahmed Sayed
090db6fd7b Speedup build: introduced SharedSqlTestDatabase and DisposableSqlTestDatabase junit extensions (#1218)
* fixed PostgreSql migration scripts
* introduces SharedSqlTestDatabaseExtension and DisposableSqlTestDatabaseExtension
* Add cause msg to JUnitTestLoggerExtension

Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch.io>
Signed-off-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io>
Co-authored-by: Florian Ruschbaschan <florian.ruschbaschan@bosch.io>
2023-03-09 07:30:22 +01:00
Shruthi Manavalli Ramanna
92256ed787 Fix the wildcard search and add additional junit on software module (#1327)
* fix the wildcard search and add additional junit on software module
* remove unwanted line of code
* Altered the test class to check the jenkins build
* trying other umlout characters as well
* fixed the jenkins issue and reverted all jenkins related changes
* Fixed PR comments
* Fixed PR comments
* made the variable final
* removed the unwanted uppercase conversion

Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com>
2023-03-08 15:22:51 +01:00