Skip to content

Commit

Permalink
- new feature
Browse files Browse the repository at this point in the history
- enable hystrix dashboard
  • Loading branch information
spolnik committed Jan 29, 2017
1 parent 7992199 commit 5cc4040
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jar {

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion",
'org.springframework.cloud:spring-cloud-starter-hystrix-dashboard',
'org.springframework.cloud:spring-cloud-starter-eureka-server'
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/versioning.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//noinspection GroovyAssignabilityCheck
version = new ProjectVersion(
'1', '0', '3', System.env.TRAVIS_BUILD_NUMBER
'1', '0', '4', System.env.TRAVIS_BUILD_NUMBER
)

println "Version number: " + version
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/com/jalgoarena/JAlgoArenaEurekaServer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ package com.jalgoarena
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard

@SpringBootApplication
@EnableEurekaServer
@EnableHystrixDashboard
open class JAlgoArenaEurekaServer

fun main(args: Array<String>) {
Expand Down

0 comments on commit 5cc4040

Please sign in to comment.