commit
This commit is contained in:
@@ -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'
|
||||
|
||||
14
order-service/src/main/java/kiz/app/api/OrderController.java
Normal file
14
order-service/src/main/java/kiz/app/api/OrderController.java
Normal 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";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user