mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-19 05:52:20 +00:00
Fix for test logging exception for metadata service + updated Insight Template URl (#11485)
This commit is contained in:
parent
65fc94a292
commit
98201724c3
@ -125,10 +125,12 @@ public class IngestionPipelineResource extends EntityResource<IngestionPipeline,
|
|||||||
this.pipelineServiceClient =
|
this.pipelineServiceClient =
|
||||||
PipelineServiceClientFactory.createPipelineServiceClient(config.getPipelineServiceClientConfiguration());
|
PipelineServiceClientFactory.createPipelineServiceClient(config.getPipelineServiceClientConfiguration());
|
||||||
dao.setPipelineServiceClient(pipelineServiceClient);
|
dao.setPipelineServiceClient(pipelineServiceClient);
|
||||||
createIndexAndInsightPipeline();
|
createIndexAndInsightPipeline(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createIndexAndInsightPipeline() {
|
private void createIndexAndInsightPipeline(OpenMetadataApplicationConfig config) {
|
||||||
|
// Metadata Service is created only when ES config is present
|
||||||
|
if (config.getElasticSearchConfiguration() != null) {
|
||||||
try {
|
try {
|
||||||
EntityReference metadataService =
|
EntityReference metadataService =
|
||||||
this.metadataServiceRepository
|
this.metadataServiceRepository
|
||||||
@ -170,6 +172,7 @@ public class IngestionPipelineResource extends EntityResource<IngestionPipeline,
|
|||||||
LOG.error("[IngestionPipelineResource] Failed in Creating Reindex and Insight Pipeline", ex);
|
LOG.error("[IngestionPipelineResource] Failed in Creating Reindex and Insight Pipeline", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static class IngestionPipelineList extends ResultList<IngestionPipeline> {
|
public static class IngestionPipelineList extends ResultList<IngestionPipeline> {
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
<td align="center" valign="top" height="759" bgcolor="#ffffff" style="padding: 10px; height: 759px;">
|
<td align="center" valign="top" height="759" bgcolor="#ffffff" style="padding: 10px; height: 759px;">
|
||||||
<table border="0" cellspacing="0" cellpadding="0" width="590" style="width: 590px;">
|
<table border="0" cellspacing="0" cellpadding="0" width="590" style="width: 590px;">
|
||||||
<div>
|
<div>
|
||||||
<img src="img/i-1839955869.png" width="1000" alt="" border="0" style="display: block; max-width: 1000px; width: 100%;" class="w1000px">
|
<img src="https://i.imgur.com/ARPP9s5.png" width="1000" alt="" border="0" style="display: block; max-width: 1000px; width: 100%;" class="w1000px">
|
||||||
</div>
|
</div>
|
||||||
</table>
|
</table>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user