Hello ivyTeam, we have one problem with BusinessData when migrate to ivy 8.0 Currently, some projects on our side need to re-create index of business data with specific template. In order to do that, we need to get field "bundledServerUrl" of IBusinessDataManager to get Bundled ES URL to put template.

But since ivy 8.0, IBusinessDataManager does not has field "bundledServerUrl" anymore.

Therefore I want to ask you how we get "bundledServerUrl" in ivy 8.0? Do we have any alternative to get ES bundled server URL in ivy 8.0?

asked 14.11.2019 at 21:24

Nam%20Mai's gravatar image

Nam Mai
(suspended)
accept rate: 66%


Something like this should work now. Still internal api!

import ch.ivyteam.ivy.business.data.store.search.internal.elasticsearch.server.ServerConfig;
import ch.ivyteam.di.restricted.DiCore;

ServerConfig config = DiCore.getGlobalInjector().getInstance(ServerConfig);
String url = config.getServerUrl(); // returns bundled- or external server url.
link

answered 18.11.2019 at 02:43

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

edited 18.11.2019 at 02:44

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147

Asked: 14.11.2019 at 21:24

Seen: 1,016 times

Last updated: 18.11.2019 at 02:44