Skip to content

Commit

Permalink
[RESTEASY-1956] Dropping restesy-legacy, security-legacy and correspo…
Browse files Browse the repository at this point in the history
…nding test modules
  • Loading branch information
asoldano committed Jul 25, 2018
1 parent 5700150 commit f633034
Show file tree
Hide file tree
Showing 1,426 changed files with 3 additions and 89,933 deletions.
1 change: 0 additions & 1 deletion distribution/assembly.xml
Expand Up @@ -53,7 +53,6 @@
<include>org.jboss.resteasy:resteasy-oauth</include>
<include>org.jboss.resteasy:resteasy-cdi</include>
<include>org.jboss.resteasy:resteasy-jsapi</include>
<include>org.jboss.resteasy:resteasy-legacy</include>
<include>org.jboss.resteasy:resteasy-links</include>
<include>org.jboss.resteasy:resteasy-crypto</include>
<include>org.jboss.resteasy:jose-jwt</include>
Expand Down
5 changes: 0 additions & 5 deletions distribution/pom.xml
Expand Up @@ -168,11 +168,6 @@
<artifactId>resteasy-vertx</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-legacy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-validator-provider-11</artifactId>
Expand Down
6 changes: 1 addition & 5 deletions docbook/reference/en/en-US/modules/gzip.xml
Expand Up @@ -101,11 +101,7 @@ public class MyService {
As of release 3.1.0.Final, the GZIP interceptors have moved from package
<classname>org.jboss.resteasy.plugins.interceptors.encoding</classname> to
<classname>org.jboss.resteasy.plugins.interceptors</classname>. and they should be
named accordingly in javax.ws.rs.ext.Providers. However, they continue to exist in
<classname>org.jboss.resteasy.plugins.interceptors.encoding</classname> in module
resteasy-legacy, so, if resteasy-legacy is available, the original names can be used.
See Chapter <link linkend='Migration_to_3_1'>Migration to RESTEasy 3.1</link> for more
information.
named accordingly in javax.ws.rs.ext.Providers.
</para>

</sect3>
Expand Down
4 changes: 0 additions & 4 deletions jboss-modules/build.xml
Expand Up @@ -203,10 +203,6 @@
<maven-resource group="org.jboss.resteasy" artifact="resteasy-json-binding-provider"/>
</module-def>

<module-def name="org.jboss.resteasy.resteasy-legacy">
<maven-resource group="org.jboss.resteasy" artifact="resteasy-legacy"/>
</module-def>

<module-def name="org.jboss.resteasy.resteasy-multipart-provider">
<maven-resource group="org.jboss.resteasy" artifact="resteasy-multipart-provider"/>
</module-def>
Expand Down
5 changes: 0 additions & 5 deletions jboss-modules/pom.xml
Expand Up @@ -150,11 +150,6 @@
<artifactId>resteasy-client-microprofile</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-legacy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-crypto</artifactId>
Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions pom.xml
Expand Up @@ -102,14 +102,12 @@
<module>resteasy-client</module>
<module>resteasy-client-microprofile</module>
<module>resteasy-client-jetty</module>
<module>resteasy-legacy</module>
<module>providers</module>
<module>resteasy-bom</module>
<module>resteasy-cache</module>
<module>resteasy-guice</module>
<module>eagledns</module>
<module>security</module>
<module>security-legacy</module>
<module>resteasy-links</module>
<module>resteasy-spring</module>
<module>resteasy-jsapi</module>
Expand Down Expand Up @@ -164,7 +162,6 @@
<module>resteasy-guice</module>
<module>eagledns</module>
<module>security</module>
<module>security-legacy</module>
<module>resteasy-links</module>
<module>resteasy-spring</module>
<module>resteasy-jsapi</module>
Expand Down
Expand Up @@ -136,8 +136,7 @@ else if (type.equals(Cookie.class))
processor = new CookieParamProcessor(null);
}
// this is for HATEAOS clients
//look for old (resteasy-legacy) annotation too for runtime backward compatibility
else if (FindAnnotation.findAnnotation(annotations, ClientURI.class.getName(), "org.jboss.resteasy.client.ClientURI") != null)
else if (FindAnnotation.findAnnotation(annotations, ClientURI.class.getName()) != null)
{
processor = new URIParamProcessor();
}
Expand Down
Expand Up @@ -43,14 +43,7 @@ public void configure(ResourceInfo resourceInfo, FeatureContext configurable)

protected boolean isGZipRegistered(Configuration configuration)
{
//TODO replace with the line below when dropping resteasy-legacy
//return configuration.isRegistered(GZIPEncodingInterceptor.class);
for (Class<?> c : configuration.getClasses()) {
if (GZIPEncodingInterceptor.class.isAssignableFrom(c)) {
return true;
}
}
return false;
return configuration.isRegistered(GZIPEncodingInterceptor.class);
}

protected ServerContentEncodingAnnotationFilter createFilter(Set<String> encodings)
Expand Down
185 changes: 0 additions & 185 deletions resteasy-legacy/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f633034

Please sign in to comment.