尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Nebula is a DSL for quickly defining test ecosystems - a combination of docker images and associated behaviour.
Use Nebula when you want to spin up some containers, and prepare them with state or behaviour.
For example:
stack {
// Start a Kafka broker which emits a message every 100ms
kafka {
producer("100ms".duration(), "stockQuotes") {
jsonMessage {
mapOf(
"symbol" to listOf("GBP/USD", "AUD/USD", "NZD/USD").random(),
"price" to Random.nextDouble(0.8, 0.95).toBigDecimal()
)
}
}
}
// start an HTTP server which responds on /hello
http {
get("/hello") { call ->
call.respondText("Hello, World!")
}
}
Under the hood, Nebular uses TestContainers to pull in and start the relevant containers, then scripts them.
Use Nebula to:
localstack with preconfigured contentlocalstack with OpenAPI specs deployed to itNebula is part of the test and demo infrastructure at Orbital
This starts Nebula as in http server mode, listening on port 8099
docker run -v /var/run/docker.sock:/var/run/docker.sock --privileged --network host orbitalhq/nebula:latest
privileged access, along with access to the docker daemonhost network