Skip to content

Commit

Permalink
source-mongodb-v2: enable SAT (#20484)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Dec 15, 2022
1 parent 0e85a97 commit 061e269
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference)
# for more information about how to configure these tests
connector_image: airbyte/source-mongodb-v2:dev
tests:
acceptance_tests:
spec:
- spec_path: "src/test-integration/resources/expected_spec.json"
config_path: "src/test-integration/resources/dummy_config.json"
tests:
- spec_path: "integration_tests/expected_spec.json"
config_path: "secrets/credentials.json"
timeout_seconds: 60
connection:
tests:
- config_path: "secrets/credentials.json"
status: "succeed"
timeout_seconds: 60
discovery:
tests:
- config_path: "secrets/credentials.json"
timeout_seconds: 60
basic_read:
tests:
- config_path: "secrets/credentials.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
timeout_seconds: 120
full_refresh:
tests:
- config_path: "secrets/credentials.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
timeout_seconds: 180

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,284 @@
{
"streams": [
{
"stream": {
"name": "listingsAndReviews",
"json_schema": {
"type": "object",
"properties": {
"amenities": {
"type": "array"
},
"notes": {
"type": "string"
},
"access": {
"type": "string"
},
"house_rules": {
"type": "string"
},
"first_review": {
"type": "string"
},
"calendar_last_scraped": {
"type": "string"
},
"description": {
"type": "string"
},
"neighborhood_overview": {
"type": "string"
},
"_id_aibyte_transform": {
"type": "string"
},
"availability": {
"type": "object",
"properties": {
"availability_365": {
"type": "number"
},
"availability_30": {
"type": "number"
},
"availability_60": {
"type": "number"
},
"availability_90": {
"type": "number"
}
}
},
"number_of_reviews": {
"type": "number"
},
"space": {
"type": "string"
},
"review_scores": {
"type": "object",
"properties": {
"review_scores_checkin": {
"type": "number"
},
"review_scores_communication": {
"type": "number"
},
"review_scores_rating": {
"type": "number"
},
"review_scores_accuracy": {
"type": "number"
},
"review_scores_location": {
"type": "number"
},
"review_scores_value": {
"type": "number"
},
"review_scores_cleanliness": {
"type": "number"
}
}
},
"cleaning_fee": {
"type": "number"
},
"reviews": {
"type": "array"
},
"price": {
"type": "number"
},
"reviews_per_month": {
"type": "number"
},
"host": {
"type": "object",
"properties": {
"host_verifications": {
"type": "array"
},
"host_url": {
"type": "string"
},
"host_response_time": {
"type": "string"
},
"host_has_profile_pic": {
"type": "boolean"
},
"host_about": {
"type": "string"
},
"host_picture_url": {
"type": "string"
},
"host_id": {
"type": "string"
},
"host_listings_count": {
"type": "number"
},
"host_total_listings_count": {
"type": "number"
},
"host_location": {
"type": "string"
},
"host_is_superhost": {
"type": "boolean"
},
"host_neighbourhood": {
"type": "string"
},
"host_thumbnail_url": {
"type": "string"
},
"host_response_rate": {
"type": "number"
},
"host_name": {
"type": "string"
},
"host_identity_verified": {
"type": "boolean"
}
}
},
"property_type": {
"type": "string"
},
"summary": {
"type": "string"
},
"monthly_price": {
"type": "number"
},
"security_deposit": {
"type": "number"
},
"images": {
"type": "object",
"properties": {
"picture_url": {
"type": "string"
},
"xl_picture_url": {
"type": "string"
},
"medium_url": {
"type": "string"
},
"thumbnail_url": {
"type": "string"
}
}
},
"address": {
"type": "object",
"properties": {
"market": {
"type": "string"
},
"country_code": {
"type": "string"
},
"country": {
"type": "string"
},
"street": {
"type": "string"
},
"suburb": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"coordinates": {
"type": "array"
},
"type": {
"type": "string"
},
"is_location_exact": {
"type": "boolean"
}
}
},
"government_area": {
"type": "string"
}
}
},
"weekly_price": {
"type": "number"
},
"bed_type": {
"type": "string"
},
"listing_url": {
"type": "string"
},
"guests_included": {
"type": "number"
},
"maximum_nights": {
"type": "string"
},
"bathrooms": {
"type": "number"
},
"extra_people": {
"type": "number"
},
"bedrooms": {
"type": "number"
},
"minimum_nights": {
"type": "string"
},
"last_review": {
"type": "string"
},
"transit": {
"type": "string"
},
"accommodates": {
"type": "number"
},
"interaction": {
"type": "string"
},
"name": {
"type": "string"
},
"cancellation_policy": {
"type": "string"
},
"beds": {
"type": "number"
},
"last_scraped": {
"type": "string"
},
"room_type": {
"type": "string"
}
}
},
"supported_sync_modes": [
"full_refresh",
"incremental"
],
"default_cursor_field": [],
"source_defined_primary_key": [],
"namespace": "sample_airbnb"
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
}
]
}

This file was deleted.

0 comments on commit 061e269

Please sign in to comment.