Skip to content

Commit 1a78d04

Browse files
authored
Merge branch 'main' into atlas-sign-in-flake
2 parents b1066fd + 84ffd4d commit 1a78d04

Some content is hidden

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

42 files changed

+637
-873
lines changed

.evergreen/create-sbom.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ trap_handler() {
1818
}
1919
trap trap_handler ERR EXIT
2020

21-
scp -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -P "$SIGNING_SERVER_PORT" .sbom/dependencies.json /tmp/silkbomb.env /tmp/artifactory_password "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME":/tmp/
22-
ssh -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -p "$SIGNING_SERVER_PORT" "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME" \
21+
scp -v -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -P "$SIGNING_SERVER_PORT" .sbom/dependencies.json /tmp/silkbomb.env /tmp/artifactory_password "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME":/tmp/
22+
ssh -v -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -p "$SIGNING_SERVER_PORT" "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME" \
2323
"(cat /tmp/dependencies.json | jq -r '.[] | "'"pkg:npm/" + .name + "@" + .version'"' > /tmp/purls.txt) && \
2424
echo "pkg:generic/mongo_crypt_shared@${CRYPT_SHARED_VERSION}" >> /tmp/purls.txt && \
2525
(cat /tmp/artifactory_password | docker login artifactory.corp.mongodb.com --username '${ARTIFACTORY_USERNAME}' --password-stdin ; rm -f /tmp/artifactor_password ) && \
@@ -30,4 +30,4 @@ ssh -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -p "$SIGNING_SERVER_PORT" "$SIGNING
3030
--silk-asset-group "${SILK_ASSET_GROUP}" --sbom-in /tmp/sbom-lite.json && \
3131
docker run --env-file /tmp/silkbomb.env --rm -v /tmp:/tmp artifactory.corp.mongodb.com/release-tools-container-registry-public-local/silkbomb:1.0 download \
3232
--silk-asset-group "${SILK_ASSET_GROUP}" --sbom-out /tmp/sbom.json"
33-
scp -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -P "$SIGNING_SERVER_PORT" "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME":/tmp/{sbom-lite.json,sbom.json,purls.txt} .sbom/
33+
scp -v -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -P "$SIGNING_SERVER_PORT" "$SIGNING_SERVER_USERNAME"@"$SIGNING_SERVER_HOSTNAME":/tmp/{sbom-lite.json,sbom.json,purls.txt} .sbom/

THIRD-PARTY-NOTICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Wed Jan 15 2025.
2+
This document was automatically generated on Thu Jan 16 2025.
33

44
## List of dependencies
55

docs/tracking-plan.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Compass Tracking Plan
33

4-
Generated on Wed, Jan 15, 2025
4+
Generated on Thu, Jan 16, 2025
55

66
## Table of Contents
77

@@ -936,8 +936,6 @@ This event is fired when a collection is created.
936936

937937
**Properties**:
938938

939-
- **is_capped** (required): `boolean`
940-
- Indicates whether the collection is capped.
941939
- **has_collation** (required): `boolean`
942940
- Indicates whether the collection has a custom collation.
943941
- **is_timeseries** (required): `boolean`
@@ -960,8 +958,6 @@ This event is fired when a database is created.
960958

961959
**Properties**:
962960

963-
- **is_capped** (required): `boolean`
964-
- Indicates whether the first collection in the database is capped.
965961
- **has_collation** (required): `boolean`
966962
- Indicates whether the first collection in the database has a custom collation.
967963
- **is_timeseries** (required): `boolean`

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/collection-model/lib/collection-properties.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const PROPERTIES_FLE2 = 'fle2';
77
const PROPERTIES_VIEW = 'view';
88
const PROPERTIES_READ_ONLY = 'read-only';
99

10+
/**
11+
* @param {import('../').CollectionProps} coll
12+
*/
1013
function getProperties(coll) {
1114
const properties = [];
1215

@@ -29,7 +32,7 @@ function getProperties(coll) {
2932
});
3033
}
3134

32-
if (coll.capped) {
35+
if (coll.is_capped) {
3336
properties.push({
3437
id: PROPERTIES_CAPPED,
3538
});

packages/collection-model/lib/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const CollectionModel = AmpersandModel.extend(debounceActions(['fetch']), {
222222
},
223223
},
224224
properties: {
225-
deps: ['collation', 'type', 'capped', 'clustered', 'readonly', 'fle2'],
225+
deps: ['collation', 'type', 'is_capped', 'clustered', 'readonly', 'fle2'],
226226
fn() {
227227
return getProperties(this);
228228
},

packages/compass-e2e-tests/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@
33
fixtures/*.csv
44
fixtures/*.json
55
hadron-build-info.json
6+
7+
# Ignoring sandboxes (created per test run)
8+
.smoke-sandboxes/
9+
# Cache of downloaded binaries
10+
.smoke-downloads/

packages/compass-e2e-tests/.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ fixtures
44
.nyc_output
55
coverage
66
hadron-build-info.json
7+
8+
# Ignoring sandboxes (created per test run)
9+
.smoke-sandboxes/
10+
# Cache of downloaded binaries
11+
.smoke-downloads/

packages/compass-e2e-tests/helpers/buildinfo.ts

Lines changed: 0 additions & 80 deletions
This file was deleted.

packages/compass-e2e-tests/helpers/commands/add-collection.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import type { CompassBrowser } from '../compass-browser';
22
import * as Selectors from '../selectors';
33

44
export type AddCollectionOptions = {
5-
capped?: {
6-
size: number;
7-
};
85
customCollation?: {
96
locale: string;
107
strength: number;
@@ -51,15 +48,6 @@ export async function addCollection(
5148
);
5249
}
5350

54-
if (collectionOptions && collectionOptions.capped) {
55-
await browser.clickVisible(Selectors.CreateCollectionCappedCheckboxLabel);
56-
57-
await browser.setValueVisible(
58-
Selectors.CreateCollectionCappedSizeInput,
59-
collectionOptions.capped.size.toString()
60-
);
61-
}
62-
6351
if (collectionOptions && collectionOptions.customCollation) {
6452
await browser.clickVisible(
6553
Selectors.CreateCollectionCustomCollationCheckboxLabel

0 commit comments

Comments
 (0)