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

Return 404 if requested pipeline does not exist #1522

Closed
obermeier opened this issue Apr 26, 2023 · 0 comments · Fixed by #1521
Closed

Return 404 if requested pipeline does not exist #1522

obermeier opened this issue Apr 26, 2023 · 0 comments · Fixed by #1521
Assignees
Labels
backend Everything that is related to the StreamPipes backend enhancement New feature or request java Pull requests that update Java code no release note Issues and PR. Add if they should not be contained in the release notes (e.g., minor refactorings).
Milestone

Comments

@obermeier
Copy link
Member

Body

Executing GET /streampipes-backend/api/v2/pipelines/{id} with a not existing id leads to a
com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input excption

What do you think of this idea to return a 404 in this case?

StreamPipes Committer

I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

@obermeier obermeier added enhancement New feature or request java Pull requests that update Java code backend Everything that is related to the StreamPipes backend labels Apr 26, 2023
@obermeier obermeier self-assigned this Apr 26, 2023
@bossenti bossenti added the no release note Issues and PR. Add if they should not be contained in the release notes (e.g., minor refactorings). label Apr 29, 2023
@bossenti bossenti added this to the 1.0.0 milestone Apr 29, 2023
@bossenti bossenti modified the milestones: 1.0.0, 0.92.0 May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend enhancement New feature or request java Pull requests that update Java code no release note Issues and PR. Add if they should not be contained in the release notes (e.g., minor refactorings).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants