Fix for test logging exception for metadata service + updated Insight Template URl (#11485)

This commit is contained in:
Mohit Yadav 2023-05-08 21:25:41 +05:30 committed by GitHub
parent 65fc94a292
commit 98201724c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 41 deletions

View File

@ -125,10 +125,12 @@ public class IngestionPipelineResource extends EntityResource<IngestionPipeline,
this.pipelineServiceClient =
PipelineServiceClientFactory.createPipelineServiceClient(config.getPipelineServiceClientConfiguration());
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 {
EntityReference metadataService =
this.metadataServiceRepository
@ -170,6 +172,7 @@ public class IngestionPipelineResource extends EntityResource<IngestionPipeline,
LOG.error("[IngestionPipelineResource] Failed in Creating Reindex and Insight Pipeline", ex);
}
}
}
public static class IngestionPipelineList extends ResultList<IngestionPipeline> {
@SuppressWarnings("unused")

View File

@ -161,7 +161,7 @@
<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;">
<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>
</table>
<div>