Skip to content

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