Skip to content

Commit e38cdfa

Browse files
CLOUDP-304938: Merge conflict
2 parents 33da4b1 + f7ddc75 commit e38cdfa

File tree

94 files changed

+161595
-6034
lines changed

Some content is hidden

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

94 files changed

+161595
-6034
lines changed

.github/scripts/branded_preview.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ while IFS= read -r version; do
1616
versions+=("$version")
1717
done < <(jq -r '.[]' versions.json)
1818

19-
all_urls=(
20-
"https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2.json"
21-
"https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2.yaml"
22-
)
19+
all_urls=()
2320

2421
# Fetch and append file URLs from each version
2522
for version in "${versions[@]}"; do
23+
if [[ "${version}" == *"private"* ]]; then
24+
all_urls+=("https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2/private/openapi-${version}.json")
25+
all_urls+=("https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2/private/openapi-${version}.yaml")
26+
continue
27+
fi
28+
2629
all_urls+=("https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2/openapi-${version}.json")
2730
all_urls+=("https://raw.githubusercontent.com/mongodb/openapi/${branch_name:?}/openapi/v2/openapi-${version}.yaml")
2831
done

.github/scripts/split_spec.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ foascli split -s openapi-foas.json --env "${target_env:?}" -o ./openapi/v2/opena
1313
foascli filter -s openapi-foas.json --env "${target_env:?}" -o ./openapi/v2.json --format all
1414

1515
# Moves the unfiltered OAS to the raw folder
16+
mkdir -p ./openapi/.raw
1617
mv -f "openapi-foas.json" "./openapi/.raw/v2.json"
1718
mv -f "openapi-foas.yaml" "./openapi/.raw/v2.yaml"
1819

.github/workflows/release-spec-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
default: 'dev'
1717
required: false
1818
schedule:
19-
- cron: '0 * * * 1-5' # Run every hour from Monday to Friday
19+
- cron: '0 */2 * * 1-5' # Run every 2 hours from Monday to Friday
2020
permissions:
2121
contents: write
2222
pull-requests: write

.github/workflows/spectral-lint.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ on:
66
paths:
77
- 'tools/spectral/**'
88
- 'openapi/**.yaml'
9-
- '.spectral.yaml'
10-
- 'ipa-spectral.yaml'
9+
- 'package.json'
1110
push:
1211
branches:
1312
- main
1413
paths:
1514
- 'tools/spectral/**'
1615
- 'openapi/**.yaml'
17-
- '.spectral.yaml'
18-
- 'ipa-spectral.yaml'
16+
- 'package.json'
1917

2018
jobs:
2119
spectral-lint:

changelog/changelog.json

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

changelog/changelog.yaml

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

changelog/internal/changelog-all.json

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

changelog/internal/changelog-all.yaml

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

changelog/internal/metadata.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"runDate": "2025-03-11",
3-
"specRevision": "9c739cc8a51f69b2bf5ffc8178fd1d28b63bae65",
4-
"specRevisionShort": "9c739cc8a51",
2+
"runDate": "2025-03-13",
3+
"specRevision": "ea31b246dee192e28f29a05b89b2138479429cfa",
4+
"specRevisionShort": "ea31b246dee",
55
"versions": [
66
"2023-01-01",
77
"2023-02-01",
@@ -11,6 +11,7 @@
1111
"2024-08-05",
1212
"2024-10-23",
1313
"2024-11-13",
14-
"2025-02-19"
14+
"2025-02-19",
15+
"2025-03-12"
1516
]
1617
}

changelog/version-diff/2023-01-01_2023-02-01.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"operationId": "listClusters",
1919
"tag": "Clusters",
2020
"changes": [
21+
{
22+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
23+
"changeCode": "api-sunset-date-changed-too-small",
24+
"backwardCompatible": false
25+
},
2126
{
2227
"change": "the 'backupEnabled' response's property default value 'false' was added",
2328
"changeCode": "response-property-default-value-added",
@@ -52,6 +57,11 @@
5257
"operationId": "createCluster",
5358
"tag": "Clusters",
5459
"changes": [
60+
{
61+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
62+
"changeCode": "api-sunset-date-changed-too-small",
63+
"backwardCompatible": false
64+
},
5565
{
5666
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
5767
"changeCode": "request-property-min-set",
@@ -121,6 +131,11 @@
121131
"operationId": "getCluster",
122132
"tag": "Clusters",
123133
"changes": [
134+
{
135+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
136+
"changeCode": "api-sunset-date-changed-too-small",
137+
"backwardCompatible": false
138+
},
124139
{
125140
"change": "the 'backupEnabled' response's property default value 'false' was added",
126141
"changeCode": "response-property-default-value-added",
@@ -155,6 +170,11 @@
155170
"operationId": "updateCluster",
156171
"tag": "Clusters",
157172
"changes": [
173+
{
174+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
175+
"changeCode": "api-sunset-date-changed-too-small",
176+
"backwardCompatible": false
177+
},
158178
{
159179
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
160180
"changeCode": "request-property-min-set",
@@ -218,6 +238,71 @@
218238
}
219239
]
220240
},
241+
{
242+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites",
243+
"httpMethod": "GET",
244+
"operationId": "getManagedNamespace",
245+
"tag": "Global Clusters",
246+
"changes": [
247+
{
248+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
249+
"changeCode": "api-sunset-date-changed-too-small",
250+
"backwardCompatible": false
251+
}
252+
]
253+
},
254+
{
255+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping",
256+
"httpMethod": "DELETE",
257+
"operationId": "deleteAllCustomZoneMappings",
258+
"tag": "Global Clusters",
259+
"changes": [
260+
{
261+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
262+
"changeCode": "api-sunset-date-changed-too-small",
263+
"backwardCompatible": false
264+
}
265+
]
266+
},
267+
{
268+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping",
269+
"httpMethod": "POST",
270+
"operationId": "createCustomZoneMapping",
271+
"tag": "Global Clusters",
272+
"changes": [
273+
{
274+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
275+
"changeCode": "api-sunset-date-changed-too-small",
276+
"backwardCompatible": false
277+
}
278+
]
279+
},
280+
{
281+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces",
282+
"httpMethod": "DELETE",
283+
"operationId": "deleteManagedNamespace",
284+
"tag": "Global Clusters",
285+
"changes": [
286+
{
287+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
288+
"changeCode": "api-sunset-date-changed-too-small",
289+
"backwardCompatible": false
290+
}
291+
]
292+
},
293+
{
294+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces",
295+
"httpMethod": "POST",
296+
"operationId": "createManagedNamespace",
297+
"tag": "Global Clusters",
298+
"changes": [
299+
{
300+
"change": "api sunset date changed to an earlier date, from '2026-11-30' to '2026-03-01', new sunset date must be not earlier than '2026-11-30' and at least '365' days from now",
301+
"changeCode": "api-sunset-date-changed-too-small",
302+
"backwardCompatible": false
303+
}
304+
]
305+
},
221306
{
222307
"path": "/api/atlas/v2/groups/{groupId}/streams",
223308
"httpMethod": "GET",

0 commit comments

Comments
 (0)