Skip to content

Commit e9bf656

Browse files
authored
Dependency-updates (#85)
* dependency-updates
1 parent 533252e commit e9bf656

File tree

15 files changed

+201
-117
lines changed

15 files changed

+201
-117
lines changed

.github/workflows/broken_links_checker.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: lychee Link Checker
14-
id: lc
15-
uses: lycheeverse/[email protected]
16-
- name: Fail if there were link errors
17-
run: exit ${{ steps.lc.outputs.exit_code }}
13+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
with:
15+
use-quiet-mode: 'yes'
16+
use-verbose-mode: 'yes'

.github/workflows/ci-build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Build
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Cache local Maven repository
19+
uses: actions/cache@v2
20+
with:
21+
path: ~/.m2/repository
22+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: |
24+
${{ runner.os }}-maven-
25+
- name: Run tests and build with Maven
26+
run: mvn --batch-mode --update-snapshots clean verify sonar:sonar --file pom.xml -DtrimStackTrace=false -Dsonar.organization=exasol -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
27+
env:
28+
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ jobs:
3232
uses: shogo82148/actions-upload-release-asset@v1
3333
with:
3434
upload_url: ${{ github.event.inputs.upload_url }}
35-
asset_path: target/*.jar
35+
asset_path: target/*.jar
36+
- name: Upload error-code-report
37+
uses: shogo82148/actions-upload-release-asset@v1
38+
with:
39+
upload_url: ${{ github.event.inputs.upload_url }}
40+
asset_path: target/error_code_report.json

.travis.yml

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

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Test Database Builder Java
22

3-
[![Build Status](https://travis-ci.com/exasol/test-db-builder-java.svg?branch=main)](https://travis-ci.com/exasol/test-db-builder-java)
3+
[![Build Status](https://github.com/exasol/test-db-builder-java/actions/workflows/ci-build.yml/badge.svg)](https://github.com/exasol/test-db-builder-java/actions/workflows/ci-build.yml)
44
[![Maven Central](https://img.shields.io/maven-central/v/com.exasol/test-db-builder-java)](https://search.maven.org/artifact/com.exasol/test-db-builder-java)
55

6-
SonarCloud results:
7-
86
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Atest-db-builder-java&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.exasol%3Atest-db-builder-java)
97

108
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Atest-db-builder-java&metric=security_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Atest-db-builder-java)

dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959

6060
[31]: https://www.eclemma.org/jacoco/index.html
6161
[51]: https://github.com/exasol/project-keeper-maven-plugin
62-
[25]: LICENSE-exasol-jdbc.txt
6362
[2]: https://github.com/exasol/error-reporting-java
6463
[0]: https://github.com/exasol/db-fundamentals-java
6564
[27]: https://jdbc.postgresql.org
6665
[23]: http://www.apache.org/licenses/LICENSE-2.0.txt
6766
[29]: https://maven.apache.org/surefire/maven-surefire-plugin/
6867
[55]: http://www.sonatype.com/public-parent/nexus-maven-plugins/nexus-staging/nexus-staging-maven-plugin/
68+
[25]: https://www.exasol.com/support/secure/attachment/155343/EXASOL_SDK-7.0.11.tar.gz
6969
[28]: https://jdbc.postgresql.org/about/license.html
7070
[61]: http://maven.apache.org/plugins/maven-clean-plugin/
7171
[1]: https://opensource.org/licenses/MIT

doc/changes/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Changes
22

3+
* [3.2.1](changes_3.2.1.md)
34
* [3.2.0](changes_3.2.0.md)
45
* [3.1.1](changes_3.1.1.md)
56
* [3.1.0](changes_3.1.0.md)
67
* [3.0.0](changes_3.0.0.md)
78
* [2.1.0](changes_2.1.0.md)
89
* [2.0.0](changes_2.0.0.md)
910
* [1.1.0](changes_1.1.0.md)
10-
* [1.0.1](changes-1.0.1.md)
11+
* [1.0.1](changes_1.0.1.md)

doc/changes/changes_3.2.1.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Test Database Builder for Java 3.2.1, released 2021-08-02
2+
3+
Code name: Dependency Updates
4+
5+
## Summary
6+
7+
In this release we updated the dependencies. By that we fixed transitive CVE-2021-36090.
8+
9+
## Dependency Updates
10+
11+
### Compile Dependency Updates
12+
13+
* Updated `com.exasol:db-fundamentals-java:0.1.1` to `0.1.2`
14+
15+
### Runtime Dependency Updates
16+
17+
* Updated `com.exasol:exasol-jdbc:7.0.7` to `7.0.11`
18+
* Updated `mysql:mysql-connector-java:8.0.25` to `8.0.26`
19+
* Updated `org.postgresql:postgresql:42.2.20.jre7` to `42.2.23.jre7`
20+
21+
### Test Dependency Updates
22+
23+
* Updated `com.exasol:exasol-testcontainers:3.5.3` to `4.0.0`
24+
* Updated `com.exasol:hamcrest-resultset-matcher:1.4.0` to `1.4.1`
25+
* Updated `nl.jqno.equalsverifier:equalsverifier:3.6.1` to `3.7`
26+
* Updated `org.mockito:mockito-junit-jupiter:3.11.0` to `3.11.2`
27+
* Updated `org.testcontainers:junit-jupiter:1.15.3` to `1.16.0`
28+
* Updated `org.testcontainers:mysql:1.15.3` to `1.16.0`
29+
* Updated `org.testcontainers:postgresql:1.15.3` to `1.16.0`
30+
31+
### Plugin Dependency Updates
32+
33+
* Updated `com.exasol:error-code-crawler-maven-plugin:0.1.1` to `0.5.1`
34+
* Updated `com.exasol:project-keeper-maven-plugin:0.7.2` to `0.10.0`

doc/design.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Please refer to the [System Requirement Specification](system_requirements.md) f
2828
This section introduces the building blocks of the software. Together those building blocks make up the big picture of the software structure.
2929

3030
## `ExasolObjectFactory`
31+
3132
`dsn~exasol-object-factory~1`
3233

3334
The `ExasolObjectFactory` is a factory that allows users to create Exasol-specific database objects.
@@ -39,6 +40,7 @@ Covers:
3940
Needs: impl, itest
4041

4142
## `MySqlObjectFactory`
43+
4244
`dsn~mysql-object-factory~1`
4345

4446
The `MySqlObjectFactory` is a factory that allows users to create MySQL-specific database objects.
@@ -56,6 +58,7 @@ This section describes the runtime behavior of the software.
5658
## Creating Database Objects
5759

5860
### Creating Database Users
61+
5962
`dsn~creating-database-users~1`
6063

6164
Users can create database users by providing a username and a password.
@@ -67,6 +70,7 @@ Covers:
6770
Needs: impl, utest, itest
6871

6972
### Creating Adapter Scripts
73+
7074
`dsn~creating-adapter-scripts~1`
7175

7276
Users can create Exasol adapter scripts.
@@ -77,11 +81,11 @@ Covers:
7781

7882
Needs: impl, utest, itest
7983

80-
### Creating Exasol Objects With JVM Options
84+
### Creating Exasol Objects With JVM Options
85+
8186
`dsn~creating-exasol-java-object-with-jvm-options~1`
8287

83-
Users can create virtual schema adapters and UDFs with JVM options.
84-
They can set these options globally and TDDB will add them to all JAVA adapters and scripts.
88+
Users can create virtual schema adapters and UDFs with JVM options. They can set these options globally and TDDB will add them to all JAVA adapters and scripts.
8589

8690
Rationale: By that users can for example add a debugger or profiler to all JAVA scripts.
8791

@@ -92,6 +96,7 @@ Covers:
9296
Needs: impl, utest
9397

9498
### Creating Connection
99+
95100
`dsn~creating-connections~1`
96101

97102
Users can create Exasol connection definitions.
@@ -103,6 +108,7 @@ Covers:
103108
Needs: impl, utest, itest
104109

105110
### Creating Schemas
111+
106112
`dsn~creating-schemas~1`
107113

108114
Users can create dialect specific schemas.
@@ -114,6 +120,7 @@ Covers:
114120
Needs: impl, utest, itest
115121

116122
### Creating Virtual Schemas
123+
117124
`dsn~creating-virtual-schemas~1`
118125

119126
Users can create exasol virtual schemas.
@@ -125,6 +132,7 @@ Covers:
125132
Needs: impl, utest, itest
126133

127134
### Creating Tables
135+
128136
`dsn~creating-tables~1`
129137

130138
Users can create tables.
@@ -136,6 +144,7 @@ Covers:
136144
Needs: impl, utest, itest
137145

138146
### Granting System Privileges to Database Users
147+
139148
`dsn~granting-system-privileges-to-database-users~1`
140149

141150
Users can select and grant System Privileges to created database users from the list of supported System Privileges.
@@ -147,6 +156,7 @@ Covers:
147156
Needs: impl, utest, itest
148157

149158
### Creating Scripts
159+
150160
`dsn~creating-scripts~1`
151161

152162
Users can create script objects from inside schema objects by providing the script content programmatically.
@@ -158,6 +168,7 @@ Covers:
158168
Needs: impl, itest
159169

160170
### Creating UDFs
171+
161172
`dsn~creating-udfs~1`
162173

163174
Users can create UDF objects from inside schema objects by providing the script from file.
@@ -169,6 +180,7 @@ Covers:
169180
Needs: impl, itest
170181

171182
### Creating Scripts from Files
183+
172184
`dsn~creating-scripts-from-files~1`
173185

174186
Users can create scripts from inside a schema object by loading the script contents from a file.
@@ -180,9 +192,10 @@ Covers:
180192
Needs: impl, itest
181193

182194
### Creating Object Through SQL Files
195+
183196
`dsn~creating-objects-through-sql-files~1`
184197

185-
Users can create database objects by executing the statements in an SQL file.
198+
Users can create database objects by executing the statements in an SQL file.
186199

187200
Covers:
188201

@@ -195,6 +208,7 @@ Needs: impl, itest
195208
## Running Executable Database Content
196209

197210
### Running Scripts That Have no Return
211+
198212
`dsn~running-scripts-that-have-no-return~1`
199213

200214
Users can execute scripts directly from a script Java object.
@@ -208,6 +222,7 @@ Needs: impl, itest
208222
## Controlling Existing Database Objects
209223

210224
### Controlling Existing Scripts
225+
211226
`dsn~controlling-existing-scripts~1`
212227

213228
Users get a control object for a script from within a schema by specifying the existing scripts name.
@@ -222,6 +237,7 @@ Needs: impl, itest
222237
## Dropping database objects
223238

224239
### Dropping Users
240+
225241
`dsn~dropping-users~1`
226242

227243
Users can drop database users using TDDB.
@@ -233,6 +249,7 @@ Covers:
233249
Needs: impl, itest
234250

235251
### Dropping Tables
252+
236253
`dsn~dropping-tables~1`
237254

238255
Users can drop tables using TDDB.
@@ -244,6 +261,7 @@ Covers:
244261
Needs: impl, itest
245262

246263
### Dropping Schemas
264+
247265
`dsn~dropping-schemas~2`
248266

249267
Users can drop schemas using TDDB.
@@ -257,6 +275,7 @@ Covers:
257275
Needs: impl, itest
258276

259277
### Dropping Adapter Scripts
278+
260279
`dsn~dropping-adapter-scripts~1`
261280

262281
Users can drop adapter scripts using TDDB.
@@ -268,6 +287,7 @@ Covers:
268287
Needs: impl, itest
269288

270289
### Dropping Connections
290+
271291
`dsn~dropping-connections~1`
272292

273293
Users can drop connections using TDDB.
@@ -279,6 +299,7 @@ Covers:
279299
Needs: impl, itest
280300

281301
### Dropping Scripts
302+
282303
`dsn~dropping-scripts~1`
283304

284305
Users can drop scripts using TDDB.
@@ -290,6 +311,7 @@ Covers:
290311
Needs: impl, itest
291312

292313
### Dropping UDFs
314+
293315
`dsn~dropping-udfs~1`
294316

295317
Users can drop UDFs using TDDB.
@@ -301,6 +323,7 @@ Covers:
301323
Needs: impl, itest
302324

303325
### Dropping Virtual Schemas
326+
304327
`dsn~dropping-virtual-schemas~2`
305328

306329
Users can drop virtual schemas using TDDB.
@@ -319,7 +342,7 @@ Needs: impl, itest
319342

320343
## How Do we Let Users Attach to Existing Database Object
321344

322-
As explained in [the system requirements section "Controlling Existing Database Objects"](system_requirements#Controlling-existing-database-objects), sometimes users need to control existing database objects in integration tests.
345+
As explained in [the system requirements section "Controlling Existing Database Objects"](system_requirements.md#Controlling-existing-database-objects), sometimes users need to control existing database objects in integration tests.
323346

324347
The decision on how to do this is architecture relevant because it impacts usability, code maintainability (both of the TDDB and integration tests written with it) and safety of the created code.
325348

@@ -336,6 +359,7 @@ Depending on the type of the object this can require administrative privileges.
336359
### Decisions
337360

338361
#### Attaching to Existing Database Object by Name
362+
339363
`dsn~attaching-to-existing-database-object-by-name~1`
340364

341365
When users attach to an existing database object, all they need is a fully-qualified name. The control object holds no metadata of that object.

0 commit comments

Comments
 (0)