Skip to content

Commit

Permalink
Renaming packages to avoid split them accross multiple modules
Browse files Browse the repository at this point in the history
  • Loading branch information
aureamunoz committed Nov 27, 2024
1 parent d99e142 commit 7eac578
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ private ResultHandle getResponseContentType(MethodCreator methodCreator, List<St
.toArray(ResultHandle[]::new);

String responseContentTypeResolverClassName = isResteasyClassic
? "io.quarkus.spring.web.runtime.ResteasyClassicResponseContentTypeResolver"
: "io.quarkus.spring.web.runtime.ResteasyReactiveResponseContentTypeResolver";
? "io.quarkus.spring.web.resteasy.classic.runtime.ResteasyClassicResponseContentTypeResolver"
: "io.quarkus.spring.web.resteasy.reactive.runtime.ResteasyReactiveResponseContentTypeResolver";
ResultHandle contentTypeResolver = methodCreator
.newInstance(MethodDescriptor.ofConstructor(responseContentTypeResolverClassName));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.deployment;
package io.quarkus.spring.web.resteasy.classic.deployment;

import java.io.IOException;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.runtime;
package io.quarkus.spring.web.resteasy.classic.runtime;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.classic.test;

import static io.restassured.RestAssured.when;
import static org.hamcrest.Matchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.classic.test;

import static org.assertj.core.api.Assertions.assertThat;

Expand All @@ -24,7 +24,8 @@ public class MissingRestControllerTest {
.setApplicationName("missing-rest-controller")
.setApplicationVersion("0.1-SNAPSHOT")
.setLogRecordPredicate(
r -> "io.quarkus.spring.web.deployment.SpringWebResteasyClassicProcessor".equals(r.getLoggerName()));
r -> "io.quarkus.spring.web.resteasy.classic.deployment.SpringWebResteasyClassicProcessor"
.equals(r.getLoggerName()));

@ProdBuildResults
private ProdModeTestResults prodModeTestResults;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.classic.test;

import static io.restassured.RestAssured.when;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.classic.test;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.classic.test;

import static io.restassured.RestAssured.when;
import static org.hamcrest.Matchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.deployment;
package io.quarkus.spring.web.resteasy.reactive.deployment;

import static org.jboss.jandex.AnnotationInstance.create;
import static org.jboss.resteasy.reactive.common.processor.ResteasyReactiveDotNames.DEFAULT_VALUE;
Expand Down Expand Up @@ -45,8 +45,8 @@
import io.quarkus.resteasy.reactive.spi.AdditionalResourceClassBuildItem;
import io.quarkus.resteasy.reactive.spi.ExceptionMapperBuildItem;
import io.quarkus.resteasy.server.common.spi.AdditionalJaxRsResourceMethodParamAnnotations;
import io.quarkus.spring.web.runtime.ResponseEntityHandler;
import io.quarkus.spring.web.runtime.ResponseStatusHandler;
import io.quarkus.spring.web.resteasy.reactive.runtime.ResponseEntityHandler;
import io.quarkus.spring.web.resteasy.reactive.runtime.ResponseStatusHandler;
import io.quarkus.spring.web.runtime.common.ResponseStatusExceptionMapper;

public class SpringWebResteasyReactiveProcessor {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.runtime;
package io.quarkus.spring.web.resteasy.reactive.runtime;

import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext;
import org.jboss.resteasy.reactive.server.spi.ServerRestHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.runtime;
package io.quarkus.spring.web.resteasy.reactive.runtime;

import org.jboss.resteasy.reactive.common.jaxrs.ResponseImpl;
import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.runtime;
package io.quarkus.spring.web.resteasy.reactive.runtime;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import static io.restassured.RestAssured.given;
import static io.restassured.RestAssured.when;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

public class Greeting {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import static io.restassured.RestAssured.when;
import static org.hamcrest.Matchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import static io.restassured.RestAssured.when;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

public class SomeClass {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.spring.web.test;
package io.quarkus.spring.web.resteasy.reactive.test;

import jakarta.ws.rs.core.MediaType;

Expand Down

0 comments on commit 7eac578

Please sign in to comment.