Skip to content

update main #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 323 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
b4d74d7
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
b25e9e0
Merge branch 'copy-push-files-action-9650188265-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
62f402e
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
4317c6e
Merge branch 'copy-push-files-action-9650188265-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
5ab4847
update commit hash
MongoCaleb Jun 24, 2024
b17e668
remove function name prefix
MongoCaleb Jun 24, 2024
24f97e0
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
483c1f9
Merge branch 'copy-push-files-action-9650294436-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
140db0f
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
4d9f990
Merge branch 'copy-push-files-action-9650294436-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
04eb82d
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
bbe93e3
Merge branch 'copy-push-files-action-9650294436-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
8ce8ff6
update commit hash
MongoCaleb Jun 24, 2024
d85c5c8
remove function name prefix
MongoCaleb Jun 24, 2024
d42779e
update commit hash
MongoCaleb Jun 24, 2024
cf8c13e
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
8f32d59
Merge branch 'copy-push-files-action-9651156812-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
cba86df
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
4311184
Merge branch 'copy-push-files-action-9651156812-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
7e6cfdc
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
b853aaf
Merge branch 'copy-push-files-action-9651156812-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
9592134
remove function name prefix
MongoCaleb Jun 24, 2024
d8bd0a3
update commit hash
MongoCaleb Jun 24, 2024
d40f404
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
473311d
Merge branch 'copy-push-files-action-9651656631-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
4beacca
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
e727264
Merge branch 'copy-push-files-action-9651656631-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
f119ae4
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
cf21a77
Merge branch 'copy-push-files-action-9651656631-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
6ea72f3
remove function name prefix
MongoCaleb Jun 24, 2024
5819fb3
update commit hash
MongoCaleb Jun 24, 2024
1cf7ffc
update commit hash
MongoCaleb Jun 24, 2024
1b83be1
update commit hash
MongoCaleb Jun 24, 2024
0770f5b
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
6462b44
Merge branch 'copy-push-files-action-9651748296-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
523eff5
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
28947a6
Merge branch 'copy-push-files-action-9651748296-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
9cc9bac
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
199fe05
Merge branch 'copy-push-files-action-9651748296-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
cf497bd
update commit hash
MongoCaleb Jun 24, 2024
64b2802
remove function name prefix
MongoCaleb Jun 24, 2024
1a482c9
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
5477c63
Merge branch 'copy-push-files-action-9651867272-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
e0a7a6c
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
e03cd3e
Merge branch 'copy-push-files-action-9651867272-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
b906833
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
2da1d8d
Merge branch 'copy-push-files-action-9651867272-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
9935bfb
remove function name prefix
MongoCaleb Jun 24, 2024
a5e52ef
update commit hash
MongoCaleb Jun 24, 2024
7632f78
update commit hash
MongoCaleb Jun 24, 2024
8021003
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
9953fe6
Merge branch 'copy-push-files-action-9651979841-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
bd0211b
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
dd488c9
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
634a618
Merge branch 'copy-push-files-action-9651979841-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
2a95656
Merge branch 'copy-push-files-action-9651979841-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
8f64ee1
remove function name prefix
MongoCaleb Jun 24, 2024
d6804dc
update commit hash
MongoCaleb Jun 24, 2024
63c9005
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
160da68
Merge branch 'copy-push-files-action-9652066536-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
96b30ec
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
113c0a0
Merge branch 'copy-push-files-action-9652066536-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
6f04819
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
d7af8f7
Merge branch 'copy-push-files-action-9652066536-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
1d7cc44
update commit hash
MongoCaleb Jun 24, 2024
16346a4
remove function name prefix
MongoCaleb Jun 24, 2024
c3b5ea4
update commit hash
MongoCaleb Jun 24, 2024
6839701
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
318b03a
Merge branch 'copy-push-files-action-9652098519-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
c77d8f7
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
921d5a8
Merge branch 'copy-push-files-action-9652098519-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
23e3e18
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
4df3941
Merge branch 'copy-push-files-action-9652098519-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
4f274d2
update commit hash
MongoCaleb Jun 24, 2024
11e8cc7
remove function name prefix
MongoCaleb Jun 24, 2024
2a5ccbe
update commit hash
MongoCaleb Jun 24, 2024
808e67e
update commit hash
MongoCaleb Jun 24, 2024
534f2d9
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
51d8b55
Merge branch 'copy-push-files-action-9652140613-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
59641f2
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
6f18ce3
Merge branch 'copy-push-files-action-9652140613-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
cfebd15
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
00fe3db
Merge branch 'copy-push-files-action-9652140613-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
dd9405d
remove function name prefix
MongoCaleb Jun 24, 2024
f086d04
update commit hash
MongoCaleb Jun 24, 2024
62081c5
update commit hash
MongoCaleb Jun 24, 2024
732d7aa
update commit hash
MongoCaleb Jun 24, 2024
bdab79f
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
96b3fac
Merge branch 'copy-push-files-action-9652155041-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
4c0ca5e
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
36b7145
Merge branch 'copy-push-files-action-9652155041-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
1908423
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
e7f2265
Merge branch 'copy-push-files-action-9652155041-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
037d24e
update commit hash
MongoCaleb Jun 24, 2024
5bfcbdf
update commit hash
MongoCaleb Jun 24, 2024
47df1f8
update commit hash
MongoCaleb Jun 24, 2024
6ea5d5f
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
fdefd06
Merge branch 'copy-push-files-action-9652184304-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
c03fd8e
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
32cda41
Merge branch 'copy-push-files-action-9652184304-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
701bbc2
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
c590cdc
Merge branch 'copy-push-files-action-9652184304-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
8c3e60f
update commit hash
MongoCaleb Jun 24, 2024
c508b05
update commit hash
MongoCaleb Jun 24, 2024
0f8a4c2
remove function name prefix
MongoCaleb Jun 24, 2024
e3e6931
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
82c6d53
Merge branch 'copy-push-files-action-9652216866-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
40ed59b
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
d1c85f8
Merge branch 'copy-push-files-action-9652216866-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
32558ef
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
ab31403
Merge branch 'copy-push-files-action-9652216866-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
465336b
remove function name prefix
MongoCaleb Jun 24, 2024
8a9dc51
update commit hash
MongoCaleb Jun 24, 2024
2454f30
update commit hash
MongoCaleb Jun 24, 2024
0feabf4
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
985ceaf
Merge branch 'copy-push-files-action-9652324281-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
bc253b2
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
c6d95d7
Merge branch 'copy-push-files-action-9652324281-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
ff578bc
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
1651359
Merge branch 'copy-push-files-action-9652324281-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
73acc18
update commit hash
MongoCaleb Jun 24, 2024
cc8ac5e
remove function name prefix
MongoCaleb Jun 24, 2024
66f4816
update commit hash
MongoCaleb Jun 24, 2024
062ab07
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
e7c8f7e
Merge branch 'copy-push-files-action-9652396946-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
ba6a566
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
8442a7b
Merge branch 'copy-push-files-action-9652396946-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
977e57b
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
687fa2e
Merge branch 'copy-push-files-action-9652396946-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
c8d1ba7
update commit hash
MongoCaleb Jun 24, 2024
a6362f9
update commit hash
MongoCaleb Jun 24, 2024
52a8f50
remove function name prefix
MongoCaleb Jun 24, 2024
7e8fb7c
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
15fe1dd
Merge branch 'copy-push-files-action-9652497645-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
518f3e6
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
6f0e05d
Merge branch 'copy-push-files-action-9652497645-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
7c99b1b
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
7b5bcdc
Merge branch 'copy-push-files-action-9652497645-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
90a8492
remove function name prefix
MongoCaleb Jun 24, 2024
4feac42
update commit hash
MongoCaleb Jun 24, 2024
c2747b5
update commit hash
MongoCaleb Jun 24, 2024
9c57369
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
0e22b27
Merge branch 'copy-push-files-action-9652575857-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
a956c27
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
2756120
Merge branch 'copy-push-files-action-9652575857-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
4ca16ef
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
ba4df28
Merge branch 'copy-push-files-action-9652575857-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
43c6e7c
remove function name prefix
MongoCaleb Jun 24, 2024
c20cba4
update commit hash
MongoCaleb Jun 24, 2024
7e9f978
update commit hash
MongoCaleb Jun 24, 2024
4aaf0e8
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
9807770
Merge branch 'copy-push-files-action-9652585530-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
0c35452
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
599b777
Merge branch 'copy-push-files-action-9652585530-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
bb5e5a7
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 24, 2024
99228ed
Merge branch 'copy-push-files-action-9652585530-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 24, 2024
c509345
remove function name prefix
MongoCaleb Jun 24, 2024
9e15663
update commit hash
MongoCaleb Jun 24, 2024
c32f16f
update commit hash
MongoCaleb Jun 24, 2024
9ac01f8
update unit tests to use changeEvent object
MongoCaleb Jun 24, 2024
83fcab0
update commit hash
MongoCaleb Jun 24, 2024
9f1e4a5
Commit performed using Copy Push Files action
MongoCaleb Jun 24, 2024
13c208f
Merge branch 'copy-push-files-action-9653721908-upload-functions' int…
MongoCaleb Jun 24, 2024
5a0f1a9
Commit performed using Copy Push Files action
MongoCaleb Jun 24, 2024
5aa3e05
Merge branch 'copy-push-files-action-9653721908-upload-functions' int…
MongoCaleb Jun 24, 2024
3901560
Commit performed using Copy Push Files action
MongoCaleb Jun 24, 2024
baa8ee7
Merge branch 'copy-push-files-action-9653721908-upload-functions' int…
MongoCaleb Jun 24, 2024
5c27405
remove function name prefix
MongoCaleb Jun 24, 2024
82b4c85
update commit hash
MongoCaleb Jun 24, 2024
8bb60c5
update commit hash
MongoCaleb Jun 24, 2024
55ba79f
update commit hash
MongoCaleb Jun 24, 2024
5b01db3
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
d717fd6
Merge branch 'copy-push-files-action-9665493591-upload-functions' int…
MongoCaleb Jun 25, 2024
1d2c2f6
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
ab0d830
Merge branch 'copy-push-files-action-9665493591-upload-functions' int…
MongoCaleb Jun 25, 2024
662180f
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
c4e07db
Merge branch 'copy-push-files-action-9665493591-upload-functions' int…
MongoCaleb Jun 25, 2024
33a32db
update commit hash
MongoCaleb Jun 25, 2024
520a159
remove function name prefix
MongoCaleb Jun 25, 2024
dfc75e4
update commit hash
MongoCaleb Jun 25, 2024
f6889da
update expression manifest
MongoCaleb Jun 25, 2024
e7fde18
update commit hash
MongoCaleb Jun 25, 2024
23e9491
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
211cc8d
Merge branch 'copy-push-files-action-9665708557-upload-functions' int…
MongoCaleb Jun 25, 2024
b198a9a
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
eee918d
Merge branch 'copy-push-files-action-9665708557-upload-functions' int…
MongoCaleb Jun 25, 2024
ecb7bdd
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
d4eb522
Merge branch 'copy-push-files-action-9665708557-upload-functions' int…
MongoCaleb Jun 25, 2024
a9652ea
update commit hash
MongoCaleb Jun 25, 2024
c1d05fd
remove function name prefix
MongoCaleb Jun 25, 2024
6fc36cc
update commit hash
MongoCaleb Jun 25, 2024
cadacd8
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
301dde1
Merge branch 'copy-push-files-action-9665722735-upload-functions' int…
MongoCaleb Jun 25, 2024
393a42d
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
6b5bc2d
Merge branch 'copy-push-files-action-9665722735-upload-functions' int…
MongoCaleb Jun 25, 2024
79a8450
Commit performed using Copy Push Files action
MongoCaleb Jun 25, 2024
2fa361b
Merge branch 'copy-push-files-action-9665722735-upload-functions' int…
MongoCaleb Jun 25, 2024
612c2c6
update commit hash
MongoCaleb Jun 25, 2024
ec333fc
remove function name prefix
MongoCaleb Jun 25, 2024
92f41c3
update commit hash
MongoCaleb Jun 25, 2024
2f014f7
update commit hash
MongoCaleb Jun 25, 2024
2aa5ee7
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 25, 2024
068d940
Merge branch 'copy-push-files-action-9665761044-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 25, 2024
41132ea
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 25, 2024
482901f
Merge branch 'copy-push-files-action-9665761044-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 25, 2024
9cb4877
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 25, 2024
94a152e
Merge branch 'copy-push-files-action-9665761044-upload-functions' int…
mongodb-atlas-app-services[bot] Jun 25, 2024
9a1d6e1
remove function name prefix
MongoCaleb Jun 25, 2024
d09c8fd
update commit hash
MongoCaleb Jun 25, 2024
3cbd0f4
update commit hash
MongoCaleb Jun 25, 2024
4e23e63
update commit hash
MongoCaleb Jun 25, 2024
b74217e
Commit performed using Copy Push Files action
mongodb-atlas-app-services[bot] Jun 25, 2024
d604016
Merge branch 'copy-push-files-action-9665761069-extract-json' into de…
mongodb-atlas-app-services[bot] Jun 25, 2024
cd057e5
update commit hash
MongoCaleb Jun 25, 2024
e2388f7
update project manifest
MongoCaleb Jun 25, 2024
1f25a6c
update commit hash
MongoCaleb Jun 25, 2024
7edf683
update action to add git commit hash to manifest rather than extra file
MongoCaleb Jun 25, 2024
cf92746
add debugging
MongoCaleb Jun 25, 2024
132fde1
combine steps
MongoCaleb Jun 25, 2024
7bc432b
update commit hash
MongoCaleb Jun 25, 2024
85b9e37
remove old file
MongoCaleb Jun 25, 2024
0f9d8e4
update commit hash
MongoCaleb Jun 25, 2024
f459ac1
BAAS-30361: add amazon third party snippets (#47)
jwongmongodb Jul 8, 2024
b253fd5
update commit hash
MongoCaleb Jul 8, 2024
a0709f5
Update trigger insert title correctly (#48)
jwongmongodb Jul 10, 2024
bbbe1e0
update commit hash
MongoCaleb Jul 10, 2024
0d9fc40
Commit performed using Copy Push Files action
MongoCaleb Jul 16, 2024
4e0fd17
Merge branch 'copy-push-files-action-9962554850-upload-functions' int…
MongoCaleb Jul 16, 2024
5ced803
Commit performed using Copy Push Files action
MongoCaleb Jul 16, 2024
7b05266
Merge branch 'copy-push-files-action-9962554850-upload-functions' int…
MongoCaleb Jul 16, 2024
8b4ebd4
Commit performed using Copy Push Files action
MongoCaleb Jul 16, 2024
d2de28d
Merge branch 'copy-push-files-action-9962554850-upload-functions' int…
MongoCaleb Jul 16, 2024
51ca752
Commit performed using Copy Push Files action
MongoCaleb Jul 16, 2024
fdafc2d
Merge branch 'copy-push-files-action-9962554876-extract-json' into de…
MongoCaleb Jul 16, 2024
25fd847
remove function name prefix
MongoCaleb Jul 16, 2024
b4b7c4d
update commit hash
MongoCaleb Jul 16, 2024
7e5bf28
BAAS-32668: shorten snippet expression titles based on product feedba…
jwongmongodb Jul 22, 2024
2fa9f62
update commit hash
MongoCaleb Jul 22, 2024
d04d084
BAAS-32668: fix trigger expression titles (#50)
jwongmongodb Jul 26, 2024
34d437c
update commit hash
MongoCaleb Jul 26, 2024
fbed7f6
BAAS-34011: add boilerplate snippets (#51)
jwongmongodb Sep 3, 2024
46f7deb
update commit hash
MongoCaleb Sep 3, 2024
e95fc03
Merge branch 'main' into development
jwongmongodb Sep 10, 2024
7bd6521
update commit hash
MongoCaleb Sep 10, 2024
c7d2aa0
update commit hash
MongoCaleb Sep 11, 2024
75eff3c
update commit hash
MongoCaleb Sep 11, 2024
18b41b8
Dev update (#1)
jwongmongodb Sep 11, 2024
4a3530b
update commit hash
MongoCaleb Sep 11, 2024
7395fc1
Merge branch 'main' into development
jwongmongodb Sep 11, 2024
9e75a55
update commit hash
MongoCaleb Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/zip-and-upload-to-s3-production.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Zip and Upload to S3 for Development
name: Zip and Upload to S3 for Production

on:
push:
branches:
- production
- main

jobs:
deploy-after-testing:
Expand All @@ -21,4 +21,4 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_bucket: ${{ secrets.AWS_BUCKET }}
source_dir: ./zip
destination_dir: "v1/production"
destination_dir: "v1/production"
5 changes: 4 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
{
"metadata": "/snippets/functions/third-party/manifest.json"
},
{
"metadata": "/snippets/functions/boilerplate/manifest.json"
},
{
"metadata": "/snippets/functions/mongodb-crud/manifest.json"
},
Expand All @@ -19,5 +22,5 @@
"metadata": "/snippets/triggers/project/manifest.json"
}
],
"version": "a1c17cc564ffff9fe3413fdba419df03c8e34778"
"version": "7395fc1e8214723dc941ed9e718b4ea36d303e1c"
}
40 changes: 40 additions & 0 deletions snippets/functions/boilerplate/databaseTrigger.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
exports = async function (changeEvent) {
// A Database Trigger will always call a function with a changeEvent.
// Documentation on ChangeEvents: https://www.mongodb.com/docs/manual/reference/change-events

// This sample function will listen for events and replicate them to a collection in a different Database

// Access the _id of the changed document:
const docId = changeEvent.documentKey._id;

// Get the MongoDB service you want to use (see "Linked Data Sources" tab)
const serviceName = "mongodb-atlas";
const databaseName = "other_db_name";
const collection = context.services
.get(serviceName)
.db(databaseName)
.collection(changeEvent.ns.coll);

// Get the "FullDocument" present in the Insert/Replace/Update ChangeEvents
try {
// If this is a "delete" event, delete the document in the other collection
if (changeEvent.operationType === "delete") {
await collection.deleteOne({ _id: docId });
}

// If this is an "insert" event, insert the document into the other collection
else if (changeEvent.operationType === "insert") {
await collection.insertOne(changeEvent.fullDocument);
}

// If this is an "update" or "replace" event, then replace the document in the other collection
else if (
changeEvent.operationType === "update" ||
changeEvent.operationType === "replace"
) {
await collection.replaceOne({ _id: docId }, changeEvent.fullDocument);
}
} catch (err) {
console.log("error performing mongodb write: ", err.message);
}
};
18 changes: 18 additions & 0 deletions snippets/functions/boilerplate/eventbridgeErrorFunction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
exports = async function (error, changeEvent) {
// This sample function will log additional details if the error is not
// a DOCUMENT_TOO_LARGE error
if (error.code === "DOCUMENT_TOO_LARGE") {
console.log("Document too large error");

// Comment out the line below in order to skip this event and not suspend the Trigger
throw new Error(`Encountered error: ${error.code}`);
}

console.log("Error sending event to EventBridge");
console.log(`DB: ${changeEvent.ns.db}`);
console.log(`Collection: ${changeEvent.ns.coll}`);
console.log(`Operation type: ${changeEvent.operationType}`);

// Throw an error in your function to suspend the trigger and stop processing additional events
throw new Error(`Encountered error: ${error.message}`);
};
42 changes: 42 additions & 0 deletions snippets/functions/boilerplate/generalFunction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
exports = async function (arg) {
// This default function will get a value and find a document in MongoDB
// To see plenty more examples of what you can do with functions see:
// https://www.mongodb.com/docs/atlas/app-services/functions/

// Find the name of the MongoDB service you want to use (see "Linked Data Sources" tab)
const serviceName = "mongodb-atlas";

// Update these to reflect your db/collection
const dbName = "db_name";
const collName = "coll_name";

// Get a collection from the context
const collection = context.services
.get(serviceName)
.db(dbName)
.collection(collName);

let findResult;
try {
// Get a value from the context (see "Values" tab)
// Update this to reflect your value's name.
const valueName = "value_name";
const value = context.values.get(valueName);

// Execute a FindOne in MongoDB
findResult = await collection.findOne({
owner_id: context.user.id,
fieldName: value,
argField: arg,
});
} catch (err) {
console.log("Error occurred while executing findOne:", err.message);

return { error: err.message };
}

// To call other named functions:
// const result = context.functions.execute("function_name", arg1, arg2);

return { result: findResult };
};
31 changes: 31 additions & 0 deletions snippets/functions/boilerplate/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"category": "Boilerplate Template by Function Type",
"categoryId": "4756072f-b3c7-4469-b038-cdf6b346789c",
"viewType": "functionSnippet",
"snippets": [
{
"id": "7c84ed29-b8b2-466c-af3d-c240889d3112",
"title": "Database Trigger",
"snippet": "/databaseTrigger.js",
"description": "Example shows a template for a DB trigger function, which always accepts a changeEvent as an argument."
},
{
"id": "ba6113d7-5e52-48e4-8ab4-03df30c0d61a",
"title": "Scheduled Trigger",
"snippet": "/scheduledTrigger.js",
"description": "Shows an example of a Scheduled Trigger function, which will always call a function without arguments."
},
{
"id": "1dca4a58-c150-4a8e-b602-9edf5c338f3d",
"title": "General Function",
"snippet": "/generalFunction.js",
"description": "Example of a default function that will get a value and find a document in MongoDB, the parameters passed in the header differ from other templates."
},
{
"id": "b43b9abb-dde7-4389-880e-38ef995d501a",
"title": "Eventbridge Custom Error Function",
"snippet": "/eventbridgeErrorFunction.js",
"description": "Example of a custom error function, which takes in the error and changeEvent as arguments."
}
]
}
21 changes: 21 additions & 0 deletions snippets/functions/boilerplate/scheduledTrigger.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
exports = async function () {
// A Scheduled Trigger will always call a function without arguments.
// Documentation on Triggers: https://www.mongodb.com/docs/atlas/app-services/triggers/

// Functions run by Triggers are run as System users and have full access to Services, Functions, and MongoDB Data.

// Get the MongoDB service you want to use (see "Linked Data Sources" tab)
const serviceName = "mongodb-atlas";
const databaseName = "db_name";
const collectionName = "coll_name";
const collection = context.services
.get(serviceName)
.db(databaseName)
.collection(collectionName);

try {
const doc = await collection.findOne({ name: "mongodb" });
} catch (err) {
console.log("error performing mongodb findOne: ", err.message);
}
};
58 changes: 29 additions & 29 deletions snippets/triggers/match/manifest.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"category": "MatchTriggerExpressions",
"categoryId": "ed4b3598-6800-413f-9158-d9b1b2a2a080",
"viewType": "triggerMatch",
"snippets": [
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a081",
"title": "Match Expression for Updates",
"snippet": "/update.json",
"description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed."
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a082",
"title": "Match Expression for Deletes",
"snippet": "/delete.json",
"description": "This trigger will only execute if the document (before deletion) has a userName of \"Alice Smith\""
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a083",
"title": "Match Expression for Inserts",
"snippet": "/insert.json",
"description": "This trigger will only execute if the document has a userName of \"Alice Smith\" and a department of \"engineering\""
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a084",
"title": "Match Expression for Replace",
"snippet": "/replace.json",
"description": "This trigger will only execute if the name field was \"Alice Smith\" before the Replace, and \"Alex Smith\" after the Replace."
}
]
"category": "MatchTriggerExpressions",
"categoryId": "ed4b3598-6800-413f-9158-d9b1b2a2a080",
"viewType": "triggerMatch",
"snippets": [
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a081",
"title": "Update",
"snippet": "/update.json",
"description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed."
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a082",
"title": "Delete",
"snippet": "/delete.json",
"description": "This trigger will only execute if the document (before deletion) has a userName of \"Alice Smith\""
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a083",
"title": "Insert",
"snippet": "/insert.json",
"description": "This trigger will only execute if the document has a userName of \"Alice Smith\" and a department of \"engineering\""
},
{
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a084",
"title": "Replace",
"snippet": "/replace.json",
"description": "This trigger will only execute if the name field was \"Alice Smith\" before the Replace, and \"Alex Smith\" after the Replace."
}
]
}
58 changes: 29 additions & 29 deletions snippets/triggers/project/manifest.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"category": "ProjectTriggerExpressions",
"categoryId": "ee1e471e-72c7-4dc9-b80a-9f745836a254",
"viewType": "triggerProject",
"snippets": [
{
"id": "7dd66555-8efb-4a76-8920-64c0874e0214",
"title": "Project Expression for Updates",
"snippet": "/update.json",
"description": "This trigger will return the \"operationType\" and \"updateDescription.updateFields.storeLocation\" field values."
},
{
"id": "7c9b14f4-30ec-4865-b153-8bd52c6566ad",
"title": "Project Expression for Deletes",
"snippet": "/delete.json",
"description": "This trigger will return the \"documentKey._id\", \"operationType\", and \"wallTime\" field values."
},
{
"id": "e040947b-08a4-4a8f-9f82-1bccd7826892",
"title": "Project Expression for Inserts",
"snippet": "/insert.json",
"description": "This trigger will return the \"baseSalary\", \"department\", \"operationType\", and \"documentKey.userName\" field values."
},
{
"id": "90768f43-3d5a-4746-8ccc-f709cda09eae",
"title": "Project Expression for Replace",
"snippet": "/replace.json",
"description": "This trigger will return the \"operationType\", \"fullDocument.name\", and \"fullDocumentBeforeChange.name\" field values."
}
]
"category": "ProjectTriggerExpressions",
"categoryId": "ee1e471e-72c7-4dc9-b80a-9f745836a254",
"viewType": "triggerProject",
"snippets": [
{
"id": "7dd66555-8efb-4a76-8920-64c0874e0214",
"title": "Update",
"snippet": "/update.json",
"description": "This trigger will return the \"operationType\" and \"updateDescription.updateFields.storeLocation\" field values."
},
{
"id": "7c9b14f4-30ec-4865-b153-8bd52c6566ad",
"title": "Delete",
"snippet": "/delete.json",
"description": "This trigger will return the \"documentKey._id\", \"operationType\", and \"wallTime\" field values."
},
{
"id": "e040947b-08a4-4a8f-9f82-1bccd7826892",
"title": "Insert",
"snippet": "/insert.json",
"description": "This trigger will return the \"baseSalary\", \"department\", \"operationType\", and \"documentKey.userName\" field values."
},
{
"id": "90768f43-3d5a-4746-8ccc-f709cda09eae",
"title": "Replace",
"snippet": "/replace.json",
"description": "This trigger will return the \"operationType\", \"fullDocument.name\", and \"fullDocumentBeforeChange.name\" field values."
}
]
}