Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: EJBCA 7.0.0
-
Fix Version/s: EJBCA 7.1.0
-
Component/s: None
-
Labels:None
-
Provenance:Internal Delivery
-
Epic Link:
-
Sprint:EJBCA Team Bob - 2019 w6, EJBCA Team Alice - 2019 w10, EJBCA Team Alice - 2019 w13
Description
After upgrading the JEE library to JEE7 (ECA-7791) it became clear that we bundle a JAX-RS 2.0 implementation, while this should now be provided by the application server.
We also bundle a an embedded JAX-RS 1.1 server tjws-2.3.7 used by unit testing which now fails after the API JAR has been updated.
Resteasy 2.3.7 is JAX-RS 1.1.
Resteasy 3.0.1 is JAX-RS 2.0.
Since our API automatic mapping to snake_case of responses and dates to ISO8601 format using com.fasterxml.jackson.databind.ObjectMapper we need to ensure that we can rely on the app-servers implementation or that we wont conflict with it if we keep bundling and maintaining Jackson.
Or that the standard @javax.xml.bind.annotation.XmlElement's name="variable_name" is respected, so we no longer need to maintain these libraries. → According to https://docs.oracle.com/javaee/7/tutorial/jsonp005.htm this would be non-standard and JSON Binding 1.0 will be available in JEE8. For now JSON Processing 1.0 (JSR 353) would be used "manually" together with JAX-RS 2.0.
Attachments
Issue Links
- causes
-
ECA-7917 Revisit REST API unit test
-
- Open
-
- is related to
-
ECA-7210 BC class conflict in some occasions: X509CertificateObject cannot be cast to org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier
-
- Closed
-
-
ECA-6953 REST Json provider configuration
-
- Closed
-
-
ECA-7791 Update to JEE7 API library
-
- Closed
-
-
ECA-7017 REST Jackson library unification
-
- Closed
-
- relates
-
ECA-7841 Regression: Missing JAXB in JDK11 and lack of bundled API JAR causes complication error for Acme classes
-
- Closed
-
-
ECA-7822 Swagger generates snake_case API doc for ACME
-
- Closed
-
-
ECA-8693 Security: Backport upgrade of external dependency
-
- Closed
-
- split to
-
ECA-7827 Upgrade embedded JAX-RS server and library used by unit tests
-
- Closed
-