Commit Graph

3788 Commits

Author SHA1 Message Date
Eclipse Webmaster team
b61e9c7ff8 Create CNAME 2025-10-23 10:56:52 -04:00
Florian BEZANNIER
4306548b4a Refacto oauth2 granted authorities (#2684)
* refacto: oauth2

* feat: clear user from cache on logout
2025-10-23 12:45:50 +03:00
Avgustin Marinov
a3cf835ae2 Fix sonar findings (#2769)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-22 15:12:37 +03:00
Stanislav Trailov
1b62bee92f Add update repositopry permission to handleMaxAssignmentsExceeded in deployment management (#2768)
* Action history cleanup/purge initial

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

* apply changes after review

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

* fix hibernate build by annotating delete methods with transactional annotation

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

* changes after review and new test cases for new requirements

* accept 0 for keep last

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

* Fix ManagementSecurityTest

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

* apply object utils check

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

* fix for oldestAction deletion

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

* remove unused comment

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

* rename action ids variable

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

* Fix access control handling

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

* Add update repositopry permission to handleMaxAssignmentsExceeded in deployment management

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
Co-authored-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-22 14:54:40 +03:00
Avgustin Marinov
8a36ba6203 Fix action delete access control - to require only target update (not delete also) (#2767)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-22 13:33:56 +03:00
Avgustin Marinov
3caa9d9eda Switch completely to locked for checking if DS could be functionally modified (#2766)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-22 11:46:36 +03:00
Avgustin Marinov
e154e1b18a [#2429] Add completeness property for software modules (#2765)
* add `min artifacts` requirement on the Software Module Type level for Software Module completeness
* removed `complete` Distribution Set property from DB - calculated runtime
* Distribution Set and Software Module completeness is calcualted on demand in memory (TODO: implement cache)
* locking of Software Module now requires the software module to be `completed`
* removed 'complete' search field for DistributionSet type. Still keep (DEPRECATED) limited support for search with 'complete' -
  only on the first level of expression and with AND. I.e. complete==true, complete==false and id=in=(1, 3) is suppoted,
  while complete==false or id=in=(1, 3) and id=in(1, 3) and (type==os and complete==true) are not

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-22 09:57:45 +03:00
Stanislav Trailov
f1c3d0175e Action history cleanup/purge initial (#2728)
* Action history cleanup/purge initial

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

* apply changes after review

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

* fix hibernate build by annotating delete methods with transactional annotation

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

* changes after review and new test cases for new requirements

* accept 0 for keep last

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

* Fix ManagementSecurityTest

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

* apply object utils check

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

* fix for oldestAction deletion

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

* remove unused comment

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

* rename action ids variable

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

* Fix access control handling

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

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
Co-authored-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-21 10:34:58 +03:00
dependabot[bot]
9984c89183 Bump vaadin.version from 24.9.2 to 24.9.3 (#2763)
Bumps `vaadin.version` from 24.9.2 to 24.9.3.

Updates `com.vaadin:vaadin-bom` from 24.9.2 to 24.9.3

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

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.9.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-10-20 14:01:10 +03:00
Avgustin Marinov
66da13a038 Add option to provide flyway callbacks to db init (#2764)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-20 14:00:48 +03:00
Avgustin Marinov
f2ddbcc230 Fix and extend permissions related doc (#2762)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-20 08:47:34 +03:00
Avgustin Marinov
b10955f3eb Remove System Management REST (#2761)
* the only non repository module using @PreAuthorize
* the only service for "sys admins" - it's a little bit out of scopes
* caches management is not supposed to be via REST
* delete tenant shall not be provided when we don't have create
* metrics shall be reported via metrics colectins services, or db

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-17 10:45:11 +03:00
Avgustin Marinov
4b3c3cc870 Remove org.eclipse.hawkbit.repository.jpa.specifications.SpecificationsBuilder and fix deprecated Specification.where (#2760)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-16 16:01:29 +03:00
Avgustin Marinov
8da851a75a [#2758] Add test for JpaTargetManagment - findByTargetFilterQueryAndNonDSAndCompatibleAndUpdatable (#2759)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-16 15:29:18 +03:00
Florian BEZANNIER
98b4fdc8f7 Fix claims NPE (#2725)
* fix: npe when current claims is null

eror was Object.getClass()" because "current" is null

* style: fix
2025-10-15 14:22:42 +03:00
Avgustin Marinov
811b163d22 Optimize get targets via REST API (#2757)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-15 14:08:58 +03:00
Avgustin Marinov
6ad20252ba Refactor UserAuthoritiesResolver - to run in tenant context (#2756)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-14 17:28:57 +03:00
Avgustin Marinov
04cd9fb30d Refactor TenantAware - remove TenantRunner and replace with standard Runnable / Callable (#2755)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-14 16:36:42 +03:00
Denislav Prinov
0a2f18fbad Merge pull request #2753 from bosch-io/feature/documentation-additions
Add missing page in documentation
2025-10-14 09:46:40 +03:00
Denislav Prinov
40f061ac5b Add missing page in documentation
Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2025-10-14 09:44:44 +03:00
Denislav Prinov
ec0d40d483 Added new diagrams with source & sidebar footer (#2751)
* Added new diagrams with source & sidebar footer

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

* Fix REST API documentation path

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

---------

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2025-10-14 08:44:44 +03:00
dependabot[bot]
ef838b19d5 Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 (#2752)
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.13 to 0.8.14.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.13...v0.8.14)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-version: 0.8.14
  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-10-14 08:27:51 +03:00
Avgustin Marinov
59dde97e2e Simple UI: Fix reister target dialog - controller id field (#2750)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-13 12:19:29 +03:00
dependabot[bot]
42539878e3 Bump io.github.classgraph:classgraph from 4.8.181 to 4.8.184 (#2748)
Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.181 to 4.8.184.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](https://github.com/classgraph/classgraph/compare/classgraph-4.8.181...classgraph-4.8.184)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-version: 4.8.184
  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-10-13 08:34:41 +03:00
Denislav Prinov
93b1454d78 Merge pull request #2744 from bosch-io/feature/migrate-hawkbit-documentation
Migrate hawkBit documentation to GitHub Pages.
2025-10-10 15:57:58 +03:00
Denislav Prinov
21bbfc7f58 Exclude license checks on the docs folder
Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2025-10-10 15:46:41 +03:00
Denislav Prinov
73f523b802 Added missing headers
Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2025-10-10 15:42:38 +03:00
Denislav Prinov
9fdd87ca27 Migrate hawkBit documentation to GitHub Pages Initial
Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
2025-10-10 15:21:42 +03:00
Avgustin Marinov
b390a0f8ef Fix sonar findings (#2742)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-10 14:32:09 +03:00
Avgustin Marinov
ebc3755469 Fix ACM tests (#2739)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-10 12:58:59 +03:00
Avgustin Marinov
741add9f21 Add deprecation log utility - easy way to log usage of deprecated methods (#2741)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-10 12:58:49 +03:00
Avgustin Marinov
3447ac3b1b Fix system context resolving in ACM (#2737)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-10 12:02:16 +03:00
Avgustin Marinov
e7d9ee7990 Add Target(Type)Management tests (#2735)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-10 08:36:08 +03:00
github-actions[bot]
0519c5229e [Release] Automated commit of .3rd-party/DEPENDENCIES changes 2025-10-10 02:29:35 +00:00
Avgustin Marinov
39ab8275bc Add SM and SM type ACM tests (#2734)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-09 13:50:03 +03:00
Avgustin Marinov
9a70fffeb5 Simplify/Refactor RolloutExecutor ACM test (#2733)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-09 12:48:05 +03:00
Avgustin Marinov
bc96c24983 Add RolloutManagement ACM test (#2732)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-09 12:29:28 +03:00
Avgustin Marinov
95e37268bd Add Rollout Execution ACM Test (#2731)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-09 12:29:20 +03:00
dependabot[bot]
222ca5c826 Bump github/codeql-action from 3 to 4 (#2729)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 11:08:06 +03:00
Avgustin Marinov
82bbb2a553 Fix rollout handler all metric (#2730)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-09 11:02:55 +03:00
Avgustin Marinov
4ba09f127e Add DistributionSetManagementTest and TargetTypeQueryManagementTest (#2727)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-08 16:53:37 +03:00
Avgustin Marinov
e23d2aa920 Add DeploymentManagement ACM test (#2726)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-08 11:07:15 +03:00
Avgustin Marinov
cc36ca8801 Fix EntityMatcher when for Identifiable.getId (#2724)
* Fix EntityMatcher to process properly filters of type targetType.id - to resolve correctly the getter return type Long not T
* Add AutoAsssignTest access control test
* Simplify rest of the ACM tests

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-07 15:26:04 +03:00
Avgustin Marinov
6907931eb6 Change first-interaction props with underscore (#2723)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-06 14:30:42 +03:00
Florian BEZANNIER
a6d94919e9 Add Spotless for Code Formatting (#2613)
* style: format from cli

* ci: add style check
2025-10-06 11:50:22 +03:00
dependabot[bot]
21974fce0e Bump vaadin.version from 24.9.1 to 24.9.2 (#2719)
Bumps `vaadin.version` from 24.9.1 to 24.9.2.

Updates `com.vaadin:vaadin-bom` from 24.9.1 to 24.9.2

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

---
updated-dependencies:
- dependency-name: com.vaadin:vaadin-bom
  dependency-version: 24.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.vaadin:vaadin-maven-plugin
  dependency-version: 24.9.2
  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-10-06 10:01:19 +03:00
dependabot[bot]
becd4819df Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.1 to 3.6.2 (#2718)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.1...enforcer-3.6.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-version: 3.6.2
  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-10-06 10:01:01 +03:00
Avgustin Marinov
c2a2545e36 Add issue-message in first interaction workflow (#2721)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-06 09:58:27 +03:00
Stanislav Trailov
0134a67241 Try to fix flaky Rollout mgmt test (#2716)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
2025-10-02 18:03:42 +03:00
Avgustin Marinov
9fb84e2d69 Add MgmtActionResource call log - upcoming deprectaion / changes (#2715)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
2025-10-02 11:40:56 +03:00