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

Ingest setup upgrade #7

Conversation

jfsiii
Copy link

@jfsiii jfsiii commented Sep 27, 2020

Opening a PR in case it's easier to discuss & adopt. CI tracked in elastic#78560

Draft-level PR description. Happy to discuss more in person or here.

  • Don't assign HTTP status in the service layer. Leave original Error in response and allow HTTP handlers or other services to deal with as they choose.
  • Moved ensureInstalledDefaultPackages into its own file to aid in testing/mocking
  • Split packages/install.test.ts into two files ensure_installed_default_packages.test.ts & get_install_type.test.ts to keep any mocking effects separate

@jfsiii jfsiii marked this pull request as ready for review September 27, 2020 20:39
@jonathan-buttner jonathan-buttner merged commit 11b677d into jonathan-buttner:ingest-setup-upgrade Sep 28, 2020
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.

2 participants