Skip to content

♻️ [Project] Break job engine to rest api dependency#4293

Open
Coduz wants to merge 36 commits intoeclipse-kapua:developfrom
Coduz:ref-break_job_engine_to_rest_api_dependency
Open

♻️ [Project] Break job engine to rest api dependency#4293
Coduz wants to merge 36 commits intoeclipse-kapua:developfrom
Coduz:ref-break_job_engine_to_rest_api_dependency

Conversation

@Coduz
Copy link
Copy Markdown
Contributor

@Coduz Coduz commented Sep 24, 2025

This PR continues the work of #4073 rebased on the latest develop and with some fixes.

From original PR

This PR breaks the dependency that job-engine had to the rest-api, reorganising the commons-rest modules into a more structured commons-jersey modules (splitted in to rest and web submodules), that contain all the necessary components to handle jersey-based services (be they web apps or rest apis).

Breaking changes!

Also absorbs: #4017
This PR intends to clean up the internal dependencies between kapua modules. In most cases, it just cleans up the pom.xml files from dependencies which are already received transitively via maven (e.g.: if you already depend on the -internal module, it is implicit the dependence from the -api module).
In a few cases data classes have been moved closer to the project that use them -e.g.: IsJobRunningMultipleResponse.java is specific to the job engine and does not need to be in the commons-rest-model module.

@Coduz Coduz force-pushed the ref-break_job_engine_to_rest_api_dependency branch from 4d1fd77 to 33559b1 Compare October 20, 2025 09:13
@Coduz Coduz force-pushed the ref-break_job_engine_to_rest_api_dependency branch from 33559b1 to 96b0fff Compare January 29, 2026 15:22
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…if activated it failed compilation without any debug information

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…generic, neither used anywhere else

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
… exist)

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…ne-app-web as it was not generic, neither used anywhere else"

This reverts commit 3450f05.
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
dseurotech and others added 15 commits February 6, 2026 11:30
…, as the dependency was broken

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…generic, neither used anywhere else

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…ne-app-web as it was not generic, neither used anywhere else"

This reverts commit 3450f05.
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…common code in commons-rest

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
… soup

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: dseurotech <davide.salvador@eurotech.com>
…lute other rest apis

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
…obEngine AppModule

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
@Coduz Coduz force-pushed the ref-break_job_engine_to_rest_api_dependency branch from 96b0fff to dc91005 Compare February 6, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement This PR/Issue improves an part of Kapua

Projects

Development

Successfully merging this pull request may close these issues.

3 participants