generated from finos/software-project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
573 additions
and
36 deletions.
There are no files selected for viewing
270 changes: 270 additions & 0 deletions
270
legend-engine-core/legend-engine-core-testable/legend-engine-executable-test-pure/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ // Copyright 2023 Goldman Sachs | ||
~ // | ||
~ // Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ // you may not use this file except in compliance with the License. | ||
~ // You may obtain a copy of the License at | ||
~ // | ||
~ // http://www.apache.org/licenses/LICENSE-2.0 | ||
~ // | ||
~ // Unless required by applicable law or agreed to in writing, software | ||
~ // distributed under the License is distributed on an "AS IS" BASIS, | ||
~ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ // See the License for the specific language governing permissions and | ||
~ // limitations under the License. | ||
--> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-core-testable</artifactId> | ||
<version>4.62.2-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>legend-engine-executable-test-pure</artifactId> | ||
|
||
<properties> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-maven-generation-par</artifactId> | ||
<configuration> | ||
<sourceDirectory>src/main/resources</sourceDirectory> | ||
<purePlatformVersion>${legend.pure.version}</purePlatformVersion> | ||
<repositories> | ||
<repository>platform</repository> | ||
<repository>core</repository> | ||
<repository>core_relational</repository> | ||
<repository>core_analytics_lineage</repository> | ||
</repositories> | ||
<extraRepositories> | ||
<extraRepository>${project.basedir}/src/main/resources/core_analytics_lineage.definition.json</extraRepository> | ||
</extraRepositories> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>build-pure-jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-mapping-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-diagram-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-graph-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-path-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-store-relational-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-code-compiled-core</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-xt-relationalStore-core-pure</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-functions-standard-pure</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-maven-generation-java</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>build-pure-compiled-jar</goal> | ||
</goals> | ||
<configuration> | ||
<generateSources>true</generateSources> | ||
<generationType>modular</generationType> | ||
<useSingleDir>true</useSingleDir> | ||
<repositories> | ||
<repository>core_analytics_lineage</repository> | ||
</repositories> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-mapping-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-diagram-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-graph-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-path-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-path-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-store-relational-grammar</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-code-compiled-core</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-xt-relationalStore-core-pure</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-functions-standard-pure</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<!-- PURE --> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m4</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m3-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-path-pure</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-graph-pure</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-mapping-pure</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-store-relational-pure</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-runtime-java-engine-compiled</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-functions-standard-pure</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.pure</groupId> | ||
<artifactId>legend-pure-m2-dsl-graph-pure</artifactId> | ||
<version>${legend.pure.version}</version> | ||
</dependency> | ||
|
||
<!-- ENGINE --> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-code-compiled-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-platform-java</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-platform-store-relational-java</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-runtime-java-extension-compiled-functions-unclassified</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-runtime-java-extension-compiled-functions-json</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-platform-dsl-mapping-java</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-pure-platform-dsl-store-java</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-xt-relationalStore-core-pure</artifactId> | ||
</dependency> | ||
<!-- ENGINE --> | ||
|
||
<dependency> | ||
<groupId>org.eclipse.collections</groupId> | ||
<artifactId>eclipse-collections</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.eclipse.collections</groupId> | ||
<artifactId>eclipse-collections-api</artifactId> | ||
</dependency> | ||
|
||
<!-- TEST --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
</dependency> | ||
<!-- TEST --> | ||
</dependencies> | ||
</project> |
30 changes: 30 additions & 0 deletions
30
...va/org/finos/legend/pure/code/core/CoreExternalLineageAnalysisCodeRepositoryProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright 2022 Goldman Sachs | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.finos.legend.pure.code.core; | ||
|
||
import org.finos.legend.pure.m3.serialization.filesystem.repository.CodeRepository; | ||
import org.finos.legend.pure.m3.serialization.filesystem.repository.CodeRepositoryProvider; | ||
import org.finos.legend.pure.m3.serialization.filesystem.repository.GenericCodeRepository; | ||
|
||
public class CoreExternalLineageAnalysisCodeRepositoryProvider implements CodeRepositoryProvider | ||
{ | ||
@Override | ||
public CodeRepository repository() | ||
{ | ||
return GenericCodeRepository.build("core_executable_test_wrapper.definition.json"); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...vices/org.finos.legend.pure.m3.serialization.filesystem.repository.CodeRepositoryProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# Copyright 2022 Goldman Sachs | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
org.finos.legend.pure.code.core.CoreExternalLineageAnalysisCodeRepositoryProvider |
14 changes: 14 additions & 0 deletions
14
...gine-executable-test-pure/src/main/resources/core_executable_test_wrapper.definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "core_executable_test_wrapper", | ||
"pattern": "(meta::pure::test)(::.*)?", | ||
"dependencies": [ | ||
"platform", | ||
"platform_dsl_store", | ||
"platform_dsl_mapping", | ||
"platform_store_relational", | ||
"core_functions_json", | ||
"core_functions_standard", | ||
"core_functions_unclassified", | ||
"core" | ||
] | ||
} |
Oops, something went wrong.