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
6b4c06bc
Commit
6b4c06bc
authored
8 years ago
by
gakin
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-4684: OpenbisSync commit ServiceFinderUtils
SVN: 37633
parent
2da5ca20
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/ethz/sis/openbis/generic/server/dss/plugins/sync/common/ServiceFinderUtils.java
+6
-2
6 additions, 2 deletions
...ic/server/dss/plugins/sync/common/ServiceFinderUtils.java
with
6 additions
and
2 deletions
datastore_server/source/java/ch/ethz/sis/openbis/generic/server/dss/plugins/sync/common/ServiceFinderUtils.java
+
6
−
2
View file @
6b4c06bc
...
...
@@ -28,7 +28,7 @@ import ch.systemsx.cisd.openbis.generic.shared.ICommonServer;
*/
public
class
ServiceFinderUtils
{
public
static
Encapsulated
CommonServer
get
Encapsulated
CommonServer
(
String
sessionToken
,
String
openBisServerUrl
)
public
static
I
CommonServer
getCommonServer
(
String
sessionToken
,
String
openBisServerUrl
)
{
ServiceFinder
finder
=
new
ServiceFinder
(
"openbis"
,
"/rmi-common"
);
ICommonServer
commonServer
=
...
...
@@ -41,6 +41,10 @@ public class ServiceFinderUtils
service
.
getVersion
();
}
});
return
EncapsulatedCommonServer
.
create
(
commonServer
,
sessionToken
);
return
commonServer
;
}
public
static
EncapsulatedCommonServer
getEncapsulatedCommonServer
(
String
sessionToken
,
String
openBisServerUrl
)
{
return
EncapsulatedCommonServer
.
create
(
getCommonServer
(
sessionToken
,
openBisServerUrl
),
sessionToken
);
}
}
\ No newline at end of file
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