这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Changes for Netflix environment compatibility #272

Merged
merged 2 commits into from
Sep 20, 2016

Conversation

ebukoski
Copy link
Contributor

Three changes for Netflix environment compatibility:

  • Upgrade AWS client to 1.11.9
  • Set force delete instances=true when deleting ASGs
  • Don't set MediaType on JanitorMonkeyResource (undo Janitor part of PR#261)

The first change is straightforward, AWS client update.

For the second change, if Janitor already made the decision to delete the ASG then there is no reason to keep the instances. Feedback welcome if anyone feels this is too aggressive.

The third change exposes a fundamental problem with JanitorMonkeyResource. Technically the return type should be JSON as it is a REST API but some routines return HTML! There probably should be separate APIs for JSON vs. HTML returns. But for now we are removing the explicit JSON return type on the JanitorMonkeyResource as it breaks our internal apps that are expecting HTML.

…set force delete instances=true when deleting ASGs, don't set MediaType on JanitorMonkeyResource
@ebukoski ebukoski merged commit 8624383 into Netflix:master Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant