Skip to content

Commit de5dc10

Browse files
committed
fix: use correct openbis url for v3 api
1 parent f380aa8 commit de5dc10

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/life/qbic/portal/portlet/UserDBPortletUI.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ protected Layout getPortletContent(final VaadinRequest request) {
8888
boolean success = true;
8989
manager = ConfigurationManagerFactory.getInstance();
9090
tmpFolder = manager.getTmpFolder();
91-
9291
if (PortalUtils.isLiferayPortlet()) {
9392
// read in the configuration file
9493

@@ -109,9 +108,9 @@ protected Layout getPortletContent(final VaadinRequest request) {
109108
// establish connection to the OpenBIS API
110109
try {
111110
logger.debug("trying to connect to openbis");
112-
111+
final String openbisURL = manager.getDataSourceUrl() + "/openbis/openbis";
113112
this.openbis = new OpenBisClient(manager.getDataSourceUser(), manager.getDataSourcePassword(),
114-
manager.getDataSourceUrl());
113+
openbisURL);
115114
this.openbis.login();
116115
} catch (Exception e) {
117116
success = false;

0 commit comments

Comments
 (0)