mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 21:48:22 +00:00
MINOR - Add Application type for logs (#15802)
* MINOR - Add Application type for logs * MINOR - Add Application type for logs * Add application_task to DataInsightLatestRun interface and update LogsViewer component --------- Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
This commit is contained in:
parent
0fd4a1fb87
commit
67dee85abd
@ -96,8 +96,8 @@ public abstract class PipelineServiceClient {
|
||||
"test_suite_task",
|
||||
PipelineType.DATA_INSIGHT.toString(),
|
||||
"data_insight_task",
|
||||
PipelineType.ELASTIC_SEARCH_REINDEX.toString(),
|
||||
"elasticsearch_reindex_task");
|
||||
PipelineType.APPLICATION.toString(),
|
||||
"application_task");
|
||||
|
||||
public static final String SERVER_VERSION;
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import { PipelineStatus } from '../../../../generated/entity/services/ingestionP
|
||||
|
||||
export interface DataInsightLatestRun {
|
||||
data_insight_task: string;
|
||||
application_task: string;
|
||||
total: string;
|
||||
pipelineStatus: PipelineStatus;
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ const LogsViewer = () => {
|
||||
|
||||
const logs = await getLatestApplicationRuns(ingestionName);
|
||||
setAppLatestRun(data[0]);
|
||||
setLogs(logs.data_insight_task);
|
||||
setLogs(logs.data_insight_task || logs.application_task);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -18,8 +18,8 @@ export interface IngestionPipelineLogByIdInterface {
|
||||
lineage_task?: string;
|
||||
test_suite_task?: string;
|
||||
data_insight_task?: string;
|
||||
elasticsearch_reindex_task?: string;
|
||||
dbt_task?: string;
|
||||
elasticsearch_reindex_task?: string;
|
||||
total?: string;
|
||||
after?: string;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user