From c5bd49370dc2982d647b15163c245046358840d5 Mon Sep 17 00:00:00 2001 From: Mohammed Ibrahim Date: Thu, 24 Oct 2024 10:36:24 -0400 Subject: [PATCH] Remove lineage generation code --- .../generator/SnowflakeAppArtifactGenerationExtension.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-generator/src/main/java/org/finos/legend/engine/language/snowflakeApp/generator/SnowflakeAppArtifactGenerationExtension.java b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-generator/src/main/java/org/finos/legend/engine/language/snowflakeApp/generator/SnowflakeAppArtifactGenerationExtension.java index 96fcc8c1522..c27c5dc5778 100644 --- a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-generator/src/main/java/org/finos/legend/engine/language/snowflakeApp/generator/SnowflakeAppArtifactGenerationExtension.java +++ b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-generator/src/main/java/org/finos/legend/engine/language/snowflakeApp/generator/SnowflakeAppArtifactGenerationExtension.java @@ -73,13 +73,6 @@ public List generate(PackageableElement element, PureModel pureModel, SnowflakeAppArtifact artifact = SnowflakeAppGenerator.generateArtifact(pureModel, (Root_meta_external_function_activator_snowflakeApp_SnowflakeApp) element, data, routerExtensions); String content = mapper.writeValueAsString(artifact); result.add((new Artifact(content, FILE_NAME, "json"))); - if (!(element._stereotypes().anySatisfy(stereotype -> - stereotype._profile()._name().equals("devStatus") && stereotype._profile()._p_stereotypes().anySatisfy(s -> s._value().equals("inProgress"))))) - { - LOGGER.info("Generating snowflakeApp lineage artifact for " + element.getName()); - String lineage = SnowflakeAppGenerator.generateFunctionLineage(pureModel, (Root_meta_external_function_activator_snowflakeApp_SnowflakeApp) element, data, routerExtensions); - result.add(new Artifact(lineage, LINEAGE_FILE_NAME, "json")); - } LOGGER.info("Generated artifacts for " + element.getName()); } catch (Exception e)