Skip to content

Commit

Permalink
named example-spring-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
robberphex committed Mar 31, 2022
1 parent 4d08857 commit 1b1ebf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>spring-boot-complete</artifactId>
<artifactId>opensergo-sc-demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-boot-complete</name>
<description>Demo project for Spring Boot</description>
<name>opensergo-sc-demo</name>
<description>Demo project for OpenSergo with Spring Cloud</description>

<properties>
<java.version>1.8</java.version>
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/example/springboot/Application.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
package com.example.springboot;

import java.util.Arrays;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class Application {
Expand All @@ -15,5 +10,4 @@ public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}


}
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server:

spring:
application:
name: "luyanbo-opensergo"
name: "example-spring-cloud"

management:
endpoint:
Expand Down

0 comments on commit 1b1ebf6

Please sign in to comment.