Skip to content

Commit

Permalink
MongoDB touchups (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherifnada authored Mar 8, 2021
1 parent b1061e3 commit 59f6c6d
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sourceDefinitionId": "487b930d-7f6a-43ce-8bac-46e6b2de0a55",
"name": "Mongo DB",
"dockerRepository": "airbyte/source-mongodb",
"dockerImageTag": "0.1.4",
"documentationUrl": "https://hub.docker.com/r/airbyte/source-mongodb"
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,8 @@
dockerRepository: airbyte/source-appstore-singer
dockerImageTag: 0.1.4
documentationUrl: https://hub.docker.com/r/airbyte/source-appstore-singer
- sourceDefinitionId: 487b930d-7f6a-43ce-8bac-46e6b2de0a55
name: Mongo DB
dockerRepository: airbyte/source-mongodb
dockerImageTag: 0.1.4
documentationUrl: https://hub.docker.com/r/airbyte/source-mongodb
4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-mongodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ airbyteStandardSourceTestFile {
}

// All these input paths must live inside this connector's directory (or subdirectories)
configPath = "secrets/valid_config.json"
configuredCatalogPath = "secrets/configured_catalog.json"
configPath = "integration_tests/valid_config.json"
configuredCatalogPath = "integration_tests/configured_catalog.json"
specPath = "lib/spec.json"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"streams": [
{
"sync_mode": "incremental",
"cursor_field": ["bucket_end_date"],
"stream": {
"name": "transactions",
"supported_sync_modes": ["full_refresh", "incremental"],
"json_schema": {
"properties": {
"_id": {
"type": "string"
},
"account_id": {
"type": "integer"
},
"transaction_count": {
"type": "integer"
},
"bucket_start_date": {
"type": "string"
},
"bucket_end_date": {
"type": "string"
},
"transactions": {
"type": "array"
}
}
}
}
},
{
"sync_mode": "full_refresh",
"stream": {
"name": "customers",
"supported_sync_modes": ["full_refresh", "incremental"],
"json_schema": {
"properties": {
"_id": {
"type": "string"
},
"username": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"birthdate": {
"type": "string"
},
"active": {
"type": "boolean"
},
"accounts": {
"type": "array"
},
"tier_and_details": {
"type": "string"
}
}
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"host": "127.0.0.1",
"port": "27888",
"database": "sample_analytics",
"user": "user",
"password": "password",
"auth_source": "admin"
}
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* [Microsoft SQL Server \(MSSQL\)](integrations/sources/mssql.md)
* [Microsoft Teams](integrations/sources/microsoft-teams.md)
* [Mixpanel](integrations/sources/mixpanel.md)
* [Mongo DB](integrations/sources/mongodb.md)
* [MySQL](integrations/sources/mysql.md)
* [Plaid](integrations/sources/plaid.md)
* [Postgres](integrations/sources/postgres.md)
Expand Down

0 comments on commit 59f6c6d

Please sign in to comment.