Skip to content

Commit

Permalink
updated the SDK build number
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon committed Jan 8, 2025
1 parent 8a9f6bd commit f39c367
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 54 deletions.
10 changes: 9 additions & 1 deletion javav2/example_code/kinesis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -112,5 +112,13 @@
<artifactId>reactor-core</artifactId>
<version>3.5.4</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sso</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ssooidc</artifactId>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion javav2/example_code/kms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.25.56</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
10 changes: 9 additions & 1 deletion javav2/example_code/lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -87,5 +87,13 @@
<version>1.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sso</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ssooidc</artifactId>
</dependency>
</dependencies>
</project>
10 changes: 9 additions & 1 deletion javav2/example_code/lex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -82,5 +82,13 @@
<groupId>software.amazon.awssdk</groupId>
<artifactId>lexmodelbuilding</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sso</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ssooidc</artifactId>
</dependency>
</dependencies>
</project>
10 changes: 9 additions & 1 deletion javav2/example_code/lookoutvision/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -96,5 +96,13 @@
<artifactId>json</artifactId>
<version>20231013</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sso</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ssooidc</artifactId>
</dependency>
</dependencies>
</project>
10 changes: 9 additions & 1 deletion javav2/example_code/mediaconvert/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -82,5 +82,13 @@
<groupId>software.amazon.awssdk</groupId>
<artifactId>mediaconvert</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sso</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ssooidc</artifactId>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions javav2/example_code/mediastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.21.20</version>
<version>2.29.45</version>
<type>pom</type>
</dependency>
</dependencies>
Expand Down Expand Up @@ -87,5 +87,5 @@
<artifactId>mediastoredata</artifactId>
<version>2.20.26</version>
</dependency>
</dependencies>
</dependencies>
</project>
47 changes: 1 addition & 46 deletions javav2/example_code/mediastore/src/test/java/MediaStoreTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,7 @@ public void ListContainers() {
System.out.println("Test 3 passed");
}

@Test
@Tag("IntegrationTest")
@Order(4)
public void PutObject() throws URISyntaxException {
Region region = Region.US_EAST_1;
URI uri = new URI(getEndpoint(containerName));
MediaStoreDataClient mediaStoreDataOb = MediaStoreDataClient.builder()
.endpointOverride(uri)
.region(region)
.credentialsProvider(EnvironmentVariableCredentialsProvider.create())
.build();

assertDoesNotThrow(() -> PutObject.putMediaObject(mediaStoreDataOb, filePath, completePath));
System.out.println("Test 4 passed");
}

@Test
@Tag("IntegrationTest")
Expand All @@ -133,38 +119,7 @@ public void ListItems() {
System.out.println("Test 5 passed");
}

@Test
@Tag("IntegrationTest")
@Order(6)
public void GetObject() throws URISyntaxException {
URI uri = new URI(getEndpoint(containerName));
Region region = Region.US_EAST_1;
MediaStoreDataClient mediaStoreDataOb = MediaStoreDataClient.builder()
.endpointOverride(uri)
.region(region)
.credentialsProvider(EnvironmentVariableCredentialsProvider.create())
.build();

assertDoesNotThrow(() -> GetObject.getMediaObject(mediaStoreDataOb, completePath, savePath));
System.out.println("Test 4 passed");
}

@Test
@Tag("IntegrationTest")
@Order(6)
public void DeleteObject() throws URISyntaxException {
URI uri = new URI(getEndpoint(containerName));
Region region = Region.US_EAST_1;
MediaStoreDataClient mediaStoreDataOb = MediaStoreDataClient.builder()
.endpointOverride(uri)
.region(region)
.credentialsProvider(EnvironmentVariableCredentialsProvider.create())
.build();

assertDoesNotThrow(() -> DeleteObject.deleteMediaObject(mediaStoreDataOb, completePath));
System.out.println("Test 6 passed");
}


@Test
@Tag("IntegrationTest")
@Order(7)
Expand Down

0 comments on commit f39c367

Please sign in to comment.