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

[kibana]: Fix CreateFleetServerHosts and CreateFleetProxy for 8.x #250

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

AndersonQ
Copy link
Member

@AndersonQ AndersonQ commented Nov 7, 2024

fix request schema and return error body

What does this PR do?

Fix the schema for CreateFleetServerHosts and CreateFleetProxy requests so 8.x accepts it instead of returning 400 - Bad request.

The validation on 9.0 is different since elastic/kibana#193326 was introduced.

Why is it important?

So the kibana APIs work with a 8.x stack

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Related Issues

@AndersonQ AndersonQ added the bug Something isn't working label Nov 7, 2024
@AndersonQ AndersonQ self-assigned this Nov 7, 2024
@AndersonQ AndersonQ requested a review from a team as a code owner November 7, 2024 15:33
@AndersonQ AndersonQ requested review from belimawr and leehinman and removed request for a team November 7, 2024 15:33
@AndersonQ AndersonQ force-pushed the kibana-better-errors branch from 93abbc2 to a431274 Compare November 7, 2024 15:46
@AndersonQ AndersonQ force-pushed the kibana-better-errors branch from a431274 to f4b1aa5 Compare November 7, 2024 15:46
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @AndersonQ

@AndersonQ AndersonQ merged commit 9d38e7e into elastic:main Nov 7, 2024
6 checks passed
@AndersonQ AndersonQ deleted the kibana-better-errors branch November 7, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants