Skip to content

Commit 5664a66

Browse files
committed
Merge remote-tracking branch 'origin/master' into CLOUDP-302696-clusters-iss-epic
2 parents 07f6082 + 090acda commit 5664a66

File tree

49 files changed

+800
-3
lines changed

Some content is hidden

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

49 files changed

+800
-3
lines changed

.github/workflows/code-health.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- master
77
pull_request:
8-
permissions:
9-
pull-requests: write # For PR-specific operations
10-
issues: write # For commenting functionality
118
jobs:
129
golangci:
1310
name: lint
@@ -64,6 +61,8 @@ jobs:
6461
path: coverage.out
6562

6663
code-coverage:
64+
permissions:
65+
pull-requests: write # Required to comment on PRs
6766
needs: unit-tests
6867
if: github.event_name == 'pull_request'
6968
runs-on: ubuntu-latest
@@ -139,6 +138,7 @@ jobs:
139138
cat "comment.md" >> "$GITHUB_STEP_SUMMARY"
140139
- name: Comment PR
141140
uses: marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db
141+
if: github.event.pull_request.head.repo.full_name == github.repository
142142
with:
143143
recreate: true
144144
path: comment.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
HTTP/2.0 401 Unauthorized
2+
Content-Length: 106
3+
Content-Type: application/json
4+
<<<<<<<< HEAD:test/e2e/testdata/.snapshots/TestSetup/Describe_Cluster/GET_api_atlas_v2_groups_684704daae2ac22d934a7e91_clusters_cluster-79_1.snaphost
5+
Date: Mon, 09 Jun 2025 15:59:51 GMT
6+
Server: mdbws
7+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="Q6aF8bmBIdAvjP0LIQ/MAu2OCxSC6eCi", algorithm=MD5, qop="auth", stale=false
8+
========
9+
Date: Mon, 09 Jun 2025 05:09:14 GMT
10+
Server: mdbws
11+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="1NRdO8Jq2tatQ2Cj4DNriEBtjYrgYaGu", algorithm=MD5, qop="auth", stale=false
12+
>>>>>>>> origin/master:test/e2e/testdata/.snapshots/TestSetup/Check_accessListIp_was_correctly_added/GET_api_atlas_v2_groups_68466c61e21315547b36642c_accessList_1.snaphost
13+
X-Envoy-Upstream-Service-Time: 4
14+
15+
{
16+
"error" : 401,
17+
"reason" : "Unauthorized",
18+
"detail" : "You are not authorized for this resource."
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
HTTP/2.0 200 OK
2+
Content-Length: 460
3+
Content-Type: application/vnd.atlas.2023-01-01+json;charset=utf-8
4+
Date: Mon, 09 Jun 2025 05:09:14 GMT
5+
Referrer-Policy: strict-origin-when-cross-origin
6+
Server: mdbws
7+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
8+
X-Content-Type-Options: nosniff
9+
X-Envoy-Upstream-Service-Time: 33
10+
X-Frame-Options: DENY
11+
X-Java-Method: ApiAtlasNetworkAccessListResource::getAtlasWhitelist
12+
X-Java-Version: 17.0.14+7
13+
X-Mongodb-Service-Version: gitHash=eb36b93835414a5bb1c2a2625bfe67b328c93c2e; versionString=master
14+
X-Permitted-Cross-Domain-Policies: none
15+
16+
{"links":[{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/accessList?includeCount=true&pageNum=1&itemsPerPage=100","rel":"self"}],"results":[{"cidrBlock":"21.150.105.221/32","comment":"IP added with atlas quickstart","groupId":"68466c61e21315547b36642c","ipAddress":"21.150.105.221","links":[{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/accessList/21.150.105.221%2F32","rel":"self"}]}],"totalCount":1}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
HTTP/2.0 401 Unauthorized
2+
<<<<<<<< HEAD:test/e2e/testdata/.snapshots/TestSetup/DELETE_api_atlas_v2_groups_684704daae2ac22d934a7e91_clusters_cluster-79_1.snaphost
3+
Date: Mon, 09 Jun 2025 15:59:51 GMT
4+
Server: mdbws
5+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="0Gl8ST9iK8OG6BwEnm6SKfze5j5O03eB", algorithm=MD5, qop="auth", stale=false
6+
X-Envoy-Upstream-Service-Time: 6
7+
========
8+
Date: Mon, 09 Jun 2025 05:09:14 GMT
9+
Server: mdbws
10+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="RFGFH1musamhfWN1gT8+ZhZPblU0r9tw", algorithm=MD5, qop="auth", stale=false
11+
X-Envoy-Upstream-Service-Time: 5
12+
>>>>>>>> origin/master:test/e2e/testdata/.snapshots/TestSetup/DELETE_api_atlas_v2_groups_68466c61e21315547b36642c_clusters_cluster-839_1.snaphost
13+
Content-Length: 0
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
HTTP/2.0 202 Accepted
2+
Content-Length: 2
3+
Content-Type: application/vnd.atlas.2023-02-01+json;charset=utf-8
4+
Date: Mon, 09 Jun 2025 05:09:14 GMT
5+
Referrer-Policy: strict-origin-when-cross-origin
6+
Server: mdbws
7+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
8+
X-Content-Type-Options: nosniff
9+
X-Envoy-Upstream-Service-Time: 303
10+
X-Frame-Options: DENY
11+
X-Java-Method: ApiAtlasClusterDescriptionV15Resource::deleteCluster
12+
X-Java-Version: 17.0.14+7
13+
X-Mongodb-Service-Version: gitHash=eb36b93835414a5bb1c2a2625bfe67b328c93c2e; versionString=master
14+
X-Permitted-Cross-Domain-Policies: none
15+
16+
{}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
HTTP/2.0 401 Unauthorized
2+
Content-Length: 106
3+
Content-Type: application/json
4+
<<<<<<<< HEAD:test/e2e/testdata/.snapshots/TestSetup/GET_api_atlas_v2_groups_684704daae2ac22d934a7e91_clusters_cluster-79_1.snaphost
5+
Date: Mon, 09 Jun 2025 15:59:50 GMT
6+
Server: mdbws
7+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="YfJjZeGyEuA68Q+LUEG0yh7WAapO5NHa", algorithm=MD5, qop="auth", stale=false
8+
========
9+
Date: Mon, 09 Jun 2025 05:09:14 GMT
10+
Server: mdbws
11+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="HNOk56iL4Rw3Brp9UICdx3UGaiFzryh3", algorithm=MD5, qop="auth", stale=false
12+
>>>>>>>> origin/master:test/e2e/testdata/.snapshots/TestSetup/Describe_Cluster/GET_api_atlas_v2_groups_68466c61e21315547b36642c_clusters_cluster-839_1.snaphost
13+
X-Envoy-Upstream-Service-Time: 4
14+
15+
{
16+
"error" : 401,
17+
"reason" : "Unauthorized",
18+
"detail" : "You are not authorized for this resource."
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
HTTP/2.0 200 OK
2+
Content-Length: 1694
3+
Content-Type: application/vnd.atlas.2023-02-01+json;charset=utf-8
4+
Date: Mon, 09 Jun 2025 05:09:14 GMT
5+
Deprecation: Mon, 5 Aug 2024 00:00:00 GMT
6+
Referrer-Policy: strict-origin-when-cross-origin
7+
Server: mdbws
8+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
9+
Sunset: Sun, 1 Mar 2026 00:00:00 GMT
10+
X-Content-Type-Options: nosniff
11+
X-Envoy-Upstream-Service-Time: 80
12+
X-Frame-Options: DENY
13+
X-Java-Method: ApiAtlasClusterDescriptionV15Resource::getCluster
14+
X-Java-Version: 17.0.14+7
15+
X-Mongodb-Service-Version: gitHash=eb36b93835414a5bb1c2a2625bfe67b328c93c2e; versionString=master
16+
X-Permitted-Cross-Domain-Policies: none
17+
18+
{"backupEnabled":false,"biConnector":{"enabled":false,"readPreference":"secondary"},"clusterType":"REPLICASET","connectionStrings":{"standard":"mongodb://ac-gpbzeyf-shard-00-00.defe6mh.mongodb-dev.net:27017,ac-gpbzeyf-shard-00-01.defe6mh.mongodb-dev.net:27017,ac-gpbzeyf-shard-00-02.defe6mh.mongodb-dev.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-6cz448-shard-0","standardSrv":"mongodb+srv://cluster-839.defe6mh.mongodb-dev.net"},"createDate":"2025-06-09T05:08:52Z","diskSizeGB":0.5,"diskWarmingMode":"FULLY_WARMED","encryptionAtRestProvider":"NONE","globalClusterSelfManagedSharding":false,"groupId":"68466c61e21315547b36642c","id":"68466c64e21315547b366524","labels":[],"links":[{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/clusters/cluster-839","rel":"self"},{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/clusters/cluster-839/backup/restoreJobs","rel":"https://cloud.mongodb.com/restoreJobs"},{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/clusters/cluster-839/backup/snapshots","rel":"https://cloud.mongodb.com/snapshots"}],"mongoDBMajorVersion":"8.0","mongoDBVersion":"8.0.10","name":"cluster-839","paused":false,"pitEnabled":false,"replicationSpecs":[{"id":"68466c64e21315547b36650c","numShards":1,"regionConfigs":[{"electableSpecs":{"effectiveInstanceSize":"M0","instanceSize":"M0"},"backingProviderName":"AWS","priority":7,"providerName":"TENANT","regionName":"US_EAST_1"}],"zoneId":"68466c64e21315547b366513","zoneName":"Zone 1"}],"rootCertType":"ISRGROOTX1","stateName":"IDLE","tags":[{"key":"env","value":"e2etest"}],"terminationProtectionEnabled":false,"versionReleaseSystem":"LTS"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
HTTP/2.0 401 Unauthorized
2+
Content-Length: 106
3+
Content-Type: application/json
4+
<<<<<<<< HEAD:test/e2e/testdata/.snapshots/TestSetup/GET_api_atlas_v2_groups_684704daae2ac22d934a7e91_clusters_cluster-79_13.snaphost
5+
Date: Mon, 09 Jun 2025 16:00:09 GMT
6+
Server: mdbws
7+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="cjPAqlsFgzeAnTLp/vW72r1Zuno42Y48", algorithm=MD5, qop="auth", stale=false
8+
========
9+
Date: Mon, 09 Jun 2025 05:09:14 GMT
10+
Server: mdbws
11+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="gVfqjGi63oU5bsFWxqVDO8p/5mdcsWlP", algorithm=MD5, qop="auth", stale=false
12+
>>>>>>>> origin/master:test/e2e/testdata/.snapshots/TestSetup/Describe_DB_User/GET_api_atlas_v2_groups_68466c61e21315547b36642c_databaseUsers_admin_cluster-625_1.snaphost
13+
X-Envoy-Upstream-Service-Time: 5
14+
15+
{
16+
"error" : 401,
17+
"reason" : "Unauthorized",
18+
"detail" : "You are not authorized for this resource."
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
HTTP/2.0 200 OK
2+
Content-Length: 384
3+
Content-Type: application/vnd.atlas.2023-01-01+json;charset=utf-8
4+
Date: Mon, 09 Jun 2025 05:09:14 GMT
5+
Referrer-Policy: strict-origin-when-cross-origin
6+
Server: mdbws
7+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
8+
X-Content-Type-Options: nosniff
9+
X-Envoy-Upstream-Service-Time: 43
10+
X-Frame-Options: DENY
11+
X-Java-Method: ApiAtlasV2DatabaseUsersResource::getUserByName
12+
X-Java-Version: 17.0.14+7
13+
X-Mongodb-Service-Version: gitHash=eb36b93835414a5bb1c2a2625bfe67b328c93c2e; versionString=master
14+
X-Permitted-Cross-Domain-Policies: none
15+
16+
{"awsIAMType":"NONE","databaseName":"admin","groupId":"68466c61e21315547b36642c","labels":[],"ldapAuthType":"NONE","links":[{"href":"http://localhost:8080/api/atlas/v2/groups/68466c61e21315547b36642c/databaseUsers/admin/cluster-625","rel":"self"}],"oidcAuthType":"NONE","roles":[{"databaseName":"admin","roleName":"atlasAdmin"}],"scopes":[],"username":"cluster-625","x509Type":"NONE"}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
HTTP/2.0 401 Unauthorized
2+
Content-Length: 106
3+
Content-Type: application/json
4+
<<<<<<<< HEAD:test/e2e/testdata/.snapshots/TestSetup/GET_api_atlas_v2_groups_684704daae2ac22d934a7e91_clusters_cluster-79_5.snaphost
5+
Date: Mon, 09 Jun 2025 15:59:52 GMT
6+
Server: mdbws
7+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="GNA4HSmAnOMqYHHneI7mGQefnWPljD5f", algorithm=MD5, qop="auth", stale=false
8+
========
9+
Date: Mon, 09 Jun 2025 05:09:14 GMT
10+
Server: mdbws
11+
Www-Authenticate: Digest realm="MMS Public API", domain="", nonce="5uiJNMkt24fUmjD16vJMwrIoz09lnqpg", algorithm=MD5, qop="auth", stale=false
12+
>>>>>>>> origin/master:test/e2e/testdata/.snapshots/TestSetup/GET_api_atlas_v2_groups_68466c61e21315547b36642c_clusters_cluster-839_1.snaphost
13+
X-Envoy-Upstream-Service-Time: 4
14+
15+
{
16+
"error" : 401,
17+
"reason" : "Unauthorized",
18+
"detail" : "You are not authorized for this resource."
19+
}

0 commit comments

Comments
 (0)