org.axway.grapes.server.config
Class GrapesServerConfig
java.lang.Object
com.yammer.dropwizard.config.Configuration
org.axway.grapes.server.config.GrapesServerConfig
public class GrapesServerConfig
- extends com.yammer.dropwizard.config.Configuration
- Author:
- jdcoffre
Configuration class of Grapes service class.
This configuration is loaded from a yaml file at the service start.
The absolute path of the configuration file is one of the mandatory parameter of the command line that start the service.
An example of the expected configuration file in in the project resources.
INFO:
You can override configuration settings by passing special Java system properties when starting your service. Overrides must start with prefix dw., followed by the path to the configuration value being overridden.
For example, to override the tmpDirectory to use, you could start your service like this:
java -Ddw.tmpDirectory=/new/tmp/directory server my-config.json
| Methods inherited from class com.yammer.dropwizard.config.Configuration |
getHttpConfiguration, getLoggingConfiguration, setHttpConfiguration, setLoggingConfiguration, toString |
GrapesServerConfig
public GrapesServerConfig()
getDataBaseConfig
public DataBaseConfig getDataBaseConfig()
getUrl
public String getUrl()
- Returns the complete Grapes root URL
- Returns:
- String
getAuthenticationCachePolicy
public String getAuthenticationCachePolicy()
isInMaintenance
public boolean isInMaintenance()
setMaintenanceMode
public void setMaintenanceMode(boolean maintenanceMode)
getCommunityConfiguration
public CommunityConfig getCommunityConfiguration()
Copyright © 2014. All Rights Reserved.