Skip to content

Commit

Permalink
Rename Rust-based to Native
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Aug 15, 2024
1 parent c6f5483 commit 6196b8f
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ This repository contains a set of tests and a tool to evaluate and compare the c

<!-- gateways:start -->

| Gateway | Compatibility | Test Cases | Test Suites |
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [GraphQL Mesh](https://the-guild.dev/graphql/mesh) | 100.00% | 🟢 166 | 🟢 40 |
| [Apollo Router](https://www.apollographql.com/) | 99.40% | 🟢 165 ❌ 1 | 🟢 39 ❌ 1 |
| [Apollo Gateway](https://www.apollographql.com/) | 98.80% | 🟢 164 ❌ 2 | 🟢 38 ❌ 2 |
| [Apollo Router (Rust-based QP)](https://www.apollographql.com/) | 95.78% | 🟢 159 ❌ 7 | 🟢 37 ❌ 3 |
| [Cosmo Router](https://wundergraph.com) | 64.46% | 🟢 107 ❌ 59 | 🟢 19 ❌ 21 |
| [Grafbase Gateway](https://grafbase.com) | 45.78% | 🟢 76 ❌ 90 | 🟢 13 ❌ 27 |
| Gateway | Compatibility | Test Cases | Test Suites |
| :---------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [GraphQL Mesh](https://the-guild.dev/graphql/mesh) | 100.00% | 🟢 166 | 🟢 40 |
| [Apollo Router](https://www.apollographql.com/) | 99.40% | 🟢 165 ❌ 1 | 🟢 39 ❌ 1 |
| [Apollo Gateway](https://www.apollographql.com/) | 98.80% | 🟢 164 ❌ 2 | 🟢 38 ❌ 2 |
| [Apollo Router (native QP)](https://www.apollographql.com/) | 95.78% | 🟢 159 ❌ 7 | 🟢 37 ❌ 3 |
| [Cosmo Router](https://wundergraph.com) | 64.46% | 🟢 107 ❌ 59 | 🟢 19 ❌ 21 |
| [Grafbase Gateway](https://grafbase.com) | 45.78% | 🟢 76 ❌ 90 | 🟢 13 ❌ 27 |

<!-- gateways:end -->

Expand Down
20 changes: 10 additions & 10 deletions REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

## Summary

| Gateway | Compatibility | Test Cases | Test Suites |
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [GraphQL Mesh](https://the-guild.dev/graphql/mesh) | 100.00% | 🟢 166 | 🟢 40 |
| [Apollo Router](https://www.apollographql.com/) | 99.40% | 🟢 165 ❌ 1 | 🟢 39 ❌ 1 |
| [Apollo Gateway](https://www.apollographql.com/) | 98.80% | 🟢 164 ❌ 2 | 🟢 38 ❌ 2 |
| [Apollo Router (Rust-based QP)](https://www.apollographql.com/) | 95.78% | 🟢 159 ❌ 7 | 🟢 37 ❌ 3 |
| [Cosmo Router](https://wundergraph.com) | 64.46% | 🟢 107 ❌ 59 | 🟢 19 ❌ 21 |
| [Grafbase Gateway](https://grafbase.com) | 45.78% | 🟢 76 ❌ 90 | 🟢 13 ❌ 27 |
| Gateway | Compatibility | Test Cases | Test Suites |
| :---------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [GraphQL Mesh](https://the-guild.dev/graphql/mesh) | 100.00% | 🟢 166 | 🟢 40 |
| [Apollo Router](https://www.apollographql.com/) | 99.40% | 🟢 165 ❌ 1 | 🟢 39 ❌ 1 |
| [Apollo Gateway](https://www.apollographql.com/) | 98.80% | 🟢 164 ❌ 2 | 🟢 38 ❌ 2 |
| [Apollo Router (native QP)](https://www.apollographql.com/) | 95.78% | 🟢 159 ❌ 7 | 🟢 37 ❌ 3 |
| [Cosmo Router](https://wundergraph.com) | 64.46% | 🟢 107 ❌ 59 | 🟢 19 ❌ 21 |
| [Grafbase Gateway](https://grafbase.com) | 45.78% | 🟢 76 ❌ 90 | 🟢 13 ❌ 27 |

## Detailed Results

Expand Down Expand Up @@ -290,9 +290,9 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<pre>🟢🟢🟢🟢🟢🟢🟢🟢</pre>
</details>

<a id="router-new"></a>
<a id="router-native"></a>

### Apollo Router (Rust-based QP)
### Apollo Router (native QP)

- [Repository](https://github.com/apollographql/router)
- [Website](https://www.apollographql.com/)
Expand Down
2 changes: 1 addition & 1 deletion gateways/mesh/install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# It's just to install dependencies and make it ready for `run.sh` script
npx --yes @graphql-mesh/[email protected].0 --help
npx --yes @graphql-mesh/[email protected].1 --help
2 changes: 1 addition & 1 deletion gateways/mesh/run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
npm start supergraph -- --cwd ./gateways/mesh --test $1
npx --yes @graphql-mesh/[email protected].0 supergraph supergraph.graphql --port 4000 --fork 1
npx --yes @graphql-mesh/[email protected].1 supergraph supergraph.graphql --port 4000 --fork 1
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Apollo Router (Rust-based QP)",
"name": "Apollo Router (native QP)",
"repository": "https://github.com/apollographql/router",
"website": "https://www.apollographql.com/",
"graphql": "http://127.0.0.1:4000/",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions gateways/router-native/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm start supergraph -- --cwd ./gateways/router-native --test $1
./router --supergraph supergraph.graphql --config router.yaml
2 changes: 0 additions & 2 deletions gateways/router-new/run.sh

This file was deleted.

6 changes: 3 additions & 3 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ <h2 class="text-gray-500 text-lg md:text-xl">
<a
href="https://www.apollographql.com/"
class="hover:underline"
title="Visit Apollo Router (Rust-based QP) website"
title="Visit Apollo Router (native QP) website"
>
Apollo Router (Rust-based QP)
Apollo Router (native QP)
</a>
</td>
<td class="p-4 align-middle font-semibold">95.78%</td>
Expand All @@ -312,7 +312,7 @@ <h2 class="text-gray-500 text-lg md:text-xl">
</td>
<td class="p-4 align-middle">
<a
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#router-new"
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#router-native"
class="text-sky-700 hover:underline"
>View report</a
>
Expand Down

0 comments on commit 6196b8f

Please sign in to comment.