diff --git a/src/app/data-enquc/data_sources/AtlasCluster/config.json b/src/app/data-enquc/data_sources/AtlasCluster/config.json new file mode 100644 index 0000000..ab81f5f --- /dev/null +++ b/src/app/data-enquc/data_sources/AtlasCluster/config.json @@ -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 +} diff --git a/src/app/data-enquc/triggers/Trigger-0.json b/src/app/data-enquc/triggers/Trigger-0.json new file mode 100644 index 0000000..1fb04ec --- /dev/null +++ b/src/app/data-enquc/triggers/Trigger-0.json @@ -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" + } + } + } +}