- add RegistryController - add DeviceRegistryService - add Helper.kt - add device registry property - set up registry property
17 lines
451 B
Kotlin
17 lines
451 B
Kotlin
package ltd.hlaeja
|
|
|
|
import ltd.hlaeja.property.DeviceRegistryProperty
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties
|
|
import org.springframework.boot.runApplication
|
|
|
|
@EnableConfigurationProperties(
|
|
DeviceRegistryProperty::class,
|
|
)
|
|
@SpringBootApplication
|
|
class Application
|
|
|
|
fun main(vararg args: String) {
|
|
runApplication<Application>(*args)
|
|
}
|