Skip to content

Commit a3171ca

Browse files
Merge branch 'main' into CLOUDP-290416
2 parents f38cf4a + 51c1d3b commit a3171ca

20 files changed

+36
-22
lines changed

.github/workflows/optional-spec-validations.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
name: openapi-foas-${{ inputs.env }}
4040
github-token: ${{ secrets.api_bot_pat }}
4141
run-id: ${{ github.run_id }}
42+
- name: Run IPA validation
43+
id: ipa-spectral-validation
44+
run: |
45+
npx spectral lint openapi-foas.json --ruleset=./tools/spectral/ipa/ipa-spectral.yaml
4246
- name: Validate the FOAS can be used to generate Postman collection
4347
id: spectral-validation
4448
env:
@@ -49,7 +53,7 @@ jobs:
4953
make convert_to_collection
5054
npx -- @stoplight/spectral-cli@"${SPECTRAL_VERSION}" lint ./tmp/collection.json --ruleset=./validation/spectral.yaml
5155
popd
52-
- name: Create Issue
56+
- name: Create Issue - Postman validation Failed
5357
if: ${{ failure() && steps.spectral-validation.outcome == 'failure' }}
5458
uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
5559
env:
@@ -59,3 +63,13 @@ jobs:
5963
title: "(${{env.target_env}}) Optional Postman validation failed :scream_cat:"
6064
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
6165
token: ${{ secrets.GITHUB_TOKEN }}
66+
- name: Create Issue - IPA validation Failed
67+
if: ${{ failure() && steps.ipa-spectral-validation.outcome == 'failure' }}
68+
uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
69+
env:
70+
target_env: ${{ inputs.env }}
71+
with:
72+
labels: failed-release
73+
title: "(${{env.target_env}}) Optional IPA validation failed :scream_cat:"
74+
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
75+
token: ${{ secrets.GITHUB_TOKEN }}

changelog/internal/metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"runDate": "2025-01-16",
3-
"specRevision": "4df8c51b110763f123f56360d600f1e0e0b5a2c6",
4-
"specRevisionShort": "4df8c51b110",
2+
"runDate": "2025-01-20",
3+
"specRevision": "d46db7616a00c2f070cea772d22446c6f8368af6",
4+
"specRevisionShort": "d46db7616a0",
55
"versions": [
66
"2023-01-01",
77
"2023-02-01",

openapi/v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
253253
"title": "MongoDB Atlas Administration API",
254254
"version": "2.0",
255-
"x-xgen-sha": "4df8c51b110763f123f56360d600f1e0e0b5a2c6"
255+
"x-xgen-sha": "d46db7616a00c2f070cea772d22446c6f8368af6"
256256
},
257257
"paths": {
258258
"/api/atlas/v2": {

openapi/v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34614,7 +34614,7 @@ info:
3461434614
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3461534615
title: MongoDB Atlas Administration API
3461634616
version: "2.0"
34617-
x-xgen-sha: 4df8c51b110763f123f56360d600f1e0e0b5a2c6
34617+
x-xgen-sha: d46db7616a00c2f070cea772d22446c6f8368af6
3461834618
openapi: 3.0.1
3461934619
paths:
3462034620
/api/atlas/v2:

openapi/v2/openapi-2023-01-01.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
209209
"title": "MongoDB Atlas Administration API",
210210
"version": "2.0",
211-
"x-xgen-sha": "4df8c51b110763f123f56360d600f1e0e0b5a2c6"
211+
"x-xgen-sha": "d46db7616a00c2f070cea772d22446c6f8368af6"
212212
},
213213
"paths": {
214214
"/api/atlas/v2": {

openapi/v2/openapi-2023-01-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34614,7 +34614,7 @@ info:
3461434614
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3461534615
title: MongoDB Atlas Administration API
3461634616
version: "2.0"
34617-
x-xgen-sha: 4df8c51b110763f123f56360d600f1e0e0b5a2c6
34617+
x-xgen-sha: d46db7616a00c2f070cea772d22446c6f8368af6
3461834618
openapi: 3.0.1
3461934619
paths:
3462034620
/api/atlas/v2:

openapi/v2/openapi-2023-02-01.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
213213
"title": "MongoDB Atlas Administration API",
214214
"version": "2.0",
215-
"x-xgen-sha": "4df8c51b110763f123f56360d600f1e0e0b5a2c6"
215+
"x-xgen-sha": "d46db7616a00c2f070cea772d22446c6f8368af6"
216216
},
217217
"paths": {
218218
"/api/atlas/v2": {

openapi/v2/openapi-2023-02-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34614,7 +34614,7 @@ info:
3461434614
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3461534615
title: MongoDB Atlas Administration API
3461634616
version: "2.0"
34617-
x-xgen-sha: 4df8c51b110763f123f56360d600f1e0e0b5a2c6
34617+
x-xgen-sha: d46db7616a00c2f070cea772d22446c6f8368af6
3461834618
openapi: 3.0.1
3461934619
paths:
3462034620
/api/atlas/v2:

openapi/v2/openapi-2023-10-01.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
213213
"title": "MongoDB Atlas Administration API",
214214
"version": "2.0",
215-
"x-xgen-sha": "4df8c51b110763f123f56360d600f1e0e0b5a2c6"
215+
"x-xgen-sha": "d46db7616a00c2f070cea772d22446c6f8368af6"
216216
},
217217
"paths": {
218218
"/api/atlas/v2": {

openapi/v2/openapi-2023-10-01.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34614,7 +34614,7 @@ info:
3461434614
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3461534615
title: MongoDB Atlas Administration API
3461634616
version: "2.0"
34617-
x-xgen-sha: 4df8c51b110763f123f56360d600f1e0e0b5a2c6
34617+
x-xgen-sha: d46db7616a00c2f070cea772d22446c6f8368af6
3461834618
openapi: 3.0.1
3461934619
paths:
3462034620
/api/atlas/v2:

0 commit comments

Comments
 (0)