This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new cbda099cfb [MINOR] feat(license): add OpenLineage license (#7099)
cbda099cfb is described below
commit cbda099cfbc69c4c5f3eb3b2287a56a0d27bb285
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Apr 29 11:41:27 2025 +0800
[MINOR] feat(license): add OpenLineage license (#7099)
### What changes were proposed in this pull request?
add OpenLineage license
### Why are the changes needed?
missing OpenLineage license
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
just document
Co-authored-by: FANNG <[email protected]>
---
LICENSE | 3 +++
NOTICE.bin | 5 +++++
build.gradle.kts | 1 +
docs/open-api/lineage.yaml | 4 ++--
.../lineage/source/TestLineageOperations.java | 20 ++++----------------
5 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/LICENSE b/LICENSE
index 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.java
diff --git a/NOTICE.bin b/NOTICE.bin
index 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 dependency
License: Apache License 2.0
Source/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.kts
index 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.yaml
index 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: postRunEvent
tags:
- - OpenLineage
+ - lineage
requestBody:
content:
application/json:
@@ -275,4 +275,4 @@ components:
- job
not:
required:
- - run
\ No newline at end of file
+ - run
diff --git
a/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java
b/lineage/src/test/java/org/apache/gravitino/lineage/source/TestLineageOperations.java
index 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.java
public class TestLineageOperations extends JerseyTest {
private ZonedDateTime now = ZonedDateTime.now(ZoneOffset.UTC);