Skip to content

Conversation

@JasonStoltz
Copy link
Member

Backports the following commits to 7.x:

…elastic#75487)

In addition to a route for listing Credentials, this also adds a
utility function which helps create API routes which simply proxy
the App Search API.

The reasoning for this is as follows;
1. Creating new routes takes less effort and cognitive load if we
can simply just create proxy routes that use the APIs as is.
2. It keeps the App Search API as the source of truth. All logic is
implemented in the underlying API.
3. It makes unit testing routes much simpler. We do not need to verify
any connectivity to the underlying App Search API, because that is
already tested as part of the utility.
@JasonStoltz JasonStoltz added the backport This PR is a backport of another PR label Aug 27, 2020
@JasonStoltz JasonStoltz requested a review from cee-chen August 27, 2020 13:07
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

distributable file count

id value diff baseline
total 54822 +2 54820

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

@cee-chen
Copy link
Contributor

You can merge backports without approvals - definitely don't feel like you have to wait on anyone!

@JasonStoltz JasonStoltz merged commit 6e624bf into elastic:7.x Aug 27, 2020
@JasonStoltz JasonStoltz deleted the backport/7.x/pr-75487 branch August 27, 2020 15:10
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.

3 participants