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

feat(ingest): add ability to read other method types than GET for OAS ingest recipes #8303

Merged
merged 14 commits into from
Aug 2, 2023

Conversation

jsmilkstein
Copy link
Contributor

@jsmilkstein jsmilkstein commented Jun 26, 2023

Opened an RFC here datahub-project/rfcs#3, this is the associated code. Allows openapi recipes to display the metadata for non-GET methods, if there's an example in the spec.
Note: currently looking for a good test spec for the tests
Note: A lot of the file changes were from black adjusting whitespace

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Jun 26, 2023
Copy link
Collaborator

@hsheth2 hsheth2 left a comment

Choose a reason for hiding this comment

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

Overall looking good - would be good to (1) add some tests and (2) revert the extraneous changes

Also, this change probably didn't require an RFC. While I appreciated it and it helped give some context around the PR, rfcs are generally only required for major platform-level changes

@anshbansal anshbansal added the community-contribution PR or Issue raised by member(s) of DataHub Community label Jun 28, 2023
@jsmilkstein jsmilkstein requested a review from hsheth2 June 29, 2023 14:33
Copy link
Collaborator

@hsheth2 hsheth2 left a comment

Choose a reason for hiding this comment

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

Overall the code looks good

It'd be great to add some tests for this as well, even if just small unit tests for some of the new functionality

@hsheth2 hsheth2 added the merge-pending-ci A PR that has passed review and should be merged once CI is green. label Jul 18, 2023
@hsheth2
Copy link
Collaborator

hsheth2 commented Jul 19, 2023

@jsmilkstein we've had some flakiness in CI lately - just trying to get this green before merging.

@anshbansal anshbansal merged commit f51bd01 into datahub-project:master Aug 2, 2023
43 checks passed
yoonhyejin pushed a commit that referenced this pull request Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution PR or Issue raised by member(s) of DataHub Community ingestion PR or Issue related to the ingestion of metadata merge-pending-ci A PR that has passed review and should be merged once CI is green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants