Package io.openlineage.proxy
Class ProxyApp
- java.lang.Object
-
- io.dropwizard.Application<ProxyConfig>
-
- io.openlineage.proxy.ProxyApp
-
public final class ProxyApp extends io.dropwizard.Application<ProxyConfig>
ProxyApp is the main class of the Proxy Backend.
-
-
Constructor Summary
Constructors Constructor Description ProxyApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Standard dropwizard function to return fixed name of the application at the endpoint.voidinitialize(@NonNull io.dropwizard.setup.Bootstrap<ProxyConfig> bootstrap)Initialize the application.static voidmain(java.lang.String[] args)The main function receives the config file which is used in the initialization of the proxy backend.voidrun(@NonNull ProxyConfig config, @NonNull io.dropwizard.setup.Environment env)Called from main.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionThe main function receives the config file which is used in the initialization of the proxy backend.- Parameters:
args- commandline arguments- Throws:
java.lang.Exception- issues with initialization
-
getName
public java.lang.String getName()
Standard dropwizard function to return fixed name of the application at the endpoint.- Overrides:
getNamein classio.dropwizard.Application<ProxyConfig>- Returns:
- name of this application
-
initialize
public void initialize(@NonNull @NonNull io.dropwizard.setup.Bootstrap<ProxyConfig> bootstrap)Initialize the application.- Overrides:
initializein classio.dropwizard.Application<ProxyConfig>- Parameters:
bootstrap- combination of the yml file and environment variables
-
run
public void run(@NonNull @NonNull ProxyConfig config, @NonNull @NonNull io.dropwizard.setup.Environment env)Called from main.- Specified by:
runin classio.dropwizard.Application<ProxyConfig>- Parameters:
config- yml fileenv- runtime platform environment
-
-