mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 14:13:06 +00:00

* Implemented TemplateProvider. * validating templatePlaceholders. * Refactor: Update query to fetch documents for EmailTemplate type. Implemented a function that retrieves documents from doc_store for documents of type "EmailTemplate". This function returns the email template content. * revert commit. * revert commit. * revert commit. * implemented templateProvider. * Added placeholders definition (emailTemplatePlaceholder.json) for each emailTemplates. * implemented resetSeedApi. implemented schema for emailTemplate and emailTemplatePlaceholder. implemented util functions for fetching placeHolders. * Fix Issue in Template Provider * Updated EmailUtil to use getTemplate from DocStore. Updated ResetEmailTemplate API to only reset EmailTemplate type documents. Cleaned up the previous method for retrieving the template from the path. * fixes. * added email validation test. * Remove ftls * Update code to better structure * Fix Failing Tests * Add Custom Exception and error on null entity * Update Default Template Provier * Fix Condition * Correct Message * added dataInsightReport.json * fix dataInsightReport.json * Fix Failing Test --------- Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>