mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
FIX - Automation Workflows should not be updated by the SM & cleanup migration (#21435)
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> (cherry picked from commit e58802b659c87afc1e18e92cfe50cdfc4c769dce)
This commit is contained in:
parent
5e11818589
commit
25d9759967
@ -0,0 +1,2 @@
|
||||
-- cleanup dangling test connections
|
||||
truncate automations_workflow;
|
@ -0,0 +1,2 @@
|
||||
-- cleanup dangling test connections
|
||||
truncate automations_workflow;
|
@ -76,7 +76,6 @@ public class SecretsManagerUpdateService {
|
||||
updateServices();
|
||||
updateBotUsers();
|
||||
updateIngestionPipelines();
|
||||
updateWorkflows();
|
||||
}
|
||||
|
||||
private void updateServices() {
|
||||
@ -103,14 +102,6 @@ public class SecretsManagerUpdateService {
|
||||
retrieveIngestionPipelines().forEach(this::updateIngestionPipeline);
|
||||
}
|
||||
|
||||
private void updateWorkflows() {
|
||||
LOG.info(
|
||||
String.format(
|
||||
"Updating workflows in case of an update on the JSON schema: [%s]",
|
||||
secretManager.getSecretsManagerProvider().value()));
|
||||
retrieveWorkflows().forEach(this::updateWorkflow);
|
||||
}
|
||||
|
||||
private void updateService(ServiceEntityInterface serviceEntityInterface) {
|
||||
ServiceEntityRepository<?, ?> repository =
|
||||
connectionTypeRepositoriesMap.get(serviceEntityInterface.getConnection().getClass());
|
||||
|
Loading…
x
Reference in New Issue
Block a user