This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Transaction] KoP transaction stage0 (#295)
Task issue #39 # Motivation KoP transaction stage0. This PR initialized some classes for the KoP transaction. Make the basic publish and dispatch transaction messages process pass.
- Loading branch information
Showing
33 changed files
with
2,075 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: kop integration tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
- branch-* | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Build with Maven skipTests | ||
run: mvn clean install -DskipTests | ||
|
||
- name: kop integration test | ||
run: mvn test '-Dtest=KafkaIntegration*Test' -pl tests | ||
|
||
- name: package surefire artifacts | ||
if: failure() | ||
run: | | ||
rm -rf artifacts | ||
mkdir artifacts | ||
find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; | ||
zip -r artifacts.zip artifacts | ||
- uses: actions/upload-artifact@master | ||
name: upload surefire-artifacts | ||
if: failure() | ||
with: | ||
name: surefire-artifacts | ||
path: artifacts.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: kop tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
- branch-* | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Build with Maven skipTests | ||
run: mvn clean install -DskipTests | ||
|
||
- name: tests module | ||
run: mvn test -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test,!DistributedClusterTest' -pl tests | ||
|
||
- name: package surefire artifacts | ||
if: failure() | ||
run: | | ||
rm -rf artifacts | ||
mkdir artifacts | ||
find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; | ||
zip -r artifacts.zip artifacts | ||
- uses: actions/upload-artifact@master | ||
name: upload surefire-artifacts | ||
if: failure() | ||
with: | ||
name: surefire-artifacts | ||
path: artifacts.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.