ManualRestateRunner

open class ManualRestateRunner : AutoCloseable, ExtensionContext.Store.CloseableResource

Manual runner for Restate. We recommend using RestateRunner with JUnit 5.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun close()
Like stop.
Link copied to clipboard
open fun getAdminUrl(): URL
Get restate admin url to send HTTP requests to the admin API.
Link copied to clipboard
open fun getRestateContainer(): GenericContainer<out Any>
Get the restate container.
Link copied to clipboard
open fun getRestateUrl(): URL
Get restate ingress url to send HTTP/gRPC requests to services.
Link copied to clipboard
open fun run()
Run restate, run the embedded service endpoint server, and register the services.
Link copied to clipboard
open fun stop()
Stop restate and the embedded service endpoint server.