Implement a custom HystrixPropertiesStrategy plugin

Add a custom HystrixPropertiesStrategy implementation where getCommandPropertiesCacheKey is overridden to return null so that HystrixPropertiesFactory will always generate a new HystrixCommandProperties for each new HystrixCommand instantiation.
This is a matter of preference, but I think we want to separate concerns as
much as possible; having a `trait SetHystrixPropertiesStrategy extends
GlobalSettings` makes it clear this is a separate behaviour which is
injected here.

In the unlikely event we should be unregistering something, or adding more
stuff `onStart`, this will keep things clean.

On Mon, Oct 6, 2014 at 10:29 AM, Lloyd <notifications@github.com> wrote:

> In app/com/m3/octoparts/Global.scala:
>
> > @@ -80,8 +82,8 @@ object Global extends WithFilters(MetricsFilter) with ScaldiSupport {
> >    }
> >
> >    override def onStart(app: Application) = {
> > +    setHystrixPropertiesStrategy(app)
>
> Any particular reason for this request (e.g. testing)?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/m3dev/octoparts/pull/36/files#r18439398>.
>