Skip to content
Snippets Groups Projects
Commit 36c299c2 authored by cramakri's avatar cramakri
Browse files

BIS-224 SP-531 : Register the graphservice in the DSS startup

SVN: 28514
parent 3ffd4364
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,7 @@ public final class ConfigParameters implements IServletPropertiesManager ...@@ -185,6 +185,7 @@ public final class ConfigParameters implements IServletPropertiesManager
PropertyUtils.getInt(properties, AUTH_CACHE_CLEANUP_TIMER_PERIOD, PropertyUtils.getInt(properties, AUTH_CACHE_CLEANUP_TIMER_PERIOD,
DEFAULT_AUTH_CACHE_CLEANUP_TIMER_PERIOD_MINS); DEFAULT_AUTH_CACHE_CLEANUP_TIMER_PERIOD_MINS);
pluginServlets = new LinkedHashMap<String, PluginServletConfig>(); pluginServlets = new LinkedHashMap<String, PluginServletConfig>();
addSystemServlets();
SectionProperties[] pluginServicesProperties = SectionProperties[] pluginServicesProperties =
PropertyParametersUtil.extractSectionProperties(properties, PropertyParametersUtil.extractSectionProperties(properties,
Constants.PLUGIN_SERVICES_LIST_KEY, false); Constants.PLUGIN_SERVICES_LIST_KEY, false);
...@@ -210,6 +211,19 @@ public final class ConfigParameters implements IServletPropertiesManager ...@@ -210,6 +211,19 @@ public final class ConfigParameters implements IServletPropertiesManager
} }
} }
/**
* Register any servlets that are part of the system and should always be available.
*/
private void addSystemServlets()
{
String servletClass =
"ch.systemsx.cisd.openbis.dss.generic.server.DynamicFileTabularDataGraphServlet";
String servletPath = "/graphservice/*";
PluginServletConfig servletConfig =
new PluginServletConfig(servletClass, servletPath, new Properties());
pluginServlets.put(servletPath, servletConfig);
}
@Override @Override
public void addServletProperties(String propertiesName, Properties servletProperties) public void addServletProperties(String propertiesName, Properties servletProperties)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment