Skip to content

Commit 562477f

Browse files
committed
CLOUDP-301911: Add preview changelog test
1 parent f525174 commit 562477f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+708817
-0
lines changed

tools/cli/test/data/changelog/new-api-preview-version/base/changelog.json

Lines changed: 15493 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"runDate": "2024-08-07", "runId": "20240807085043", "specRevision": "63cbfec3f6eeceb446c1d2641263b0628f04f450", "specRevisionShort": "63cbfec3f6e", "versions": ["2023-01-01", "2023-02-01", "2023-10-01", "2023-11-15", "2024-05-30"], "migration": 1}

tools/cli/test/data/changelog/new-api-preview-version/base/openapi-2023-01-01.json

Lines changed: 49326 additions & 0 deletions
Large diffs are not rendered by default.

tools/cli/test/data/changelog/new-api-preview-version/base/openapi-2023-02-01.json

Lines changed: 50035 additions & 0 deletions
Large diffs are not rendered by default.

tools/cli/test/data/changelog/new-api-preview-version/base/openapi-2023-10-01.json

Lines changed: 50030 additions & 0 deletions
Large diffs are not rendered by default.

tools/cli/test/data/changelog/new-api-preview-version/base/openapi-2023-11-15.json

Lines changed: 50754 additions & 0 deletions
Large diffs are not rendered by default.

tools/cli/test/data/changelog/new-api-preview-version/base/openapi-2024-05-30.json

Lines changed: 51894 additions & 0 deletions
Large diffs are not rendered by default.

tools/cli/test/data/changelog/new-api-preview-version/exemptions.yaml

Lines changed: 3425 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 364 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,364 @@
1+
[
2+
{
3+
"path": "/api/atlas/v2/groups/{groupId}/access",
4+
"httpMethod": "POST",
5+
"operationId": "addUserToProject",
6+
"tag": "Projects",
7+
"changes": [
8+
{
9+
"change": "endpoint added",
10+
"changeCode": "endpoint-added",
11+
"backwardCompatible": true
12+
}
13+
]
14+
},
15+
{
16+
"path": "/api/atlas/v2/groups/{groupId}/clusters",
17+
"httpMethod": "GET",
18+
"operationId": "listClusters",
19+
"tag": "Clusters",
20+
"changes": [
21+
{
22+
"change": "the 'backupEnabled' response's property default value 'false' was added",
23+
"changeCode": "response-property-default-value-added",
24+
"backwardCompatible": true
25+
},
26+
{
27+
"change": "the 'numShards' response's property default value '1.00' was removed",
28+
"changeCode": "response-property-default-value-removed",
29+
"backwardCompatible": true
30+
},
31+
{
32+
"change": "added the optional property 'results/items/replicationSpecs/items/regionConfigs' to the response",
33+
"changeCode": "response-optional-property-added",
34+
"backwardCompatible": true
35+
},
36+
{
37+
"change": "removed the optional properties 'results/items/autoScaling, results/items/mongoURI, results/items/mongoURIUpdated, results/items/mongoURIWithOptions, results/items/numShards, results/items/providerBackupEnabled, results/items/providerSettings, results/items/replicationFactor, results/items/replicationSpec, results/items/replicationSpecs/items/regionsConfig, results/items/srvAddress' from the response",
38+
"changeCode": "response-optional-property-removed",
39+
"backwardCompatible": true
40+
},
41+
{
42+
"change": "the response optional properties 'results/items/mongoDBVersion, results/items/replicationSpecs/items/id' became read-only",
43+
"changeCode": "response-optional-property-became-read-only",
44+
"backwardCompatible": true,
45+
"hideFromChangelog": true
46+
}
47+
]
48+
},
49+
{
50+
"path": "/api/atlas/v2/groups/{groupId}/clusters",
51+
"httpMethod": "POST",
52+
"operationId": "createCluster",
53+
"tag": "Clusters",
54+
"changes": [
55+
{
56+
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
57+
"changeCode": "request-property-min-set",
58+
"backwardCompatible": true
59+
},
60+
{
61+
"change": "the request optional property 'mongoDBVersion' became read-only",
62+
"changeCode": "request-optional-property-became-read-only",
63+
"backwardCompatible": true
64+
},
65+
{
66+
"change": "the request optional property 'replicationSpecs/items/id' became read-only",
67+
"changeCode": "request-optional-property-became-read-only",
68+
"backwardCompatible": true
69+
},
70+
{
71+
"change": "the 'backupEnabled' request property default value 'false' was added",
72+
"changeCode": "request-property-default-value-added",
73+
"backwardCompatible": true
74+
},
75+
{
76+
"change": "the 'numShards' request property default value '1.00' was removed",
77+
"changeCode": "request-property-default-value-removed",
78+
"backwardCompatible": true
79+
},
80+
{
81+
"change": "the 'backupEnabled' response's property default value 'false' was added",
82+
"changeCode": "response-property-default-value-added",
83+
"backwardCompatible": true
84+
},
85+
{
86+
"change": "the 'numShards' response's property default value '1.00' was removed",
87+
"changeCode": "response-property-default-value-removed",
88+
"backwardCompatible": true
89+
},
90+
{
91+
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
92+
"changeCode": "response-optional-property-added",
93+
"backwardCompatible": true
94+
},
95+
{
96+
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
97+
"changeCode": "response-optional-property-removed",
98+
"backwardCompatible": true
99+
},
100+
{
101+
"change": "removed the request properties 'autoScaling, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig'",
102+
"changeCode": "request-property-removed",
103+
"backwardCompatible": true
104+
},
105+
{
106+
"change": "added the new optional request property 'replicationSpecs/items/regionConfigs'",
107+
"changeCode": "new-optional-request-property",
108+
"backwardCompatible": true
109+
},
110+
{
111+
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
112+
"changeCode": "response-optional-property-became-read-only",
113+
"backwardCompatible": true,
114+
"hideFromChangelog": true
115+
}
116+
]
117+
},
118+
{
119+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
120+
"httpMethod": "GET",
121+
"operationId": "getCluster",
122+
"tag": "Clusters",
123+
"changes": [
124+
{
125+
"change": "the 'backupEnabled' response's property default value 'false' was added",
126+
"changeCode": "response-property-default-value-added",
127+
"backwardCompatible": true
128+
},
129+
{
130+
"change": "the 'numShards' response's property default value '1.00' was removed",
131+
"changeCode": "response-property-default-value-removed",
132+
"backwardCompatible": true
133+
},
134+
{
135+
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
136+
"changeCode": "response-optional-property-added",
137+
"backwardCompatible": true
138+
},
139+
{
140+
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
141+
"changeCode": "response-optional-property-removed",
142+
"backwardCompatible": true
143+
},
144+
{
145+
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
146+
"changeCode": "response-optional-property-became-read-only",
147+
"backwardCompatible": true,
148+
"hideFromChangelog": true
149+
}
150+
]
151+
},
152+
{
153+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
154+
"httpMethod": "PATCH",
155+
"operationId": "updateCluster",
156+
"tag": "Clusters",
157+
"changes": [
158+
{
159+
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
160+
"changeCode": "request-property-min-set",
161+
"backwardCompatible": true
162+
},
163+
{
164+
"change": "the request optional property 'mongoDBVersion' became read-only",
165+
"changeCode": "request-optional-property-became-read-only",
166+
"backwardCompatible": true
167+
},
168+
{
169+
"change": "the request optional property 'replicationSpecs/items/id' became read-only",
170+
"changeCode": "request-optional-property-became-read-only",
171+
"backwardCompatible": true
172+
},
173+
{
174+
"change": "the 'backupEnabled' request property default value 'false' was added",
175+
"changeCode": "request-property-default-value-added",
176+
"backwardCompatible": true
177+
},
178+
{
179+
"change": "the 'numShards' request property default value '1.00' was removed",
180+
"changeCode": "request-property-default-value-removed",
181+
"backwardCompatible": true
182+
},
183+
{
184+
"change": "the 'backupEnabled' response's property default value 'false' was added",
185+
"changeCode": "response-property-default-value-added",
186+
"backwardCompatible": true
187+
},
188+
{
189+
"change": "the 'numShards' response's property default value '1.00' was removed",
190+
"changeCode": "response-property-default-value-removed",
191+
"backwardCompatible": true
192+
},
193+
{
194+
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
195+
"changeCode": "response-optional-property-added",
196+
"backwardCompatible": true
197+
},
198+
{
199+
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
200+
"changeCode": "response-optional-property-removed",
201+
"backwardCompatible": true
202+
},
203+
{
204+
"change": "removed the request properties 'autoScaling, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig'",
205+
"changeCode": "request-property-removed",
206+
"backwardCompatible": true
207+
},
208+
{
209+
"change": "added the new optional request property 'replicationSpecs/items/regionConfigs'",
210+
"changeCode": "new-optional-request-property",
211+
"backwardCompatible": true
212+
},
213+
{
214+
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
215+
"changeCode": "response-optional-property-became-read-only",
216+
"backwardCompatible": true,
217+
"hideFromChangelog": true
218+
}
219+
]
220+
},
221+
{
222+
"path": "/api/atlas/v2/groups/{groupId}/streams",
223+
"httpMethod": "GET",
224+
"operationId": "listStreamInstances",
225+
"tag": "Streams",
226+
"changes": [
227+
{
228+
"change": "endpoint added",
229+
"changeCode": "endpoint-added",
230+
"backwardCompatible": true
231+
}
232+
]
233+
},
234+
{
235+
"path": "/api/atlas/v2/groups/{groupId}/streams",
236+
"httpMethod": "POST",
237+
"operationId": "createStreamInstance",
238+
"tag": "Streams",
239+
"changes": [
240+
{
241+
"change": "endpoint added",
242+
"changeCode": "endpoint-added",
243+
"backwardCompatible": true
244+
}
245+
]
246+
},
247+
{
248+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
249+
"httpMethod": "DELETE",
250+
"operationId": "deleteStreamInstance",
251+
"tag": "Streams",
252+
"changes": [
253+
{
254+
"change": "endpoint added",
255+
"changeCode": "endpoint-added",
256+
"backwardCompatible": true
257+
}
258+
]
259+
},
260+
{
261+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
262+
"httpMethod": "GET",
263+
"operationId": "getStreamInstance",
264+
"tag": "Streams",
265+
"changes": [
266+
{
267+
"change": "endpoint added",
268+
"changeCode": "endpoint-added",
269+
"backwardCompatible": true
270+
}
271+
]
272+
},
273+
{
274+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
275+
"httpMethod": "PATCH",
276+
"operationId": "updateStreamInstance",
277+
"tag": "Streams",
278+
"changes": [
279+
{
280+
"change": "endpoint added",
281+
"changeCode": "endpoint-added",
282+
"backwardCompatible": true
283+
}
284+
]
285+
},
286+
{
287+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs",
288+
"httpMethod": "GET",
289+
"operationId": "downloadStreamTenantAuditLogs",
290+
"tag": "Streams",
291+
"changes": [
292+
{
293+
"change": "endpoint added",
294+
"changeCode": "endpoint-added",
295+
"backwardCompatible": true
296+
}
297+
]
298+
},
299+
{
300+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections",
301+
"httpMethod": "GET",
302+
"operationId": "listStreamConnections",
303+
"tag": "Streams",
304+
"changes": [
305+
{
306+
"change": "endpoint added",
307+
"changeCode": "endpoint-added",
308+
"backwardCompatible": true
309+
}
310+
]
311+
},
312+
{
313+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections",
314+
"httpMethod": "POST",
315+
"operationId": "createStreamConnection",
316+
"tag": "Streams",
317+
"changes": [
318+
{
319+
"change": "endpoint added",
320+
"changeCode": "endpoint-added",
321+
"backwardCompatible": true
322+
}
323+
]
324+
},
325+
{
326+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
327+
"httpMethod": "DELETE",
328+
"operationId": "deleteStreamConnection",
329+
"tag": "Streams",
330+
"changes": [
331+
{
332+
"change": "endpoint added",
333+
"changeCode": "endpoint-added",
334+
"backwardCompatible": true
335+
}
336+
]
337+
},
338+
{
339+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
340+
"httpMethod": "GET",
341+
"operationId": "getStreamConnection",
342+
"tag": "Streams",
343+
"changes": [
344+
{
345+
"change": "endpoint added",
346+
"changeCode": "endpoint-added",
347+
"backwardCompatible": true
348+
}
349+
]
350+
},
351+
{
352+
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
353+
"httpMethod": "PATCH",
354+
"operationId": "updateStreamConnection",
355+
"tag": "Streams",
356+
"changes": [
357+
{
358+
"change": "endpoint added",
359+
"changeCode": "endpoint-added",
360+
"backwardCompatible": true
361+
}
362+
]
363+
}
364+
]

0 commit comments

Comments
 (0)