Skip to content

Commit b3cb480

Browse files
committed
Adding test for rpc v2 cbor async client
1 parent 90a32b4 commit b3cb480

File tree

6 files changed

+801
-3
lines changed

6 files changed

+801
-3
lines changed

test/codegen-generated-classes-test/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@
279279
<artifactId>mockito-junit-jupiter</artifactId>
280280
<scope>test</scope>
281281
</dependency>
282+
<dependency>
283+
<groupId>software.amazon.awssdk</groupId>
284+
<artifactId>smithy-rpcv2-protocol</artifactId>
285+
<version>${awsjavasdk.version}</version>
286+
<scope>compile</scope>
287+
</dependency>
282288
</dependencies>
283289

284290
<build>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"enableGenerateCompiledEndpointRules": true,
3+
"skipEndpointTestGeneration": true
4+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "1.3",
3+
"parameters": {
4+
"Region": {
5+
"builtIn": "AWS::Region",
6+
"required": true,
7+
"documentation": "The AWS region used to dispatch the request.",
8+
"type": "String"
9+
}
10+
},
11+
"rules": [
12+
{
13+
"conditions": [],
14+
"endpoint": {
15+
"url": "http://localhost/",
16+
"properties": {
17+
"authSchemes": [
18+
{
19+
"name": "sigv4",
20+
"signingRegion": "{Region}",
21+
"signingName": "jsonrpc"
22+
}
23+
]
24+
},
25+
"headers": {}
26+
},
27+
"type": "endpoint"
28+
}
29+
]
30+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"testCases": [
3+
],
4+
"version": "1.0"
5+
}

0 commit comments

Comments
 (0)