Skip to content

[8.x] [Security Solution] Support for kibana spaces in openapi generated securitySolutionApi service for integration tests (#194029)#194400

Merged
tiansivive merged 2 commits intoelastic:8.xfrom
tiansivive:backport/8.x/pr-194029
Sep 30, 2024
Merged

[8.x] [Security Solution] Support for kibana spaces in openapi generated securitySolutionApi service for integration tests (#194029)#194400
tiansivive merged 2 commits intoelastic:8.xfrom
tiansivive:backport/8.x/pr-194029

Conversation

@tiansivive
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…curitySolutionApi service for integration tests (elastic#194029)

### Summary

This PR adds support for Kibana Spaces in the generated
`securitySolutionApi` service for integration tests.

Users can now pass an extra parameter `kibanaSpace` when calling a route
from the service. The provided space will be prefixed to the API's path.
If no argument is provided, it is default'ed to `'default'`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 2f45c90)

# Conflicts:
#	x-pack/test/api_integration/services/security_solution_api.gen.ts
#	x-pack/test/api_integration/services/security_solution_endpoint_exceptions_api.gen.ts
#	x-pack/test/api_integration/services/security_solution_exceptions_api.gen.ts
#	x-pack/test/api_integration/services/security_solution_lists_api.gen.ts
@kibana-ci
Copy link

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@tiansivive tiansivive merged commit 7ba0966 into elastic:8.x Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants