Fixing eureka starter
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>{@= eurekaStarter @}</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -110,6 +110,8 @@ Spring.SnippetView = Backbone.View.extend({
|
||||
this.model.version.indexOf("Camden")!=-1 ? "1.4.5.RELEASE" :
|
||||
this.model.version.indexOf("Brixton")!=-1 ? "1.3.8.RELEASE" :
|
||||
"1.2.8.RELEASE";
|
||||
this.model.eurekaStarter = this.model.version.indexOf("Finchley") !=-1 ? "spring-cloud-starter-netflix-eureka-client" :
|
||||
`spring-cloud-starter-eureka`;
|
||||
console.log(JSON.stringify(this.model))
|
||||
var html = $(this.combinedTemplate(this.model));
|
||||
this.$el.html(html);
|
||||
|
||||
Reference in New Issue
Block a user