generated from aura-ascend/template-service
Compare commits
2 Commits
1721b426fd
...
de3e93cc0a
| Author | SHA1 | Date | |
|---|---|---|---|
| de3e93cc0a | |||
| c135fc90d0 |
@@ -11,4 +11,5 @@ jobs:
|
|||||||
uses: aura-ascend/common-workflows/.gitea/workflows/gradle-build.yaml@master
|
uses: aura-ascend/common-workflows/.gitea/workflows/gradle-build.yaml@master
|
||||||
with:
|
with:
|
||||||
JAVA_VERSION: 17
|
JAVA_VERSION: 17
|
||||||
|
BUILD_OPTION: -x testIntegration
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "ltd.lulz"
|
group = "ltd.lulz"
|
||||||
description = "service template"
|
description = "device data service"
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ pluginManagement.repositories {
|
|||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "service"
|
rootProject.name = "device-data"
|
||||||
|
|||||||
14
src/main/kotlin/ltd/lulz/controller/HomeController.kt
Normal file
14
src/main/kotlin/ltd/lulz/controller/HomeController.kt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
package ltd.lulz.controller
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping
|
||||||
|
import org.springframework.web.bind.annotation.RestController
|
||||||
|
import reactor.core.publisher.Mono
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/")
|
||||||
|
class HomeController {
|
||||||
|
|
||||||
|
@GetMapping
|
||||||
|
fun home(): Mono<String> = Mono.just("Hello World")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user