Skip to content

Commit 72e0a51

Browse files
committed
updated the SDK build number
1 parent d34fa06 commit 72e0a51

File tree

9 files changed

+44
-28
lines changed

9 files changed

+44
-28
lines changed

javav2/example_code/mq/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<maven.shade.plugin.version>3.2.1</maven.shade.plugin.version>
1414
<maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version>
1515
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
16-
<aws.java.sdk.version>2.21.20</aws.java.sdk.version>
16+
<aws.java.sdk.version>2.29.45</aws.java.sdk.version>
1717
<junit5.version>5.4.2</junit5.version>
1818
</properties>
1919
<dependencyManagement>

javav2/example_code/mq/src/test/java/AmazonMQTest.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,55 +57,49 @@ public static void setUp() throws IOException {
5757
}
5858
}
5959

60-
@Test
61-
@Order(1)
62-
public void whenInitializingMQ_thenNotNull() {
63-
assertNotNull(mqClient);
64-
System.out.println("Test 1 passed");
65-
}
6660

6761
@Test
68-
@Order(2)
62+
@Order(1)
6963
public void CreateBroker() {
7064
String result = CreateBroker.createBroker(mqClient, engineType, brokerName);
7165
assertTrue(!result.isEmpty());
7266
System.out.println("Test 2 passed");
7367
}
7468

7569
@Test
76-
@Order(3)
70+
@Order(2)
7771
public void CreateConfiguration() {
7872
String result = CreateConfiguration.createNewConfigutation(mqClient, configurationName);
7973
assertTrue(!result.isEmpty());
8074
System.out.println("Test 3 passed");
8175
}
8276

8377
@Test
84-
@Order(4)
78+
@Order(3)
8579
public void DescribeBroker() {
8680
String result = DescribeBroker.describeBroker(mqClient, brokerName);
8781
assertTrue(!result.isEmpty());
8882
System.out.println("Test 4 passed");
8983
}
9084

9185
@Test
92-
@Order(5)
86+
@Order(4)
9387
public void ListBrokers() {
9488
List<BrokerSummary> result = ListBrokers.listBrokers(mqClient);
9589
assertTrue(result instanceof List<?>);
9690
System.out.println("Test 5 passed");
9791
}
9892

9993
@Test
100-
@Order(6)
94+
@Order(5)
10195
public void ListConfigurations() {
10296
List<Configuration> result = ListConfigurations.listConfigurations(mqClient);
10397
assertTrue(result instanceof List<?>);
10498
System.out.println("Test 6 passed");
10599
}
106100

107101
@Test
108-
@Order(7)
102+
@Order(6)
109103
public void UpdateBrokerConfiguration() {
110104
String result = UpdateBrokerConfiguration.updateBrokerConfiguration(mqClient, brokerId, configurationId);
111105
assertTrue(!result.isEmpty());

javav2/example_code/opensearch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>software.amazon.awssdk</groupId>
3737
<artifactId>bom</artifactId>
38-
<version>2.27.22</version>
38+
<version>2.29.45</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>

javav2/example_code/personalize/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>software.amazon.awssdk</groupId>
4040
<artifactId>bom</artifactId>
41-
<version>2.21.20</version>
41+
<version>2.29.45</version>
4242
<type>pom</type>
4343
</dependency>
4444
</dependencies>
@@ -92,5 +92,13 @@
9292
<artifactId>personalize</artifactId>
9393
<version>2.19.14</version>
9494
</dependency>
95+
<dependency>
96+
<groupId>software.amazon.awssdk</groupId>
97+
<artifactId>sso</artifactId>
98+
</dependency>
99+
<dependency>
100+
<groupId>software.amazon.awssdk</groupId>
101+
<artifactId>ssooidc</artifactId>
102+
</dependency>
95103
</dependencies>
96104
</project>

javav2/example_code/personalize/src/test/java/PersonalizeTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,6 @@ public void CreateCampaign() {
131131
System.out.println("Test 4 passed");
132132
}
133133

134-
@Test
135-
@Tag("IntegrationTest")
136-
@Order(5)
137-
public void DescribeCampaign() throws InterruptedException {
138-
System.out.println("Wait 20 mins for resource to become available.");
139-
TimeUnit.MINUTES.sleep(20);
140-
assertDoesNotThrow(() -> DescribeCampaign.describeSpecificCampaign(personalizeClient, campaignArn));
141-
System.out.println("Test 5 passed");
142-
}
143-
144134
@Test
145135
@Tag("IntegrationTest")
146136
@Order(6)
1.2 KB
Binary file not shown.

javav2/example_code/pinpoint/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>software.amazon.awssdk</groupId>
3131
<artifactId>bom</artifactId>
32-
<version>2.22.12</version>
32+
<version>2.29.45</version>
3333
<type>pom</type>
3434
<scope>import</scope>
3535
</dependency>
@@ -92,5 +92,13 @@
9292
<artifactId>gson</artifactId>
9393
<version>2.10.1</version>
9494
</dependency>
95+
<dependency>
96+
<groupId>software.amazon.awssdk</groupId>
97+
<artifactId>sso</artifactId>
98+
</dependency>
99+
<dependency>
100+
<groupId>software.amazon.awssdk</groupId>
101+
<artifactId>ssooidc</artifactId>
102+
</dependency>
95103
</dependencies>
96104
</project>

javav2/example_code/polly/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>software.amazon.awssdk</groupId>
3131
<artifactId>bom</artifactId>
32-
<version>2.21.20</version>
32+
<version>2.29.45</version>
3333
<type>pom</type>
3434
<scope>import</scope>
3535
</dependency>
@@ -73,5 +73,13 @@
7373
<artifactId>jlayer</artifactId>
7474
<version>1.0.1.4</version>
7575
</dependency>
76+
<dependency>
77+
<groupId>software.amazon.awssdk</groupId>
78+
<artifactId>sso</artifactId>
79+
</dependency>
80+
<dependency>
81+
<groupId>software.amazon.awssdk</groupId>
82+
<artifactId>ssooidc</artifactId>
83+
</dependency>
7684
</dependencies>
7785
</project>

javav2/example_code/quicksight/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>software.amazon.awssdk</groupId>
4040
<artifactId>bom</artifactId>
41-
<version>2.21.20</version>
41+
<version>2.29.45</version>
4242
<type>pom</type>
4343
<scope>import</scope>
4444
</dependency>
@@ -85,5 +85,13 @@
8585
<groupId>software.amazon.awssdk</groupId>
8686
<artifactId>s3</artifactId>
8787
</dependency>
88+
<dependency>
89+
<groupId>software.amazon.awssdk</groupId>
90+
<artifactId>sso</artifactId>
91+
</dependency>
92+
<dependency>
93+
<groupId>software.amazon.awssdk</groupId>
94+
<artifactId>ssooidc</artifactId>
95+
</dependency>
8896
</dependencies>
8997
</project>

0 commit comments

Comments
 (0)