Open sushi30 opened 6 months ago
@sushi30 we should also implement a log function to store the logs against a run. This should be queryable by UI to show the live logs of an application run cc @mohityadav766 similar to what we are doing in ingestion pipelines
Good example for community app: https://github.com/open-metadata/OpenMetadata/issues/15600
Refining the OpenMetadata App Specification
Quartz should not store any application data. It should all be populated from OM DB.
App Lifecycle
App context
All application context will be provided from within OM (avoid getting config from external sources such as Quartz, ingestion framework, etc...)
SearchReIndex.yaml
)App Lifecycle
Logging
Example Implementation
Add a file appender for
$HOME/logs/{appId}/latest.log
.Add an endpoint
/api/v1/apps/{appId}/logs/latest
that will return the contents of the file.Tasks