Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Mailchimp - Add Reports stream #23464

Closed
wants to merge 10 commits into from
Closed

Source Mailchimp - Add Reports stream #23464

wants to merge 10 commits into from

Conversation

haithem-souala
Copy link
Contributor

@haithem-souala haithem-souala commented Feb 25, 2023

What

Closes #17026

How

Add a new stream: Reports

Recommended reading order

  1. x.java
  2. y.python

🚨 User Impact 🚨

Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the connector is published, connector added to connector index as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here
Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub and connector version bumped by running the /publish command described here
Connector Generator
  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • Documentation which references the generator is updated as needed

@CLAassistant
Copy link

CLAassistant commented Feb 25, 2023

CLA assistant check
All committers have signed the CLA.

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Feb 25, 2023
@haithem-souala haithem-souala changed the title [WIP] Source Mailchimp - Add Reports stream Source Mailchimp - Add Reports stream Feb 25, 2023
@haithem-souala
Copy link
Contributor Author

/test connector=source-mailchimp

@YowanR
Copy link
Contributor

YowanR commented Feb 25, 2023

@sh4sh @natalyjazzviolin this PR is ready for review 🙏

@YowanR YowanR requested a review from sajarin March 7, 2023 20:21
@sajarin
Copy link
Contributor

sajarin commented Mar 13, 2023

/test connector=source-mailchimp

🕑 source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4406926827
❌ source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4406926827
🐛 https://gradle.com/s/q36qc7xzksh5e

Build Failed

Test summary info:

	 =========================== short test summary info ============================
	 FAILED unit_tests/test_source.py::test_streams_count - assert 4 == 3
	 �[31m================== �[31m�[1m1 failed�[0m, �[32m17 passed�[0m, �[33m59 warnings�[0m�[31m in 0.55s�[0m�[31m ===================�[0m

@haithem-souala
Copy link
Contributor Author

haithem-souala commented Mar 13, 2023

Hey @sajarin, fixed, can you re-run the tests please?!

@YowanR
Copy link
Contributor

YowanR commented Mar 15, 2023

Bump here @sajarin @marcosmarxm

@sajarin
Copy link
Contributor

sajarin commented Mar 15, 2023

/test connector=source-mailchimp

🕑 source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4426613537
❌ source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4426613537
🐛 https://gradle.com/s/zjxj5tmt6agys

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_incremental.py::TestIncremental::test_state_with_abnormally_large_values[inputs0]
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:100: The previous and actual specifications are identical.
=================== 1 failed, 60 passed, 1 skipped in 56.49s ===================

@marcosmarxm
Copy link
Member

marcosmarxm commented Mar 15, 2023

/test connector=source-mailchimp

🕑 source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4428800272
❌ source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4428800272
🐛

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:100: The previous and actual specifications are identical.
=================== 61 passed, 1 skipped in 68.01s (0:01:08) ===================

@marcosmarxm
Copy link
Member

marcosmarxm commented Mar 15, 2023

/test connector=source-mailchimp

🕑 source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4428912138
✅ source-mailchimp https://github.com/airbytehq/airbyte/actions/runs/4428912138
Python tests coverage:

Name                           Stmts   Miss  Cover
--------------------------------------------------
source_mailchimp/__init__.py       2      0   100%
source_mailchimp/source.py        46      1    98%
source_mailchimp/streams.py      126      9    93%
--------------------------------------------------
TOTAL                            174     10    94%

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:100: The previous and actual specifications are identical.
=================== 61 passed, 1 skipped in 69.93s (0:01:09) ===================

@marcosmarxm
Copy link
Member

marcosmarxm commented Mar 15, 2023

/publish connector=source-mailchimp

🕑 Publishing the following connectors:
source-mailchimp
https://github.com/airbytehq/airbyte/actions/runs/4429099503


Connector Did it publish? Were definitions generated?
source-mailchimp

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@marcosmarxm
Copy link
Member

marcosmarxm commented Mar 15, 2023

/publish connector=connectors/source-mailchimp

🕑 Publishing the following connectors:
connectors/source-mailchimp
https://github.com/airbytehq/airbyte/actions/runs/4429439341


Connector Did it publish? Were definitions generated?
connectors/source-mailchimp

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @haithem-souala next time please create a specific branch to the PR

@haithem-souala
Copy link
Contributor Author

Thanks for the contribution @haithem-souala next time please create a specific branch to the PR 👌

marcosmarxm added a commit that referenced this pull request Mar 15, 2023
* init commit

* update doc

* add reports stream

* Bump mailchimps connector docker image

* fix tests

* update abnormal stream state for report mailchimp

* add mailchimp allowedHosts

* run config seed files

---------

Co-authored-by: Haithem Souala <haithem.souala@melting-point.fr>
Co-authored-by: Haithem Souala <haithem.souala@woopit.fr>
@marcosmarxm
Copy link
Member

Merged at #24112

adriennevermorel pushed a commit to adriennevermorel/airbyte that referenced this pull request Mar 17, 2023
* init commit

* update doc

* add reports stream

* Bump mailchimps connector docker image

* fix tests

* update abnormal stream state for report mailchimp

* add mailchimp allowedHosts

* run config seed files

---------

Co-authored-by: Haithem Souala <haithem.souala@melting-point.fr>
Co-authored-by: Haithem Souala <haithem.souala@woopit.fr>
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
* init commit

* update doc

* add reports stream

* Bump mailchimps connector docker image

* fix tests

* update abnormal stream state for report mailchimp

* add mailchimp allowedHosts

* run config seed files

---------

Co-authored-by: Haithem Souala <haithem.souala@melting-point.fr>
Co-authored-by: Haithem Souala <haithem.souala@woopit.fr>
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
* init commit

* update doc

* add reports stream

* Bump mailchimps connector docker image

* fix tests

* update abnormal stream state for report mailchimp

* add mailchimp allowedHosts

* run config seed files

---------

Co-authored-by: Haithem Souala <haithem.souala@melting-point.fr>
Co-authored-by: Haithem Souala <haithem.souala@woopit.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/mailchimp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source Mailchimp: new stream Reports
6 participants