Package | Description |
---|---|
com.spotify.apollo.test |
Modifier and Type | Method and Description |
---|---|
ServiceHelper |
ServiceHelper.args(String... args)
Run the service with the given program arguments.
|
ServiceHelper |
ServiceHelper.conf(String key,
Object value)
Run the service with the key/value pair defined in the loaded configuration.
|
ServiceHelper |
ServiceHelper.conf(String key,
String value)
Run the service with the key/value pair defined in the loaded configuration.
|
static ServiceHelper |
ServiceHelper.create(AppInit appInit,
String serviceName)
Creates a
ServiceHelper using the given AppInit and service name. |
static ServiceHelper |
ServiceHelper.create(AppInit appInit,
String serviceName,
StubClient stubClient)
Creates a
ServiceHelper using the given AppInit , service name and
stub client. |
ServiceHelper |
ServiceHelper.disableMetaApi()
Don't set up
/_meta/* routes for the application. |
ServiceHelper |
ServiceHelper.domain(String domain)
Run the service in the given domain.
|
ServiceHelper |
ServiceHelper.forwardingNonStubbedRequests(boolean forward)
Determines whether to forward requests for which nothing has been stubbed.
|
ServiceHelper |
ServiceHelper.resetConf(String key)
Reset a key in the configuration
|
ServiceHelper |
ServiceHelper.scheme(String scheme)
Set the scheme to be used for relative request uris on this ServiceHelper instance.
|
ServiceHelper |
ServiceHelper.startTimeoutSeconds(int timeoutSeconds)
Set the time to wait for the service to start before giving up.
|
ServiceHelper |
ServiceHelper.withModule(ApolloModule module) |
Copyright © 2016. All rights reserved.