Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove jsonconverter code + naming alignment #8

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/intuit/gqlex/common/SearchContext.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.intuit.gqlex.common;

import com.intuit.gqlex.gxpath.selector.SearchPathElement;
import com.intuit.gqlex.gqlxpath.selector.SearchPathElement;

import java.util.LinkedList;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/intuit/gqlex/eXtendGqlFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.GqlPayloadLoader;
import com.intuit.gqlex.common.RawPayload;
import com.intuit.gqlex.gxpath.selector.SelectorFacade;
import com.intuit.gqlex.gqlxpath.selector.SelectorFacade;
import com.intuit.gqlex.transformer.TransformBuilder;
import com.intuit.gqlex.transformer.TransformExecutor;
import com.intuit.gqlex.gxpath.syntax.SyntaxPath;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxPath;
import graphql.com.google.common.base.Preconditions;
import org.json.JSONArray;
import org.json.simple.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

public class GqlSelectionSyntaxException extends RuntimeException {
private final String message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

public class SearchElementConstants {
public static final String DOUBLE_SLASH = "//";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.common.GqlNode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.TuneableSearchData;
import com.intuit.gqlex.gxpath.syntax.SyntaxPath;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxPath;
import graphql.com.google.common.base.Preconditions;
import graphql.com.google.common.base.Strings;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.DocumentElementType;
import graphql.com.google.common.base.Preconditions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import java.text.MessageFormat;
import java.util.LinkedList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import graphql.com.google.common.base.Preconditions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

public class SelectionRange {
private int rangeStart=0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.gxpath.syntax.SyntaxPath;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxPath;
import com.intuit.gqlex.traversal.GqlTraversal;
import graphql.com.google.common.base.Preconditions;
import graphql.com.google.common.base.Strings;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intuit.gqlex.gxpath.syntax;
package com.intuit.gqlex.gqlxpath.syntax;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.gxpath.selector.SelectionRange;
import com.intuit.gqlex.gqlxpath.selector.SelectionRange;
import graphql.com.google.common.base.Preconditions;

import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.intuit.gqlex.gxpath.syntax;
package com.intuit.gqlex.gqlxpath.syntax;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.gxpath.selector.GqlSelectionSyntaxException;
import com.intuit.gqlex.gxpath.selector.SelectionRange;
import com.intuit.gqlex.gqlxpath.selector.GqlSelectionSyntaxException;
import com.intuit.gqlex.gqlxpath.selector.SelectionRange;
import graphql.com.google.common.base.Preconditions;
import graphql.com.google.common.base.Strings;
import graphql.com.google.common.collect.ImmutableList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intuit.gqlex.gxpath.syntax;
package com.intuit.gqlex.gqlxpath.syntax;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.gxpath.selector.SearchElementConstants;
import com.intuit.gqlex.gqlxpath.selector.SearchElementConstants;
import graphql.com.google.common.base.Preconditions;
import graphql.com.google.common.base.Strings;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.intuit.gqlex.transformer;

import com.intuit.gqlex.gxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxBuilder;
import graphql.com.google.common.base.Preconditions;
import graphql.com.google.common.base.Strings;
import graphql.language.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.intuit.gqlex.transformer;

import com.intuit.gqlex.gxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxBuilder;
import graphql.language.Node;

import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.RawPayload;
import com.intuit.gqlex.common.eXtendGqlWriter;
import com.intuit.gqlex.gxpath.selector.SelectorFacade;
import com.intuit.gqlex.gxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.gqlxpath.selector.SelectorFacade;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.traversal.GqlTraversal;
import graphql.com.google.common.base.Strings;
import graphql.language.Node;
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/intuit/gqlex/eXtendGqlFacadeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.RawPayload;
import com.intuit.gqlex.transformer.TransformBuilder;
import com.intuit.gqlex.gxpath.syntax.SyntaxPath;
import com.intuit.gqlex.gxpath.syntax.SyntaxPathElement;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxPath;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxPathElement;
import graphql.language.Field;
import org.json.JSONArray;
import org.json.simple.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.DocumentElementType;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.intuit.gqlex.gxpath.selector;
package com.intuit.gqlex.gqlxpath.selector;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.eXtendGqlWriter;
import com.intuit.gqlex.transformer.TransformUtils;
import com.intuit.gqlex.gxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxBuilder;
import graphql.language.*;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.intuit.gqlex.gxpath.syntax;
package com.intuit.gqlex.gqlxpath.syntax;

import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.gxpath.selector.GqlSelectionSyntaxException;
import com.intuit.gqlex.gqlxpath.selector.GqlSelectionSyntaxException;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.intuit.gqlex.gxpath.syntax;
package com.intuit.gqlex.gqlxpath.syntax;

import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.intuit.gqlex.transformer;

import com.intuit.gqlex.gxpath.syntax.SyntaxBuilder;
import com.intuit.gqlex.gqlxpath.syntax.SyntaxBuilder;
import graphql.language.Field;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.RawPayload;
import com.intuit.gqlex.gxpath.selector.SelectorFacade;
import com.intuit.gqlex.gqlxpath.selector.SelectorFacade;
import graphql.language.Field;
import graphql.language.InlineFragment;
import graphql.language.TypeName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.intuit.gqlex.common.GqlNodeContext;
import com.intuit.gqlex.common.DocumentElementType;
import com.intuit.gqlex.common.eXtendGqlWriter;
import com.intuit.gqlex.gxpath.selector.SelectorFacade;
import com.intuit.gqlex.gqlxpath.selector.SelectorFacade;
import graphql.language.*;
import org.junit.jupiter.api.Test;

Expand Down
Loading