Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run hubDeployUserArtifacts cmd after mlReloadSchemas to re-generate TDE #1881

Merged
merged 1 commit into from
Feb 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ class DataHubPlugin implements Plugin<Project> {
project.tasks.replace("mlClearModulesDatabase", ClearDHFModulesTask)
project.tasks.mlClearModulesDatabase.getDependsOn().add("mlDeleteModuleTimestampsFile")

/*
DHF has triggers that generate TDE and entity file in the schemas database so finalizing by
"hubDeployUserArtifacts" which will refresh these files after "mlReloadSchemas" clears them.
*/
project.tasks.mlReloadSchemas.finalizedBy(["hubDeployUserArtifacts"])

project.task("hubInstallModules", group: deployGroup, type: DeployHubModulesTask,
description: "Installs DHF internal modules. Requires hub-admin-role or equivalent.")
.mustRunAfter(["mlClearModulesDatabase"])
Expand Down