Skip to content

Commit

Permalink
data_sources/AtlasCluster/config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mongodb-atlas-app-services[bot] authored Feb 1, 2025
1 parent aab21dd commit f76300b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/app/data-enquc/data_sources/AtlasCluster/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "AtlasCluster",
"type": "mongodb-atlas",
"config": {
"clusterName": "AtlasCluster",
"namespacePreimageConfigs": [
{
"dbName": "db",
"collectionName": "Database",
"recordPreimages": true
}
],
"readPreference": "primary",
"wireProtocolEnabled": false
},
"version": 1
}
31 changes: 31 additions & 0 deletions src/app/data-enquc/triggers/Trigger-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Trigger-0",
"type": "DATABASE",
"disabled": false,
"config": {
"collection": "Database",
"database": "db",
"full_document": true,
"full_document_before_change": true,
"match": {},
"maximum_throughput": false,
"operation_types": [
"INSERT",
"UPDATE",
"DELETE",
"REPLACE"
],
"project": {},
"service_name": "AtlasCluster",
"skip_catchup_events": false,
"tolerate_resume_errors": true,
"unordered": true
},
"event_processors": {
"FUNCTION": {
"config": {
"function_name": "authFunc"
}
}
}
}

0 comments on commit f76300b

Please sign in to comment.