World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] feat(license): add OpenLineage license (#7088)
FANNG7616ddd55606
diff --git a/LICENSE b/LICENSEindex 75fa0e5003..edee5679b2 100644--- a/LICENSE+++ b/LICENSE@@ -287,6 +287,9 @@./catalogs/catalog-kafka/src/test/java/org/apache/gravitino/catalog/kafka/embedded/KafkaEmbedded.java./catalogs/catalog-kafka/src/test/java/org/apache/gravitino/catalog/kafka/embedded/ZooKeeperEmbedded.java+ OpenLineage+ ./lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java+Trino./integration-test-common/src/test/java/org/apache/gravitino/integration/test/util/CloseableGroup.java./trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/hive/SortingColumn.javadiff --git a/NOTICE.bin b/NOTICE.binindex eef511ff7a..e1711e1837 100644--- a/NOTICE.bin+++ b/NOTICE.bin@@ -913,3 +913,8 @@ Third-Party Notices and Licenses:- Hadoop: Apache Hadoop is used as a dependencyLicense: Apache License 2.0Source/Reference: https://github.com/apache/hadoop/blob/trunk/NOTICE.txt++OpenLineage+This project includes code from the Marquez Project, part of the LFAI & Data Foundation.+This project includes code from https://github.com/oittaa/uuid6-python repo (MIT license).+This project includes code from https://github.com/f4b6a3/uuid-creator repo (MIT license).diff --git a/build.gradle.kts b/build.gradle.ktsindex c06059c839..49f3b95ade 100644--- a/build.gradle.kts+++ b/build.gradle.kts@@ -557,6 +557,7 @@ tasks.rat {"dev/docker/**/*.conf","dev/docker/kerberos-hive/kadm5.acl","docs/**/*.md",+ "lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java","spark-connector/spark-common/src/test/resources/**","web/web/.**","web/web/dist/**/*",diff --git a/docs/open-api/lineage.yaml b/docs/open-api/lineage.yamlindex 232dca3be5..30074bf05b 100644--- a/docs/open-api/lineage.yaml+++ b/docs/open-api/lineage.yaml@@ -24,7 +24,7 @@ paths:description: Updates a run state for a job.operationId: postRunEventtags:- - OpenLineage+ - lineagerequestBody:content:application/json:@@ -275,4 +275,4 @@ components:- jobnot:required:- - run\ No newline at end of file+ - rundiff --git a/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java b/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.javaindex d2f428e3ee..714f80171b 100644--- a/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java+++ b/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java@@ -1,20 +1,6 @@/*- * Licensed to the Apache Software Foundation (ASF) under one- * or more contributor license agreements. See the NOTICE file- * distributed with this work for additional information- * regarding copyright ownership. The ASF licenses this file- * to you 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.+ * Copyright 2018-2025 contributors to the OpenLineage project+ * SPDX-License-Identifier: Apache-2.0*/package org.apache.gravitino.lineage.source;@@ -54,6 +40,8 @@ import org.junit.jupiter.api.Test;import org.mockito.ArgumentMatchers;import org.mockito.Mockito;+// `createRunEvent` method is referred from+// client/java/src/test/java/io/openlineage/client/OpenLineageTest.javapublic class TestLineageOperations extends JerseyTest {private ZonedDateTime now = ZonedDateTime.now(ZoneOffset.UTC);