Skip to content

Commit c856274

Browse files
authored
#15: Add API for host port proxy (#16)
* #15: Add API for host port proxy
1 parent 2857bbc commit c856274

21 files changed

+292
-129
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Broken Links Checker
2+
3+
on:
4+
schedule:
5+
- cron: "0 5 * * *"
6+
push:
7+
8+
jobs:
9+
linkChecker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: lychee Link Checker
14+
id: lc
15+
uses: lycheeverse/lychee-action@v1.0.6
16+
- name: Fail if there were link errors
17+
run: exit ${{ steps.lc.outputs.exit_code }}

.github/workflows/github_release.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release Droid - Prepare Original Checksum
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
12+
- name: Set up JDK 11
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
- name: Cache local Maven repository
17+
uses: actions/cache@v2
18+
with:
19+
path: ~/.m2/repository
20+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
21+
restore-keys: |
22+
${{ runner.os }}-maven-
23+
- name: Run tests and build with Maven
24+
run: mvn -B clean verify --file pom.xml
25+
- name: Prepare checksum
26+
run: find target -maxdepth 1 -name *.jar -exec sha256sum "{}" + > original_checksum
27+
- name: Upload checksum to the artifactory
28+
uses: actions/upload-artifact@v2
29+
with:
30+
name: original_checksum
31+
retention-days: 5
32+
path: original_checksum
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release Droid - Print Quick Checksum
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
12+
- name: Set up JDK 11
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
- name: Cache local Maven repository
17+
uses: actions/cache@v2
18+
with:
19+
path: ~/.m2/repository
20+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
21+
restore-keys: |
22+
${{ runner.os }}-maven-
23+
- name: Build with Maven skipping tests
24+
run: mvn -B clean verify -DskipTests
25+
- name: Print checksum
26+
run: echo 'checksum_start==';find target -maxdepth 1 -name *.jar -exec sha256sum "{}" + | xargs;echo '==checksum_end'
27+

.github/workflows/maven_central_release.yml renamed to .github/workflows/release_droid_release_on_maven_central.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Maven Central Release
1+
name: Release Droid - Release On Maven Central
22

33
on:
44
workflow_dispatch:
@@ -7,7 +7,8 @@ jobs:
77
publish:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
1112
- name: Set up Maven Central Repository
1213
uses: actions/setup-java@v1
1314
with:
@@ -18,8 +19,15 @@ jobs:
1819
- name: Import GPG Key
1920
run:
2021
gpg --import --batch <(echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}")
22+
- name: Cache local Maven repository
23+
uses: actions/cache@v2
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-maven-
2129
- name: Publish to Central Repository
2230
env:
2331
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2432
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
25-
run: mvn clean -Dgpg.skip=false -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} deploy
33+
run: mvn clean -Dgpg.skip=false -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -DskipTests deploy
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release Droid - Upload GitHub Release Assets
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
upload_url:
7+
description: 'Assets upload URL'
8+
required: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout the repository
15+
uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 11
20+
- name: Cache local Maven repository
21+
uses: actions/cache@v2
22+
with:
23+
path: ~/.m2/repository
24+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25+
restore-keys: |
26+
${{ runner.os }}-maven-
27+
- name: Build with Maven skipping tests
28+
run: mvn clean verify -DskipTests
29+
- name: Upload assets to the GitHub release draft
30+
uses: shogo82148/actions-upload-release-asset@v1
31+
with:
32+
upload_url: ${{ github.event.inputs.upload_url }}
33+
asset_path: target/*.jar

assembly/all-dependencies.xml

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

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changes
22

3+
* [0.4.0](changes_0.4.0.md)
34
* [0.3.0](changes_0.3.0.md)
45
* [0.2.0](changes_0.2.0.md)
56
* [0.1.0](changes_0.1.0.md)

doc/changes/changes_0.4.0.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# udf-debugging-java 0.4.0, released 2021-XX-XX
2+
3+
Code name:
4+
5+
## Features / Enhancements
6+
7+
* #15: Add API for host port proxy
8+
9+
## Dependency Updates
10+
11+
### Compile Dependency Updates
12+
13+
* Updated `com.exasol:error-reporting-java:0.2.0` to `0.4.0`
14+
* Updated `com.exasol:exasol-testcontainers:3.3.1` to `3.5.1`
15+
* Updated `com.exasol:test-db-builder-java:2.0.0` to `3.1.1`
16+
17+
### Test Dependency Updates
18+
19+
* Updated `org.junit.jupiter:junit-jupiter-engine:5.6.2` to `5.7.1`
20+
* Updated `org.junit.jupiter:junit-jupiter-params:5.6.2` to `5.7.1`
21+
* Updated `org.junit.platform:junit-platform-runner:1.6.2` to `1.7.1`
22+
* Updated `org.mockito:mockito-core:3.6.0` to `3.8.0`
23+
* Updated `org.testcontainers:junit-jupiter:1.14.3` to `1.15.2`
24+
25+
### Plugin Dependency Updates
26+
27+
* Added `com.exasol:error-code-crawler-maven-plugin:0.1.1`
28+
* Updated `com.exasol:project-keeper-maven-plugin:0.3.0` to `0.6.0`
29+
* Added `io.github.zlika:reproducible-build-maven-plugin:0.13`

pom.xml

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.exasol</groupId>
66
<artifactId>udf-debugging-java</artifactId>
7-
<version>0.3.0</version>
7+
<version>0.4.0</version>
88
<name>udf-debugging-java</name>
99
<description>Utilities for debugging, profiling and code coverage measure for UDFs.</description>
1010
<url>https://github.com/exasol/udf-debugging-javat</url>
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1414
<java.version>11</java.version>
15-
<junit.version>5.6.2</junit.version>
16-
<junit.platform.version>1.6.2</junit.platform.version>
15+
<junit.version>5.7.1</junit.version>
16+
<junit.platform.version>1.7.1</junit.platform.version>
1717
<vscommon.version>11.0.0</vscommon.version>
1818
<gpg.skip>true</gpg.skip>
1919
<jacoco.version>0.8.6</jacoco.version>
20-
<org.testcontainers.version>1.14.3</org.testcontainers.version>
20+
<org.testcontainers.version>1.15.2</org.testcontainers.version>
2121
<surefire.and.failsafe.plugin.version>3.0.0-M4</surefire.and.failsafe.plugin.version>
2222
</properties>
2323
<licenses>
@@ -79,7 +79,7 @@
7979
<dependency>
8080
<groupId>com.exasol</groupId>
8181
<artifactId>error-reporting-java</artifactId>
82-
<version>0.2.0</version>
82+
<version>0.4.0</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>org.jacoco</groupId>
@@ -98,7 +98,7 @@
9898
<dependency>
9999
<groupId>com.exasol</groupId>
100100
<artifactId>exasol-testcontainers</artifactId>
101-
<version>3.3.1</version>
101+
<version>3.5.1</version>
102102
</dependency>
103103
<!-- test dependencies -->
104104
<dependency>
@@ -122,7 +122,7 @@
122122
<dependency>
123123
<groupId>org.mockito</groupId>
124124
<artifactId>mockito-core</artifactId>
125-
<version>3.6.0</version>
125+
<version>3.8.0</version>
126126
<scope>test</scope>
127127
</dependency>
128128
<dependency>
@@ -141,7 +141,7 @@
141141
<dependency>
142142
<groupId>com.exasol</groupId>
143143
<artifactId>test-db-builder-java</artifactId>
144-
<version>2.0.0</version>
144+
<version>3.1.1</version>
145145
</dependency>
146146
<dependency>
147147
<groupId>org.slf4j</groupId>
@@ -197,26 +197,15 @@
197197
<goal>prepare-agent</goal>
198198
</goals>
199199
</execution>
200-
<execution>
201-
<id>prepare-agent-integration</id>
202-
<goals>
203-
<goal>prepare-agent-integration</goal>
204-
</goals>
205-
</execution>
200+
206201
<execution>
207202
<id>report</id>
208203
<phase>test</phase>
209204
<goals>
210205
<goal>report</goal>
211206
</goals>
212207
</execution>
213-
<execution>
214-
<id>report-integration</id>
215-
<phase>verify</phase>
216-
<goals>
217-
<goal>report-integration</goal>
218-
</goals>
219-
</execution>
208+
220209
<execution>
221210
<id>report-udf-integration</id>
222211
<phase>verify</phase>
@@ -305,13 +294,6 @@
305294
<serialwarn>true</serialwarn>
306295
<failOnError>true</failOnError>
307296
<failOnWarnings>true</failOnWarnings>
308-
<tags>
309-
<tag>
310-
<name>implNote</name>
311-
<head>Implementation Note:</head>
312-
<placement>a</placement>
313-
</tag>
314-
</tags>
315297
</configuration>
316298
</plugin>
317299
<plugin>
@@ -370,7 +352,7 @@
370352
<plugin>
371353
<groupId>com.exasol</groupId>
372354
<artifactId>project-keeper-maven-plugin</artifactId>
373-
<version>0.3.0</version>
355+
<version>0.6.0</version>
374356
<executions>
375357
<execution>
376358
<goals>
@@ -431,6 +413,32 @@
431413
</execution>
432414
</executions>
433415
</plugin>
416+
<plugin>
417+
<groupId>com.exasol</groupId>
418+
<artifactId>error-code-crawler-maven-plugin</artifactId>
419+
<version>0.1.1</version>
420+
<executions>
421+
<execution>
422+
<goals>
423+
<goal>verify</goal>
424+
</goals>
425+
</execution>
426+
</executions>
427+
</plugin>
428+
<plugin>
429+
<groupId>io.github.zlika</groupId>
430+
<artifactId>reproducible-build-maven-plugin</artifactId>
431+
<version>0.13</version>
432+
<executions>
433+
<execution>
434+
<id>strip-jar</id>
435+
<phase>package</phase>
436+
<goals>
437+
<goal>strip-jar</goal>
438+
</goals>
439+
</execution>
440+
</executions>
441+
</plugin>
434442
</plugins>
435443
<testResources>
436444
<testResource>

0 commit comments

Comments
 (0)