Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
36c299c2
Commit
36c299c2
authored
12 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ConfigParameters.java
+14
-0
14 additions, 0 deletions
...msx/cisd/openbis/dss/generic/server/ConfigParameters.java
with
14 additions
and
0 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ConfigParameters.java
+
14
−
0
View file @
36c299c2
...
@@ -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
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment