ai.platon.pulsar.rest.starter.ApiServer.kt Maven / Gradle / Ivy
The newest version!
package ai.platon.pulsar.rest.starter
import ai.platon.pulsar.boot.autoconfigure.PulsarContextInitializer
import ai.platon.pulsar.rest.api.ApiApplication
import org.springframework.boot.runApplication
fun main(args: Array) {
runApplication(*args) {
addInitializers(PulsarContextInitializer())
setAdditionalProfiles("rest")
setLogStartupInfo(true)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy