Skip to content

Commit

Permalink
Reorganize packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Nov 16, 2021
1 parent 076db58 commit cb91739
Show file tree
Hide file tree
Showing 97 changed files with 176 additions and 183 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.vertx;
package io.smallrye.graphql.client.vertx.dynamic;

import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -9,10 +9,10 @@

import io.smallrye.graphql.client.Request;
import io.smallrye.graphql.client.Response;
import io.smallrye.graphql.client.ResponseReader;
import io.smallrye.graphql.client.core.Document;
import io.smallrye.graphql.client.dynamic.RequestImpl;
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient;
import io.smallrye.graphql.client.impl.RequestImpl;
import io.smallrye.graphql.client.impl.ResponseReader;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.vertx.core.MultiMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.smallrye.graphql.client.dynamic.vertx;
package io.smallrye.graphql.client.vertx.dynamic;

import io.smallrye.graphql.client.ErrorMessageProvider;
import io.smallrye.graphql.client.GraphQLClientConfiguration;
import io.smallrye.graphql.client.GraphQLClientsConfiguration;
import io.smallrye.graphql.client.SmallRyeGraphQLClientMessages;
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient;
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClientBuilder;
import io.smallrye.graphql.client.impl.ErrorMessageProvider;
import io.smallrye.graphql.client.impl.GraphQLClientConfiguration;
import io.smallrye.graphql.client.impl.GraphQLClientsConfiguration;
import io.smallrye.graphql.client.impl.SmallRyeGraphQLClientMessages;
import io.vertx.core.Context;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.typesafe.vertx;
package io.smallrye.graphql.client.vertx.typesafe;

import static java.nio.charset.StandardCharsets.UTF_8;

Expand All @@ -8,13 +8,13 @@
import org.eclipse.microprofile.config.Config;
import org.eclipse.microprofile.config.ConfigProvider;

import io.smallrye.graphql.client.impl.typesafe.reflection.MethodInvocation;
import io.smallrye.graphql.client.impl.typesafe.reflection.MethodResolver;
import io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo;
import io.smallrye.graphql.client.typesafe.api.AuthorizationHeader;
import io.smallrye.graphql.client.typesafe.api.GraphQLClientApi;
import io.smallrye.graphql.client.typesafe.api.GraphQLClientException;
import io.smallrye.graphql.client.typesafe.api.Header;
import io.smallrye.graphql.client.typesafe.impl.reflection.MethodInvocation;
import io.smallrye.graphql.client.typesafe.impl.reflection.MethodResolver;
import io.smallrye.graphql.client.typesafe.impl.reflection.TypeInfo;
import io.vertx.core.MultiMap;
import io.vertx.core.http.impl.headers.HeadersMultiMap;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package io.smallrye.graphql.client.typesafe.vertx;
package io.smallrye.graphql.client.vertx.typesafe;

import java.lang.reflect.Proxy;
import java.net.URI;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Collections;

import io.smallrye.graphql.client.ErrorMessageProvider;
import io.smallrye.graphql.client.GraphQLClientConfiguration;
import io.smallrye.graphql.client.GraphQLClientsConfiguration;
import io.smallrye.graphql.client.impl.ErrorMessageProvider;
import io.smallrye.graphql.client.impl.GraphQLClientConfiguration;
import io.smallrye.graphql.client.impl.GraphQLClientsConfiguration;
import io.smallrye.graphql.client.impl.typesafe.reflection.MethodInvocation;
import io.smallrye.graphql.client.typesafe.api.GraphQLClientApi;
import io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder;
import io.smallrye.graphql.client.typesafe.impl.reflection.MethodInvocation;
import io.vertx.core.Context;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.typesafe.vertx;
package io.smallrye.graphql.client.vertx.typesafe;

import java.math.BigDecimal;
import java.math.BigInteger;
Expand All @@ -24,12 +24,12 @@

import org.jboss.logging.Logger;

import io.smallrye.graphql.client.GraphQLClientConfiguration;
import io.smallrye.graphql.client.typesafe.impl.QueryBuilder;
import io.smallrye.graphql.client.typesafe.impl.ResultBuilder;
import io.smallrye.graphql.client.typesafe.impl.reflection.FieldInfo;
import io.smallrye.graphql.client.typesafe.impl.reflection.MethodInvocation;
import io.smallrye.graphql.client.typesafe.impl.reflection.TypeInfo;
import io.smallrye.graphql.client.impl.GraphQLClientConfiguration;
import io.smallrye.graphql.client.impl.typesafe.QueryBuilder;
import io.smallrye.graphql.client.impl.typesafe.ResultBuilder;
import io.smallrye.graphql.client.impl.typesafe.reflection.FieldInfo;
import io.smallrye.graphql.client.impl.typesafe.reflection.MethodInvocation;
import io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.vertx.core.Future;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
io.smallrye.graphql.client.dynamic.vertx.VertxDynamicGraphQLClientBuilder
io.smallrye.graphql.client.vertx.dynamic.VertxDynamicGraphQLClientBuilder
Original file line number Diff line number Diff line change
@@ -1 +1 @@
io.smallrye.graphql.client.typesafe.vertx.VertxTypesafeGraphQLClientBuilder
io.smallrye.graphql.client.vertx.typesafe.VertxTypesafeGraphQLClientBuilder
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.junit.jupiter.api.Test;

import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClientBuilder;
import io.smallrye.graphql.client.dynamic.vertx.VertxDynamicGraphQLClientBuilder;
import io.smallrye.graphql.client.vertx.dynamic.VertxDynamicGraphQLClientBuilder;

public class VertxDynamicGraphQLClientBuilderTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

public class DefaultErrorMessageProvider implements ErrorMessageProvider {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.util.ServiceLoader;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.util.ArrayList;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic;
package io.smallrye.graphql.client.impl;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic;
package io.smallrye.graphql.client.impl;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic;
package io.smallrye.graphql.client.impl;

import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -13,9 +13,8 @@

import io.smallrye.graphql.client.GraphQLError;
import io.smallrye.graphql.client.Response;
import io.smallrye.graphql.client.SmallRyeGraphQLClientMessages;
import io.smallrye.graphql.client.typesafe.impl.json.JsonReader;
import io.smallrye.graphql.client.typesafe.impl.reflection.TypeInfo;
import io.smallrye.graphql.client.impl.typesafe.json.JsonReader;
import io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo;

public class ResponseImpl implements Response {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.io.StringReader;
import java.util.ArrayList;
Expand All @@ -15,8 +15,7 @@
import javax.json.JsonString;
import javax.json.JsonValue;

import io.smallrye.graphql.client.dynamic.GraphQLErrorImpl;
import io.smallrye.graphql.client.dynamic.ResponseImpl;
import io.smallrye.graphql.client.GraphQLError;

public class ResponseReader {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import javax.json.JsonValue;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.util.NoSuchElementException;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client;
package io.smallrye.graphql.client.impl;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.Argument;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FragmentReference;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.InputObjectField;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.VariableType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import static io.smallrye.graphql.client.dynamic.core.utils.ValueFormatter.format;
import static io.smallrye.graphql.client.impl.core.utils.ValueFormatter.format;

public class ArgumentImpl extends AbstractArgument {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FragmentOrOperation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

public class EnumImpl extends AbstractEnum {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FieldOrFragment;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FieldOrFragment;
import io.smallrye.graphql.client.core.exceptions.BuildException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.exceptions.BuildException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FieldOrFragment;
import io.smallrye.graphql.client.core.exceptions.BuildException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.dynamic.core.utils.ValueFormatter;
import io.smallrye.graphql.client.impl.core.utils.ValueFormatter;

public class InputObjectFieldImpl extends AbstractInputObjectField {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

public class InputObjectImpl extends AbstractInputObject {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import io.smallrye.graphql.client.core.FieldOrFragment;
import io.smallrye.graphql.client.core.exceptions.BuildException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

import static io.smallrye.graphql.client.dynamic.core.utils.ValueFormatter.format;
import static io.smallrye.graphql.client.impl.core.utils.ValueFormatter.format;

public class VariableImpl extends AbstractVariable {
@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.core;
package io.smallrye.graphql.client.impl.core;

public class VariableTypeImpl extends AbstractVariableType {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.smallrye.graphql.client.dynamic.core.utils;
package io.smallrye.graphql.client.impl.core.utils;

import java.lang.reflect.Array;
import java.time.LocalDate;

import io.smallrye.graphql.client.core.exceptions.BuildException;
import io.smallrye.graphql.client.dynamic.core.EnumImpl;
import io.smallrye.graphql.client.dynamic.core.InputObjectImpl;
import io.smallrye.graphql.client.dynamic.core.VariableImpl;
import io.smallrye.graphql.client.impl.core.EnumImpl;
import io.smallrye.graphql.client.impl.core.InputObjectImpl;
import io.smallrye.graphql.client.impl.core.VariableImpl;

public class ValueFormatter {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.smallrye.graphql.client.dynamic.cdi;
package io.smallrye.graphql.client.impl.dynamic.cdi;

import java.util.HashMap;
import java.util.Map;
Expand All @@ -12,9 +12,9 @@
import javax.enterprise.inject.spi.InjectionPoint;

import io.smallrye.graphql.client.GraphQLClient;
import io.smallrye.graphql.client.GraphQLClientsConfiguration;
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient;
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClientBuilder;
import io.smallrye.graphql.client.impl.GraphQLClientsConfiguration;

@ApplicationScoped
public class NamedDynamicClients {
Expand Down
Loading

0 comments on commit cb91739

Please sign in to comment.