Skip to content

Commit

Permalink
TS Cleanup - Rename Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik committed May 26, 2022
1 parent d1d6998 commit 34906ae
Show file tree
Hide file tree
Showing 385 changed files with 667 additions and 645 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.http.graphql;
package io.quarkus.ts.http.graphql.telemetry;

public class Person {
private final String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.http.graphql;
package io.quarkus.ts.http.graphql.telemetry;

import java.util.NoSuchElementException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.http.graphql;
package io.quarkus.ts.http.graphql.telemetry;

import io.quarkus.test.scenarios.OpenShiftScenario;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package io.quarkus.ts.http.graphql;
package io.quarkus.ts.http.graphql.telemetry;

import static io.quarkus.ts.http.graphql.Utils.createQuery;
import static io.quarkus.ts.http.graphql.Utils.sendQuery;
import static io.restassured.RestAssured.given;
import static org.awaitility.Awaitility.await;

Expand Down Expand Up @@ -32,8 +30,8 @@ public class TelemetryIT {

@Test
void verifyTelemetry() {
Response classic = sendQuery(createQuery("friend(name:\"Aristotle\"){name}"));
Response reactive = sendQuery(createQuery("friend_r(name:\"Aristotle\"){name}"));
Response classic = Utils.sendQuery(Utils.createQuery("friend(name:\"Aristotle\"){name}"));
Response reactive = Utils.sendQuery(Utils.createQuery("friend_r(name:\"Aristotle\"){name}"));

Assertions.assertEquals("Plato", classic.jsonPath().getString("data.friend.name"));
Assertions.assertEquals("Plato", reactive.jsonPath().getString("data.friend_r.name"));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.http.graphql;
package io.quarkus.ts.http.graphql.telemetry;

import static io.restassured.RestAssured.given;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import java.io.File;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.client;
package io.quarkus.ts.http.jaxrs.reactive.client;

import javax.ws.rs.core.MediaType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.client;
package io.quarkus.ts.http.jaxrs.reactive.client;

import javax.inject.Inject;
import javax.ws.rs.POST;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.client;
package io.quarkus.ts.http.jaxrs.reactive.client;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.client;
package io.quarkus.ts.http.jaxrs.reactive.client;

import io.quarkus.runtime.annotations.RegisterForReflection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

import java.lang.reflect.Type;
import java.util.function.BiFunction;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

import com.fasterxml.jackson.annotation.JsonView;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

public class Views {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Disable sticky session in order to be able to test HTTP cache features in OpenShiftHttpCachingResourceIT
# See https://access.redhat.comsolutions/4820731.
quarkus.openshift.route.annotations."haproxy.router.openshift.io/disable_cookies"=true
io.quarkus.ts.jaxrs.reactive.client.MultipartService/mp-rest/url=http://localhost:${quarkus.http.port}
io.quarkus.ts.http.jaxrs.reactive.client.MultipartService/mp-rest/url=http://localhost:${quarkus.http.port}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import static org.hamcrest.CoreMatchers.equalTo;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.allOf;
Expand All @@ -9,6 +9,7 @@

import org.apache.http.HttpHeaders;
import org.apache.http.HttpStatus;
import org.hamcrest.CoreMatchers;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -57,6 +58,6 @@ private ValidatableResponse whenGet(String path) {
.get(BASE_PATH + path)
.then()
.statusCode(HttpStatus.SC_OK)
.body(is(HttpCachingResource.RESPONSE));
.body(CoreMatchers.is(HttpCachingResource.RESPONSE));
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import io.quarkus.test.scenarios.OpenShiftScenario;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import org.junit.jupiter.api.Tag;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive;
package io.quarkus.ts.http.jaxrs.reactive;

import io.quarkus.test.scenarios.OpenShiftScenario;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.client;
package io.quarkus.ts.http.jaxrs.reactive.client;

import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.containsStringIgnoringCase;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.jaxrs.reactive.json;
package io.quarkus.ts.http.jaxrs.reactive.json;

import io.quarkus.test.scenarios.OpenShiftScenario;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import java.io.InputStream;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.not;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.equalTo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import io.quarkus.test.scenarios.OpenShiftScenario;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.security.core;
package io.quarkus.ts.http.jaxrs;

import static io.restassured.RestAssured.given;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts;
package io.quarkus.ts.http.reactiveroutes;

import io.quarkus.vertx.web.Param;
import io.quarkus.vertx.web.Route;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts;
package io.quarkus.ts.http.reactiveroutes;

import io.quarkus.vertx.web.Route;
import io.quarkus.vertx.web.RouteBase;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.quarkus.ts.validation;
package io.quarkus.ts.http.reactiveroutes.validation;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import io.quarkus.ts.validation.annotations.Uppercase;
import io.quarkus.ts.http.reactiveroutes.validation.annotations.Uppercase;

public class Request {
@Size(min = 3, max = 3, message = "First code must have 3 characters")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.quarkus.ts.validation;
package io.quarkus.ts.http.reactiveroutes.validation;

import javax.validation.constraints.NotNull;

import io.quarkus.ts.validation.annotations.Uppercase;
import io.quarkus.ts.http.reactiveroutes.validation.annotations.Uppercase;

public class Response {
@NotNull(message = "id can't be null")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.validation;
package io.quarkus.ts.http.reactiveroutes.validation;

import javax.validation.Valid;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.quarkus.ts.validation;
package io.quarkus.ts.http.reactiveroutes.validation;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import io.quarkus.ts.validation.annotations.Uppercase;
import io.quarkus.ts.http.reactiveroutes.validation.annotations.Uppercase;
import io.quarkus.vertx.web.Param;
import io.quarkus.vertx.web.Route;
import io.quarkus.vertx.web.Route.HttpMethod;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.validation;
package io.quarkus.ts.http.reactiveroutes.validation;

import javax.validation.Valid;
import javax.validation.constraints.Size;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.validation.annotations;
package io.quarkus.ts.http.reactiveroutes.validation.annotations;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.validation.annotations;
package io.quarkus.ts.http.reactiveroutes.validation.annotations;

import javax.enterprise.context.ApplicationScoped;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts.validation.annotations;
package io.quarkus.ts.http.reactiveroutes.validation.annotations;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.ts;
package io.quarkus.ts.http.reactiveroutes;

import static io.restassured.RestAssured.given;

Expand Down
Loading

0 comments on commit 34906ae

Please sign in to comment.