resteasy / resteasy-spring Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
According to Spring blog: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement
We need to update Spring version to address vulnerability.
Upgrade WildFly to 26.1.0.Final.
Tag: https://github.com/wildfly/wildfly/releases/tag/26.1.0.Final
The galleon-feature-pack
should be split into separate modules like WildFly's ee-feature-pack
. The galleon-feature-pack
should only have a pom.xml
and the wildfly-feature-pack-build.xml
. The modules and any tasks should be split out.
using the https://github.com/orgs/resteasy/teams/reviewers in the project
Tag: https://github.com/resteasy/resteasy/releases/tag/6.2.4.Final
This also requires a bump to Servlet 6.0.
Starting from spring 6.0.11, existing code in this library may not work anymore. Some spring @Bean
annotated with @Provider
and other Jakarta-RS annotations are not recognized anymore (since getBeanClassName() is null) and are not registered in Resteasy as it was with srping version 6.0.10 and previous versions.
In the following class: https://github.com/resteasy/resteasy-spring/blob/main/resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringBeanProcessor.java , the calls to BeanDefinition.getBeanClassName()
should be BeanDefinition.getResolvableType().toClass()
reference: resteasy/resteasy#3289
The org.jboss.resteasy.spring:resteasy-spring-undertow
dependency is missing from the org.jboss.resteasy.spring:resteasy-spring-bom
.
I tried to compile the project locally with resteasy 6.1.0-SNAPSHOT
but failed:
@jamezp It seems related with some SeBootstrap APIs are not found. I guess it's because of the jakarata API version I used is not correct. Could you please help to check this when you have time? Thanks!
While Spring requires Java 17 at runtime, there is no real requirement for this project to compile to Java 17. Quarkus uses this project as does WildFly which both have a minimum runtime requirement of Java 11. While they would need Java 17 to use Spring, if they use project internally there is no requirement for Java 17.
Currently there are deployment tests disabled which depends on some resteasy components that haven't been uploaded before. Will fix this after RESTEasy side work is done.
SpringBeanProcessor registrate every bean having Path or Provider annotation as Resource. Problem is that also Resteasy client beans contains Path annotation. Im not able to limit that
Given the Spring upgrade:
Line 16 in f813e8e
The version should really be bumped to 3.1. We shouldn't do a 3.0.x patch release with a minor version bump like that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.