Skip to content

Commit 451e931

Browse files
committed
updated snaps
1 parent 3cd47af commit 451e931

1 file changed

Lines changed: 1 addition & 243 deletions

File tree

Lines changed: 1 addition & 243 deletions
Original file line numberDiff line numberDiff line change
@@ -1,247 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`service:check formatHumanReadable should have correct output with breaking and non-breaking changes 1`] = `
4-
"
5-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`gitContext\` was removed
6-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`schema\` was removed
7-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`tag\` was removed
8-
FAIL FIELD_CHANGED_TYPE \`Change.argNode\` changed type from \`NamedIntrospectionArg\` to \`NamedIntrospectionValue\`
9-
FAIL FIELD_REMOVED \`Change.affectedClients\` was removed
10-
FAIL FIELD_REMOVED \`NamedIntrospectionValue.printedType\` was removed
11-
FAIL TYPE_REMOVED \`NamedIntrospectionArg\` removed
12-
13-
PASS ARG_REMOVED \`ServiceMutation.registerOperations\` arg \`manifestVersion\` was removed
14-
PASS ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`historicParameters\` was removed
15-
PASS FIELD_ADDED \`Service.schemaNotificationChannels\` was added
16-
PASS FIELD_ADDED \`ServiceMutation.deregisterSchemaNotificationChannel\` was added
17-
PASS FIELD_ADDED \`ServiceMutation.registerSchemaNotificationChannel\` was added
18-
PASS FIELD_DEPRECATION_REMOVED \`AffectedClient.clientId\` is no longer deprecated
19-
PASS FIELD_DEPRECATION_REMOVED \`Change.description\` is no longer deprecated
20-
PASS FIELD_REMOVED \`AffectedClient.clientReferenceId\` was removed
21-
PASS FIELD_REMOVED \`Change.affectedClientIdVersionPairs\` was removed
22-
PASS FIELD_REMOVED \`Change.affectedClientReferenceIds\` was removed
23-
PASS FIELD_REMOVED \`SchemaDiff.numberOfCheckedOperations\` was removed
24-
25-
View full details at: https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z"
26-
`;
27-
28-
exports[`service:check formatHumanReadable should have correct output with only breaking changes 1`] = `
29-
"
30-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`gitContext\` was removed
31-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`schema\` was removed
32-
FAIL ARG_REMOVED \`ServiceMutation.uploadSchema\` arg \`tag\` was removed
33-
FAIL FIELD_CHANGED_TYPE \`Change.argNode\` changed type from \`NamedIntrospectionArg\` to \`NamedIntrospectionValue\`
34-
FAIL FIELD_REMOVED \`Change.affectedClients\` was removed
35-
FAIL FIELD_REMOVED \`NamedIntrospectionValue.printedType\` was removed
36-
FAIL TYPE_REMOVED \`NamedIntrospectionArg\` removed
37-
38-
View full details at: https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z"
39-
`;
40-
41-
exports[`service:check formatHumanReadable should have correct output with only non-breaking changes 1`] = `
42-
"
43-
No changes present between schemas
44-
45-
View full details at: https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z"
46-
`;
47-
48-
exports[`service:check integration federated should report composition errors correctly vanilla 1`] = `
49-
"
50-
Service Field Message
51-
──────── ─────── ────────────────────────────────────────────────────────────────────────────────────────
52-
reviews User.id marked @external but it does not have a matching field on on the base service (accounts)
53-
reviews User A @key selects id, but User.id could not be found
54-
accounts User A @key selects id, but User.id could not be found
55-
✔ Loading Apollo Project
56-
✖ Found 3 graph composition errors for service accounts on graph engine
57-
→ Federated service composition was unsuccessful. Please see the reasons below.
58-
Validating composed schema against tag master on graph engine
59-
Comparing schema changes
60-
Reporting result
61-
"
62-
`;
63-
64-
exports[`service:check integration federated should report composition success correctly vanilla 1`] = `
65-
" ✔ Loading Apollo Project
66-
✔ Found 0 graph composition errors for service accounts on graph engine
67-
⠙ Validating composed schema against tag master on graph engine
68-
Comparing schema changes
69-
Reporting result
70-
✔ Loading Apollo Project
71-
✔ Found 0 graph composition errors for service accounts on graph engine
72-
⠹ Validating composed schema against tag master on graph engine
73-
Comparing schema changes
74-
Reporting result
75-
✔ Loading Apollo Project
76-
✔ Found 0 graph composition errors for service accounts on graph engine
77-
⠸ Validating composed schema against tag master on graph engine
78-
Comparing schema changes
79-
Reporting result
80-
✔ Loading Apollo Project
81-
✔ Found 0 graph composition errors for service accounts on graph engine
82-
⠼ Validating composed schema against tag master on graph engine
83-
→ Validating schema
84-
Comparing schema changes
85-
Reporting result
86-
✔ Loading Apollo Project
87-
✔ Found 0 graph composition errors for service accounts on graph engine
88-
✔ Validated composed schema against tag master on graph engine
89-
✔ Compared 1 schema change against 0 operations over the last 548 days
90-
✔ Found 0 breaking changes and 1 compatible change
91-
92-
PASS ARG_CHANGED_TYPE \`Query.launches\` argument \`after\` has changed type from \`String\` to \`String!\`
93-
94-
View full details at: https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc
95-
"
96-
`;
97-
98-
exports[`service:check integration non-federated should report traffic errors correctly --json 1`] = `
99-
"{
100-
\\"targetUrl\\": \\"https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc\\",
101-
\\"changes\\": [
102-
{
103-
\\"severity\\": \\"FAILURE\\",
104-
\\"code\\": \\"ARG_CHANGED_TYPE\\",
105-
\\"description\\": \\"\`Query.launches\` argument \`after\` has changed type from \`String\` to \`String!\`\\"
106-
}
107-
],
108-
\\"validationConfig\\": {
109-
\\"from\\": \\"-47347200\\",
110-
\\"to\\": \\"-0\\",
111-
\\"queryCountThreshold\\": 1,
112-
\\"queryCountThresholdPercentage\\": 0
113-
}
114-
}
115-
"
116-
`;
117-
118-
exports[`service:check integration non-federated should report traffic errors correctly --markdown 1`] = `
119-
"
120-
### Apollo Service Check
121-
🔄 Validated your local schema against schema tag \`master\` on graph \`engine\`.
122-
🔢 Compared **1 schema change** against **0 operations** seen over the **last 548 days**.
123-
❌ Found **1 breaking change** that would affect **0 operations** across **0 clients**
124-
125-
🔗 [View your service check details](https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc).
126-
127-
"
128-
`;
129-
130-
exports[`service:check integration non-federated should report traffic errors correctly vanilla 1`] = `
131-
" ✔ Loading Apollo Project
132-
⠙ Validating schema against tag master on graph engine
133-
→ Resolving schema
134-
Comparing schema changes
135-
Reporting result
136-
✔ Loading Apollo Project
137-
⠹ Validating schema against tag master on graph engine
138-
→ Validating schema
139-
Comparing schema changes
140-
Reporting result
141-
✔ Loading Apollo Project
142-
⠸ Validating schema against tag master on graph engine
143-
→ Validating schema
144-
Comparing schema changes
145-
Reporting result
146-
✔ Loading Apollo Project
147-
✔ Validated schema against tag master on graph engine
148-
✔ Compared 1 schema change against 0 operations over the last 548 days
149-
✖ Found 1 breaking change and 0 compatible changes
150-
→ breaking changes found
151-
152-
FAIL ARG_CHANGED_TYPE \`Query.launches\` argument \`after\` has changed type from \`String\` to \`String!\`
153-
154-
View full details at: https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc
155-
"
156-
`;
157-
158-
exports[`service:check integration non-federated should report traffic non-errors correctly --json 1`] = `
159-
"{
160-
\\"targetUrl\\": \\"https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc\\",
161-
\\"changes\\": [
162-
{
163-
\\"severity\\": \\"NOTICE\\",
164-
\\"code\\": \\"ARG_CHANGED_TYPE\\",
165-
\\"description\\": \\"\`Query.launches\` argument \`after\` has changed type from \`String\` to \`String!\`\\"
166-
}
167-
],
168-
\\"validationConfig\\": {
169-
\\"from\\": \\"-47347200\\",
170-
\\"to\\": \\"-0\\",
171-
\\"queryCountThreshold\\": 1,
172-
\\"queryCountThresholdPercentage\\": 0
173-
}
174-
}
175-
"
176-
`;
177-
178-
exports[`service:check integration non-federated should report traffic non-errors correctly --markdown 1`] = `
179-
"
180-
### Apollo Service Check
181-
🔄 Validated your local schema against schema tag \`master\` on graph \`engine\`.
182-
🔢 Compared **1 schema change** against **0 operations** seen over the **last 548 days**.
183-
✅ Found **no breaking changes**.
184-
185-
🔗 [View your service check details](https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc).
186-
187-
"
188-
`;
189-
190-
exports[`service:check integration non-federated should report traffic non-errors correctly vanilla 1`] = `
191-
" ✔ Loading Apollo Project
192-
⠙ Validating schema against tag master on graph engine
193-
→ Resolving schema
194-
Comparing schema changes
195-
Reporting result
196-
✔ Loading Apollo Project
197-
⠹ Validating schema against tag master on graph engine
198-
→ Validating schema
199-
Comparing schema changes
200-
Reporting result
201-
✔ Loading Apollo Project
202-
✔ Validated schema against tag master on graph engine
203-
✔ Compared 1 schema change against 0 operations over the last 548 days
204-
✔ Found 0 breaking changes and 1 compatible change
205-
206-
PASS ARG_CHANGED_TYPE \`Query.launches\` argument \`after\` has changed type from \`String\` to \`String!\`
207-
208-
View full details at: https://engine-staging.apollographql.com/service/justin-fullstack-tutorial/check/3acd7765-61b2-4f1a-9227-8b288e42bfdc
209-
"
210-
`;
211-
212-
exports[`service:check markdown formatting is correct with breaking changes 1`] = `
213-
"
214-
### Apollo Service Check
215-
🔄 Validated your local schema against schema tag \`staging\` on graph \`engine\`.
216-
🔢 Compared **18 schema changes** against **100 operations** seen over the **last 24 hours**.
217-
❌ Found **7 breaking changes** that would affect **3 operations** across **2 clients**
218-
219-
🔗 [View your service check details](https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z).
220-
"
221-
`;
222-
223-
exports[`service:check markdown formatting is correct with breaking changes 2`] = `
224-
"
225-
### Apollo Service Check
226-
🔄 Validated your local schema against schema tag \`staging\` on graph \`engine\`.
227-
🔢 Compared **1 schema change** against **1 operation** seen over the **last 24 hours**.
228-
❌ Found **1 breaking change** that would affect **1 operation** across **1 client**
229-
230-
🔗 [View your service check details](https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z).
231-
"
232-
`;
233-
234-
exports[`service:check markdown formatting is correct with no breaking changes 1`] = `
235-
"
236-
### Apollo Service Check
237-
🔄 Validated your local schema against schema tag \`staging\` on graph \`engine\`.
238-
🔢 Compared **0 schema changes** against **100 operations** seen over the **last 24 hours**.
239-
✅ Found **no breaking changes**.
240-
241-
🔗 [View your service check details](https://engine-dev.apollographql.com/service/engine/checks?schemaTag=Detached%3A%20d664f715645c5f0bb5ad4f2260cd6cb8d19bbc68&schemaTagId=f9f68e7e-1b5f-4eab-a3da-1fd8cd681111&from=2019-03-26T22%3A25%3A12.887Z).
242-
"
243-
`;
244-
2453
exports[`service:list integration should display non federated message for a non federated service vanilla 1`] = `
2464
"Loading Apollo Project [started]
2475
Loading Apollo Project [completed]
@@ -263,6 +21,6 @@ inventory http://localhost:4002/graphql 16 May 2019 (a month ago)
26321
products http://localhost:4003/graphql 16 May 2019 (a month ago)
26422
reviews http://localhost:4004/graphql 16 May 2019 (a month ago)
26523
266-
View full details at: https://engine-staging.apollographql.com/service/engine/service-list
24+
View full details at: https://engine-staging.apollographql.com/graph/engine/service-list
26725
"
26826
`;

0 commit comments

Comments
 (0)