Skip to content

Commit

Permalink
Add missing Dependencies (#2703)
Browse files Browse the repository at this point in the history
* add serviceloader file

* fix file path

* Refactor ownership

* Refactor ownership

* Refactor ownership

* Fix tests

* Fix tests

* uplift grammar

* uplift grammar

* fix tests

* fix tests

* fix tests

* Add properties to result

* Add properties to result

* fix style

* fix style

* remove property

* move property

* Cleanup artifact generation

* fix style

* Fix dependencies

* Cleanup grammar

* Change artifact generation content

* add quotes in transformer

* fix parsing

* add missing dependencies

* fix extension tests

* fix dependency

* Add serviceloader file
  • Loading branch information
Yasirmod17 authored Mar 17, 2024
1 parent 070b4fe commit 9cf6c8b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,26 @@
</dependency>
<!-- Snowflake App -->

<!-- Hosted Service -->
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-hostedService-compiler</artifactId>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-hostedService-grammar</artifactId>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-hostedService-protocol</artifactId>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-hostedService-generation</artifactId>
</dependency>

<!-- Hosted Service -->

<!-- BigQuery Function -->
<dependency>
<groupId>org.finos.legend.engine</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
import org.finos.legend.engine.language.bigqueryFunction.grammar.to.BigQueryFunctionGrammarComposer;
import org.finos.legend.engine.language.graphQL.grammar.integration.GraphQLGrammarParserExtension;
import org.finos.legend.engine.language.graphQL.grammar.integration.GraphQLPureGrammarComposerExtension;
import org.finos.legend.engine.language.hostedService.compiler.toPureGraph.HostedServiceCompilerExtension;
import org.finos.legend.engine.language.hostedService.generation.deployment.HostedServiceArtifactGenerationExtension;
import org.finos.legend.engine.language.hostedService.grammar.from.HostedServiceGrammarParserExtension;
import org.finos.legend.engine.language.hostedService.grammar.to.HostedServiceGrammarComposer;
import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel;
import org.finos.legend.engine.language.pure.compiler.toPureGraph.extension.CompilerExtension;
import org.finos.legend.engine.language.pure.dsl.authentication.grammar.from.AuthenticationGrammarParserExtension;
Expand Down Expand Up @@ -81,6 +85,8 @@
import org.finos.legend.engine.language.sql.grammar.integration.SQLPureGrammarComposerExtension;
import org.finos.legend.engine.language.stores.elasticsearch.v7.from.ElasticsearchGrammarParserExtension;
import org.finos.legend.engine.protocol.bigqueryFunction.metamodel.BigQueryFunctionProtocolExtension;
import org.finos.legend.engine.protocol.hostedService.metamodel.HostedServiceProtocolExtension;
import org.finos.legend.engine.shared.core.identity.Identity;
import org.finos.legend.engine.shared.core.identity.factory.*;
import org.finos.legend.pure.code.core.ElasticsearchLegendPureCoreExtension;
import org.finos.legend.engine.language.stores.elasticsearch.v7.to.ElasticsearchGrammarComposerExtension;
Expand Down Expand Up @@ -271,6 +277,7 @@ protected Iterable<? extends Class<? extends PureProtocolExtension>> getExpected
.with(org.finos.legend.engine.protocol.pure.v1.CorePureProtocolExtension.class)
.with(org.finos.legend.engine.protocol.pure.v1.DataSpaceProtocolExtension.class)
.with(SnowflakeAppProtocolExtension.class)
.with(HostedServiceProtocolExtension.class)
.with(BigQueryFunctionProtocolExtension.class)
.with(org.finos.legend.engine.protocol.pure.v1.DiagramProtocolExtension.class)
.with(org.finos.legend.engine.protocol.pure.v1.GenerationProtocolExtension.class)
Expand Down Expand Up @@ -315,6 +322,7 @@ protected Iterable<? extends Class<? extends PureGrammarParserExtension>> getExp
.with(CorePureGrammarParser.class)
.with(DataSpaceParserExtension.class)
.with(SnowflakeAppGrammarParserExtension.class)
.with(HostedServiceGrammarParserExtension.class)
.with(BigQueryFunctionGrammarParserExtension.class)
.with(DiagramParserExtension.class)
.with(ExternalFormatGrammarParserExtension.class)
Expand Down Expand Up @@ -342,6 +350,7 @@ protected Iterable<? extends Class<? extends PureGrammarComposerExtension>> getE
.with(CorePureGrammarComposer.class)
.with(DataSpaceGrammarComposerExtension.class)
.with(SnowflakeAppGrammarComposer.class)
.with(HostedServiceGrammarComposer.class)
.with(BigQueryFunctionGrammarComposer.class)
.with(DiagramGrammarComposerExtension.class)
.with(ExternalFormatGrammarComposerExtension.class)
Expand Down Expand Up @@ -374,6 +383,7 @@ protected Iterable<? extends Class<? extends CompilerExtension>> getExpectedComp
return Lists.mutable.<Class<? extends CompilerExtension>>empty()
.with(org.finos.legend.engine.language.pure.compiler.toPureGraph.DiagramCompilerExtension.class)
.with(SnowflakeAppCompilerExtension.class)
.with(HostedServiceCompilerExtension.class)
.with(BigQueryFunctionCompilerExtension.class)
.with(org.finos.legend.engine.language.pure.compiler.toPureGraph.DataSpaceCompilerExtension.class)
.with(org.finos.legend.engine.language.pure.compiler.toPureGraph.TextCompilerExtension.class)
Expand Down Expand Up @@ -461,7 +471,8 @@ protected Iterable<? extends Class<? extends ArtifactGenerationExtension>> getEx
.with(DataSpaceAnalyticsArtifactGenerationExtension.class)
.with(SearchDocumentArtifactGenerationExtension.class)
.with(OpenApiArtifactGenerationExtension.class)
.with(SnowflakeAppArtifactGenerationExtension.class);
.with(SnowflakeAppArtifactGenerationExtension.class)
.with(HostedServiceArtifactGenerationExtension.class);
}

protected Iterable<? extends Class<? extends EntitlementServiceExtension>> getExpectedEntitlementServiceExtensions()
Expand Down Expand Up @@ -526,6 +537,7 @@ protected Iterable<String> getExpectedCodeRepositories()
.with("core_authentication")
.with("core_snowflakeapp")
.with("core_bigqueryfunction")
.with("core_hostedservice")
.with("core_text_metamodel")
.with("core_external_language_java")
.with("core_java_platform_binding")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.finos.legend.engine.language.hostedService.generation.deployment.HostedServiceArtifactGenerationExtension
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
<dependency>
<groupId>org.finos.legend.engine</groupId>
<artifactId>legend-engine-xt-analytics-lineage-api</artifactId>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.finos.legend.engine</groupId>
Expand Down

0 comments on commit 9cf6c8b

Please sign in to comment.