Skip to content

Commit

Permalink
#173 #174: Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Nov 18, 2024
1 parent 5890248 commit 7308563
Show file tree
Hide file tree
Showing 16 changed files with 466 additions and 341 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ build:
runnerOs: ubuntu-20.04
freeDiskSpace: true
exasolDbVersions:
- "8.27.0" # 8.29.1 not yet supported by exasol-testcontainers, see https://github.com/exasol/exasol-testcontainers/issues/258
- "7.1.26" # Upgrade to 7.1.29 once https://github.com/exasol/virtual-schema-common-document-files/issues/169 is fixed
- "8.32.0"
- "7.1.30"
workflows:
- name: ci-build.yml
stepCustomizations:
Expand Down Expand Up @@ -53,11 +53,7 @@ build:
content:
name: Run tests and build with Maven
id: build-pk-verify
run: |
mvn --batch-mode clean verify \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-DtrimStackTrace=false \
-Dcom.exasol.dockerdb.image=${{ matrix.exasol_db_version }}
run: mvn --batch-mode clean verify -Dcom.exasol.dockerdb.image=${{ matrix.exasol_db_version }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"vmArgs": [
"-Djava.util.logging.config.file=src/test/resources/logging.properties",
"-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl",
"-Dcom.exasol.dockerdb.image=8.27.0"
"-Dcom.exasol.dockerdb.image=8.32.0"
]
},
"sonarlint.connectedMode.project": {
Expand Down
4 changes: 2 additions & 2 deletions dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 59 additions & 0 deletions doc/changes/changes_3.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# S3 Document Files Virtual Schema 3.1.2, released 2024-11-18

Code name: Fix CVE-2024-47561 and CVE-2024-47535

## Summary

This release fixes the following vulnerabilities:
* CVE-2024-47535 in `io.netty:netty-common:jar:4.1.111.Final:compile`
* CVE-2024-47561 in `org.apache.avro:avro:jar:1.11.3:compile`

## Security

* #173: Fixed CVE-2024-47535 in `io.netty:netty-common:jar:4.1.111.Final:compile`
* #174: Fixed CVE-2024-47561 in `org.apache.avro:avro:jar:1.11.3:compile`

## Dependency Updates

### Virtual Schema for Document Data in Files on AWS S3

#### Compile Dependency Updates

* Updated `com.exasol:virtual-schema-common-document-files:8.1.2` to `8.1.5`
* Updated `software.amazon.awssdk:s3:2.26.26` to `2.29.15`

#### Runtime Dependency Updates

* Updated `org.slf4j:slf4j-jdk14:2.0.13` to `2.0.16`

#### Test Dependency Updates

* Updated `com.amazonaws:aws-java-sdk-s3:1.12.766` to `1.12.778`
* Updated `com.exasol:exasol-test-setup-abstraction-java:2.1.4` to `2.1.5`
* Updated `com.exasol:hamcrest-resultset-matcher:1.6.5` to `1.7.0`
* Updated `com.exasol:small-json-files-test-fixture:0.1.10` to `0.1.11`
* Updated `com.exasol:test-db-builder-java:3.5.4` to `3.6.0`
* Updated `com.exasol:virtual-schema-common-document-files:8.1.2` to `8.1.5`
* Updated `com.fasterxml.jackson.core:jackson-databind:2.17.2` to `2.18.1`
* Updated `nl.jqno.equalsverifier:equalsverifier:3.16.1` to `3.17.3`
* Updated `org.hamcrest:hamcrest:2.2` to `3.0`
* Updated `org.junit.jupiter:junit-jupiter-engine:5.10.3` to `5.11.3`
* Updated `org.junit.jupiter:junit-jupiter-params:5.10.3` to `5.11.3`
* Updated `org.mockito:mockito-core:5.12.0` to `5.14.2`
* Updated `org.testcontainers:junit-jupiter:1.20.0` to `1.20.3`
* Updated `org.testcontainers:localstack:1.20.0` to `1.20.3`

#### Plugin Dependency Updates

* Updated `com.exasol:project-keeper-maven-plugin:4.3.3` to `4.4.0`

### Extension

#### Development Dependency Updates

* Updated `eslint:^9.8.0` to `^9.15.0`
* Updated `ts-jest:^29.2.3` to `^29.2.5`
* Updated `@types/jest:^29.5.12` to `^29.5.14`
* Updated `typescript-eslint:^8.0.0-alpha.30` to `^8.14.0`
* Updated `typescript:^5.5.4` to `^5.6.3`
* Updated `esbuild:^0.23.0` to `^0.24.0`
6 changes: 3 additions & 3 deletions doc/hands_on/hands_on.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ For the document Virtual Schemas, and by that also the S3 Virtual Schema, this i
To install the Virtual Schema adapter, download its latest jar from the [releases](https://github.com/exasol/s3-document-files-virtual-schema/releases) and upload to BucketFS:

``` shell script
curl -I -X PUT -T document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
curl -I -X PUT -T document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
```

(If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm))
Expand All @@ -75,7 +75,7 @@ CREATE SCHEMA ADAPTER;
--/
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/

--/
Expand All @@ -85,7 +85,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/
```

Expand Down
6 changes: 3 additions & 3 deletions doc/hands_on/hands_on_parquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For the document Virtual Schemas, and by that also the S3 Virtual Schema, this i
To install the Virtual Schema adapter, download its latest jar from the [releases](https://github.com/exasol/s3-document-files-virtual-schema/releases) and upload to BucketFS:

``` shell script
curl -I -X PUT -T document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
curl -I -X PUT -T document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar http://w:writepw@<YOUR_DB_IP>:2580/default/
```

(If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm))
Expand All @@ -59,7 +59,7 @@ CREATE SCHEMA ADAPTER;

CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/

CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
Expand All @@ -68,7 +68,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/
```

Expand Down
6 changes: 3 additions & 3 deletions doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Next create the Adapter Script:
```sql
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/
```

Expand All @@ -30,7 +30,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES(
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/
```

Expand Down Expand Up @@ -126,7 +126,7 @@ In DbVisualizer use exactly this command:
--/
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.S3_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/vs/document-files-virtual-schema-dist-8.1.2-s3-3.1.1.jar;
%jar /buckets/bfsdefault/default/vs/document-files-virtual-schema-dist-8.1.5-s3-3.1.2.jar;
/
```

Expand Down
4 changes: 1 addition & 3 deletions extension/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off', // Required for testing
}
rules: {}
},
);
Loading

0 comments on commit 7308563

Please sign in to comment.