chapi.app.frontend.ContainerService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chapi-application Show documentation
Show all versions of chapi-application Show documentation
Chapi is A common language meta information convertor, convert different languages to same meta-data model
package chapi.app.frontend
import kotlinx.serialization.Serializable
@Serializable
data class ContainerService(
// component name, only if is a component
var name: String = "",
var demands: List = listOf(),
var resources: List = listOf()
)
@Serializable
data class ContainerDemand(
var source_caller: String = "",
var call_routes: List = listOf(),
var base: String = "",
var target_url: String = "",
var target_http_method: String = "",
var call_data: String = ""
)