From e7648a81efbb2b8d8e9197ae06719c306fd79d1d Mon Sep 17 00:00:00 2001 From: Christoph Pirkl <4711730+kaklakariada@users.noreply.github.com> Date: Wed, 10 Apr 2024 08:59:44 +0200 Subject: [PATCH] Add permissions for performance tests (#160) * Add permissions for performance tests * Increment version * Update release date --- .vscode/settings.json | 3 +++ ci-isolation/pom.xml | 2 +- ci-isolation/src/main/resources/exasol-permissions.json | 3 ++- doc/changes/changelog.md | 1 + doc/changes/changes_3.0.5.md | 7 +++++++ doc/hands_on/hands_on.md | 6 +++--- doc/hands_on/hands_on_parquet.md | 6 +++--- doc/user_guide/user_guide.md | 6 +++--- pk_generated_parent.pom | 2 +- pom.xml | 4 ++-- .../adapter/document/files/IntegrationTestSetup.java | 2 +- 11 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 doc/changes/changes_3.0.5.md diff --git a/.vscode/settings.json b/.vscode/settings.json index af4ed880..73ae8cc2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,6 +14,9 @@ "-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl" ] }, + "[json]": { + "editor.indentSize": 2 + }, "sonarlint.connectedMode.project": { "connectionId": "exasol", "projectKey": "com.exasol:s3-document-files-virtual-schema" diff --git a/ci-isolation/pom.xml b/ci-isolation/pom.xml index a182cbec..c731bb2c 100644 --- a/ci-isolation/pom.xml +++ b/ci-isolation/pom.xml @@ -39,7 +39,7 @@ com.exasol ci-isolation-aws - 2.0.2 + 2.0.3 diff --git a/ci-isolation/src/main/resources/exasol-permissions.json b/ci-isolation/src/main/resources/exasol-permissions.json index a1be7b03..51573e89 100644 --- a/ci-isolation/src/main/resources/exasol-permissions.json +++ b/ci-isolation/src/main/resources/exasol-permissions.json @@ -46,6 +46,7 @@ "iam:GetRole", "iam:CreateRole", "iam:DeleteRole", + "iam:TagRole", "iam:PutRolePolicy", "iam:DetachRolePolicy", "iam:DeleteRolePolicy", @@ -75,4 +76,4 @@ "Resource": "*" } ] -} \ No newline at end of file +} diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 94e25c51..fdd26ceb 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [3.0.5](changes_3.0.5.md) * [3.0.4](changes_3.0.4.md) * [3.0.3](changes_3.0.3.md) * [3.0.2](changes_3.0.2.md) diff --git a/doc/changes/changes_3.0.5.md b/doc/changes/changes_3.0.5.md new file mode 100644 index 00000000..7c854d02 --- /dev/null +++ b/doc/changes/changes_3.0.5.md @@ -0,0 +1,7 @@ +# S3 Document Files Virtual Schema 3.0.5, released 2024-04-10 + +Code name: Fix permissions for performance tests + +## Summary + +This release fixes permissions for performance regression tests. diff --git a/doc/hands_on/hands_on.md b/doc/hands_on/hands_on.md index 4cc36a71..6f2430a4 100644 --- a/doc/hands_on/hands_on.md +++ b/doc/hands_on/hands_on.md @@ -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.0.3-s3-3.0.4.jar http://w:writepw@:2580/default/ +curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar http://w:writepw@:2580/default/ ``` (If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm)) @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / --/ @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / ``` diff --git a/doc/hands_on/hands_on_parquet.md b/doc/hands_on/hands_on_parquet.md index 18d7a071..eec6642e 100644 --- a/doc/hands_on/hands_on_parquet.md +++ b/doc/hands_on/hands_on_parquet.md @@ -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.0.3-s3-3.0.4.jar http://w:writepw@:2580/default/ +curl -I -X PUT -T document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar http://w:writepw@:2580/default/ ``` (If you have never used BucketFS, you can check out [its documentation](https://docs.exasol.com/database_concepts/bucketfs/bucketfs.htm)) @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_S3_DOCUMENT_FILES( @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / ``` diff --git a/doc/user_guide/user_guide.md b/doc/user_guide/user_guide.md index 18e835cd..9aac8b5a 100644 --- a/doc/user_guide/user_guide.md +++ b/doc/user_guide/user_guide.md @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / ``` @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / ``` @@ -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.0.3-s3-3.0.4.jar; + %jar /buckets/bfsdefault/default/vs/document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar; / ``` diff --git a/pk_generated_parent.pom b/pk_generated_parent.pom index 1d2b9794..e2e8cfa7 100644 --- a/pk_generated_parent.pom +++ b/pk_generated_parent.pom @@ -3,7 +3,7 @@ 4.0.0 com.exasol s3-document-files-virtual-schema-generated-parent - 3.0.4 + 3.0.5 pom UTF-8 diff --git a/pom.xml b/pom.xml index 7034fbda..f82386ac 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 s3-document-files-virtual-schema - 3.0.4 + 3.0.5 Virtual Schema for document data in files on AWS S3 Adapter for document data access from files from AWS S3. https://github.com/exasol/s3-document-files-virtual-schema/ @@ -363,7 +363,7 @@ s3-document-files-virtual-schema-generated-parent com.exasol - 3.0.4 + 3.0.5 pk_generated_parent.pom diff --git a/src/test/java/com/exasol/adapter/document/files/IntegrationTestSetup.java b/src/test/java/com/exasol/adapter/document/files/IntegrationTestSetup.java index af228a20..cb28782a 100644 --- a/src/test/java/com/exasol/adapter/document/files/IntegrationTestSetup.java +++ b/src/test/java/com/exasol/adapter/document/files/IntegrationTestSetup.java @@ -28,7 +28,7 @@ public class IntegrationTestSetup implements AutoCloseable { public static final Path CLOUD_SETUP_CONFIG = Path.of("cloudSetup/generated/testConfig.json"); - public static final String ADAPTER_JAR = "document-files-virtual-schema-dist-8.0.3-s3-3.0.4.jar"; + public static final String ADAPTER_JAR = "document-files-virtual-schema-dist-8.0.3-s3-3.0.5.jar"; public static final Path ADAPTER_JAR_LOCAL_PATH = Path.of("target", ADAPTER_JAR); public final String s3BucketName; private final ExasolTestSetup exasolTestSetup = new ExasolTestSetupFactory(CLOUD_SETUP_CONFIG).getTestSetup();