Skip to content

Commit 8908a18

Browse files
authored
chore: switch to stepzen-chester for example endpoints (#64)
1 parent 3d3fc60 commit 8908a18

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

reshape/fields/starwars/index.graphql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Imported by
2-
# stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql --name=starwars
2+
# stepzen import graphql https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/graphql --name=starwars
33
#
44
enum Episode {
55
"Released in 1977."
@@ -61,7 +61,7 @@ executing the query’s top level selection set with the `Query` root object typ
6161
type Query {
6262
droid("id of the droid" id: ID!): Droid
6363
@graphql(
64-
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
64+
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
6565
)
6666
hero(
6767
"""
@@ -71,10 +71,10 @@ type Query {
7171
episode: Episode
7272
): Character
7373
@graphql(
74-
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
74+
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
7575
)
7676
human("id of the human" id: ID!): Human
7777
@graphql(
78-
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
78+
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
7979
)
8080
}

reshape/subset/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## `@graphql`
44

55
[`starwars.graphql`](starwars.graphql) is a strict subset of the schema exposed by the example endpoint
6-
`https://chester.stepzen.net/examples/starwars/__graphql` demonstrating that there's no need
6+
`https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql` demonstrating that there's no need
77
to include all the types and fields of the backend endpoint.
88

99
In this case only information about human characters (type `Human`) is exposed
@@ -12,7 +12,7 @@ through the root operation type field `Query.human`.
1212
## `@rest`
1313

1414
[`version.graphql`](version.graphql) is a strict subset of a schema that matches the StepZen
15-
service version REST API `https://account.stepzen.net/version`.
15+
service version REST API `https://account.domain/version`.
1616

1717
A GraphQL type matching the **full** REST API is:
1818

reshape/subset/starwars.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Based upon an import generated by
2-
# stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql
2+
# stepzen import graphql https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql
33
#
44
# and then manually subsetted to remove
55
#
@@ -40,6 +40,6 @@ type Human implements Character {
4040
type Query {
4141
human("id of the human" id: ID!): Human
4242
@graphql(
43-
endpoint: "https://chester.stepzen.net/examples/starwars/__graphql"
43+
endpoint: "https://stepzen-chester.us-east-a.ibm.stepzen.net/examples/starwars/__graphql"
4444
)
4545
}

0 commit comments

Comments
 (0)