Skip to content

Commit

Permalink
Merge pull request #8 from intuit/remove_json_converter
Browse files Browse the repository at this point in the history
remove jsonconverter code + naming alignment
  • Loading branch information
yaronTTkarni authored May 22, 2024
2 parents c68ed5b + f57df7b commit ac87f03
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 37 deletions.
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

0 comments on commit ac87f03

Please sign in to comment.