forked from xlibb/graphql-federation-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
749 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 44 additions & 1 deletion
45
...equest_responses/responses/mutation_with_query_two_subgraph_services_to_three_levels.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,44 @@ | ||
{"data":{"addMission":{"id":15, "designation":"Apollo 17", "crew":[{"id":6, "name":"Eugene Cernan", "missions":[{"id":8, "designation":"Apollo 10"}, {"id":15, "designation":"Apollo 17"}]}, {"id":13, "name":"Ronald Evans", "missions":[{"id":15, "designation":"Apollo 17"}]}, {"id":24, "name":"Harrison Schmitt", "missions":[{"id":15, "designation":"Apollo 17"}]}]}}} | ||
{ | ||
"data": { | ||
"addMission": { | ||
"id": 15, | ||
"designation": "Apollo 17", | ||
"crew": [ | ||
{ | ||
"id": 6, | ||
"name": "Eugene Cernan", | ||
"missions": [ | ||
{ | ||
"id": 8, | ||
"designation": "Apollo 10" | ||
}, | ||
{ | ||
"id": 15, | ||
"designation": "Apollo 17" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 13, | ||
"name": "Ronald Evans", | ||
"missions": [ | ||
{ | ||
"id": 15, | ||
"designation": "Apollo 17" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 24, | ||
"name": "Harrison Schmitt", | ||
"missions": [ | ||
{ | ||
"id": 15, | ||
"designation": "Apollo 17" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
9 changes: 8 additions & 1 deletion
9
native/src/test/resources/sample_request_responses/responses/query_one_subgraph_service.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
{"data":{"astronaut":{"id":1, "name":"Buzz Aldrin"}}} | ||
{ | ||
"data": { | ||
"astronaut": { | ||
"id": 1, | ||
"name": "Buzz Aldrin" | ||
} | ||
} | ||
} |
23 changes: 22 additions & 1 deletion
23
...ve/src/test/resources/sample_request_responses/responses/query_two_subgraph_services.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
{"data":{"mission":{"id":1, "designation":"Apollo 1", "crew":[{"id":14, "name":"Gus Grissom"}, {"id":30, "name":"Ed White"}, {"id":7, "name":"Roger B. Chaffee"}]}}} | ||
{ | ||
"data": { | ||
"mission": { | ||
"id": 1, | ||
"designation": "Apollo 1", | ||
"crew": [ | ||
{ | ||
"id": 14, | ||
"name": "Gus Grissom" | ||
}, | ||
{ | ||
"id": 30, | ||
"name": "Ed White" | ||
}, | ||
{ | ||
"id": 7, | ||
"name": "Roger B. Chaffee" | ||
} | ||
] | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
native/src/test/resources/sample_subgraph_services/astronaut_service/Ballerina.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[package] | ||
org = "graphql_tool_test" | ||
org = "federation_gateway_test" | ||
name = "astronaut_service" | ||
version = "0.1.0" |
2 changes: 1 addition & 1 deletion
2
native/src/test/resources/sample_subgraph_services/missions_service/Ballerina.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[package] | ||
org = "graphql_tool_test" | ||
org = "federation_gateway_test" | ||
name = "missions_service" | ||
version = "0.1.0" |
Oops, something went wrong.