Giter Club home page Giter Club logo

resteasy-spring's Introduction

RESTEasy

Github CI

RESTEasy is a JBoss.org project aimed at providing productivity frameworks for developing client and server RESTful applications and services in Java. It is mainly a Jakarta RESTful Web Services implementation but you'll find some other experimental code in the repository.

The project page can be found at https://resteasy.dev.

Jakarta RESTful Web Services

RESTEasy is a JBoss project that provides various frameworks to help you build RESTful Web Services and RESTful Java applications. It is a portable implementation of the Jakarta RESTful Web Services specification. The Jakarta RESTful Web Services provides a Java API for RESTful Web Services over the HTTP protocol. Please note that the specification is now under the Jakarta EE Project. You can read the entire specification at Jakarta RESTful Web Services.

Getting started with RESTEasy

Documentation

To read the documentation you can read it online.

Issues

Issues are kept in JIRA.

Build

Currently, RESTEasy requires JDK 11+.

If you want to build the project without running the tests, you need to pull down a clone of the RESTEasy repository and run:

$ ./mvnw clean install -DskipTests=true

If you want to build the project with testings run, you may need to specify a profile to use, and may need to configure the WildFly version you want to run the tests with. Here is an example:

$ SERVER_VERSION=27.0.0.Final ./mvnw clean -fae -Dserver.version=$SERVER_VERSION install

Contribute

You are most welcome to contribute to RESTEasy!

Read the Contribution guidelines

resteasy-spring's People

Contributors

dependabot[bot] avatar gsmet avatar jamezp avatar jfdenise avatar liweinan avatar mdescher avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

resteasy-spring's Issues

re-enable deployment tests

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.

Compile down to Java 11

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.

Wrong usage of beanDefinition.getBeanClassName()

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()

See: spring-projects/spring-framework#31242 (comment)

Scans also client beans as resource beans

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

Split the feature pack

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.