Skip to content

Commit

Permalink
Remove lineage generation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasirmod17 authored Oct 24, 2024
1 parent 0ecee00 commit c5bd493
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ public List<Artifact> 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)
Expand Down

0 comments on commit c5bd493

Please sign in to comment.