Commit Graph

3474 Commits

Author SHA1 Message Date
Avgustin Marinov
0e0b5ed6ff Fix dynamic rollouts when there are finished actions from previous rollouts (#2434)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-06 16:13:21 +03:00
Avgustin Marinov
d166dd6224 Fix some sonar findings (#2433)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-06 13:42:02 +03:00
Avgustin Marinov
282af77bfc Specify JPA Database H2 in SpecificationBuilderTests (#2432)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-06 11:32:24 +03:00
Mohamed Zenadi
c020cc9d92 simple-ui: add support for side panel vs grid details (#2428)
This fixes a major issue with the jumpy UI when using the details view for each cell.
2025-06-06 11:07:28 +03:00
Avgustin Marinov
ebdcab2aaa Extends RSQL standalone tests (#2431)
* add more complex filters (and / or)
* add tests for legacy specification builders (visitors) in order to clearly check backward compatibility

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-05 17:08:10 +03:00
dependabot[bot]
ff3043b97a Bump org.bouncycastle:bcpkix-jdk18on from 1.80 to 1.81 (#2430)
Bumps [org.bouncycastle:bcpkix-jdk18on](https://github.com/bcgit/bc-java) from 1.80 to 1.81.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk18on
  dependency-version: '1.81'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-05 08:36:14 +03:00
Avgustin Marinov
23fa4cdd56 Fix != and =out= for maps in G2 RSQL to Specification (#2426)
+ add initial draft of Standalone RSQL test
+ provide option to override Hibernate / Eclipselink configuration via standard spring environment properties

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-04 16:30:33 +03:00
Mohamed Zenadi
d3341f7c73 SimpleUI: support target's tags edition, display installed & assigned distribution sets, and action history (#2409)
* simple-ui: fix flaky OAuth2TokenManager bean creation

* simple-ui: add Assigned / installed tab

This is inspired by the original hawkbit interface; however, as we've got more space it merges both Assigned and Installed into the same tab

* simple-ui: add assign and unassign to targets, and create tags

* simple-ui: add action history tab

This allows tracking the actions, see their status, and cancel / force / force cancel them; just like the previous ui

This has some limitations though; the previous UI had access to the Action's main class, whereas we're dealing with the rest dto; hence we're missing some information to make the ui simpler to create.

* use textblock with generic line-separator

* fix tags not shown due to missing badge import

* improve the action's status by combining the four statuses into one icon
2025-06-04 10:47:38 +03:00
dependabot[bot]
883504df84 Bump org.springframework.cloud:spring-cloud-starter-openfeign (#2424)
Bumps [org.springframework.cloud:spring-cloud-starter-openfeign](https://github.com/spring-cloud/spring-cloud-openfeign) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/spring-cloud/spring-cloud-openfeign/releases)
- [Commits](https://github.com/spring-cloud/spring-cloud-openfeign/compare/v4.2.1...v4.3.0)

---
updated-dependencies:
- dependency-name: org.springframework.cloud:spring-cloud-starter-openfeign
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 10:10:09 +03:00
Avgustin Marinov
c3aa2b7ae7 Rsql G3 (#2423)
* Rsql G3
* Move legacy and G2 visors in rsqllegacy and deprecate
* Refactor RSQLUtility

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>

---------

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-06-02 10:08:13 +03:00
dependabot[bot]
a8a67910ac Bump vaadin.version from 24.7.5 to 24.7.6 (#2421)
Bumps `vaadin.version` from 24.7.5 to 24.7.6.

Updates `com.vaadin:vaadin-bom` from 24.7.5 to 24.7.6

Updates `com.vaadin:vaadin-maven-plugin` from 24.7.5 to 24.7.6
- [Release notes](https://github.com/vaadin/platform/releases)
- [Commits](https://github.com/vaadin/platform/compare/24.7.5...24.7.6)

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.7.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.7.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 09:02:23 +03:00
Avgustin Marinov
0ebb755d4c Remove unused imports (#2417)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-23 11:20:53 +03:00
Avgustin Marinov
8184aad13c Simplify RSQL fields (#2416)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-23 11:17:54 +03:00
dependabot[bot]
108f03848f Bump vaadin.version from 24.7.4 to 24.7.5 (#2415)
Bumps `vaadin.version` from 24.7.4 to 24.7.5.

Updates `com.vaadin:vaadin-bom` from 24.7.4 to 24.7.5

Updates `com.vaadin:vaadin-maven-plugin` from 24.7.4 to 24.7.5
- [Release notes](https://github.com/vaadin/platform/releases)
- [Commits](https://github.com/vaadin/platform/compare/24.7.4...24.7.5)

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.7.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.7.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-23 08:48:56 +03:00
Avgustin Marinov
b4d0ee2c5d Bump spring boot to 3.4.6 and small refactoring (#2414)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-22 16:17:01 +03:00
Avgustin Marinov
7ac62d24c8 Fix small sonar findings (#2413)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-22 10:29:35 +03:00
Avgustin Marinov
64ee8b9906 JpaSoftwareModule#metadata made map (#2412)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-21 16:59:25 +03:00
Avgustin Marinov
452d8618d7 JpaDistributionSet#metadata made Map (#2411)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-21 13:45:18 +03:00
Avgustin Marinov
ceba4f5cfb Unify target attributes and metadata (#2408)
* Unify target attributes and metadata

Currently, the target attributes are Map while the metadata,
which has the same concept is List.
This PR unifies them making the metadata also a Map

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-21 11:26:02 +03:00
Mohamed Zenadi
424520bb72 SimpleUI: add oauth2 support (#2400)
* simple-ui: add oauth2 support

This uses a trick to ensure that the id token is refreshed; it needs to be revisited after Spring Security 6.5 is released

* fixed style and added a way to enable / disable oauth2 client
2025-05-20 09:59:41 +03:00
Stanislav Trailov
5f836c1ed1 Feature/migration to central sonatype (#2410)
* Swtich to central sonatype

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

* parameterize version

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

* remove old ds management

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-05-20 08:51:04 +03:00
Mohamed Zenadi
045ba66738 SimpleUI: Add Poll Status and Update Status + improve target filtering (#2404)
* simple-ui: improve target filters

- improve the overall ui of the filters by using the proper icons and layout
- add target filter update and the ability to duplicate filters

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* simple-ui: add poll status and target update status icons

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* apply official style + improve update / create listeners

* one last clean up - revert import bad changes

---------

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
2025-05-19 11:58:58 +03:00
Avgustin Marinov
91811f7aa8 Remove unused imports (#2407)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-19 08:54:18 +03:00
Avgustin Marinov
12140e468d [#2176] RSQL filtering with exist/not-exist support (#2396)
* [#2176] RSQL filtering with exist/not-exist support

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>

* [#2176] Big Refactoring

* RSQL: all maps with joins with on

---------

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-16 16:13:04 +03:00
Avgustin Marinov
c0e89fbbee Fix RSQL G2 visitor and referenes (e.g. assignedds) with multiple conditions (2) (#2406)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-16 15:11:25 +03:00
Avgustin Marinov
86fca64e51 Fix RSQL G2 visitor and referenes (e.g. assignedds) with multiple conditions (#2405)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-16 14:06:30 +03:00
Avgustin Marinov
05bcebc0f9 Remove ParseExceptionWrapper (unused) (#2403)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-15 15:34:07 +03:00
Mohamed Zenadi
c306ed2d4f SimpleUI: improve dialogs and add delete confirmation dialog (#2401)
* simple-ui: add systematic prompt before deletion

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

* simple-ui: fix the dialogs layouts

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>

---------

Signed-off-by: Mohamed Zenadi <mohamed.zenadi@wattsense.com>
2025-05-15 09:32:47 +03:00
dependabot[bot]
9c53858de6 Bump vaadin.version from 24.7.3 to 24.7.4 (#2402)
Bumps `vaadin.version` from 24.7.3 to 24.7.4.

Updates `com.vaadin:vaadin-bom` from 24.7.3 to 24.7.4

Updates `com.vaadin:vaadin-maven-plugin` from 24.7.3 to 24.7.4
- [Release notes](https://github.com/vaadin/platform/releases)
- [Commits](https://github.com/vaadin/platform/compare/24.7.3...24.7.4)

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.7.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.7.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 08:27:42 +03:00
Avgustin Marinov
9f8ee8041f Remove RSQL oracle as not used anymore (UI leftover) (#2397)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-13 15:14:25 +03:00
oksanaphmn
67ab68c410 Update README.md (#2395) 2025-05-12 12:51:09 +03:00
Avgustin Marinov
eac40f5243 Fix followPathInJwtClaims and slight OIDC refactoring (#2393)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-09 09:30:35 +03:00
Avgustin Marinov
aae42b2751 DB Init: Detailed exit codes (on validate) (#2392)
* 1 means can't perform valitate - e.g. db connection failed
* 2 means it has performed validation but db schema is not valid (FlywayValidateException)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-05-08 14:20:47 +03:00
Christian Breitwieser
acaec605bd OIDC Authentication/Authorization on Management API (#2386)
* Added Oidc ressource server capabilities to mgmt api to allow users to login via identity provider.

Signed-off-by: ChristianB <christian.breitwieser@blue-zone.at>

* Adress review findings:
 - Code Style fixes
 - Readability improvements

Signed-off-by: ChristianB <christian.breitwieser@blue-zone.at>

---------

Signed-off-by: ChristianB <christian.breitwieser@blue-zone.at>
2025-05-08 11:19:19 +03:00
Stanislav Trailov
7456e52095 Unify Hibernate and EclipseLink exception translations (#2388)
* Unify Hibernate and EclipseLink exception translations

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

* properly set custom hibernate jpa dialect

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-05-07 15:18:06 +03:00
dependabot[bot]
af19861de7 Bump io.github.openfeign:feign-hc5 from 13.5 to 13.6 (#2390)
Bumps [io.github.openfeign:feign-hc5](https://github.com/openfeign/feign) from 13.5 to 13.6.
- [Release notes](https://github.com/openfeign/feign/releases)
- [Changelog](https://github.com/OpenFeign/feign/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openfeign/feign/compare/13.5...13.6)

---
updated-dependencies:
- dependency-name: io.github.openfeign:feign-hc5
  dependency-version: '13.6'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 10:01:14 +03:00
dependabot[bot]
3b228e731c Bump org.springdoc:springdoc-openapi-starter-webmvc-ui (#2389)
Bumps [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://github.com/springdoc/springdoc-openapi) from 2.8.6 to 2.8.8.
- [Release notes](https://github.com/springdoc/springdoc-openapi/releases)
- [Changelog](https://github.com/springdoc/springdoc-openapi/blob/main/CHANGELOG.md)
- [Commits](https://github.com/springdoc/springdoc-openapi/compare/v2.8.6...v2.8.8)

---
updated-dependencies:
- dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-ui
  dependency-version: 2.8.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 09:40:00 +03:00
Stanislav Trailov
5e72ea4522 Set old sql translator as a fallback in eclipseLink (#2387)
* Set old sql translator as a fallback in eclipseLink

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

* small refactor

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

* fix minor code smell

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-05-02 12:18:00 +03:00
dependabot[bot]
546088e88e Bump vaadin.version from 24.7.2 to 24.7.3 (#2384)
Bumps `vaadin.version` from 24.7.2 to 24.7.3.

Updates `com.vaadin:vaadin-bom` from 24.7.2 to 24.7.3

Updates `com.vaadin:vaadin-maven-plugin` from 24.7.2 to 24.7.3

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-30 09:06:54 +03:00
dependabot[bot]
11097d15b0 Bump org.jsoup:jsoup from 1.19.1 to 1.20.1 (#2385)
Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.19.1 to 1.20.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.19.1...jsoup-1.20.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-version: 1.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-30 09:06:16 +03:00
Stanislav Trailov
2a71f61cc2 Extend current SQL translator in EclipseLink (#2383)
* Extend current SQL translator in EclipseLink

* Initialize translator in static block

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

* translation methods to static

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

* handle DataIntegrityViolation in rest core

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-04-29 17:20:17 +03:00
Avgustin Marinov
744ab70f97 Small DB Init refactoring (#2382)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-29 10:08:54 +03:00
Denislav Prinov
08f8c528fd Merge pull request #2346 from maass-hamburg/simple_ui_add_assign_targets
simple_ui: add assign function in Target view
2025-04-29 08:45:12 +03:00
Avgustin Marinov
6a2bcb1f9a Add locations configuration for flyway db init (default still db/migration) (#2381)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 16:54:37 +03:00
Avgustin Marinov
023c6f06f5 Sets default Flyway ingore-migration-patterns (#2379)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 14:59:32 +03:00
Avgustin Marinov
8a3fa1e8a7 Add table name configuration for flyway db init (default still schema_version) (#2380)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 14:45:52 +03:00
Avgustin Marinov
0059a60f5b [#2362] Set cache manager TTL by default 10sec (#2378)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 13:22:19 +03:00
Avgustin Marinov
30c0ae3cc2 SoftwareModuleView small improvements (#2377)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 12:19:11 +03:00
Fin Maaß
88a0ac7256 simple_ui: SoftwareModuleView: add option for distributionSet (#2360)
This commit adds a new option, when creating a new SoftwareModule, to
also create a new distributionSet, based on the created SoftwareModule.
This is useful for cases, where software modules and distributionSets
have a 1:1 relation.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-28 09:36:52 +03:00
Avgustin Marinov
73bc6d15b5 Bump docker version to 21.0.7_6 (#2376)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-04-28 08:48:00 +03:00