Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force EclipseLink JaxbContextFactory #3019

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

lorthirk
Copy link

@lorthirk lorthirk commented Jul 8, 2020

EclipseLink JaxbContextFactory is currently not forced on the REST APIs. This can cause troubles with CORS and in general every time a non-application error is thrown by the REST APIs.

Related Issue
No related issues

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
@lorthirk lorthirk added the Bug This is a bug or an unexpected behaviour. Fix it! label Jul 8, 2020
@lorthirk lorthirk requested a review from Coduz July 8, 2020 10:41
@codecov
Copy link

codecov bot commented Jul 8, 2020

Codecov Report

Merging #3019 into develop will decrease coverage by 0.46%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #3019      +/-   ##
=============================================
- Coverage      57.63%   57.17%   -0.47%     
+ Complexity      2599     2507      -92     
=============================================
  Files           1062     1062              
  Lines          23012    23012              
  Branches        2042     2042              
=============================================
- Hits           13263    13156     -107     
- Misses          8799     8892      +93     
- Partials         950      964      +14     
Impacted Files Coverage Δ Complexity Δ
...gine/jbatch/exception/JobMissingStepException.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...ine/jbatch/exception/KapuaJobEngineErrorCodes.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...xception/JobDeviceManagementTriggerErrorCodes.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...inition/internal/JobStepDefinitionCreatorImpl.java 0.00% <0.00%> (-89.48%) 0.00% <0.00%> (-11.00%)
...r/manager/exception/ProcessOnConnectException.java 0.00% <0.00%> (-75.00%) 0.00% <0.00%> (-2.00%)
...ob/engine/jbatch/exception/JobEngineException.java 0.00% <0.00%> (-66.67%) 0.00% <0.00%> (-2.00%)
...exception/JobDeviceManagementTriggerException.java 0.00% <0.00%> (-60.00%) 0.00% <0.00%> (-2.00%)
.../engine/jbatch/exception/JobResumingException.java 0.00% <0.00%> (-50.00%) 0.00% <0.00%> (-1.00%)
...step/definition/internal/JobStepDefinitionDAO.java 11.11% <0.00%> (-50.00%) 2.00% <0.00%> (-1.00%)
...tep/definition/internal/JobStepDefinitionImpl.java 22.58% <0.00%> (-48.39%) 6.00% <0.00%> (-7.00%)
... and 45 more

@Coduz Coduz merged commit ddad25b into eclipse:develop Jul 9, 2020
@lorthirk lorthirk deleted the fix-jaxbContextFactory branch July 15, 2020 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants