Skip to content

Commit 76607e6

Browse files
committed
updated the build version in Kotlin SDK
1 parent e9d1e3a commit 76607e6

File tree

3 files changed

+21
-29
lines changed

3 files changed

+21
-29
lines changed

kotlin/services/cognito/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ repositories {
2727
}
2828
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2929
dependencies {
30-
implementation("aws.sdk.kotlin:cognitoidentityprovider:1.2.28")
31-
implementation("aws.sdk.kotlin:cognitoidentity:1.2.28")
32-
implementation("aws.sdk.kotlin:secretsmanager:1.2.28")
30+
implementation("aws.sdk.kotlin:cognitoidentityprovider:1.3.112")
31+
implementation("aws.sdk.kotlin:cognitoidentity:1.3.112")
32+
implementation("aws.sdk.kotlin:secretsmanager:1.3.112")
3333
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.30.0")
3434
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
3535
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")

kotlin/services/cognito/src/test/kotlin/CognitoKotlinTest.kt

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -127,83 +127,75 @@ class CognitoKotlinTest {
127127

128128
@Test
129129
@Order(3)
130-
fun signUpUserTest() =
130+
fun listUserPoolsTest() =
131131
runBlocking {
132-
signUp(clientId, secretkey, username, password, email)
132+
getAllPools()
133133
println("Test 3 passed")
134134
}
135135

136136
@Test
137137
@Order(4)
138-
fun listUserPoolsTest() =
138+
fun listUserPoolClientsTest() =
139139
runBlocking {
140-
getAllPools()
140+
listAllUserPoolClients(existingUserPoolId)
141141
println("Test 4 passed")
142142
}
143143

144144
@Test
145145
@Order(5)
146-
fun listUserPoolClientsTest() =
146+
fun listUsersTest() =
147147
runBlocking {
148148
listAllUserPoolClients(existingUserPoolId)
149149
println("Test 5 passed")
150150
}
151151

152152
@Test
153153
@Order(6)
154-
fun listUsersTest() =
155-
runBlocking {
156-
listAllUserPoolClients(existingUserPoolId)
157-
println("Test 6 passed")
158-
}
159-
160-
@Test
161-
@Order(7)
162154
fun describeUserPoolTest() =
163155
runBlocking {
164156
describePool(existingUserPoolId)
165-
println("Test 7 passed")
157+
println("Test 6 passed")
166158
}
167159

168160
@Test
169-
@Order(8)
161+
@Order(7)
170162
fun deleteUserPool() =
171163
runBlocking {
172164
delPool(userPoolId)
173-
println("Test 8 passed")
165+
println("Test 7 passed")
174166
}
175167

176168
@Test
177-
@Order(9)
169+
@Order(8)
178170
fun createIdentityPoolTest() =
179171
runBlocking {
180172
identityPoolId = createIdPool(identityPoolName).toString()
181173
Assertions.assertTrue(!identityPoolId.isEmpty())
182-
println("Test 9 passed")
174+
println("Test 8 passed")
183175
}
184176

185177
@Test
186-
@Order(10)
178+
@Order(9)
187179
fun listIdentityProvidersTest() =
188180
runBlocking {
189181
getPools()
190-
println("Test 10 passed")
182+
println("Test 9 passed")
191183
}
192184

193185
@Test
194-
@Order(11)
186+
@Order(10)
195187
fun listIdentitiesTest() =
196188
runBlocking {
197189
listPoolIdentities(identityPoolId)
198-
println("Test 11 passed")
190+
println("Test 10 passed")
199191
}
200192

201193
@Test
202-
@Order(12)
194+
@Order(11)
203195
fun deleteIdentityPool() =
204196
runBlocking {
205197
deleteIdPool(identityPoolId)
206-
println("Test 12 passed")
198+
println("Test 11 passed")
207199
}
208200

209201
private suspend fun getSecretValues(): String {

kotlin/services/dynamodb/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ repositories {
2727
}
2828
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2929
dependencies {
30-
implementation("aws.sdk.kotlin:dynamodb:1.2.28")
31-
implementation("aws.sdk.kotlin:secretsmanager:1.2.28")
30+
implementation("aws.sdk.kotlin:dynamodb:1.3.112")
31+
implementation("aws.sdk.kotlin:secretsmanager:1.3.112")
3232
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.30.0")
3333
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
3434
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")

0 commit comments

Comments
 (0)