Class FluxzeroIdpStubApp
java.lang.Object
io.fluxzero.idp.testsupport.localstub.FluxzeroIdpStubApp
- All Implemented Interfaces:
AutoCloseable
Standalone Fluxzero application for the local IDP stub.
This app connects to an already running Fluxzero runtime and lets the normal Fluxzero proxy expose the stub's web handlers. It intentionally does not start a local HTTP server.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()config()static voidstatic FluxzeroIdpStubAppstart()Starts the stub usingApplicationPropertiesfor configuration.static FluxzeroIdpStubAppstart(FluxzeroIdpStubApp.Config config) Starts the stub against a Fluxzero runtime.stub()
-
Method Details
-
main
-
start
Starts the stub usingApplicationPropertiesfor configuration. -
start
Starts the stub against a Fluxzero runtime. The HTTP surface is still served by the Fluxzero proxy. -
config
-
stub
-
awaitStopped
- Throws:
InterruptedException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-