Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
c9fdbb6
Initial version of maven publishing
Aug 6, 2024
cce7ce0
Change releaseRepoUrl to a working one
Aug 9, 2024
37d7875
Add missing slash
Aug 9, 2024
2b14628
Merge pull request #14 from GoogleCloudPlatform/publish-maven
gabrysiaolsz Aug 9, 2024
a9f7b5f
Make improvements to the gradle config
jphalip Aug 14, 2024
61d6251
Add some missing javadoc markers
jphalip Aug 14, 2024
034e3e6
Improve helpers test coverage, 69% -> 87%
Nov 25, 2024
cbe0132
format
Nov 25, 2024
f1439e2
Remove unnecessary TestParameterInjector.class
Nov 25, 2024
3520d43
Merge pull request #20 from GoogleCloudPlatform/test-coverage
gabrysiaolsz Nov 25, 2024
a39d8a0
Add tests for cache
Nov 26, 2024
dd84771
Merge branch 'main' into test-coverage
gabrysiaolsz Nov 26, 2024
eb2cee1
Rename tests to keep consistent
Nov 27, 2024
6b91496
Rename NoOp tests to keep consistent
Nov 27, 2024
29dfd12
Merge pull request #21 from GoogleCloudPlatform/test-coverage
gabrysiaolsz Nov 27, 2024
93959f9
Test coverage for Settings
Dec 20, 2024
31f8c18
Merge branch 'main' into test-coverage
gabrysiaolsz Dec 20, 2024
21cb65c
Merge pull request #22 from GoogleCloudPlatform/test-coverage
gabrysiaolsz Dec 30, 2024
2d41b85
Merge branch 'main' into gradle-config-improvements
gabrysiaolsz Jun 13, 2025
9ea31f5
Merge pull request #18 from jphalip/gradle-config-improvements
gabrysiaolsz Jun 13, 2025
04e518b
Merge branch 'main' into javadoc-fixes
gabrysiaolsz Jun 13, 2025
6f57988
Merge pull request #19 from jphalip/javadoc-fixes
gabrysiaolsz Jun 13, 2025
1fd20f1
add shadowJar command
tnazarew May 26, 2025
1863f0d
exclude non-shaded libraries from fat jar
tnazarew Jun 6, 2025
b905a9c
improve readability of the exclusion block
tnazarew Jun 16, 2025
1ac6c0d
fixing comment typo
tnazarew Jun 16, 2025
2e58d69
Merge pull request #24 from tnazarew/fix/add_shaded_libs
gabrysiaolsz Jun 18, 2025
76c0146
Fix build.gradle for testparameterinjector, reformat and rename one t…
Jul 16, 2025
fd6b1e4
Merge pull request #26 from GoogleCloudPlatform/fix/build-cleanup
gabrysiaolsz Jul 16, 2025
a8f3ad6
implement graceful shutdown in async producer
tnazarew Jul 25, 2025
11591ce
change gracefulShutdownDuration to Duration
tnazarew Jul 29, 2025
cf91680
added some logging
tnazarew Jul 29, 2025
45c0bac
switched to slf4j annotations
tnazarew Jul 29, 2025
7ac6ed3
googleJavaFormat
tnazarew Jul 30, 2025
53219cd
logging tests
tnazarew Jul 30, 2025
ec48d0b
simple gha workflow to check the PR
tnazarew Jul 30, 2025
5f036a1
some fixes for logging
tnazarew Jul 31, 2025
4f22627
removed redundant condition
tnazarew Jul 31, 2025
19ed16c
Merge pull request #27 from tnazarew/graceful_shutdown
gabrysiaolsz Jul 31, 2025
34a0b25
Merge branch 'main' into gha
tnazarew Jul 31, 2025
934a30b
Merge pull request #29 from tnazarew/gha
gabrysiaolsz Aug 14, 2025
cab608c
Add more code owners
gabrysiaolsz Sep 8, 2025
b9d3497
Merge pull request #31 from GoogleCloudPlatform/gabrysiaolsz-codeowners
gabrysiaolsz Sep 8, 2025
12ba65d
Set non-zero default duration for graceful shutdown.
KonstantinMi Sep 10, 2025
e389bc1
Allow AsyncLineageProducerClientLoggingTest to be run on environment …
KonstantinMi Sep 10, 2025
7ddf350
Improve existing test, replace
KonstantinMi Sep 10, 2025
95b94bc
Address PR review comments
KonstantinMi Sep 10, 2025
6786818
Remove shading for packages used in GCPLineage Transport to avoid a m…
chanter Sep 19, 2025
882fae0
Publish to dedicated Artifact Registry instead of Maven Central
KonstantinMi Sep 23, 2025
46513c0
Merge pull request #38 from GoogleCloudPlatform/publishing
KonstantinMi Sep 24, 2025
304c0c7
Add Lineage Enablement Cache
utkarsh-goel-google Dec 1, 2025
25e99e5
Remove obsolete Kokoro configurations
Jan 27, 2026
5ca0c75
Merge pull request #43 from GoogleCloudPlatform/feature/remove-kokoro…
gabrysiaolsz Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.

* @midamkina @ngorchakova @gabrysiaolsz
* @midamkina @ngorchakova @gabrysiaolsz @chanter @KonstantinMi
79 changes: 79 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Copyright 2024 Google LLC
#
# 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
#
# https://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.

name: PR Checks

on:
pull_request:
branches: main

jobs:
pr-checks:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'

- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Make gradlew executable
run: chmod +x gradlew

- name: Run Google Java Format verification
run: ./gradlew verGJF

- name: Run Checkstyle
id: run-checkstyle
run: ./gradlew checkstyleMain checkstyleTest

- name: Build project
run: ./gradlew build shadowJar

- name: Run tests
id: run-tests
run: ./gradlew test

- name: Run additional checks
run: ./gradlew check

- name: Upload test results
uses: actions/upload-artifact@v4
if: always() && (steps.run-tests.outcome == 'success' || steps.run-tests.outcome == 'failure')
with:
name: test-results
path: |
lib/build/reports/tests/
lib/build/test-results/

- name: Upload checkstyle results
uses: actions/upload-artifact@v4
if: always() && (steps.run-checkstyle.outcome == 'success' || steps.run-checkstyle.outcome == 'failure')
with:
name: checkstyle-results
path: lib/build/reports/checkstyle/
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,56 @@ Or, for a shadow jar:
```

The output will be located at `lib/build/libs`.

## Logging

This library uses [SLF4J](https://www.slf4j.org/) for logging. To see log output, you need to include an SLF4J binding in your application dependencies.

### Adding a logging implementation

For Logback (recommended):
```xml
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
</dependency>
```

For Log4j2:
```xml
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>2.20.0</version>
</dependency>
```

### Configuring log levels

The library logs at different levels:
- **INFO**: Client creation, cache initialization, shutdown events
- **WARN**: Service disruptions, graceful shutdown timeouts, API errors
- **DEBUG**: Detailed API call information, cache operations

Example Logback configuration (`logback.xml`):
```xml
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>

<!-- Set debug level for data lineage producer client -->
<logger name="com.google.cloud.datalineage.producerclient" level="DEBUG"/>

<root level="INFO">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
```

## Performing calls
To perform a call, you need to:
1. Create a client
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# Fail on any error
set -e

./gradlew build
./gradlew build shadowJar
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions kokoro/gcp_ubuntu/continuous.cfg

This file was deleted.

25 changes: 0 additions & 25 deletions kokoro/gcp_ubuntu/kokoro_build.sh

This file was deleted.

5 changes: 0 additions & 5 deletions kokoro/gcp_ubuntu/presubmit.cfg

This file was deleted.

Loading