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 Salesloft: certify to beta #23937

Merged
merged 16 commits into from
Mar 16, 2023

Conversation

davydov-d
Copy link
Collaborator

@davydov-d davydov-d commented Mar 10, 2023

What

#19217

How

  • update docs
  • unit test coverage -> 99%
  • integration test strictness level -> high
  • add auth by api key
  • update stream schemas
  • add incremental sync support to more streams
  • add allowed hosts

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/salesloft labels Mar 10, 2023
@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 10, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4386886353
❌ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4386886353
🐛 https://gradle.com/s/cv4wulrejmmzs

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestBasicRead::test_read[inputs0] - Failed: Stream users...
FAILED test_core.py::TestBasicRead::test_read[inputs1] - Failed: Stream users...
ERROR test_core.py::TestDiscovery::test_backward_compatibility[inputs0] - doc...
ERROR test_core.py::TestDiscovery::test_backward_compatibility[inputs1] - doc...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:109: Backward compatibility tests are disabled for version 0.1.6.
======== 2 failed, 44 passed, 1 skipped, 2 errors in 156.77s (0:02:36) =========

@davydov-d
Copy link
Collaborator Author

/test connector=connectors/source-salesloft

☝️ 2 tests will fail because of #23681

@davydov-d
Copy link
Collaborator Author

/test connector=connectors/source-salesloft

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 10, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4388124116
❌ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4388124116
🐛 https://gradle.com/s/lfmyrq3cjrmdm

Build Failed

Test summary info:

=========================== short test summary info ============================
ERROR test_core.py::TestDiscovery::test_backward_compatibility[inputs0] - doc...
ERROR test_core.py::TestDiscovery::test_backward_compatibility[inputs1] - doc...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:109: Backward compatibility tests are disabled for version 0.1.6.
============= 46 passed, 1 skipped, 2 errors in 154.81s (0:02:34) ==============

Copy link
Collaborator

@bazarnov bazarnov left a comment

Choose a reason for hiding this comment

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

LGTM for code changes, tests are failing on backward compatibility checks, make sure this is covered, otherwise - ok.

@davydov-d davydov-d requested review from a team March 13, 2023 06:57
@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 14, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4414663336
❌ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4414663336
🐛 https://gradle.com/s/sb7b5pldigwce

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestBasicRead::test_read[inputs0] - Failed: Stream peopl...
FAILED test_core.py::TestBasicRead::test_read[inputs1] - Failed: Stream peopl...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:109: Backward compatibility tests are disabled for version 0.1.6.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:518: Backward compatibility tests are disabled for version 0.1.6.
============= 2 failed, 44 passed, 3 skipped in 155.60s (0:02:35) ==============

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 15, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4424401578
❌ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4424401578
🐛 https://gradle.com/s/dyjz2v3gdspbc

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestBasicRead::test_read[inputs0] - Failed: Stream users...
FAILED test_core.py::TestBasicRead::test_read[inputs1] - Failed: Stream users...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:109: Backward compatibility tests are disabled for version 0.1.6.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:518: Backward compatibility tests are disabled for version 0.1.6.
============= 2 failed, 44 passed, 3 skipped in 158.32s (0:02:38) ==============

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 15, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4424731472
✅ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4424731472
Python tests coverage:

Name                           Stmts   Miss  Cover
--------------------------------------------------
source_salesloft/__init__.py       2      0   100%
source_salesloft/source.py       158      2    99%
--------------------------------------------------
TOTAL                            160      2    99%

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:109: Backward compatibility tests are disabled for version 0.1.6.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:518: Backward compatibility tests are disabled for version 0.1.6.
================== 46 passed, 3 skipped in 160.36s (0:02:40) ===================

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 15, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4426402128
❌ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4426402128
🐛 https://gradle.com/s/7g6l7rcjrnj36

Build Failed

Test summary info:

Could not find result summary

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 15, 2023

/test connector=connectors/source-salesloft

🕑 connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4426622685
✅ connectors/source-salesloft https://github.com/airbytehq/airbyte/actions/runs/4426622685
Python tests coverage:

Name                           Stmts   Miss  Cover
--------------------------------------------------
source_salesloft/__init__.py       2      0   100%
source_salesloft/source.py       158      2    99%
--------------------------------------------------
TOTAL                            160      2    99%

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:109: Backward compatibility tests are disabled for version 0.1.6.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:518: Backward compatibility tests are disabled for version 0.1.6.
================== 46 passed, 3 skipped in 163.60s (0:02:43) ===================

@bnchrch bnchrch self-requested a review March 15, 2023 16:33
Copy link
Contributor

@bnchrch bnchrch left a comment

Choose a reason for hiding this comment

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

Nothing stood out to me here.

  1. good cursors
  2. Good primary keys
  3. Great testing and documentation
  4. It likely is a breaking change but thats ok as its an alpha connector

@@ -1727,6 +1727,9 @@
icon: salesloft.svg
sourceType: api
releaseStage: alpha
allowedHosts:
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 16, 2023

/publish connector=connectors/source-salesloft

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

@davydov-d
Copy link
Collaborator Author

davydov-d commented Mar 16, 2023

/publish connector=connectors/source-salesloft

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


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

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

@davydov-d davydov-d merged commit d534751 into master Mar 16, 2023
@davydov-d davydov-d deleted the ddavydov/#19217-source-salesloft-certify-to-beta branch March 16, 2023 10:03
adriennevermorel pushed a commit to adriennevermorel/airbyte that referenced this pull request Mar 17, 2023
* airbytehq#19217 Source Salesloft: certify to beta

* airbytehq#19217 source salesloft: update docs

* airbytehq#19217 source salesloft: upd changelog

* airbytehq#19217 source salesloft: upd expected records

* airbytehq#19217 source salesloft: upd expected records

* airbytehq#19217 source salesloft: upd expected records

* airbytehq#19217 source salesloft: upd CAT config

* airbytehq#19217 source salesloft: fix CAT config

* airbytehq#19217 source salesloft: remove advanced_oauth

* Automated Change

* auto-bump connector version

---------

Co-authored-by: davydov-d <davydov-d@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
* #19217 Source Salesloft: certify to beta

* #19217 source salesloft: update docs

* #19217 source salesloft: upd changelog

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd CAT config

* #19217 source salesloft: fix CAT config

* #19217 source salesloft: remove advanced_oauth

* Automated Change

* auto-bump connector version

---------

Co-authored-by: davydov-d <davydov-d@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
erohmensing pushed a commit that referenced this pull request Mar 22, 2023
* #19217 Source Salesloft: certify to beta

* #19217 source salesloft: update docs

* #19217 source salesloft: upd changelog

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd expected records

* #19217 source salesloft: upd CAT config

* #19217 source salesloft: fix CAT config

* #19217 source salesloft: remove advanced_oauth

* Automated Change

* auto-bump connector version

---------

Co-authored-by: davydov-d <davydov-d@users.noreply.github.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
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/salesloft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants