Skip to content

Commit c2cd0da

Browse files
author
Keith Halsall
committed
Update file paths for the graphos workshop
1 parent 3580576 commit c2cd0da

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/publish-subgraph.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
--name products \
2828
--convert \
2929
--routing-url https://subgraph-products-j3nprurqka-ue.a.run.app \
30-
--schema ./products-schema.graphql
30+
--schema ./final/nosql-products/schema.graphql
3131
32-
- name: Rover Subgraph Publish Orders
33-
run: |
34-
rover subgraph publish ${{vars.ACTOR}}${{ env.GEN }}@current \
35-
--name orders \
36-
--routing-url https://subgraph-orders-j3nprurqka-ue.a.run.app \
37-
--schema ./orders-schema.graphql
32+
# - name: Rover Subgraph Publish Orders
33+
# run: |
34+
# rover subgraph publish ${{vars.ACTOR}}${{ env.GEN }}@current \
35+
# --name orders \
36+
# --routing-url https://subgraph-orders-j3nprurqka-ue.a.run.app \
37+
# --schema ./orders-schema.graphql
3838

3939
- name: Rover Subgraph Publish Customers
4040
run: |
4141
rover subgraph publish ${{vars.ACTOR}}${{ env.GEN }}@current \
4242
--name customers \
4343
--routing-url https://subgraph-customers-j3nprurqka-ue.a.run.app \
44-
--schema ./final/customers-schema.graphql
44+
--schema ./final/sql-customers/schema.graphql

.github/workflows/subgraph-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
run: |
2525
rover subgraph check ${{vars.ACTOR}}${{ env.GEN }}@current \
2626
--name products \
27-
--schema ./products-schema.graphql
27+
--schema ./final/nosql-products/schema.graphql
2828
2929
- name: Rover Subgraph Check Orders
3030
run: |
3131
rover subgraph check ${{vars.ACTOR}}${{ env.GEN }}@current \
3232
--name orders \
33-
--schema ./orders-schema.graphql
33+
--schema ./rest-orders/schema.graphql
3434
3535
- name: Rover Subgraph Check Customers
3636
run: |
3737
rover subgraph check ${{vars.ACTOR}}${{ env.GEN }}@current \
3838
--name customers \
39-
--schema ./final/customers-schema.graphql
39+
--schema ./final/sql-customers/schema.graphql

final/workshop-pq-manifest.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"format": "apollo-persisted-query-manifest",
3+
"version": 1,
4+
"operations": [
5+
{
6+
"id": "Users",
7+
"body": "query Users {\n users {\n firstName\n lastName\n email\n activeCart {\n items {\n colorway\n price\n size\n id\n }\n }\n }\n }",
8+
"name": "Users",
9+
"type": "query"
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)