Skip to content

Commit

Permalink
Merge pull request #160 from cfieber/master
Browse files Browse the repository at this point in the history
Update kork to pick up archaius configuration for hystrix.
  • Loading branch information
cfieber committed Dec 1, 2015
2 parents e623c60 + 350b744 commit f95a7bb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
maven { url "http://spinnaker.bintray.com/gradle" }
}
dependencies {
classpath 'com.netflix.spinnaker.gradle:spinnaker-gradle-project:3.4.0'
classpath 'com.netflix.spinnaker.gradle:spinnaker-gradle-project:3.5.0'
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
Expand All @@ -17,7 +17,7 @@ allprojects {
apply plugin: 'groovy'

spinnaker {
dependenciesVersion = "0.19.0"
dependenciesVersion = "0.23.0"
}

configurations.all {
Expand Down
10 changes: 10 additions & 0 deletions gate-web/config/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ swagger:
- .*vpcs.*
- .*subnets.*
- .*networks.*

hystrix:
command:
## Hystrix Global Defaults
default:
execution.isolation.thread.timeoutInMilliseconds: 60000
## Command-specific overrides
fetchGlobalAccounts:
execution.isolation.thread.timeoutInMilliseconds: 2000

5 changes: 0 additions & 5 deletions gate-web/config/hystrix.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.netflix.spinnaker.gate

import com.netflix.config.ConfigurationManager
import com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet
import com.netflix.spinnaker.hystrix.spectator.HystrixSpectatorConfig
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
Expand Down Expand Up @@ -49,10 +48,6 @@ class Main extends SpringBootServletInitializer {
'spring.profiles.active': '${netflix.environment},local'
]

static {
ConfigurationManager.loadCascadedPropertiesFromResources("hystrix")
}

static void main(String... args) {
new SpringApplicationBuilder().properties(DEFAULT_PROPS).sources(Main).run(args)
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip

0 comments on commit f95a7bb

Please sign in to comment.