toggle menu
sdk-java
1.0.1
jvm
switch theme
search in API
sdk-testing
/
dev.restate.sdk.testing
/
ManualRestateRunner
Manual
Restate
Runner
open
class
ManualRestateRunner
:
AutoCloseable
,
ExtensionContext.Store.CloseableResource
Manual runner for Restate. We recommend using
RestateRunner
with JUnit 5.
Members
Properties
RESTATE_ADMIN_ENDPOINT_PORT
Link copied to clipboard
val
RESTATE_ADMIN_ENDPOINT_PORT
:
Int
=
9070
RESTATE_INGRESS_ENDPOINT_PORT
Link copied to clipboard
val
RESTATE_INGRESS_ENDPOINT_PORT
:
Int
=
8080
Functions
close
Link copied to clipboard
open
fun
close
(
)
Like
stop
.
get
Admin
Url
Link copied to clipboard
open
fun
getAdminUrl
(
)
:
URL
Get restate admin url to send HTTP requests to the admin API.
get
Restate
Container
Link copied to clipboard
open
fun
getRestateContainer
(
)
:
GenericContainer
<
out
Any
>
Get the restate container.
get
Restate
Url
Link copied to clipboard
open
fun
getRestateUrl
(
)
:
URL
Get restate ingress url to send HTTP/gRPC requests to services.
run
Link copied to clipboard
open
fun
run
(
)
Run restate, run the embedded service endpoint server, and register the services.
stop
Link copied to clipboard
open
fun
stop
(
)
Stop restate and the embedded service endpoint server.