Skip to content

Commit

Permalink
source-facebook-marketing: removing old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luishfs committed Nov 14, 2024
1 parent e44b459 commit 332d3ec
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 2,130 deletions.
2 changes: 1 addition & 1 deletion estuary-cdk/common.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM python:3.12-slim as base
FROM python:3.11 as base

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-airtable, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-gladly, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-google-ads, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-google-sheets-native, capture, v1, 0.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-notion, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-linkedin-pages, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-linkedin-ads-v2, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-iterable, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-pendo, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-brevo, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-front, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM base as builder

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-airtable, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-gladly, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-google-ads, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-google-sheets-native, capture, v1, 0.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-notion, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-linkedin-pages, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-linkedin-ads-v2, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-iterable, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-pendo, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-brevo, capture, v1, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 3 in estuary-cdk/common.Dockerfile

View workflow job for this annotation

GitHub Actions / py_connector (source-front, capture, v2, 1.0)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

ARG CONNECTOR_NAME
Expand Down
100 changes: 50 additions & 50 deletions source-facebook-marketing/test.flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,62 +27,62 @@ captures:
cursorField:
- updated_time
target: acmeCo/ads
# - resource:
# stream: ad_creatives
# syncMode: full_refresh
# target: acmeCo/ad_creatives
# - resource:
# stream: ads_insights
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights
# - resource:
# stream: ads_insights_age_and_gender
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_age_and_gender
# - resource:
# stream: ads_insights_country
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_country
# - resource:
# stream: ads_insights_region
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_region
# - resource:
# stream: ads_insights_dma
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_dma
# - resource:
# stream: ads_insights_platform_and_device
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_platform_and_device
# - resource:
# stream: ads_insights_action_type
# syncMode: incremental
# cursorField:
# - date_start
# target: acmeCo/ads_insights_action_type
- resource:
stream: ad_creatives
syncMode: full_refresh
target: acmeCo/ad_creatives
- resource:
stream: ads_insights
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights
- resource:
stream: ads_insights_age_and_gender
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_age_and_gender
- resource:
stream: ads_insights_country
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_country
- resource:
stream: ads_insights_region
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_region
- resource:
stream: ads_insights_dma
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_dma
- resource:
stream: ads_insights_platform_and_device
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_platform_and_device
- resource:
stream: ads_insights_action_type
syncMode: incremental
cursorField:
- date_start
target: acmeCo/ads_insights_action_type
- resource:
stream: campaigns
syncMode: incremental
cursorField:
- updated_time
target: acmeCo/campaigns
# - resource:
# stream: custom_conversions
# syncMode: full_refresh
# target: acmeCo/custom_conversions
- resource:
stream: custom_conversions
syncMode: full_refresh
target: acmeCo/custom_conversions
- resource:
stream: images
syncMode: incremental
Expand Down
58 changes: 0 additions & 58 deletions source-facebook-marketing/tests/conftest.py

This file was deleted.

5 changes: 0 additions & 5 deletions source-facebook-marketing/tests/helpers.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38852,11 +38852,7 @@
]
},
"key": [
"/object_id",
"/actor_id",
"/application_id",
"/event_time",
"/event_type"
"/actor_id"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@
"title": "Source Facebook Marketing",
"type": "object",
"properties": {
"account_id": {
"title": "Account ID",
"account_ids": {
"title": "Account IDs",
"description": "The Facebook Ad account ID to use when pulling data from the Facebook Marketing API. Open your Meta Ads Manager. The Ad account ID number is in the account dropdown menu or in your browser's address bar. See the <a href=\"https://www.facebook.com/business/help/1492627900875762\">docs</a> for more information.",
"order": 0,
"examples": [
"111111111111111"
],
"type": "string"
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]+$"
},
"uniqueItems": true
},
"start_date": {
"title": "Start Date",
Expand Down Expand Up @@ -406,7 +411,7 @@
}
},
"required": [
"account_id",
"account_ids",
"start_date",
"credentials"
]
Expand Down
141 changes: 0 additions & 141 deletions source-facebook-marketing/tests/test_api.py

This file was deleted.

Loading

0 comments on commit 332d3ec

Please sign in to comment.