I'd like to analyze the BusinessData index created by ElasticSearch. How can I inspect the schema of my BusinessData within the Designer or Engine?

asked 18.07 at 03:28

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
750415768
accept rate: 80%

edited 18.07 at 03:42

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
5.4k1830


you should be able to retrieve it from a running Designer or Engine via: http://localhost:19200/ivy.businessdata

mine looks like this. After storing a 'Person' with two string fields (firstname, lastname) alt text

Find the right instance

If the ElasticSearch is not responding under the default URI (http://localhost:19200), where could it be?

  • Not started: ElasticSearch could yet not be running as none of your project has yet defined any BusinessData nor run any queries against the BusinessDataRepo API. The ElasticSearch instance is only started when it is really needed - lazy.
  • Random port: ElasticSearch may runs under a different port as multiple Designers and Engines are running on the same host. You can detect running instances then by opening JVisualVM which you can find in the JDK/bin directory. Open the org.elasticsearch.bootstrap.IvyElasticsearchStarterStopper and inspect the JVM arguments. Under -Des.http.port=XXXX you will see the port where the instance is accessible. It is also possible that you find multiple instances of the IvyElasticsearchStarterStopper here... alt text
  • Fixed host+port: In a productive environment you may not like that ElasticSearch instance runs on a random port. Therefore you are free to run your own instance on a fixed port and configure it with a System Property for the Axon.ivy Engine: see http://developer.axonivy.com/releases/ivy/6.6.latest/documents/EngineGuideHtml/installation.html#installation-elasticsearch
link
This answer is marked "community wiki".

answered 18.07 at 03:28

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
5.4k1830
accept rate: 70%

edited 18.07 at 03:57

Your answer
toggle preview

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:

×5
×3

Asked: 18.07 at 03:28

Seen: 52 times

Last updated: 18.07 at 03:57