Skip to content

Commit 1492a26

Browse files
authored
Merge pull request #61 from SourceLabOrg/spp/updateLicense2021
Update license 2021, migrate from travisCI to Github Workflows
2 parents 4ae7bee + 66c4b4a commit 1492a26

File tree

86 files changed

+126
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+126
-91
lines changed

.github/workflows/main.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI Test Suite
2+
3+
# Triggers the workflow on pull requests, manually, or pushes to master
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
workflow_dispatch:
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
build:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+
- uses: actions/checkout@v2
22+
23+
## Run tests against Open JDK8
24+
- uses: actions/setup-java@v2
25+
with:
26+
distribution: adopt
27+
java-version: 8
28+
29+
## Cache maven dependencies
30+
- name: Cache local Maven repository
31+
uses: actions/cache@v2
32+
with:
33+
path: ~/.m2/repository
34+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
35+
restore-keys: |
36+
${{ runner.os }}-maven-
37+
## Run CheckStyle and License Header checks, compile, and install locally
38+
- name: Run checkstyle, license check, compile and install locally
39+
run: mvn clean install -DskipTests=true -DskipCheckStyle=false -Dmaven.javadoc.skip=true -B -V
40+
41+
## Run test suite
42+
- name: Run test suite
43+
run: mvn test -B -DskipCheckStyle=true

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions

build/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
1+
Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
44
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
<exclude>**.yaml</exclude>
256256
<exclude>**.xml</exclude>
257257
<exclude>build/**</exclude>
258+
<exclude>.github/**</exclude>
258259
<exclude>src/test/resources/**</exclude>
259260
<exclude>src/main/resources/**</exclude>
260261
</excludes>

src/main/java/org/sourcelab/kafka/connect/apiclient/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
2+
* Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
55
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

src/main/java/org/sourcelab/kafka/connect/apiclient/KafkaConnectClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
2+
* Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
55
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

src/main/java/org/sourcelab/kafka/connect/apiclient/exception/ResponseParseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
2+
* Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
55
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

src/main/java/org/sourcelab/kafka/connect/apiclient/request/JacksonFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
2+
* Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
55
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

src/main/java/org/sourcelab/kafka/connect/apiclient/request/Request.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2018, 2019 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
2+
* Copyright 2018, 2019, 2020, 2021 SourceLab.org https://github.com/SourceLabOrg/kafka-connect-client
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
55
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

0 commit comments

Comments
 (0)