This commit is contained in:
2022-12-26 16:37:05 +09:00
parent fb51282737
commit 5562fa7c85
17 changed files with 138 additions and 86 deletions

View File

@@ -25,6 +25,7 @@ ext {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'

View File

@@ -0,0 +1,14 @@
package kiz.app.api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class OrderController {
@GetMapping("/welcome")
public String welcome(){
return "welcome to the first service";
}
}