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

Fix #2867: Add support for GET /feed/{id} #2892

Merged
merged 2 commits into from Feb 21, 2022

Conversation

vivekratnavel
Copy link
Contributor

Describe your changes :

See #2867

Type of change :

  • [] Bug fix
  • [] Improvement
  • New feature
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [] Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@sonarcloud
Copy link

sonarcloud bot commented Feb 21, 2022

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Feb 21, 2022

[catalog] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

75.0% 75.0% Coverage
0.0% 0.0% Duplication

content = @Content(mediaType = "application/json", schema = @Schema(implementation = PostList.class))),
})
public PostList getPosts(@Context UriInfo uriInfo, @PathParam("id") String id) throws IOException {
return new PostList(dao.listPosts(id));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I presume we do not have href for posts.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is correct

@vivekratnavel vivekratnavel merged commit d0e6a3f into open-metadata:main Feb 21, 2022
@vivekratnavel
Copy link
Contributor Author

@mithmatt Thank you for the review!

@Sachin-chaurasiya Sachin-chaurasiya changed the title Fix #2867: Add support for GET /feed/{id}/posts Fix #2867: Add support for GET /feed/{id} Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants