Break job engine to rest api dependency
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: https://github.com/eclipse/kapua/pull/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.
Codecov Report
Attention: Patch coverage is 33.94495% with 72 lines in your changes missing coverage. Please review.
Project coverage is 16.63%. Comparing base (
702bd78) to head (1435d79). Report is 2 commits behind head on develop.
Additional details and impacted files
@@ Coverage Diff @@
## develop #4073 +/- ##
=============================================
- Coverage 16.79% 16.63% -0.17%
Complexity 22 22
=============================================
Files 2037 2029 -8
Lines 52835 52732 -103
Branches 4441 4437 -4
=============================================
- Hits 8874 8772 -102
+ Misses 43560 43558 -2
- Partials 401 402 +1
| Files with missing lines | Coverage Δ | |
|---|---|---|
| ...clipse/kapua/client/security/bean/AuthContext.java | 0.00% <ø> (ø) |
|
| ...ersey/rest/ExceptionConfigurationProviderImpl.java | 0.00% <ø> (ø) |
|
| ...kapua/commons/jersey/rest/JaxbContextResolver.java | 0.00% <ø> (ø) |
|
| ...commons/jersey/rest/KapuaCommonApiCoreSetting.java | 100.00% <100.00%> (ø) |
|
| ...ons/jersey/rest/KapuaCommonApiCoreSettingKeys.java | 100.00% <100.00%> (ø) |
|
| ...mmons/jersey/rest/KapuaSerializableBodyWriter.java | 100.00% <ø> (ø) |
|
| ...ipse/kapua/commons/jersey/rest/ListBodyWriter.java | 100.00% <ø> (ø) |
|
| ...ons/jersey/rest/MoxyJsonConfigContextResolver.java | 100.00% <ø> (ø) |
|
| ...e/kapua/commons/jersey/rest/RestApiErrorCodes.java | 100.00% <ø> (ø) |
|
| ...a/commons/jersey/rest/RestApiRuntimeException.java | 100.00% <ø> (ø) |
|
| ... and 150 more |
This PR has been superseded by https://github.com/eclipse-kapua/kapua/pull/4293 and can be closed when #4293 will be merged