Skip to content

Commit

Permalink
#74: Upgrade to CDK v2 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada authored Apr 17, 2023
1 parent 0f2b148 commit 4412b23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 38 deletions.
12 changes: 0 additions & 12 deletions ci-isolation/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
{
"app": "mvn -e -q compile exec:java",
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
"@aws-cdk/core:enableStackNameDuplicates": "true",
"aws-cdk:enableDiffNoFail": "true",
"@aws-cdk/core:stackRelativeExports": "true",
"@aws-cdk/aws-ecr-assets:dockerIgnoreSupport": true,
"@aws-cdk/aws-secretsmanager:parseOwnedSecretName": true,
"@aws-cdk/aws-kms:defaultKeyPolicies": true,
"@aws-cdk/aws-s3:grantWriteWithoutAcl": true,
"@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount": true,
"@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
"@aws-cdk/aws-efs:defaultEncryptionAtRest": true,
"@aws-cdk/aws-lambda:recognizeVersionProps": true
}
}
29 changes: 4 additions & 25 deletions ci-isolation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@

<groupId>com.exasol.adapter.document.files.ciisolation</groupId>
<artifactId>ci-isolation</artifactId>
<version>0.1.1</version>
<version>0.0.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.7.1</junit.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<source>11</source>
<target>11</target>
Expand All @@ -27,7 +26,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<configuration>
<mainClass>com.exasol.adapter.document.files.ciisolation.CiIsolationApp</mainClass>
</configuration>
Expand All @@ -36,30 +35,10 @@
</build>

<dependencies>
<!-- AWS Cloud Development Kit -->
<dependency>
<groupId>com.exasol</groupId>
<artifactId>ci-isolation-aws</artifactId>
<version>0.1.1</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.18.1</version>
<scope>test</scope>
<version>2.0.0</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.exasol.ciisolation.aws.PolicyReader;
import com.exasol.ciisolation.aws.ciuser.CiUserStack;

import software.amazon.awscdk.core.App;
import software.amazon.awscdk.App;

/**
* This class defines a CloudFormation stack that creates a user for the CI of this project.
Expand Down

0 comments on commit 4412b23

Please sign in to comment.