feat(ci): datahub-client - add workflow, fix build (#5052)

This commit is contained in:
Shirshanka Das 2022-05-31 22:40:31 -07:00 committed by GitHub
parent d6239f8203
commit eca310fb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,42 @@
name: Check Datahub Jars
on:
push:
branches:
- master
paths-ignore:
- "docs/**"
- "**.md"
pull_request:
branches:
- master
paths-ignore:
- "docker/**"
- "docs/**"
- "**.md"
release:
types: [published, edited]
jobs:
check_jars:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/setup-python@v2
with:
python-version: "3.6"
- name: check datahub-client jar
run: |
./gradlew :metadata-integration:java:datahub-client:build
./gradlew :metadata-integration:java:datahub-client:javadoc
- name: check spark-lineage jar
run: |
./gradlew :metadata-integration:java:spark-lineage:build
./gradlew :metadata-integration:java:spark-lineage:javadoc

View File

@ -5,7 +5,6 @@ import datahub.event.MetadataChangeProposalWrapper;
import datahub.event.UpsertAspectRequest;
import java.io.Closeable;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
@ -30,7 +29,6 @@ public interface Emitter extends Closeable {
* @param callback if not null, is called from the IO thread. Should be a quick operation.
* @return a {@link Future} for callers to inspect the result of the operation or block until one is available
* @throws IOException
* @throws URISyntaxException
*/
Future<MetadataWriteResponse> emit(@Nonnull MetadataChangeProposalWrapper mcpw, Callback callback) throws IOException;