App Configuration
data class AppConfiguration(val debugMode: Boolean = false, val backends: List<LabSpecs> = listOf(
LabSpecs(
id = "default",
server = "http://localhost:8080",
taskServer = "http://localhost:8887",
guestAccess = true,
),
), val serverAddress: String? = null, val serverConfiguration: ServerConfiguration = ServerConfiguration(
callback = "https://ftdev.utu.fi/powergoblin/oidc/callback",
staticContentPaths = listOf("web2"),
staticContentPackage = "/fi/utu/tech/powergoblin/tasks/web"
), val taskServerConfiguration: ServerConfiguration = ServerConfiguration(
port = 8887,
callback = "",
staticContentPaths = listOf("web3"),
))
Constructors
Link copied to clipboard
constructor(debugMode: Boolean = false, backends: List<LabSpecs> = listOf(
LabSpecs(
id = "default",
server = "http://localhost:8080",
taskServer = "http://localhost:8887",
guestAccess = true,
),
), serverAddress: String? = null, serverConfiguration: ServerConfiguration = ServerConfiguration(
callback = "https://ftdev.utu.fi/powergoblin/oidc/callback",
staticContentPaths = listOf("web2"),
staticContentPackage = "/fi/utu/tech/powergoblin/tasks/web"
), taskServerConfiguration: ServerConfiguration = ServerConfiguration(
port = 8887,
callback = "",
staticContentPaths = listOf("web3"),
))