Skip to content

Commit 61befe6

Browse files
Merge branch 'CLOUDP-283086' into CLOUDP-286341
2 parents 412bda1 + ed93697 commit 61befe6

File tree

68 files changed

+5336
-2171
lines changed

Some content is hidden

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

68 files changed

+5336
-2171
lines changed

.github/ISSUE_TEMPLATE/GH_ACTION_ISSUE_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
name: Release Bug
3+
about: This template is used by the CD to file bugs during the release process
24
title: "({{env.TARGET_ENV}}) The {{env.RELEASE_NAME}} Release has failed. :scream_cat:"
35
labels: failed-release
46
---
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: OpenAPI Specification Bug Report
2+
description: Submit a bug report to help us improve the OpenAPI Specification and documentation.
3+
title: "[OpenAPI Spec Issue]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for taking the time to report an issue with the OpenAPI Specification or documentation. Your feedback helps us improve!
10+
- type: input
11+
id: api_version
12+
attributes:
13+
label: API Version
14+
description: Specify the API version relevant to the issue (e.g., 2024-08-05, v2024-10-23).
15+
placeholder: latest
16+
validations:
17+
required: true
18+
- type: input
19+
id: documentation_section
20+
attributes:
21+
label: Documentation Section
22+
description: Mention the specific section of the documentation where the issue occurs (e.g., Clusters, Access Tracking, etc.).
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: issue_description
27+
attributes:
28+
label: Description of the Issue
29+
description: Clearly explain the issue. Include what you found confusing, missing, or incorrect, and describe what you expected to find instead.
30+
placeholder: |
31+
Provide as much detail as possible to help us understand and address the issue.
32+
Example:
33+
The section is unclear or missing important details. I expected to see:
34+
- [Example of expected content]
35+
- [Additional information relevant to this API call or section]
36+
validations:
37+
required: true

.github/workflows/api-versions-reminder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
if: steps.check-api-versions.outputs.api_versions != null
3131
env:
3232
JIRA_API_TOKEN: ${{ secrets.jira_api_token }}
33-
JIRA_TICKET_TITLE: "New API Versions ${{steps.check-api-versions.outputs.api_versions}} are about to be released"
34-
JIRA_TICKET_DESCRIPTION: "The following API Versions are scheduled to be released in the next 3 weeks: ${{steps.check-api-versions.outputs.api_versions}}"
33+
JIRA_TICKET_TITLE: "[API Platform] API Versions (${{steps.check-api-versions.outputs.api_versions}}) are about to be released"
34+
JIRA_TICKET_DESCRIPTION: "The following API Versions are scheduled to be released in the next 3 weeks: ${{steps.check-api-versions.outputs.api_versions}}. Please follow https://wiki.corp.mongodb.com/display/MMS/API+eXperience+Production+Checklist#APIeXperienceProductionChecklist-APIVersionReleasechecks"
3535
run: .github/scripts/create_jira_ticket.sh
3636

3737
# Send Slack notification only if the Jira ticket was created

.github/workflows/code-health-tools.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ jobs:
5555
sparse-checkout: |
5656
.github
5757
tools
58+
- name: Setup Node
59+
uses: actions/setup-node@v4
60+
with:
61+
node-version: '20.x'
62+
cache: 'npm'
63+
- name: Install npm dependencies
64+
run: npm install
65+
- name: Run Prettier
66+
run: |
67+
npm run format-check
68+
- name: Run ESLint on JS files
69+
run: |
70+
npm run lint-js
5871
- name: Install Go
5972
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
6073
with:

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ jobs:
2626
- name: Setup Node
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: '20.x'
29+
node-version: '20.x'
30+
cache: 'npm'
3031
- name: Install npm dependencies
31-
uses: nick-fields/retry@v3
32-
with:
33-
timeout_minutes: 10
34-
max_attempts: 3
35-
command: npm install
32+
run: npm install
3633
- name: Download openapi-foas
3734
uses: actions/download-artifact@v4
3835
with:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*.env
1414

1515
/tools/postman/openapi
16-
/tools/postman/node_modules
16+
/node_modules
1717

1818
# Tool generated files
1919
*.idea

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ignore artifacts:
2+
*.md
3+
*.json
4+
*.yaml
5+
*.yml
6+
*.html

.prettierrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"printWidth": 120,
5+
"semi": true,
6+
"singleQuote": true,
7+
"bracketSpacing": true,
8+
"bracketSameLine": false
9+
}

changelog/changelog.json

Lines changed: 37 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -1,176 +1,52 @@
11
[
22
{
3-
"date": "2024-11-13",
3+
"date": "2024-11-22",
44
"paths": [
55
{
6-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters",
7-
"httpMethod": "GET",
8-
"operationId": "listFlexClusters",
9-
"tag": "Flex Clusters",
10-
"changes": [
11-
{
12-
"change": "endpoint added",
13-
"changeCode": "endpoint-added",
14-
"backwardCompatible": true
15-
}
16-
]
17-
},
18-
{
19-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters",
20-
"httpMethod": "POST",
21-
"operationId": "createFlexCluster",
22-
"tag": "Flex Clusters",
23-
"changes": [
24-
{
25-
"change": "endpoint added",
26-
"changeCode": "endpoint-added",
27-
"backwardCompatible": true
28-
}
29-
]
30-
},
31-
{
32-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}",
33-
"httpMethod": "DELETE",
34-
"operationId": "deleteFlexCluster",
35-
"tag": "Flex Clusters",
36-
"changes": [
37-
{
38-
"change": "endpoint added",
39-
"changeCode": "endpoint-added",
40-
"backwardCompatible": true
41-
}
42-
]
43-
},
44-
{
45-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}",
46-
"httpMethod": "GET",
47-
"operationId": "getFlexCluster",
48-
"tag": "Flex Clusters",
49-
"changes": [
50-
{
51-
"change": "endpoint added",
52-
"changeCode": "endpoint-added",
53-
"backwardCompatible": true
54-
}
55-
]
56-
},
57-
{
58-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}",
59-
"httpMethod": "PATCH",
60-
"operationId": "updateFlexCluster",
61-
"tag": "Flex Clusters",
62-
"changes": [
63-
{
64-
"change": "endpoint added",
65-
"changeCode": "endpoint-added",
66-
"backwardCompatible": true
67-
}
68-
]
69-
},
70-
{
71-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download",
72-
"httpMethod": "POST",
73-
"operationId": "downloadFlexBackup",
74-
"tag": "Flex Snapshots",
75-
"changes": [
76-
{
77-
"change": "endpoint added",
78-
"changeCode": "endpoint-added",
79-
"backwardCompatible": true
80-
}
81-
]
82-
},
83-
{
84-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs",
85-
"httpMethod": "GET",
86-
"operationId": "listFlexBackupRestoreJobs",
87-
"tag": "Flex Restore Jobs",
88-
"changes": [
89-
{
90-
"change": "endpoint added",
91-
"changeCode": "endpoint-added",
92-
"backwardCompatible": true
93-
}
94-
]
95-
},
96-
{
97-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs",
98-
"httpMethod": "POST",
99-
"operationId": "createFlexBackupRestoreJob",
100-
"tag": "Flex Restore Jobs",
101-
"changes": [
102-
{
103-
"change": "endpoint added",
104-
"changeCode": "endpoint-added",
105-
"backwardCompatible": true
106-
}
107-
]
108-
},
109-
{
110-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}",
111-
"httpMethod": "GET",
112-
"operationId": "getFlexBackupRestoreJob",
113-
"tag": "Flex Restore Jobs",
114-
"changes": [
115-
{
116-
"change": "endpoint added",
117-
"changeCode": "endpoint-added",
118-
"backwardCompatible": true
119-
}
120-
]
121-
},
122-
{
123-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots",
124-
"httpMethod": "GET",
125-
"operationId": "listFlexBackups",
126-
"tag": "Flex Snapshots",
127-
"changes": [
128-
{
129-
"change": "endpoint added",
130-
"changeCode": "endpoint-added",
131-
"backwardCompatible": true
132-
}
133-
]
134-
},
135-
{
136-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}",
6+
"path": "/api/atlas/v2/orgs/{orgId}/events",
1377
"httpMethod": "GET",
138-
"operationId": "getFlexBackup",
139-
"tag": "Flex Snapshots",
140-
"changes": [
141-
{
142-
"change": "endpoint added",
143-
"changeCode": "endpoint-added",
144-
"backwardCompatible": true
145-
}
146-
]
147-
},
148-
{
149-
"path": "/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade",
150-
"httpMethod": "POST",
151-
"operationId": "upgradeFlexCluster",
152-
"tag": "Flex Clusters",
153-
"changes": [
8+
"versions": [
1549
{
155-
"change": "endpoint added",
156-
"changeCode": "endpoint-added",
157-
"backwardCompatible": true
10+
"version": "2024-11-13",
11+
"changes": [
12+
{
13+
"change": "added the new 'ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED, ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED, ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING' enum values to the 'results/items/oneOf[subschema #8: Org Events]/eventTypeName' response property",
14+
"changeCode": "response-property-enum-value-added",
15+
"backwardCompatible": true
16+
}
17+
],
18+
"stabilityLevel": "stable",
19+
"changeType": "update"
15820
}
159-
]
21+
],
22+
"operationId": "listOrganizationEvents",
23+
"tag": "Events"
16024
},
16125
{
162-
"path": "/api/atlas/v2/groups/{groupId}/streams/accountDetails",
26+
"path": "/api/atlas/v2/orgs/{orgId}/events/{eventId}",
16327
"httpMethod": "GET",
164-
"operationId": "getAccountDetails",
165-
"tag": "Streams",
166-
"changes": [
28+
"versions": [
16729
{
168-
"change": "endpoint added",
169-
"changeCode": "endpoint-added",
170-
"backwardCompatible": true
30+
"version": "2024-11-13",
31+
"changes": [
32+
{
33+
"change": "added the new 'ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED, ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED, ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING' enum values to the '/oneOf[subschema #8: Org Events]/eventTypeName' response property",
34+
"changeCode": "response-property-enum-value-added",
35+
"backwardCompatible": true
36+
}
37+
],
38+
"stabilityLevel": "stable",
39+
"changeType": "update"
17140
}
172-
]
173-
},
41+
],
42+
"operationId": "getOrganizationEvent",
43+
"tag": "Events"
44+
}
45+
]
46+
},
47+
{
48+
"date": "2024-11-13",
49+
"paths": [
17450
{
17551
"path": "/api/atlas/v2/groups",
17652
"httpMethod": "GET",

changelog/changelog.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
- date: "2024-11-22"
2+
paths:
3+
- httpMethod: GET
4+
operationId: listOrganizationEvents
5+
path: /api/atlas/v2/orgs/{orgId}/events
6+
tag: Events
7+
versions:
8+
- changeType: update
9+
changes:
10+
- backwardCompatible: true
11+
change: 'added the new ''ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED, ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED, ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING'' enum values to the ''results/items/oneOf[subschema #8: Org Events]/eventTypeName'' response property'
12+
changeCode: response-property-enum-value-added
13+
stabilityLevel: stable
14+
version: "2024-11-13"
15+
- httpMethod: GET
16+
operationId: getOrganizationEvent
17+
path: /api/atlas/v2/orgs/{orgId}/events/{eventId}
18+
tag: Events
19+
versions:
20+
- changeType: update
21+
changes:
22+
- backwardCompatible: true
23+
change: 'added the new ''ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED, ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED, ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING'' enum values to the ''/oneOf[subschema #8: Org Events]/eventTypeName'' response property'
24+
changeCode: response-property-enum-value-added
25+
stabilityLevel: stable
26+
version: "2024-11-13"
127
- date: "2024-11-13"
228
paths:
329
- httpMethod: GET

0 commit comments

Comments
 (0)