-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/benjamn/JSONSelection-compute_ou…
…tput_shape' into dylan/string-template-type-checking # Conflicts: # Cargo.lock # apollo-federation/Cargo.toml # apollo-federation/src/sources/connect/json_selection/apply_to.rs # apollo-federation/src/sources/connect/json_selection/methods/future.rs # apollo-federation/src/sources/connect/json_selection/methods/public.rs
- Loading branch information
Showing
20 changed files
with
400 additions
and
37 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1579,6 +1579,7 @@ mod quickstart_tests { | |
true, | ||
false, | ||
Some(vec![CONTENT_TYPE.to_string()]), | ||
None, | ||
) | ||
.await; | ||
|
||
|
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
1 change: 1 addition & 0 deletions
1
apollo-router/tests/samples/enterprise/connectors-debugging/README.md
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Example testing the connectors debugging extensions feature |
16 changes: 16 additions & 0 deletions
16
apollo-router/tests/samples/enterprise/connectors-debugging/configuration.yaml
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
include_subgraph_errors: | ||
all: true | ||
|
||
preview_connectors: | ||
debug_extensions: true | ||
subgraphs: | ||
connectors: | ||
sources: | ||
jsonPlaceholder: | ||
override_url: http://localhost:4007 | ||
|
||
telemetry: | ||
exporters: | ||
logging: | ||
stdout: | ||
format: text |
65 changes: 65 additions & 0 deletions
65
apollo-router/tests/samples/enterprise/connectors-debugging/http_snapshots.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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[ | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"path": "posts/1", | ||
"body": null, | ||
"headers": { | ||
"x-test-from": "client-value" | ||
} | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"content-type": ["application/json; charset=utf-8"], | ||
"date": ["Tue, 07 Jan 2025 18:34:52 GMT"] | ||
}, | ||
"body": { | ||
"userId": 1, | ||
"id": 1, | ||
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", | ||
"body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto" | ||
} | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"path": "users/1", | ||
"body": null, | ||
"headers": { | ||
"x-test-from": "client-value" | ||
} | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"content-type": ["application/json; charset=utf-8"], | ||
"date": ["Tue, 07 Jan 2025 18:34:52 GMT"] | ||
}, | ||
"body": { | ||
"id": 1, | ||
"name": "Leanne Graham", | ||
"username": "Bret", | ||
"email": "[email protected]", | ||
"address": { | ||
"street": "Kulas Light", | ||
"suite": "Apt. 556", | ||
"city": "Gwenborough", | ||
"zipcode": "92998-3874", | ||
"geo": { | ||
"lat": "-37.3159", | ||
"lng": "81.1496" | ||
} | ||
}, | ||
"phone": "1-770-736-8031 x56442", | ||
"website": "hildegard.org", | ||
"company": { | ||
"name": "Romaguera-Crona", | ||
"catchPhrase": "Multi-layered client-server neural-net", | ||
"bs": "harness real-time e-markets" | ||
} | ||
} | ||
} | ||
} | ||
] |
Oops, something went wrong.