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 BambooHR - Migrate Python CDK to Low-code CDK #37452

Merged
merged 35 commits into from
Jun 3, 2024

Conversation

topefolorunso
Copy link
Collaborator

@topefolorunso topefolorunso commented Apr 20, 2024

What

Migrate BambooHR Python CDK to Low-code CDK fixes airbytehq/airbyte-internal-issues#6758

How

Developed using UI Builder and the Low-code CDK

Recommended reading order

  1. manifest.yaml
  2. components.py

🚨 User Impact 🚨

No

Pre-merge Actions

Expand the relevant checklist and delete the others.

Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Unit & integration tests added

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.

Copy link

vercel bot commented Apr 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 9:37pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/bamboo-hr labels Apr 20, 2024
Copy link
Contributor

@natikgadzhi natikgadzhi left a comment

Choose a reason for hiding this comment

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

Please use Connector Builder for migrations, it's a hard requirement. /cc @lazebnyi. For community connectors that can be built in Builder with custom components locally, it should be a requirement.

Now that we also moved live-testing to open source, we should also require a full live test passing report. /cc @alafanechere.

Did you actually read the readme and try doing acceptance tests or building with Gradle? Last I checked, those won't work and are outdated.

.gitignore Outdated Show resolved Hide resolved
airbyte-integrations/connectors/source-bamboo-hr/README.md Outdated Show resolved Hide resolved
airbyte-integrations/connectors/source-bamboo-hr/README.md Outdated Show resolved Hide resolved
airbyte-integrations/connectors/source-bamboo-hr/README.md Outdated Show resolved Hide resolved
airbyte-integrations/connectors/source-bamboo-hr/README.md Outdated Show resolved Hide resolved
@topefolorunso
Copy link
Collaborator Author

@natikgadzhi All tests passed can you review please?

Copy link
Collaborator

@lazebnyi lazebnyi left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@natikgadzhi natikgadzhi left a comment

Choose a reason for hiding this comment

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

This is great, approving to unblock. You can make it better — left a few nits / suggestions.


[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "0.80.0"
PyBambooHR = "==0.8.1"
airbyte-cdk = "^1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Adventurous!

pytest = "^6.1"
requests-mock = "*"
pytest-mock = "*"
pytest = "*"
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you <3



@dataclass
class BambooHRSchemaLoader(JsonFileSchemaLoader):
Copy link
Contributor

Choose a reason for hiding this comment

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

This would benefit from a comment explaining why Bamboo needs a custom schema loader.

@@ -0,0 +1,156 @@
version: 0.83.0
Copy link
Contributor

Choose a reason for hiding this comment

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

You could bump this to 1.0+ as well, so version in the poetry.lock matchies this.

@natikgadzhi
Copy link
Contributor

Since we've ran regression tests, I am happy to merge this as is to wrap it up, the new thing is clearly better than the old one.

@natikgadzhi natikgadzhi merged commit 460de72 into master Jun 3, 2024
30 of 32 checks passed
@natikgadzhi natikgadzhi deleted the tope/migrate_bamboohr_lowcode branch June 3, 2024 16:39
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/bamboo-hr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants